Skip to content

Commit

Permalink
feat(generation): update request builders and models
Browse files Browse the repository at this point in the history
Update generated files with build 173698
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Dec 10, 2024
1 parent 0d4c077 commit 0fa8eac
Show file tree
Hide file tree
Showing 457 changed files with 19,644 additions and 1,000 deletions.
7 changes: 0 additions & 7 deletions admin/entra_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func NewEntraRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb
return NewEntraRequestBuilderInternal(urlParams, requestAdapter)
}
// Delete delete navigation property entra for admin
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *EntraRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntraRequestBuilderDeleteRequestConfiguration)(error) {
requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration);
Expand All @@ -72,7 +71,6 @@ func (m *EntraRequestBuilder) Delete(ctx context.Context, requestConfiguration *
return nil
}
// Get a container for Microsoft Entra resources. Read-only.
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a Entraable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *EntraRequestBuilder) Get(ctx context.Context, requestConfiguration *EntraRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, error) {
Expand All @@ -93,7 +91,6 @@ func (m *EntraRequestBuilder) Get(ctx context.Context, requestConfiguration *Ent
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable), nil
}
// Patch update the navigation property entra in admin
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a Entraable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *EntraRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, requestConfiguration *EntraRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, error) {
Expand All @@ -114,7 +111,6 @@ func (m *EntraRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable), nil
}
// ToDeleteRequestInformation delete navigation property entra for admin
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a *RequestInformation when successful
func (m *EntraRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntraRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand All @@ -126,7 +122,6 @@ func (m *EntraRequestBuilder) ToDeleteRequestInformation(ctx context.Context, re
return requestInfo, nil
}
// ToGetRequestInformation a container for Microsoft Entra resources. Read-only.
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a *RequestInformation when successful
func (m *EntraRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntraRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand All @@ -141,7 +136,6 @@ func (m *EntraRequestBuilder) ToGetRequestInformation(ctx context.Context, reque
return requestInfo, nil
}
// ToPatchRequestInformation update the navigation property entra in admin
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a *RequestInformation when successful
func (m *EntraRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entraable, requestConfiguration *EntraRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand All @@ -162,7 +156,6 @@ func (m *EntraRequestBuilder) UxSetting()(*EntraUxSettingRequestBuilder) {
return NewEntraUxSettingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.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: as of 2023-11/PrivatePreview:BulkJobs
// returns a *EntraRequestBuilder when successful
func (m *EntraRequestBuilder) WithUrl(rawUrl string)(*EntraRequestBuilder) {
return NewEntraRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
Expand Down
7 changes: 0 additions & 7 deletions admin/entra_ux_setting_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func NewEntraUxSettingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7dae
return NewEntraUxSettingRequestBuilderInternal(urlParams, requestAdapter)
}
// Delete delete navigation property uxSetting for admin
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a ODataError error when the service returns a 4XX or 5XX status code
func (m *EntraUxSettingRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntraUxSettingRequestBuilderDeleteRequestConfiguration)(error) {
requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration);
Expand All @@ -72,7 +71,6 @@ func (m *EntraUxSettingRequestBuilder) Delete(ctx context.Context, requestConfig
return nil
}
// Get get the properties and relationships of a uxSetting object.
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a UxSettingable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand All @@ -96,7 +94,6 @@ func (m *EntraUxSettingRequestBuilder) Get(ctx context.Context, requestConfigura
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UxSettingable), nil
}
// Patch update the properties of a uxSetting object.
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a UxSettingable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand All @@ -120,7 +117,6 @@ func (m *EntraUxSettingRequestBuilder) Patch(ctx context.Context, body ie233ee76
return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UxSettingable), nil
}
// ToDeleteRequestInformation delete navigation property uxSetting for admin
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a *RequestInformation when successful
func (m *EntraUxSettingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntraUxSettingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand All @@ -132,7 +128,6 @@ func (m *EntraUxSettingRequestBuilder) ToDeleteRequestInformation(ctx context.Co
return requestInfo, nil
}
// ToGetRequestInformation get the properties and relationships of a uxSetting object.
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a *RequestInformation when successful
func (m *EntraUxSettingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntraUxSettingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand All @@ -147,7 +142,6 @@ func (m *EntraUxSettingRequestBuilder) ToGetRequestInformation(ctx context.Conte
return requestInfo, nil
}
// ToPatchRequestInformation update the properties of a uxSetting object.
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a *RequestInformation when successful
func (m *EntraUxSettingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UxSettingable, requestConfiguration *EntraUxSettingRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand All @@ -163,7 +157,6 @@ func (m *EntraUxSettingRequestBuilder) 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.
// Deprecated: as of 2023-11/PrivatePreview:BulkJobs
// returns a *EntraUxSettingRequestBuilder when successful
func (m *EntraUxSettingRequestBuilder) WithUrl(rawUrl string)(*EntraUxSettingRequestBuilder) {
return NewEntraUxSettingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -73,12 +73,12 @@ 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.
// returns a ResourceConnectionable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
//
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta
func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -127,7 +127,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder)
requestInfo.Headers.TryAdd("Accept", "application/json")
return requestInfo, nil
}
// ToGetRequestInformation read the properties and relationships of an operationalInsightsConnection object.
// ToGetRequestInformation read the properties and relationships of a resourceConnection object.
// returns a *RequestInformation when successful
func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestC
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAssetGroup object.
// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAsset object.
type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -54,11 +54,11 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str
urlParams["request-raw-url"] = rawUrl
return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter)
}
// Delete delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
// Delete delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
//
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) {
requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand All @@ -73,12 +73,12 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(c
}
return nil
}
// Get read the properties and relationships of an updatableAssetGroup object.
// Get read the properties and relationships of an updatableAsset object.
// returns a UpdatableAssetable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
//
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -136,7 +136,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct
}
return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil
}
// ToDeleteRequestInformation delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
// ToDeleteRequestInformation delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
// returns a *RequestInformation when successful
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand All @@ -147,7 +147,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDelete
requestInfo.Headers.TryAdd("Accept", "application/json")
return requestInfo, nil
}
// ToGetRequestInformation read the properties and relationships of an updatableAssetGroup object.
// ToGetRequestInformation read the properties and relationships of an updatableAsset object.
// returns a *RequestInformation when successful
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand Down
Loading

0 comments on commit 0fa8eac

Please sign in to comment.