Skip to content

Commit

Permalink
Update generated files with build 135049
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Feb 13, 2024
1 parent 44c8a78 commit c29dcf4
Show file tree
Hide file tree
Showing 22,723 changed files with 222,510 additions and 113,051 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration struct {
// NewAccessReviewDecisionItemRequestBuilderInternal instantiates a new AccessReviewDecisionItemRequestBuilder and sets the default values.
func NewAccessReviewDecisionItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AccessReviewDecisionItemRequestBuilder) {
m := &AccessReviewDecisionItemRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}{?%24select,%24expand}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}{?%24expand,%24select}", pathParameters),
}
return m
}
Expand All @@ -55,14 +55,14 @@ func NewAccessReviewDecisionItemRequestBuilder(rawUrl string, requestAdapter i2a
return NewAccessReviewDecisionItemRequestBuilderInternal(urlParams, requestAdapter)
}
// Delete delete entity from accessReviewDecisions
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *AccessReviewDecisionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *AccessReviewDecisionItemRequestBuilderDeleteRequestConfiguration)(error) {
requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration);
if err != nil {
return err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
}
err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping)
if err != nil {
Expand All @@ -71,14 +71,15 @@ func (m *AccessReviewDecisionItemRequestBuilder) Delete(ctx context.Context, req
return nil
}
// Get get entity from accessReviewDecisions by key
// returns a AccessReviewDecisionable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *AccessReviewDecisionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewDecisionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAccessReviewDecisionFromDiscriminatorValue, errorMapping)
if err != nil {
Expand All @@ -90,14 +91,15 @@ func (m *AccessReviewDecisionItemRequestBuilder) Get(ctx context.Context, reques
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable), nil
}
// Patch update entity in accessReviewDecisions
// returns a AccessReviewDecisionable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *AccessReviewDecisionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable, requestConfiguration *AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable, error) {
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAccessReviewDecisionFromDiscriminatorValue, errorMapping)
if err != nil {
Expand All @@ -109,8 +111,9 @@ func (m *AccessReviewDecisionItemRequestBuilder) Patch(ctx context.Context, body
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable), nil
}
// ToDeleteRequestInformation delete entity from accessReviewDecisions
// returns a *RequestInformation when successful
func (m *AccessReviewDecisionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *AccessReviewDecisionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}", m.BaseRequestBuilder.PathParameters)
if requestConfiguration != nil {
requestInfo.Headers.AddAll(requestConfiguration.Headers)
requestInfo.AddRequestOptions(requestConfiguration.Options)
Expand All @@ -119,6 +122,7 @@ func (m *AccessReviewDecisionItemRequestBuilder) ToDeleteRequestInformation(ctx
return requestInfo, nil
}
// ToGetRequestInformation get entity from accessReviewDecisions by key
// returns a *RequestInformation when successful
func (m *AccessReviewDecisionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewDecisionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
if requestConfiguration != nil {
Expand All @@ -132,8 +136,9 @@ func (m *AccessReviewDecisionItemRequestBuilder) ToGetRequestInformation(ctx con
return requestInfo, nil
}
// ToPatchRequestInformation update entity in accessReviewDecisions
// returns a *RequestInformation when successful
func (m *AccessReviewDecisionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable, requestConfiguration *AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, "{+baseurl}/accessReviewDecisions/{accessReviewDecision%2Did}", m.BaseRequestBuilder.PathParameters)
if requestConfiguration != nil {
requestInfo.Headers.AddAll(requestConfiguration.Headers)
requestInfo.AddRequestOptions(requestConfiguration.Options)
Expand All @@ -146,6 +151,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.
// returns a *AccessReviewDecisionItemRequestBuilder when successful
func (m *AccessReviewDecisionItemRequestBuilder) WithUrl(rawUrl string)(*AccessReviewDecisionItemRequestBuilder) {
return NewAccessReviewDecisionItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
19 changes: 13 additions & 6 deletions accessreviewdecisions/access_review_decisions_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ type AccessReviewDecisionsRequestBuilderPostRequestConfiguration struct {
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ByAccessReviewDecisionId provides operations to manage the collection of accessReviewDecision entities.
// returns a *AccessReviewDecisionItemRequestBuilder when successful
func (m *AccessReviewDecisionsRequestBuilder) ByAccessReviewDecisionId(accessReviewDecisionId string)(*AccessReviewDecisionItemRequestBuilder) {
urlTplParams := make(map[string]string)
for idx, item := range m.BaseRequestBuilder.PathParameters {
Expand All @@ -60,7 +61,7 @@ func (m *AccessReviewDecisionsRequestBuilder) ByAccessReviewDecisionId(accessRev
// NewAccessReviewDecisionsRequestBuilderInternal instantiates a new AccessReviewDecisionsRequestBuilder and sets the default values.
func NewAccessReviewDecisionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AccessReviewDecisionsRequestBuilder) {
m := &AccessReviewDecisionsRequestBuilder{
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/accessReviewDecisions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", pathParameters),
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/accessReviewDecisions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters),
}
return m
}
Expand All @@ -71,18 +72,20 @@ func NewAccessReviewDecisionsRequestBuilder(rawUrl string, requestAdapter i2ae41
return NewAccessReviewDecisionsRequestBuilderInternal(urlParams, requestAdapter)
}
// Count provides operations to count the resources in the collection.
// returns a *CountRequestBuilder when successful
func (m *AccessReviewDecisionsRequestBuilder) Count()(*CountRequestBuilder) {
return NewCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
}
// Get get entities from accessReviewDecisions
// returns a AccessReviewDecisionCollectionResponseable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *AccessReviewDecisionsRequestBuilder) Get(ctx context.Context, requestConfiguration *AccessReviewDecisionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionCollectionResponseable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAccessReviewDecisionCollectionResponseFromDiscriminatorValue, errorMapping)
if err != nil {
Expand All @@ -94,14 +97,15 @@ func (m *AccessReviewDecisionsRequestBuilder) Get(ctx context.Context, requestCo
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionCollectionResponseable), nil
}
// Post add new entity to accessReviewDecisions
// returns a AccessReviewDecisionable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *AccessReviewDecisionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable, requestConfiguration *AccessReviewDecisionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable, error) {
requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"5XX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
"XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateAccessReviewDecisionFromDiscriminatorValue, errorMapping)
if err != nil {
Expand All @@ -113,6 +117,7 @@ func (m *AccessReviewDecisionsRequestBuilder) Post(ctx context.Context, body ie2
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable), nil
}
// ToGetRequestInformation get entities from accessReviewDecisions
// returns a *RequestInformation when successful
func (m *AccessReviewDecisionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AccessReviewDecisionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
if requestConfiguration != nil {
Expand All @@ -126,8 +131,9 @@ func (m *AccessReviewDecisionsRequestBuilder) ToGetRequestInformation(ctx contex
return requestInfo, nil
}
// ToPostRequestInformation add new entity to accessReviewDecisions
// returns a *RequestInformation when successful
func (m *AccessReviewDecisionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewDecisionable, requestConfiguration *AccessReviewDecisionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/accessReviewDecisions", m.BaseRequestBuilder.PathParameters)
if requestConfiguration != nil {
requestInfo.Headers.AddAll(requestConfiguration.Headers)
requestInfo.AddRequestOptions(requestConfiguration.Options)
Expand All @@ -140,6 +146,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.
// returns a *AccessReviewDecisionsRequestBuilder when successful
func (m *AccessReviewDecisionsRequestBuilder) WithUrl(rawUrl string)(*AccessReviewDecisionsRequestBuilder) {
return NewAccessReviewDecisionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
}
Loading

0 comments on commit c29dcf4

Please sign in to comment.