diff --git a/admin/50cef3c549ddb07cd6c294b4dcb806a98d62eca9c1fd23559d90b5e1c9fe323e.go b/admin/50cef3c549ddb07cd6c294b4dcb806a98d62eca9c1fd23559d90b5e1c9fe323e.go new file mode 100644 index 00000000000..675c8da47f9 --- /dev/null +++ b/admin/50cef3c549ddb07cd6c294b4dcb806a98d62eca9c1fd23559d90b5e1c9fe323e.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. +type WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters represents content applicable for offering to the related collection of devices. +type WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CatalogEntry provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. +// returns a *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) CatalogEntry()(*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property applicableContent for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get represents content applicable for offering to the related collection of devices. +// returns a ApplicableContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable), nil +} +// MatchedDevices provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. +// returns a *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) MatchedDevices()(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property applicableContent in admin +// returns a ApplicableContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable), nil +} +// ToDeleteRequestInformation delete navigation property applicableContent for admin +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation represents content applicable for offering to the related collection of devices. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property applicableContent in admin +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/521713c9294993df9500f008053e4f3b4b434cdd9c576a95a588205985567e95.go b/admin/521713c9294993df9500f008053e4f3b4b434cdd9c576a95a588205985567e95.go new file mode 100644 index 00000000000..6230c056004 --- /dev/null +++ b/admin/521713c9294993df9500f008053e4f3b4b434cdd9c576a95a588205985567e95.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters collection of devices and recommendations for applicable catalog content. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/{applicableContentDeviceMatch%2DdeviceId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property matchedDevices for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of devices and recommendations for applicable catalog content. +// returns a ApplicableContentDeviceMatchable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentDeviceMatchFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable), nil +} +// Patch update the navigation property matchedDevices in admin +// returns a ApplicableContentDeviceMatchable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentDeviceMatchFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable), nil +} +// ToDeleteRequestInformation delete navigation property matchedDevices for admin +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of devices and recommendations for applicable catalog content. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property matchedDevices in admin +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/7e8390a0e54749a0688dd5a203fd45492655538945bc350bcdb0ae422135a006.go b/admin/7e8390a0e54749a0688dd5a203fd45492655538945bc350bcdb0ae422135a006.go index d81e31359b2..9c32828e5d0 100644 --- a/admin/7e8390a0e54749a0688dd5a203fd45492655538945bc350bcdb0ae422135a006.go +++ b/admin/7e8390a0e54749a0688dd5a203fd45492655538945bc350bcdb0ae422135a006.go @@ -21,7 +21,7 @@ type ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitorin // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitoringResultItemRequestBuilderGetQueryParameters get configurationMonitoringResults from admin +// ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitoringResultItemRequestBuilderGetQueryParameters read the properties and relationships of a configurationMonitoringResult object. type ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitoringResultItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,9 +73,12 @@ func (m *ConfigurationManagementConfigurationMonitoringResultsConfigurationMonit } return nil } -// Get get configurationMonitoringResults from admin +// Get read the properties and relationships of a configurationMonitoringResult object. // returns a ConfigurationMonitoringResultable 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/configurationmonitoringresult-get?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitoringResultItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitoringResultable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +127,7 @@ func (m *ConfigurationManagementConfigurationMonitoringResultsConfigurationMonit requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get configurationMonitoringResults from admin +// ToGetRequestInformation read the properties and relationships of a configurationMonitoringResult object. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitoringResultItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitoringResultsConfigurationMonitoringResultItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/admin_request_builder.go b/admin/admin_request_builder.go index d917f7d6f1c..484418f9514 100644 --- a/admin/admin_request_builder.go +++ b/admin/admin_request_builder.go @@ -42,6 +42,11 @@ type AdminRequestBuilderPatchRequestConfiguration struct { func (m *AdminRequestBuilder) AppsAndServices()(*AppsAndServicesRequestBuilder) { return NewAppsAndServicesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// CloudLicensing provides operations to manage the cloudLicensing property of the microsoft.graph.admin entity. +// returns a *CloudLicensingRequestBuilder when successful +func (m *AdminRequestBuilder) CloudLicensing()(*CloudLicensingRequestBuilder) { + return NewCloudLicensingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ConfigurationManagement provides operations to manage the configurationManagement property of the microsoft.graph.admin entity. // returns a *ConfigurationManagementRequestBuilder when successful func (m *AdminRequestBuilder) ConfigurationManagement()(*ConfigurationManagementRequestBuilder) { diff --git a/admin/cloud_licensing_allotments_allotment_item_request_builder.go b/admin/cloud_licensing_allotments_allotment_item_request_builder.go new file mode 100644 index 00000000000..306f9413a4f --- /dev/null +++ b/admin/cloud_licensing_allotments_allotment_item_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAllotmentsAllotmentItemRequestBuilder provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +type CloudLicensingAllotmentsAllotmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CloudLicensingAllotmentsAllotmentItemRequestBuilderGetQueryParameters the set of all allotments within the organization. Read-only. +type CloudLicensingAllotmentsAllotmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsAllotmentItemRequestBuilderGetQueryParameters +} +// CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Assignments provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. +// returns a *CloudLicensingAllotmentsItemAssignmentsRequestBuilder when successful +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) Assignments()(*CloudLicensingAllotmentsItemAssignmentsRequestBuilder) { + return NewCloudLicensingAllotmentsItemAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAllotmentsAllotmentItemRequestBuilderInternal instantiates a new CloudLicensingAllotmentsAllotmentItemRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsAllotmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsAllotmentItemRequestBuilder) { + m := &CloudLicensingAllotmentsAllotmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsAllotmentItemRequestBuilder instantiates a new CloudLicensingAllotmentsAllotmentItemRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsAllotmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsAllotmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsAllotmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property allotments for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the set of all allotments within the organization. Read-only. +// returns a Allotmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAllotmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable), nil +} +// Patch update the navigation property allotments in admin +// returns a Allotmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) Patch(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, requestConfiguration *CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAllotmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable), nil +} +// ToDeleteRequestInformation delete navigation property allotments for admin +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the set of all allotments within the organization. Read-only. +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property allotments in admin +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, requestConfiguration *CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// WaitingMembers provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. +// returns a *CloudLicensingAllotmentsItemWaitingMembersRequestBuilder when successful +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) WaitingMembers()(*CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) { + return NewCloudLicensingAllotmentsItemWaitingMembersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CloudLicensingAllotmentsAllotmentItemRequestBuilder when successful +func (m *CloudLicensingAllotmentsAllotmentItemRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsAllotmentItemRequestBuilder) { + return NewCloudLicensingAllotmentsAllotmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_count_request_builder.go b/admin/cloud_licensing_allotments_count_request_builder.go new file mode 100644 index 00000000000..50120bbc35e --- /dev/null +++ b/admin/cloud_licensing_allotments_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CloudLicensingAllotmentsCountRequestBuilder provides operations to count the resources in the collection. +type CloudLicensingAllotmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsCountRequestBuilderGetQueryParameters get the number of the resource +type CloudLicensingAllotmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsCountRequestBuilderGetQueryParameters +} +// NewCloudLicensingAllotmentsCountRequestBuilderInternal instantiates a new CloudLicensingAllotmentsCountRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsCountRequestBuilder) { + m := &CloudLicensingAllotmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsCountRequestBuilder instantiates a new CloudLicensingAllotmentsCountRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *CloudLicensingAllotmentsCountRequestBuilder when successful +func (m *CloudLicensingAllotmentsCountRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsCountRequestBuilder) { + return NewCloudLicensingAllotmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_item_assignments_assignment_item_request_builder.go b/admin/cloud_licensing_allotments_item_assignments_assignment_item_request_builder.go new file mode 100644 index 00000000000..a782db7b768 --- /dev/null +++ b/admin/cloud_licensing_allotments_item_assignments_assignment_item_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. +type CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetQueryParameters the list of license assignments that consume licenses from this allotment. Not nullable. +type CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetQueryParameters +} +// NewCloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderInternal instantiates a new CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder) { + m := &CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/{assignment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder instantiates a new CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the list of license assignments that consume licenses from this allotment. Not nullable. +// returns a Assignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable), nil +} +// ToGetRequestInformation the list of license assignments that consume licenses from this allotment. Not nullable. +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder) { + return NewCloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_item_assignments_count_request_builder.go b/admin/cloud_licensing_allotments_item_assignments_count_request_builder.go new file mode 100644 index 00000000000..8ae3c07769e --- /dev/null +++ b/admin/cloud_licensing_allotments_item_assignments_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder provides operations to count the resources in the collection. +type CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetQueryParameters get the number of the resource +type CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetQueryParameters +} +// NewCloudLicensingAllotmentsItemAssignmentsCountRequestBuilderInternal instantiates a new CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemAssignmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder) { + m := &CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsItemAssignmentsCountRequestBuilder instantiates a new CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemAssignmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsItemAssignmentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder) { + return NewCloudLicensingAllotmentsItemAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_item_assignments_request_builder.go b/admin/cloud_licensing_allotments_item_assignments_request_builder.go new file mode 100644 index 00000000000..32af9393ca9 --- /dev/null +++ b/admin/cloud_licensing_allotments_item_assignments_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAllotmentsItemAssignmentsRequestBuilder provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. +type CloudLicensingAllotmentsItemAssignmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters get a list of license assignment objects which consume licenses from this allotment. +type CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters 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"` +} +// CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters +} +// ByAssignmentId provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity. +// returns a *CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemAssignmentsRequestBuilder) ByAssignmentId(assignmentId string)(*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if assignmentId != "" { + urlTplParams["assignment%2Did"] = assignmentId + } + return NewCloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAllotmentsItemAssignmentsRequestBuilderInternal instantiates a new CloudLicensingAllotmentsItemAssignmentsRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemAssignmentsRequestBuilder) { + m := &CloudLicensingAllotmentsItemAssignmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsItemAssignmentsRequestBuilder instantiates a new CloudLicensingAllotmentsItemAssignmentsRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemAssignmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsItemAssignmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemAssignmentsRequestBuilder) Count()(*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder) { + return NewCloudLicensingAllotmentsItemAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of license assignment objects which consume licenses from this allotment. +// returns a AssignmentCollectionResponseable 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/cloudlicensing-allotment-list-assignments?view=graph-rest-beta +func (m *CloudLicensingAllotmentsItemAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentCollectionResponseable), nil +} +// ToGetRequestInformation get a list of license assignment objects which consume licenses from this allotment. +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsItemAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAllotmentsItemAssignmentsRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemAssignmentsRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsItemAssignmentsRequestBuilder) { + return NewCloudLicensingAllotmentsItemAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_item_waiting_members_count_request_builder.go b/admin/cloud_licensing_allotments_item_waiting_members_count_request_builder.go new file mode 100644 index 00000000000..c0e73443cde --- /dev/null +++ b/admin/cloud_licensing_allotments_item_waiting_members_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder provides operations to count the resources in the collection. +type CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetQueryParameters get the number of the resource +type CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetQueryParameters +} +// NewCloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderInternal instantiates a new CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder) { + m := &CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder instantiates a new CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder) { + return NewCloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_item_waiting_members_request_builder.go b/admin/cloud_licensing_allotments_item_waiting_members_request_builder.go new file mode 100644 index 00000000000..7e68863ebed --- /dev/null +++ b/admin/cloud_licensing_allotments_item_waiting_members_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAllotmentsItemWaitingMembersRequestBuilder provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. +type CloudLicensingAllotmentsItemWaitingMembersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. +type CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters 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"` +} +// CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters +} +// ByWaitingMemberId provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. +// returns a *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) ByWaitingMemberId(waitingMemberId string)(*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if waitingMemberId != "" { + urlTplParams["waitingMember%2Did"] = waitingMemberId + } + return NewCloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAllotmentsItemWaitingMembersRequestBuilderInternal instantiates a new CloudLicensingAllotmentsItemWaitingMembersRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemWaitingMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) { + m := &CloudLicensingAllotmentsItemWaitingMembersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsItemWaitingMembersRequestBuilder instantiates a new CloudLicensingAllotmentsItemWaitingMembersRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemWaitingMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsItemWaitingMembersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) Count()(*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder) { + return NewCloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. +// returns a WaitingMemberCollectionResponseable 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/cloudlicensing-allotment-list-waitingmembers?view=graph-rest-beta +func (m *CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.WaitingMemberCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateWaitingMemberCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.WaitingMemberCollectionResponseable), nil +} +// ToGetRequestInformation get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for. +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAllotmentsItemWaitingMembersRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsItemWaitingMembersRequestBuilder) { + return NewCloudLicensingAllotmentsItemWaitingMembersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_item_waiting_members_waiting_member_item_request_builder.go b/admin/cloud_licensing_allotments_item_waiting_members_waiting_member_item_request_builder.go new file mode 100644 index 00000000000..8a7a1b7f982 --- /dev/null +++ b/admin/cloud_licensing_allotments_item_waiting_members_waiting_member_item_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity. +type CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetQueryParameters list of over-assigned users who are in the waiting room for an allotment due to license capacity limits. +type CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetQueryParameters +} +// NewCloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderInternal instantiates a new CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder) { + m := &CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers/{waitingMember%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder instantiates a new CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get list of over-assigned users who are in the waiting room for an allotment due to license capacity limits. +// returns a WaitingMemberable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.WaitingMemberable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateWaitingMemberFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.WaitingMemberable), nil +} +// ToGetRequestInformation list of over-assigned users who are in the waiting room for an allotment due to license capacity limits. +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder when successful +func (m *CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder) { + return NewCloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_allotments_request_builder.go b/admin/cloud_licensing_allotments_request_builder.go new file mode 100644 index 00000000000..516fef8e69e --- /dev/null +++ b/admin/cloud_licensing_allotments_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAllotmentsRequestBuilder provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +type CloudLicensingAllotmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAllotmentsRequestBuilderGetQueryParameters get a list of the allotment objects and their properties. +type CloudLicensingAllotmentsRequestBuilderGetQueryParameters 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"` +} +// CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAllotmentsRequestBuilderGetQueryParameters +} +// CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAllotmentId provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +// returns a *CloudLicensingAllotmentsAllotmentItemRequestBuilder when successful +func (m *CloudLicensingAllotmentsRequestBuilder) ByAllotmentId(allotmentId string)(*CloudLicensingAllotmentsAllotmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if allotmentId != "" { + urlTplParams["allotment%2Did"] = allotmentId + } + return NewCloudLicensingAllotmentsAllotmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAllotmentsRequestBuilderInternal instantiates a new CloudLicensingAllotmentsRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsRequestBuilder) { + m := &CloudLicensingAllotmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/allotments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCloudLicensingAllotmentsRequestBuilder instantiates a new CloudLicensingAllotmentsRequestBuilder and sets the default values. +func NewCloudLicensingAllotmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAllotmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAllotmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CloudLicensingAllotmentsCountRequestBuilder when successful +func (m *CloudLicensingAllotmentsRequestBuilder) Count()(*CloudLicensingAllotmentsCountRequestBuilder) { + return NewCloudLicensingAllotmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the allotment objects and their properties. +// returns a AllotmentCollectionResponseable 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/cloudlicensing-admincloudlicensing-list-allotments?view=graph-rest-beta +func (m *CloudLicensingAllotmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AllotmentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAllotmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AllotmentCollectionResponseable), nil +} +// Post create new navigation property to allotments for admin +// returns a Allotmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAllotmentsRequestBuilder) Post(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, requestConfiguration *CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAllotmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable), nil +} +// ToGetRequestInformation get a list of the allotment objects and their properties. +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to allotments for admin +// returns a *RequestInformation when successful +func (m *CloudLicensingAllotmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, requestConfiguration *CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *CloudLicensingAllotmentsRequestBuilder when successful +func (m *CloudLicensingAllotmentsRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAllotmentsRequestBuilder) { + return NewCloudLicensingAllotmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignment_errors_assignment_error_item_request_builder.go b/admin/cloud_licensing_assignment_errors_assignment_error_item_request_builder.go new file mode 100644 index 00000000000..078ffb33673 --- /dev/null +++ b/admin/cloud_licensing_assignment_errors_assignment_error_item_request_builder.go @@ -0,0 +1,173 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +type CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetQueryParameters read the properties and relationships of an assignmentError object. +type CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetQueryParameters +} +// CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// AssignedTo provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignmentError entity. +// returns a *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) AssignedTo()(*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder) { + return NewCloudLicensingAssignmentErrorsItemAssignedToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderInternal instantiates a new CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) { + m := &CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder instantiates a new CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property assignmentErrors for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of an assignmentError object. +// returns a AssignmentErrorable 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/cloudlicensing-assignmenterror-get?view=graph-rest-beta +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentErrorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable), nil +} +// Patch update the navigation property assignmentErrors in admin +// returns a AssignmentErrorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) Patch(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable, requestConfiguration *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentErrorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable), nil +} +// ToDeleteRequestInformation delete navigation property assignmentErrors for admin +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of an assignmentError object. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property assignmentErrors in admin +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable, requestConfiguration *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return requestInfo, nil +} +// UsageRight provides operations to manage the usageRight property of the microsoft.graph.cloudLicensing.assignmentError entity. +// returns a *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) UsageRight()(*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder) { + return NewCloudLicensingAssignmentErrorsItemUsageRightRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) { + return NewCloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignment_errors_count_request_builder.go b/admin/cloud_licensing_assignment_errors_count_request_builder.go new file mode 100644 index 00000000000..290e66e0de4 --- /dev/null +++ b/admin/cloud_licensing_assignment_errors_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CloudLicensingAssignmentErrorsCountRequestBuilder provides operations to count the resources in the collection. +type CloudLicensingAssignmentErrorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentErrorsCountRequestBuilderGetQueryParameters get the number of the resource +type CloudLicensingAssignmentErrorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentErrorsCountRequestBuilderGetQueryParameters +} +// NewCloudLicensingAssignmentErrorsCountRequestBuilderInternal instantiates a new CloudLicensingAssignmentErrorsCountRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsCountRequestBuilder) { + m := &CloudLicensingAssignmentErrorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentErrorsCountRequestBuilder instantiates a new CloudLicensingAssignmentErrorsCountRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentErrorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAssignmentErrorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *CloudLicensingAssignmentErrorsCountRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsCountRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentErrorsCountRequestBuilder) { + return NewCloudLicensingAssignmentErrorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignment_errors_item_assigned_to_request_builder.go b/admin/cloud_licensing_assignment_errors_item_assigned_to_request_builder.go new file mode 100644 index 00000000000..b8f5d83b00c --- /dev/null +++ b/admin/cloud_licensing_assignment_errors_item_assigned_to_request_builder.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +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" +) + +// CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignmentError entity. +type CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetQueryParameters get a user or group object for a given assignmentError to which licenses are assigned. +type CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetQueryParameters +} +// NewCloudLicensingAssignmentErrorsItemAssignedToRequestBuilderInternal instantiates a new CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsItemAssignedToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder) { + m := &CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/assignedTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentErrorsItemAssignedToRequestBuilder instantiates a new CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsItemAssignedToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentErrorsItemAssignedToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a user or group object for a given assignmentError to which licenses are assigned. +// returns a DirectoryObjectable 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/cloudlicensing-assignmenterror-get-assignedto?view=graph-rest-beta +func (m *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil +} +// ToGetRequestInformation get a user or group object for a given assignmentError to which licenses are assigned. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder) { + return NewCloudLicensingAssignmentErrorsItemAssignedToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignment_errors_item_usage_right_request_builder.go b/admin/cloud_licensing_assignment_errors_item_usage_right_request_builder.go new file mode 100644 index 00000000000..74745e0a658 --- /dev/null +++ b/admin/cloud_licensing_assignment_errors_item_usage_right_request_builder.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder provides operations to manage the usageRight property of the microsoft.graph.cloudLicensing.assignmentError entity. +type CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetQueryParameters get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. +type CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetQueryParameters +} +// NewCloudLicensingAssignmentErrorsItemUsageRightRequestBuilderInternal instantiates a new CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsItemUsageRightRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder) { + m := &CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/usageRight{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentErrorsItemUsageRightRequestBuilder instantiates a new CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsItemUsageRightRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentErrorsItemUsageRightRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. +// returns a UsageRightable 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/cloudlicensing-assignmenterror-get-usageright?view=graph-rest-beta +func (m *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.UsageRightable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateUsageRightFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.UsageRightable), nil +} +// ToGetRequestInformation get a usageRight object affected by an assignmentError. A usageRight object is returned only if a preexisting one is in effect and can't be updated due to this assignmentError. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder) { + return NewCloudLicensingAssignmentErrorsItemUsageRightRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignment_errors_request_builder.go b/admin/cloud_licensing_assignment_errors_request_builder.go new file mode 100644 index 00000000000..e5185b5b60f --- /dev/null +++ b/admin/cloud_licensing_assignment_errors_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAssignmentErrorsRequestBuilder provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +type CloudLicensingAssignmentErrorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters get a list of the assignmentError objects within an organization or affecting a specific user. +type CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters 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"` +} +// CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters +} +// CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAssignmentErrorId provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +// returns a *CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsRequestBuilder) ByAssignmentErrorId(assignmentErrorId string)(*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if assignmentErrorId != "" { + urlTplParams["assignmentError%2Did"] = assignmentErrorId + } + return NewCloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAssignmentErrorsRequestBuilderInternal instantiates a new CloudLicensingAssignmentErrorsRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsRequestBuilder) { + m := &CloudLicensingAssignmentErrorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignmentErrors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentErrorsRequestBuilder instantiates a new CloudLicensingAssignmentErrorsRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentErrorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentErrorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CloudLicensingAssignmentErrorsCountRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsRequestBuilder) Count()(*CloudLicensingAssignmentErrorsCountRequestBuilder) { + return NewCloudLicensingAssignmentErrorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the assignmentError objects within an organization or affecting a specific user. +// returns a AssignmentErrorCollectionResponseable 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/cloudlicensing-admincloudlicensing-list-assignmenterrors?view=graph-rest-beta +func (m *CloudLicensingAssignmentErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentErrorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorCollectionResponseable), nil +} +// Post create new navigation property to assignmentErrors for admin +// returns a AssignmentErrorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAssignmentErrorsRequestBuilder) Post(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable, requestConfiguration *CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentErrorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable), nil +} +// ToGetRequestInformation get a list of the assignmentError objects within an organization or affecting a specific user. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to assignmentErrors for admin +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentErrorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable, requestConfiguration *CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *CloudLicensingAssignmentErrorsRequestBuilder when successful +func (m *CloudLicensingAssignmentErrorsRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentErrorsRequestBuilder) { + return NewCloudLicensingAssignmentErrorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignments_assignment_item_request_builder.go b/admin/cloud_licensing_assignments_assignment_item_request_builder.go new file mode 100644 index 00000000000..8306a60b9b4 --- /dev/null +++ b/admin/cloud_licensing_assignments_assignment_item_request_builder.go @@ -0,0 +1,176 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAssignmentsAssignmentItemRequestBuilder provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +type CloudLicensingAssignmentsAssignmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CloudLicensingAssignmentsAssignmentItemRequestBuilderGetQueryParameters read the properties and relationships of an assignment object. +type CloudLicensingAssignmentsAssignmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentsAssignmentItemRequestBuilderGetQueryParameters +} +// CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Allotment provides operations to manage the allotment property of the microsoft.graph.cloudLicensing.assignment entity. +// returns a *CloudLicensingAssignmentsItemAllotmentRequestBuilder when successful +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) Allotment()(*CloudLicensingAssignmentsItemAllotmentRequestBuilder) { + return NewCloudLicensingAssignmentsItemAllotmentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// AssignedTo provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignment entity. +// returns a *CloudLicensingAssignmentsItemAssignedToRequestBuilder when successful +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) AssignedTo()(*CloudLicensingAssignmentsItemAssignedToRequestBuilder) { + return NewCloudLicensingAssignmentsItemAssignedToRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAssignmentsAssignmentItemRequestBuilderInternal instantiates a new CloudLicensingAssignmentsAssignmentItemRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsAssignmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsAssignmentItemRequestBuilder) { + m := &CloudLicensingAssignmentsAssignmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentsAssignmentItemRequestBuilder instantiates a new CloudLicensingAssignmentsAssignmentItemRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsAssignmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsAssignmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentsAssignmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete an assignment object. +// 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/cloudlicensing-assignment-delete?view=graph-rest-beta +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of an assignment object. +// returns a Assignmentable 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/cloudlicensing-assignment-get?view=graph-rest-beta +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable), nil +} +// Patch update the navigation property assignments in admin +// returns a Assignmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) Patch(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, requestConfiguration *CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable), nil +} +// ToDeleteRequestInformation delete an assignment object. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of an assignment object. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property assignments in admin +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, requestConfiguration *CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *CloudLicensingAssignmentsAssignmentItemRequestBuilder when successful +func (m *CloudLicensingAssignmentsAssignmentItemRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentsAssignmentItemRequestBuilder) { + return NewCloudLicensingAssignmentsAssignmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignments_count_request_builder.go b/admin/cloud_licensing_assignments_count_request_builder.go new file mode 100644 index 00000000000..e784bbebade --- /dev/null +++ b/admin/cloud_licensing_assignments_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CloudLicensingAssignmentsCountRequestBuilder provides operations to count the resources in the collection. +type CloudLicensingAssignmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentsCountRequestBuilderGetQueryParameters get the number of the resource +type CloudLicensingAssignmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentsCountRequestBuilderGetQueryParameters +} +// NewCloudLicensingAssignmentsCountRequestBuilderInternal instantiates a new CloudLicensingAssignmentsCountRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsCountRequestBuilder) { + m := &CloudLicensingAssignmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentsCountRequestBuilder instantiates a new CloudLicensingAssignmentsCountRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAssignmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *CloudLicensingAssignmentsCountRequestBuilder when successful +func (m *CloudLicensingAssignmentsCountRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentsCountRequestBuilder) { + return NewCloudLicensingAssignmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignments_item_allotment_request_builder.go b/admin/cloud_licensing_assignments_item_allotment_request_builder.go new file mode 100644 index 00000000000..a2dff6c52b8 --- /dev/null +++ b/admin/cloud_licensing_assignments_item_allotment_request_builder.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAssignmentsItemAllotmentRequestBuilder provides operations to manage the allotment property of the microsoft.graph.cloudLicensing.assignment entity. +type CloudLicensingAssignmentsItemAllotmentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentsItemAllotmentRequestBuilderGetQueryParameters get the allotment that is the source of the licenses used in the assignment. +type CloudLicensingAssignmentsItemAllotmentRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentsItemAllotmentRequestBuilderGetQueryParameters +} +// NewCloudLicensingAssignmentsItemAllotmentRequestBuilderInternal instantiates a new CloudLicensingAssignmentsItemAllotmentRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsItemAllotmentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsItemAllotmentRequestBuilder) { + m := &CloudLicensingAssignmentsItemAllotmentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/allotment{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentsItemAllotmentRequestBuilder instantiates a new CloudLicensingAssignmentsItemAllotmentRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsItemAllotmentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsItemAllotmentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentsItemAllotmentRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the allotment that is the source of the licenses used in the assignment. +// returns a Allotmentable 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/cloudlicensing-assignment-get-allotment?view=graph-rest-beta +func (m *CloudLicensingAssignmentsItemAllotmentRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAllotmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable), nil +} +// ToGetRequestInformation get the allotment that is the source of the licenses used in the assignment. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsItemAllotmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAssignmentsItemAllotmentRequestBuilder when successful +func (m *CloudLicensingAssignmentsItemAllotmentRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentsItemAllotmentRequestBuilder) { + return NewCloudLicensingAssignmentsItemAllotmentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignments_item_assigned_to_request_builder.go b/admin/cloud_licensing_assignments_item_assigned_to_request_builder.go new file mode 100644 index 00000000000..a0f5729b553 --- /dev/null +++ b/admin/cloud_licensing_assignments_item_assigned_to_request_builder.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +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" +) + +// CloudLicensingAssignmentsItemAssignedToRequestBuilder provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignment entity. +type CloudLicensingAssignmentsItemAssignedToRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentsItemAssignedToRequestBuilderGetQueryParameters get a user or group object for a given assignment to which licenses are assigned. +type CloudLicensingAssignmentsItemAssignedToRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentsItemAssignedToRequestBuilderGetQueryParameters +} +// NewCloudLicensingAssignmentsItemAssignedToRequestBuilderInternal instantiates a new CloudLicensingAssignmentsItemAssignedToRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsItemAssignedToRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsItemAssignedToRequestBuilder) { + m := &CloudLicensingAssignmentsItemAssignedToRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/assignedTo{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentsItemAssignedToRequestBuilder instantiates a new CloudLicensingAssignmentsItemAssignedToRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsItemAssignedToRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsItemAssignedToRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentsItemAssignedToRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get a user or group object for a given assignment to which licenses are assigned. +// returns a DirectoryObjectable 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/cloudlicensing-assignment-get-assignedto?view=graph-rest-beta +func (m *CloudLicensingAssignmentsItemAssignedToRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable), nil +} +// ToGetRequestInformation get a user or group object for a given assignment to which licenses are assigned. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsItemAssignedToRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAssignmentsItemAssignedToRequestBuilder when successful +func (m *CloudLicensingAssignmentsItemAssignedToRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentsItemAssignedToRequestBuilder) { + return NewCloudLicensingAssignmentsItemAssignedToRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignments_microsoft_graph_cloud_licensing_reprocess_assignments_request_builder.go b/admin/cloud_licensing_assignments_microsoft_graph_cloud_licensing_reprocess_assignments_request_builder.go new file mode 100644 index 00000000000..4a809ea8801 --- /dev/null +++ b/admin/cloud_licensing_assignments_microsoft_graph_cloud_licensing_reprocess_assignments_request_builder.go @@ -0,0 +1,67 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder provides operations to call the reprocessAssignments method. +type CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderInternal instantiates a new CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder) { + m := &CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments/microsoft.graph.cloudLicensing.reprocessAssignments", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder instantiates a new CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action reprocessAssignments +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder) Post(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation invoke action reprocessAssignments +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder when successful +func (m *CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder) { + return NewCloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_assignments_request_builder.go b/admin/cloud_licensing_assignments_request_builder.go new file mode 100644 index 00000000000..0ca6c60fa6a --- /dev/null +++ b/admin/cloud_licensing_assignments_request_builder.go @@ -0,0 +1,166 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingAssignmentsRequestBuilder provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +type CloudLicensingAssignmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingAssignmentsRequestBuilderGetQueryParameters get a list of license assignment objects within an organization. +type CloudLicensingAssignmentsRequestBuilderGetQueryParameters 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"` +} +// CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingAssignmentsRequestBuilderGetQueryParameters +} +// CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByAssignmentId provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +// returns a *CloudLicensingAssignmentsAssignmentItemRequestBuilder when successful +func (m *CloudLicensingAssignmentsRequestBuilder) ByAssignmentId(assignmentId string)(*CloudLicensingAssignmentsAssignmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if assignmentId != "" { + urlTplParams["assignment%2Did"] = assignmentId + } + return NewCloudLicensingAssignmentsAssignmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingAssignmentsRequestBuilderInternal instantiates a new CloudLicensingAssignmentsRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsRequestBuilder) { + m := &CloudLicensingAssignmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing/assignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCloudLicensingAssignmentsRequestBuilder instantiates a new CloudLicensingAssignmentsRequestBuilder and sets the default values. +func NewCloudLicensingAssignmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingAssignmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingAssignmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CloudLicensingAssignmentsCountRequestBuilder when successful +func (m *CloudLicensingAssignmentsRequestBuilder) Count()(*CloudLicensingAssignmentsCountRequestBuilder) { + return NewCloudLicensingAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of license assignment objects within an organization. +// returns a AssignmentCollectionResponseable 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/cloudlicensing-admincloudlicensing-list-assignments?view=graph-rest-beta +func (m *CloudLicensingAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentCollectionResponseable), nil +} +// MicrosoftGraphCloudLicensingReprocessAssignments provides operations to call the reprocessAssignments method. +// returns a *CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder when successful +func (m *CloudLicensingAssignmentsRequestBuilder) MicrosoftGraphCloudLicensingReprocessAssignments()(*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder) { + return NewCloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Post create a new license assignment by posting to the assignments collection of an organization. An assignment must always have a direct relationship to an allotment and to a user or group. If an assignment is created by posting to the central assignments collection located at /admin/cloudLicensing/assignments, both of those relationships must be established in the request body. Assignments can also be created by posting to the assignments collection of an allotment, the assignments collection of a user or the assignments collection of a group. +// returns a Assignmentable 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/cloudlicensing-admincloudlicensing-post-assignments?view=graph-rest-beta +func (m *CloudLicensingAssignmentsRequestBuilder) Post(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, requestConfiguration *CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAssignmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable), nil +} +// ToGetRequestInformation get a list of license assignment objects within an organization. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new license assignment by posting to the assignments collection of an organization. An assignment must always have a direct relationship to an allotment and to a user or group. If an assignment is created by posting to the central assignments collection located at /admin/cloudLicensing/assignments, both of those relationships must be established in the request body. Assignments can also be created by posting to the assignments collection of an allotment, the assignments collection of a user or the assignments collection of a group. +// returns a *RequestInformation when successful +func (m *CloudLicensingAssignmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable, requestConfiguration *CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *CloudLicensingAssignmentsRequestBuilder when successful +func (m *CloudLicensingAssignmentsRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingAssignmentsRequestBuilder) { + return NewCloudLicensingAssignmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/cloud_licensing_request_builder.go b/admin/cloud_licensing_request_builder.go new file mode 100644 index 00000000000..91c402e95cc --- /dev/null +++ b/admin/cloud_licensing_request_builder.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" + idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/cloudlicensing" +) + +// CloudLicensingRequestBuilder provides operations to manage the cloudLicensing property of the microsoft.graph.admin entity. +type CloudLicensingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CloudLicensingRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CloudLicensingRequestBuilderGetQueryParameters the root of the cloud licensing API for the entire organization. Read-only. +type CloudLicensingRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CloudLicensingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CloudLicensingRequestBuilderGetQueryParameters +} +// CloudLicensingRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CloudLicensingRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Allotments provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +// returns a *CloudLicensingAllotmentsRequestBuilder when successful +func (m *CloudLicensingRequestBuilder) Allotments()(*CloudLicensingAllotmentsRequestBuilder) { + return NewCloudLicensingAllotmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// AssignmentErrors provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +// returns a *CloudLicensingAssignmentErrorsRequestBuilder when successful +func (m *CloudLicensingRequestBuilder) AssignmentErrors()(*CloudLicensingAssignmentErrorsRequestBuilder) { + return NewCloudLicensingAssignmentErrorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Assignments provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. +// returns a *CloudLicensingAssignmentsRequestBuilder when successful +func (m *CloudLicensingRequestBuilder) Assignments()(*CloudLicensingAssignmentsRequestBuilder) { + return NewCloudLicensingAssignmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewCloudLicensingRequestBuilderInternal instantiates a new CloudLicensingRequestBuilder and sets the default values. +func NewCloudLicensingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingRequestBuilder) { + m := &CloudLicensingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/cloudLicensing{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCloudLicensingRequestBuilder instantiates a new CloudLicensingRequestBuilder and sets the default values. +func NewCloudLicensingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CloudLicensingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCloudLicensingRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property cloudLicensing for admin +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingRequestBuilder) Delete(ctx context.Context, requestConfiguration *CloudLicensingRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the root of the cloud licensing API for the entire organization. Read-only. +// returns a AdminCloudLicensingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingRequestBuilder) Get(ctx context.Context, requestConfiguration *CloudLicensingRequestBuilderGetRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAdminCloudLicensingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable), nil +} +// Patch update the navigation property cloudLicensing in admin +// returns a AdminCloudLicensingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CloudLicensingRequestBuilder) Patch(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable, requestConfiguration *CloudLicensingRequestBuilderPatchRequestConfiguration)(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.CreateAdminCloudLicensingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable), nil +} +// ToDeleteRequestInformation delete navigation property cloudLicensing for admin +// returns a *RequestInformation when successful +func (m *CloudLicensingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the root of the cloud licensing API for the entire organization. Read-only. +// returns a *RequestInformation when successful +func (m *CloudLicensingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CloudLicensingRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property cloudLicensing in admin +// returns a *RequestInformation when successful +func (m *CloudLicensingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable, requestConfiguration *CloudLicensingRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *CloudLicensingRequestBuilder when successful +func (m *CloudLicensingRequestBuilder) WithUrl(rawUrl string)(*CloudLicensingRequestBuilder) { + return NewCloudLicensingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/configuration_management_configuration_applications_configuration_application_item_request_builder.go b/admin/configuration_management_configuration_applications_configuration_application_item_request_builder.go deleted file mode 100644 index 09973595239..00000000000 --- a/admin/configuration_management_configuration_applications_configuration_application_item_request_builder.go +++ /dev/null @@ -1,160 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package admin - -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" -) - -// ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. -type ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetQueryParameters get configurationApplications from admin -type ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetQueryParameters struct { - // Expand related entities - Expand []string `uriparametername:"%24expand"` - // Select properties to be returned - Select []string `uriparametername:"%24select"` -} -// ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetQueryParameters -} -// ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// NewConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderInternal instantiates a new ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder and sets the default values. -func NewConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) { - m := &ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/{configurationApplication%2Did}{?%24expand,%24select}", pathParameters), - } - return m -} -// NewConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder instantiates a new ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder and sets the default values. -func NewConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderInternal(urlParams, requestAdapter) -} -// Delete delete navigation property configurationApplications for admin -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration)(error) { - requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); - if err != nil { - return err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) - if err != nil { - return err - } - return nil -} -// Get get configurationApplications from admin -// returns a ConfigurationApplicationable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConfigurationApplicationFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable), nil -} -// Patch update the navigation property configurationApplications in admin -// returns a ConfigurationApplicationable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable, requestConfiguration *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable, error) { - requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConfigurationApplicationFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable), nil -} -// ToDeleteRequestInformation delete navigation property configurationApplications for admin -// returns a *RequestInformation when successful -func (m *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// ToGetRequestInformation get configurationApplications from admin -// returns a *RequestInformation when successful -func (m *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// ToPatchRequestInformation update the navigation property configurationApplications in admin -// returns a *RequestInformation when successful -func (m *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable, requestConfiguration *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return 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 *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder when successful -func (m *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) WithUrl(rawUrl string)(*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) { - return NewConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/admin/configuration_management_configuration_applications_count_request_builder.go b/admin/configuration_management_configuration_applications_count_request_builder.go deleted file mode 100644 index 590cc377ecc..00000000000 --- a/admin/configuration_management_configuration_applications_count_request_builder.go +++ /dev/null @@ -1,83 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package admin - -import ( - "context" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ConfigurationManagementConfigurationApplicationsCountRequestBuilder provides operations to count the resources in the collection. -type ConfigurationManagementConfigurationApplicationsCountRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetQueryParameters get the number of the resource -type ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetQueryParameters struct { - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` -} -// ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetQueryParameters -} -// NewConfigurationManagementConfigurationApplicationsCountRequestBuilderInternal instantiates a new ConfigurationManagementConfigurationApplicationsCountRequestBuilder and sets the default values. -func NewConfigurationManagementConfigurationApplicationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationManagementConfigurationApplicationsCountRequestBuilder) { - m := &ConfigurationManagementConfigurationApplicationsCountRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications/$count{?%24filter,%24search}", pathParameters), - } - return m -} -// NewConfigurationManagementConfigurationApplicationsCountRequestBuilder instantiates a new ConfigurationManagementConfigurationApplicationsCountRequestBuilder and sets the default values. -func NewConfigurationManagementConfigurationApplicationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationManagementConfigurationApplicationsCountRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewConfigurationManagementConfigurationApplicationsCountRequestBuilderInternal(urlParams, requestAdapter) -} -// Get get the number of the resource -// returns a *int32 when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationManagementConfigurationApplicationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": 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 -// returns a *RequestInformation when successful -func (m *ConfigurationManagementConfigurationApplicationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") - return 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 *ConfigurationManagementConfigurationApplicationsCountRequestBuilder when successful -func (m *ConfigurationManagementConfigurationApplicationsCountRequestBuilder) WithUrl(rawUrl string)(*ConfigurationManagementConfigurationApplicationsCountRequestBuilder) { - return NewConfigurationManagementConfigurationApplicationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/admin/configuration_management_configuration_applications_request_builder.go b/admin/configuration_management_configuration_applications_request_builder.go deleted file mode 100644 index 814caee92e7..00000000000 --- a/admin/configuration_management_configuration_applications_request_builder.go +++ /dev/null @@ -1,155 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package admin - -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" -) - -// ConfigurationManagementConfigurationApplicationsRequestBuilder provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. -type ConfigurationManagementConfigurationApplicationsRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters get configurationApplications from admin -type ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters 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"` -} -// ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters -} -// ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption -} -// ByConfigurationApplicationId provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. -// returns a *ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder when successful -func (m *ConfigurationManagementConfigurationApplicationsRequestBuilder) ByConfigurationApplicationId(configurationApplicationId string)(*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder) { - urlTplParams := make(map[string]string) - for idx, item := range m.BaseRequestBuilder.PathParameters { - urlTplParams[idx] = item - } - if configurationApplicationId != "" { - urlTplParams["configurationApplication%2Did"] = configurationApplicationId - } - return NewConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) -} -// NewConfigurationManagementConfigurationApplicationsRequestBuilderInternal instantiates a new ConfigurationManagementConfigurationApplicationsRequestBuilder and sets the default values. -func NewConfigurationManagementConfigurationApplicationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationManagementConfigurationApplicationsRequestBuilder) { - m := &ConfigurationManagementConfigurationApplicationsRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/configurationManagement/configurationApplications{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), - } - return m -} -// NewConfigurationManagementConfigurationApplicationsRequestBuilder instantiates a new ConfigurationManagementConfigurationApplicationsRequestBuilder and sets the default values. -func NewConfigurationManagementConfigurationApplicationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ConfigurationManagementConfigurationApplicationsRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewConfigurationManagementConfigurationApplicationsRequestBuilderInternal(urlParams, requestAdapter) -} -// Count provides operations to count the resources in the collection. -// returns a *ConfigurationManagementConfigurationApplicationsCountRequestBuilder when successful -func (m *ConfigurationManagementConfigurationApplicationsRequestBuilder) Count()(*ConfigurationManagementConfigurationApplicationsCountRequestBuilder) { - return NewConfigurationManagementConfigurationApplicationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} -// Get get configurationApplications from admin -// returns a ConfigurationApplicationCollectionResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationManagementConfigurationApplicationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationCollectionResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConfigurationApplicationCollectionResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationCollectionResponseable), nil -} -// Post create new navigation property to configurationApplications for admin -// returns a ConfigurationApplicationable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ConfigurationManagementConfigurationApplicationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable, requestConfiguration *ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable, error) { - requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateConfigurationApplicationFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable), nil -} -// ToGetRequestInformation get configurationApplications from admin -// returns a *RequestInformation when successful -func (m *ConfigurationManagementConfigurationApplicationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return requestInfo, nil -} -// ToPostRequestInformation create new navigation property to configurationApplications for admin -// returns a *RequestInformation when successful -func (m *ConfigurationManagementConfigurationApplicationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable, requestConfiguration *ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) - if err != nil { - return nil, err - } - return 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 *ConfigurationManagementConfigurationApplicationsRequestBuilder when successful -func (m *ConfigurationManagementConfigurationApplicationsRequestBuilder) WithUrl(rawUrl string)(*ConfigurationManagementConfigurationApplicationsRequestBuilder) { - return NewConfigurationManagementConfigurationApplicationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/admin/configuration_management_configuration_drifts_configuration_drift_item_request_builder.go b/admin/configuration_management_configuration_drifts_configuration_drift_item_request_builder.go index 3ad533fbb78..968ee2de68d 100644 --- a/admin/configuration_management_configuration_drifts_configuration_drift_item_request_builder.go +++ b/admin/configuration_management_configuration_drifts_configuration_drift_item_request_builder.go @@ -21,7 +21,7 @@ type ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilderGetQueryParameters get configurationDrifts from admin +// ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilderGetQueryParameters get the properties and relationships of a configurationDrift object. type ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,9 +73,12 @@ func (m *ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequest } return nil } -// Get get configurationDrifts from admin +// Get get the properties and relationships of a configurationDrift object. // returns a ConfigurationDriftable 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/configurationdrift-get?view=graph-rest-beta func (m *ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationDriftable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +127,7 @@ func (m *ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get configurationDrifts from admin +// ToGetRequestInformation get the properties and relationships of a configurationDrift object. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_drifts_request_builder.go b/admin/configuration_management_configuration_drifts_request_builder.go index fe797abb8ae..df3cf6e01d0 100644 --- a/admin/configuration_management_configuration_drifts_request_builder.go +++ b/admin/configuration_management_configuration_drifts_request_builder.go @@ -14,7 +14,7 @@ import ( type ConfigurationManagementConfigurationDriftsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConfigurationManagementConfigurationDriftsRequestBuilderGetQueryParameters get configurationDrifts from admin +// ConfigurationManagementConfigurationDriftsRequestBuilderGetQueryParameters get a list of the configurationDrift objects and their properties. type ConfigurationManagementConfigurationDriftsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewConfigurationManagementConfigurationDriftsRequestBuilder(rawUrl string, func (m *ConfigurationManagementConfigurationDriftsRequestBuilder) Count()(*ConfigurationManagementConfigurationDriftsCountRequestBuilder) { return NewConfigurationManagementConfigurationDriftsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get configurationDrifts from admin +// Get get a list of the configurationDrift objects and their properties. // returns a ConfigurationDriftCollectionResponseable 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/configurationmanagement-list-configurationdrifts?view=graph-rest-beta func (m *ConfigurationManagementConfigurationDriftsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationDriftsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationDriftCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *ConfigurationManagementConfigurationDriftsRequestBuilder) Post(ctx cont } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationDriftable), nil } -// ToGetRequestInformation get configurationDrifts from admin +// ToGetRequestInformation get a list of the configurationDrift objects and their properties. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationDriftsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationDriftsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_monitoring_results_request_builder.go b/admin/configuration_management_configuration_monitoring_results_request_builder.go index 38cc0a852a2..18e162a0d55 100644 --- a/admin/configuration_management_configuration_monitoring_results_request_builder.go +++ b/admin/configuration_management_configuration_monitoring_results_request_builder.go @@ -14,7 +14,7 @@ import ( type ConfigurationManagementConfigurationMonitoringResultsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConfigurationManagementConfigurationMonitoringResultsRequestBuilderGetQueryParameters get configurationMonitoringResults from admin +// ConfigurationManagementConfigurationMonitoringResultsRequestBuilderGetQueryParameters get a list of the configurationMonitoringResult objects and their properties. type ConfigurationManagementConfigurationMonitoringResultsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewConfigurationManagementConfigurationMonitoringResultsRequestBuilder(rawU func (m *ConfigurationManagementConfigurationMonitoringResultsRequestBuilder) Count()(*ConfigurationManagementConfigurationMonitoringResultsCountRequestBuilder) { return NewConfigurationManagementConfigurationMonitoringResultsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get configurationMonitoringResults from admin +// Get get a list of the configurationMonitoringResult objects and their properties. // returns a ConfigurationMonitoringResultCollectionResponseable 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/configurationmanagement-list-configurationmonitoringresults?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitoringResultsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitoringResultCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *ConfigurationManagementConfigurationMonitoringResultsRequestBuilder) Po } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitoringResultable), nil } -// ToGetRequestInformation get configurationMonitoringResults from admin +// ToGetRequestInformation get a list of the configurationMonitoringResult objects and their properties. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitoringResultsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitoringResultsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_monitors_configuration_monitor_item_request_builder.go b/admin/configuration_management_configuration_monitors_configuration_monitor_item_request_builder.go index 1dfe772f347..82f0e9f4931 100644 --- a/admin/configuration_management_configuration_monitors_configuration_monitor_item_request_builder.go +++ b/admin/configuration_management_configuration_monitors_configuration_monitor_item_request_builder.go @@ -21,7 +21,7 @@ type ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderGetQueryParameters get configurationMonitors from admin +// ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderGetQueryParameters get the properties and relationships of a configurationMonitor object. type ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -62,8 +62,11 @@ func NewConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequ urlParams["request-raw-url"] = rawUrl return NewConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property configurationMonitors for admin +// Delete delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. // 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/configurationmonitor-delete?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,9 +81,12 @@ func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemReq } return nil } -// Get get configurationMonitors from admin +// Get get the properties and relationships of a configurationMonitor object. // returns a ConfigurationMonitorable 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/configurationmonitor-get?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,9 +104,12 @@ func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable), nil } -// Patch update the navigation property configurationMonitors in admin +// Patch update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. // returns a ConfigurationMonitorable 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/configurationmonitor-update?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable, requestConfiguration *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +127,7 @@ func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemReq } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable), nil } -// ToDeleteRequestInformation delete navigation property configurationMonitors for admin +// ToDeleteRequestInformation delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +138,7 @@ func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get configurationMonitors from admin +// ToGetRequestInformation get the properties and relationships of a configurationMonitor object. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -143,7 +152,7 @@ func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property configurationMonitors in admin +// ToPatchRequestInformation update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable, requestConfiguration *ConfigurationManagementConfigurationMonitorsConfigurationMonitorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_monitors_item_baseline_request_builder.go b/admin/configuration_management_configuration_monitors_item_baseline_request_builder.go index b1544781ec1..05f83d20e29 100644 --- a/admin/configuration_management_configuration_monitors_item_baseline_request_builder.go +++ b/admin/configuration_management_configuration_monitors_item_baseline_request_builder.go @@ -21,7 +21,7 @@ type ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilderDelet // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilderGetQueryParameters get baseline from admin +// ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilderGetQueryParameters read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. type ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,9 +73,12 @@ func (m *ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilder) } return nil } -// Get get baseline from admin +// Get read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. // returns a ConfigurationBaselineable 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/configurationbaseline-get?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationBaselineable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +127,7 @@ func (m *ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get baseline from admin +// ToGetRequestInformation read the properties and relationships of a configurationBaseline object that is attached to a specific monitor. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsItemBaselineRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_monitors_request_builder.go b/admin/configuration_management_configuration_monitors_request_builder.go index bf41effb796..d90575059d6 100644 --- a/admin/configuration_management_configuration_monitors_request_builder.go +++ b/admin/configuration_management_configuration_monitors_request_builder.go @@ -14,7 +14,7 @@ import ( type ConfigurationManagementConfigurationMonitorsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConfigurationManagementConfigurationMonitorsRequestBuilderGetQueryParameters get configurationMonitors from admin +// ConfigurationManagementConfigurationMonitorsRequestBuilderGetQueryParameters get a list of the configurationMonitor objects and their properties. type ConfigurationManagementConfigurationMonitorsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewConfigurationManagementConfigurationMonitorsRequestBuilder(rawUrl string func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) Count()(*ConfigurationManagementConfigurationMonitorsCountRequestBuilder) { return NewConfigurationManagementConfigurationMonitorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get configurationMonitors from admin +// Get get a list of the configurationMonitor objects and their properties. // returns a ConfigurationMonitorCollectionResponseable 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/configurationmanagement-list-configurationmonitors?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,9 +102,12 @@ func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) Get(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorCollectionResponseable), nil } -// Post create new navigation property to configurationMonitors for admin +// Post create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. // returns a ConfigurationMonitorable 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/configurationmanagement-post-configurationmonitors?view=graph-rest-beta func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable, requestConfiguration *ConfigurationManagementConfigurationMonitorsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable), nil } -// ToGetRequestInformation get configurationMonitors from admin +// ToGetRequestInformation get a list of the configurationMonitor objects and their properties. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationMonitorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +139,7 @@ func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) ToGetReques requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to configurationMonitors for admin +// ToPostRequestInformation create a new configurationMonitor object that runs periodically in the background at a scheduled frequency. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationMonitorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationMonitorable, requestConfiguration *ConfigurationManagementConfigurationMonitorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_snapshot_jobs_configuration_snapshot_job_item_request_builder.go b/admin/configuration_management_configuration_snapshot_jobs_configuration_snapshot_job_item_request_builder.go index d48ab1b1afb..5bc8d56e238 100644 --- a/admin/configuration_management_configuration_snapshot_jobs_configuration_snapshot_job_item_request_builder.go +++ b/admin/configuration_management_configuration_snapshot_jobs_configuration_snapshot_job_item_request_builder.go @@ -21,7 +21,7 @@ type ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderGetQueryParameters get configurationSnapshotJobs from admin +// ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderGetQueryParameters read the properties and relationships of a configurationSnapshotJob object. type ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -57,8 +57,11 @@ func NewConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJob urlParams["request-raw-url"] = rawUrl return NewConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property configurationSnapshotJobs for admin +// Delete delete a configurationSnapshotJob object. // 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/configurationsnapshotjob-delete?view=graph-rest-beta func (m *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,9 +76,12 @@ func (m *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJo } return nil } -// Get get configurationSnapshotJobs from admin +// Get read the properties and relationships of a configurationSnapshotJob object. // returns a ConfigurationSnapshotJobable 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/configurationsnapshotjob-get?view=graph-rest-beta func (m *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationSnapshotJobable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -113,7 +119,7 @@ func (m *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationSnapshotJobable), nil } -// ToDeleteRequestInformation delete navigation property configurationSnapshotJobs for admin +// ToDeleteRequestInformation delete a configurationSnapshotJob object. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -124,7 +130,7 @@ func (m *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get configurationSnapshotJobs from admin +// ToGetRequestInformation read the properties and relationships of a configurationSnapshotJob object. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotJobsConfigurationSnapshotJobItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_snapshot_jobs_request_builder.go b/admin/configuration_management_configuration_snapshot_jobs_request_builder.go index c46920d9b4e..4c6aa3a4e3f 100644 --- a/admin/configuration_management_configuration_snapshot_jobs_request_builder.go +++ b/admin/configuration_management_configuration_snapshot_jobs_request_builder.go @@ -14,7 +14,7 @@ import ( type ConfigurationManagementConfigurationSnapshotJobsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConfigurationManagementConfigurationSnapshotJobsRequestBuilderGetQueryParameters get configurationSnapshotJobs from admin +// ConfigurationManagementConfigurationSnapshotJobsRequestBuilderGetQueryParameters get a list of the configurationSnapshotJob objects and their properties. type ConfigurationManagementConfigurationSnapshotJobsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewConfigurationManagementConfigurationSnapshotJobsRequestBuilder(rawUrl st func (m *ConfigurationManagementConfigurationSnapshotJobsRequestBuilder) Count()(*ConfigurationManagementConfigurationSnapshotJobsCountRequestBuilder) { return NewConfigurationManagementConfigurationSnapshotJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get configurationSnapshotJobs from admin +// Get get a list of the configurationSnapshotJob objects and their properties. // returns a ConfigurationSnapshotJobCollectionResponseable 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/configurationmanagement-list-configurationsnapshotjobs?view=graph-rest-beta func (m *ConfigurationManagementConfigurationSnapshotJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationSnapshotJobCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *ConfigurationManagementConfigurationSnapshotJobsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationSnapshotJobable), nil } -// ToGetRequestInformation get configurationSnapshotJobs from admin +// ToGetRequestInformation get a list of the configurationSnapshotJob objects and their properties. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationSnapshotJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotJobsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_snapshots_configuration_baseline_item_request_builder.go b/admin/configuration_management_configuration_snapshots_configuration_baseline_item_request_builder.go index 70c9ee00bcf..c8dba837398 100644 --- a/admin/configuration_management_configuration_snapshots_configuration_baseline_item_request_builder.go +++ b/admin/configuration_management_configuration_snapshots_configuration_baseline_item_request_builder.go @@ -21,7 +21,7 @@ type ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemRequestBuilderGetQueryParameters get configurationSnapshots from admin +// ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemRequestBuilderGetQueryParameters a container for configuration snapshot baselines. type ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemR } return nil } -// Get get configurationSnapshots from admin +// Get a container for configuration snapshot baselines. // returns a ConfigurationBaselineable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationBaselineable, error) { @@ -124,7 +124,7 @@ func (m *ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get configurationSnapshots from admin +// ToGetRequestInformation a container for configuration snapshot baselines. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotsConfigurationBaselineItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_configuration_snapshots_request_builder.go b/admin/configuration_management_configuration_snapshots_request_builder.go index c314728fe6d..a8d26ff0933 100644 --- a/admin/configuration_management_configuration_snapshots_request_builder.go +++ b/admin/configuration_management_configuration_snapshots_request_builder.go @@ -14,7 +14,7 @@ import ( type ConfigurationManagementConfigurationSnapshotsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ConfigurationManagementConfigurationSnapshotsRequestBuilderGetQueryParameters get configurationSnapshots from admin +// ConfigurationManagementConfigurationSnapshotsRequestBuilderGetQueryParameters a container for configuration snapshot baselines. type ConfigurationManagementConfigurationSnapshotsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewConfigurationManagementConfigurationSnapshotsRequestBuilder(rawUrl strin func (m *ConfigurationManagementConfigurationSnapshotsRequestBuilder) Count()(*ConfigurationManagementConfigurationSnapshotsCountRequestBuilder) { return NewConfigurationManagementConfigurationSnapshotsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get configurationSnapshots from admin +// Get a container for configuration snapshot baselines. // returns a ConfigurationBaselineCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConfigurationManagementConfigurationSnapshotsRequestBuilder) Get(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationBaselineCollectionResponseable, error) { @@ -119,7 +119,7 @@ func (m *ConfigurationManagementConfigurationSnapshotsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationBaselineable), nil } -// ToGetRequestInformation get configurationSnapshots from admin +// ToGetRequestInformation a container for configuration snapshot baselines. // returns a *RequestInformation when successful func (m *ConfigurationManagementConfigurationSnapshotsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ConfigurationManagementConfigurationSnapshotsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/configuration_management_request_builder.go b/admin/configuration_management_request_builder.go index bc9d213d063..63c2a18b2e2 100644 --- a/admin/configuration_management_request_builder.go +++ b/admin/configuration_management_request_builder.go @@ -44,11 +44,6 @@ type ConfigurationManagementRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ConfigurationApplications provides operations to manage the configurationApplications property of the microsoft.graph.configurationManagement entity. -// returns a *ConfigurationManagementConfigurationApplicationsRequestBuilder when successful -func (m *ConfigurationManagementRequestBuilder) ConfigurationApplications()(*ConfigurationManagementConfigurationApplicationsRequestBuilder) { - return NewConfigurationManagementConfigurationApplicationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) -} // ConfigurationDrifts provides operations to manage the configurationDrifts property of the microsoft.graph.configurationManagement entity. // returns a *ConfigurationManagementConfigurationDriftsRequestBuilder when successful func (m *ConfigurationManagementRequestBuilder) ConfigurationDrifts()(*ConfigurationManagementConfigurationDriftsRequestBuilder) { diff --git a/admin/teams_policy_user_assignments_request_builder.go b/admin/teams_policy_user_assignments_request_builder.go index 6513584a639..a0ad7bd0bc4 100644 --- a/admin/teams_policy_user_assignments_request_builder.go +++ b/admin/teams_policy_user_assignments_request_builder.go @@ -14,7 +14,7 @@ import ( type TeamsPolicyUserAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters navigation property to the collection of user policy assignments. +// TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters the collection of user policy assignments. type TeamsPolicyUserAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,7 +79,7 @@ func NewTeamsPolicyUserAssignmentsRequestBuilder(rawUrl string, requestAdapter i func (m *TeamsPolicyUserAssignmentsRequestBuilder) Count()(*TeamsPolicyUserAssignmentsCountRequestBuilder) { return NewTeamsPolicyUserAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get navigation property to the collection of user policy assignments. +// Get the collection of user policy assignments. // returns a TeamsPolicyUserAssignmentCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamsPolicyUserAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration)(ida00aeab33baad931d9ea7ddda72fd1a74178962fdc58f5709ddf52b9f0fcc0f.TeamsPolicyUserAssignmentCollectionResponseable, error) { @@ -129,7 +129,7 @@ func (m *TeamsPolicyUserAssignmentsRequestBuilder) Post(ctx context.Context, bod } return res.(ida00aeab33baad931d9ea7ddda72fd1a74178962fdc58f5709ddf52b9f0fcc0f.TeamsPolicyUserAssignmentable), nil } -// ToGetRequestInformation navigation property to the collection of user policy assignments. +// ToGetRequestInformation the collection of user policy assignments. // returns a *RequestInformation when successful func (m *TeamsPolicyUserAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go b/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go index 9f0b786a2c8..cd94ad1604a 100644 --- a/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go +++ b/admin/teams_policy_user_assignments_teams_policy_user_assignment_item_request_builder.go @@ -21,7 +21,7 @@ type TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters navigation property to the collection of user policy assignments. +// TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters the collection of user policy assignments. type TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) } return nil } -// Get navigation property to the collection of user policy assignments. +// Get the collection of user policy assignments. // returns a TeamsPolicyUserAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration)(ida00aeab33baad931d9ea7ddda72fd1a74178962fdc58f5709ddf52b9f0fcc0f.TeamsPolicyUserAssignmentable, error) { @@ -124,7 +124,7 @@ func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation navigation property to the collection of user policy assignments. +// ToGetRequestInformation the collection of user policy assignments. // returns a *RequestInformation when successful func (m *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsPolicyUserAssignmentsTeamsPolicyUserAssignmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_policies_count_request_builder.go b/admin/windows_updates_policies_count_request_builder.go new file mode 100644 index 00000000000..af664a5cb7e --- /dev/null +++ b/admin/windows_updates_policies_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesCountRequestBuilder provides operations to count the resources in the collection. +type WindowsUpdatesPoliciesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesCountRequestBuilderGetQueryParameters get the number of the resource +type WindowsUpdatesPoliciesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesCountRequestBuilderGetQueryParameters +} +// NewWindowsUpdatesPoliciesCountRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesCountRequestBuilder) { + m := &WindowsUpdatesPoliciesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesCountRequestBuilder instantiates a new WindowsUpdatesPoliciesCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *WindowsUpdatesPoliciesCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesCountRequestBuilder) { + return NewWindowsUpdatesPoliciesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_applicable_content_count_request_builder.go b/admin/windows_updates_policies_item_applicable_content_count_request_builder.go new file mode 100644 index 00000000000..0230ab2a254 --- /dev/null +++ b/admin/windows_updates_policies_item_applicable_content_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder provides operations to count the resources in the collection. +type WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetQueryParameters get the number of the resource +type WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetQueryParameters +} +// NewWindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_applicable_content_item_catalog_entry_request_builder.go b/admin/windows_updates_policies_item_applicable_content_item_catalog_entry_request_builder.go new file mode 100644 index 00000000000..9852d8ef0bd --- /dev/null +++ b/admin/windows_updates_policies_item_applicable_content_item_catalog_entry_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.applicableContent entity. +type WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetQueryParameters catalog entry for the update or content. +type WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetQueryParameters +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/catalogEntry{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderInternal(urlParams, requestAdapter) +} +// Get catalog entry for the update or content. +// returns a CatalogEntryable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateCatalogEntryFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryable), nil +} +// ToGetRequestInformation catalog entry for the update or content. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_applicable_content_item_matched_devices_count_request_builder.go b/admin/windows_updates_policies_item_applicable_content_item_matched_devices_count_request_builder.go new file mode 100644 index 00000000000..4e9fe00f263 --- /dev/null +++ b/admin/windows_updates_policies_item_applicable_content_item_matched_devices_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder provides operations to count the resources in the collection. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetQueryParameters get the number of the resource +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetQueryParameters +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_applicable_content_item_matched_devices_request_builder.go b/admin/windows_updates_policies_item_applicable_content_item_matched_devices_request_builder.go new file mode 100644 index 00000000000..e0086ddd387 --- /dev/null +++ b/admin/windows_updates_policies_item_applicable_content_item_matched_devices_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters collection of devices and recommendations for applicable catalog content. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters 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"` +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByApplicableContentDeviceMatchDeviceId provides operations to manage the matchedDevices property of the microsoft.graph.windowsUpdates.applicableContent entity. +// returns a *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) ByApplicableContentDeviceMatchDeviceId(applicableContentDeviceMatchDeviceId string)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if applicableContentDeviceMatchDeviceId != "" { + urlTplParams["applicableContentDeviceMatch%2DdeviceId"] = applicableContentDeviceMatchDeviceId + } + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent/{applicableContent%2DcatalogEntryId}/matchedDevices{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) Count()(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get collection of devices and recommendations for applicable catalog content. +// returns a ApplicableContentDeviceMatchCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentDeviceMatchCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchCollectionResponseable), nil +} +// Post create new navigation property to matchedDevices for admin +// returns a ApplicableContentDeviceMatchable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentDeviceMatchFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable), nil +} +// ToGetRequestInformation collection of devices and recommendations for applicable catalog content. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to matchedDevices for admin +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_applicable_content_request_builder.go b/admin/windows_updates_policies_item_applicable_content_request_builder.go new file mode 100644 index 00000000000..0a967ac7314 --- /dev/null +++ b/admin/windows_updates_policies_item_applicable_content_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApplicableContentRequestBuilder provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. +type WindowsUpdatesPoliciesItemApplicableContentRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters list applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. +type WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters 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"` +} +// WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByApplicableContentCatalogEntryId provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. +// returns a *WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) ByApplicableContentCatalogEntryId(applicableContentCatalogEntryId string)(*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if applicableContentCatalogEntryId != "" { + urlTplParams["applicableContent%2DcatalogEntryId"] = applicableContentCatalogEntryId + } + return NewWindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesItemApplicableContentRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApplicableContentRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApplicableContentRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/applicableContent{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApplicableContentRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApplicableContentRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApplicableContentRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApplicableContentRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) Count()(*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get list applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. +// returns a ApplicableContentCollectionResponseable 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-policy-list-applicablecontent?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentCollectionResponseable), nil +} +// Post create new navigation property to applicableContent for admin +// returns a ApplicableContentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateApplicableContentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable), nil +} +// ToGetRequestInformation list applicable update content to offer to Microsoft Entra groups, Windows Autopatch groups, or both. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to applicableContent for admin +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable, requestConfiguration *WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_approvals_count_request_builder.go b/admin/windows_updates_policies_item_approvals_count_request_builder.go new file mode 100644 index 00000000000..46d403b4563 --- /dev/null +++ b/admin/windows_updates_policies_item_approvals_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder provides operations to count the resources in the collection. +type WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetQueryParameters get the number of the resource +type WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetQueryParameters +} +// NewWindowsUpdatesPoliciesItemApprovalsCountRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApprovalsCountRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApprovalsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApprovalsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_approvals_item_catalog_entry_request_builder.go b/admin/windows_updates_policies_item_approvals_item_catalog_entry_request_builder.go new file mode 100644 index 00000000000..55e94ebcd60 --- /dev/null +++ b/admin/windows_updates_policies_item_approvals_item_catalog_entry_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.policyApproval entity. +type WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetQueryParameters the content that you can approve for deployment. Read-only. +type WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetQueryParameters +} +// NewWindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}/catalogEntry{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the content that you can approve for deployment. Read-only. +// returns a CatalogEntryable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateCatalogEntryFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryable), nil +} +// ToGetRequestInformation the content that you can approve for deployment. Read-only. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_approvals_policy_approval_item_request_builder.go b/admin/windows_updates_policies_item_approvals_policy_approval_item_request_builder.go new file mode 100644 index 00000000000..dca6c0b2068 --- /dev/null +++ b/admin/windows_updates_policies_item_approvals_policy_approval_item_request_builder.go @@ -0,0 +1,174 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. +type WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetQueryParameters read the properties and relationships of a policyApproval object. +type WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CatalogEntry provides operations to manage the catalogEntry property of the microsoft.graph.windowsUpdates.policyApproval entity. +// returns a *WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) CatalogEntry()(*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals/{policyApproval%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a policyApproval object. +// 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-policyapproval-delete?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a policyApproval object. +// returns a PolicyApprovalable 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-policyapproval-get?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyApprovalFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable), nil +} +// Patch update the properties of a policyApproval object. +// returns a PolicyApprovalable 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-policyapproval-update?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyApprovalFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable), nil +} +// ToDeleteRequestInformation delete a policyApproval object. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a policyApproval object. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a policyApproval object. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_approvals_request_builder.go b/admin/windows_updates_policies_item_approvals_request_builder.go new file mode 100644 index 00000000000..969d2af2455 --- /dev/null +++ b/admin/windows_updates_policies_item_approvals_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemApprovalsRequestBuilder provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. +type WindowsUpdatesPoliciesItemApprovalsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters get a list of the policyApproval objects and their properties. +type WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters 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"` +} +// WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPolicyApprovalId provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. +// returns a *WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApprovalsRequestBuilder) ByPolicyApprovalId(policyApprovalId string)(*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if policyApprovalId != "" { + urlTplParams["policyApproval%2Did"] = policyApprovalId + } + return NewWindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesItemApprovalsRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemApprovalsRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsRequestBuilder) { + m := &WindowsUpdatesPoliciesItemApprovalsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/approvals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemApprovalsRequestBuilder instantiates a new WindowsUpdatesPoliciesItemApprovalsRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemApprovalsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemApprovalsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemApprovalsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApprovalsRequestBuilder) Count()(*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApprovalsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the policyApproval objects and their properties. +// returns a PolicyApprovalCollectionResponseable 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-policy-list-approvals?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemApprovalsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyApprovalCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalCollectionResponseable), nil +} +// Post create a new policyApproval object. +// returns a PolicyApprovalable 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-policy-post-approvals?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemApprovalsRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyApprovalFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable), nil +} +// ToGetRequestInformation get a list of the policyApproval objects and their properties. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApprovalsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new policyApproval object. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemApprovalsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable, requestConfiguration *WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemApprovalsRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemApprovalsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemApprovalsRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApprovalsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_rings_count_request_builder.go b/admin/windows_updates_policies_item_rings_count_request_builder.go new file mode 100644 index 00000000000..fef803f66b7 --- /dev/null +++ b/admin/windows_updates_policies_item_rings_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemRingsCountRequestBuilder provides operations to count the resources in the collection. +type WindowsUpdatesPoliciesItemRingsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetQueryParameters get the number of the resource +type WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetQueryParameters +} +// NewWindowsUpdatesPoliciesItemRingsCountRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemRingsCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemRingsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemRingsCountRequestBuilder) { + m := &WindowsUpdatesPoliciesItemRingsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemRingsCountRequestBuilder instantiates a new WindowsUpdatesPoliciesItemRingsCountRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemRingsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemRingsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemRingsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *WindowsUpdatesPoliciesItemRingsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemRingsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *WindowsUpdatesPoliciesItemRingsCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemRingsCountRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemRingsCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemRingsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_rings_request_builder.go b/admin/windows_updates_policies_item_rings_request_builder.go new file mode 100644 index 00000000000..56fd24370a8 --- /dev/null +++ b/admin/windows_updates_policies_item_rings_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemRingsRequestBuilder provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. +type WindowsUpdatesPoliciesItemRingsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. +type WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters 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"` +} +// WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByRingId provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. +// returns a *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemRingsRequestBuilder) ByRingId(ringId string)(*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if ringId != "" { + urlTplParams["ring%2Did"] = ringId + } + return NewWindowsUpdatesPoliciesItemRingsRingItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesItemRingsRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemRingsRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemRingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemRingsRequestBuilder) { + m := &WindowsUpdatesPoliciesItemRingsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemRingsRequestBuilder instantiates a new WindowsUpdatesPoliciesItemRingsRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemRingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemRingsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemRingsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *WindowsUpdatesPoliciesItemRingsCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemRingsRequestBuilder) Count()(*WindowsUpdatesPoliciesItemRingsCountRequestBuilder) { + return NewWindowsUpdatesPoliciesItemRingsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. +// returns a RingCollectionResponseable 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-policy-list-rings?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemRingsRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.RingCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateRingCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.RingCollectionResponseable), nil +} +// Post create a new ring object. You can use this method with the following child object type: qualityUpdateRing. +// returns a Ringable 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-policy-post-rings?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemRingsRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable, requestConfiguration *WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateRingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable), nil +} +// ToGetRequestInformation get a list of the ring objects and their properties. You can use this method with the following child object type: qualityUpdateRing. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemRingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new ring object. You can use this method with the following child object type: qualityUpdateRing. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemRingsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable, requestConfiguration *WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemRingsRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemRingsRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemRingsRequestBuilder) { + return NewWindowsUpdatesPoliciesItemRingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_item_rings_ring_item_request_builder.go b/admin/windows_updates_policies_item_rings_ring_item_request_builder.go new file mode 100644 index 00000000000..0e04b2ef581 --- /dev/null +++ b/admin/windows_updates_policies_item_rings_ring_item_request_builder.go @@ -0,0 +1,169 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. +type WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetQueryParameters read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. +type WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewWindowsUpdatesPoliciesItemRingsRingItemRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemRingsRingItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) { + m := &WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}/rings/{ring%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesItemRingsRingItemRequestBuilder instantiates a new WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesItemRingsRingItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesItemRingsRingItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a ring object. You can use this method with the following child object type: qualityUpdateRing. +// 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-ring-delete?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. +// returns a Ringable 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-ring-get?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateRingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable), nil +} +// Patch update the properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. +// returns a Ringable 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-ring-update?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable, requestConfiguration *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreateRingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable), nil +} +// ToDeleteRequestInformation delete a ring object. You can use this method with the following child object type: qualityUpdateRing. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of ring object. You can use this method with the following child object type: qualityUpdateRing. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a ring object. You can use this method with the following child object type: qualityUpdateRing. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable, requestConfiguration *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder) { + return NewWindowsUpdatesPoliciesItemRingsRingItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_policy_item_request_builder.go b/admin/windows_updates_policies_policy_item_request_builder.go new file mode 100644 index 00000000000..30c7c0c6169 --- /dev/null +++ b/admin/windows_updates_policies_policy_item_request_builder.go @@ -0,0 +1,184 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesPolicyItemRequestBuilder provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. +type WindowsUpdatesPoliciesPolicyItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// WindowsUpdatesPoliciesPolicyItemRequestBuilderGetQueryParameters read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. +type WindowsUpdatesPoliciesPolicyItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesPolicyItemRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ApplicableContent provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.policy entity. +// returns a *WindowsUpdatesPoliciesItemApplicableContentRequestBuilder when successful +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) ApplicableContent()(*WindowsUpdatesPoliciesItemApplicableContentRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApplicableContentRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Approvals provides operations to manage the approvals property of the microsoft.graph.windowsUpdates.policy entity. +// returns a *WindowsUpdatesPoliciesItemApprovalsRequestBuilder when successful +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) Approvals()(*WindowsUpdatesPoliciesItemApprovalsRequestBuilder) { + return NewWindowsUpdatesPoliciesItemApprovalsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesPolicyItemRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesPolicyItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesPolicyItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesPolicyItemRequestBuilder) { + m := &WindowsUpdatesPoliciesPolicyItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies/{policy%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesPolicyItemRequestBuilder instantiates a new WindowsUpdatesPoliciesPolicyItemRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesPolicyItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesPolicyItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesPolicyItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// 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-policy-delete?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a Policyable 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-policy-get?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable), nil +} +// Patch update the properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a Policyable 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-policy-update?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) Patch(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable, requestConfiguration *WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable), nil +} +// Rings provides operations to manage the rings property of the microsoft.graph.windowsUpdates.policy entity. +// returns a *WindowsUpdatesPoliciesItemRingsRequestBuilder when successful +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) Rings()(*WindowsUpdatesPoliciesItemRingsRequestBuilder) { + return NewWindowsUpdatesPoliciesItemRingsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete a Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable, requestConfiguration *WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesPolicyItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesPolicyItemRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesPolicyItemRequestBuilder) { + return NewWindowsUpdatesPoliciesPolicyItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_policies_request_builder.go b/admin/windows_updates_policies_request_builder.go new file mode 100644 index 00000000000..33e10c2579e --- /dev/null +++ b/admin/windows_updates_policies_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c "github.com/microsoftgraph/msgraph-beta-sdk-go/models/windowsupdates" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// WindowsUpdatesPoliciesRequestBuilder provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. +type WindowsUpdatesPoliciesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// WindowsUpdatesPoliciesRequestBuilderGetQueryParameters get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. +type WindowsUpdatesPoliciesRequestBuilderGetQueryParameters 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"` +} +// WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *WindowsUpdatesPoliciesRequestBuilderGetQueryParameters +} +// WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByPolicyId provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. +// returns a *WindowsUpdatesPoliciesPolicyItemRequestBuilder when successful +func (m *WindowsUpdatesPoliciesRequestBuilder) ByPolicyId(policyId string)(*WindowsUpdatesPoliciesPolicyItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if policyId != "" { + urlTplParams["policy%2Did"] = policyId + } + return NewWindowsUpdatesPoliciesPolicyItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewWindowsUpdatesPoliciesRequestBuilderInternal instantiates a new WindowsUpdatesPoliciesRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesRequestBuilder) { + m := &WindowsUpdatesPoliciesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/windows/updates/policies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewWindowsUpdatesPoliciesRequestBuilder instantiates a new WindowsUpdatesPoliciesRequestBuilder and sets the default values. +func NewWindowsUpdatesPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*WindowsUpdatesPoliciesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewWindowsUpdatesPoliciesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *WindowsUpdatesPoliciesCountRequestBuilder when successful +func (m *WindowsUpdatesPoliciesRequestBuilder) Count()(*WindowsUpdatesPoliciesCountRequestBuilder) { + return NewWindowsUpdatesPoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a PolicyCollectionResponseable 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-adminwindowsupdates-list-policies?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyCollectionResponseable), nil +} +// Post create a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a Policyable 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-adminwindowsupdates-post-policies?view=graph-rest-beta +func (m *WindowsUpdatesPoliciesRequestBuilder) Post(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable, requestConfiguration *WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CreatePolicyFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable), nil +} +// ToGetRequestInformation get a list of the policy objects and their properties. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new Windows update policy object. You can use this method with the following child object type: qualityUpdatePolicy. +// returns a *RequestInformation when successful +func (m *WindowsUpdatesPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable, requestConfiguration *WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *WindowsUpdatesPoliciesRequestBuilder when successful +func (m *WindowsUpdatesPoliciesRequestBuilder) WithUrl(rawUrl string)(*WindowsUpdatesPoliciesRequestBuilder) { + return NewWindowsUpdatesPoliciesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/windows_updates_request_builder.go b/admin/windows_updates_request_builder.go index 9bd573bee9e..c829a439ec7 100644 --- a/admin/windows_updates_request_builder.go +++ b/admin/windows_updates_request_builder.go @@ -128,6 +128,11 @@ func (m *WindowsUpdatesRequestBuilder) Patch(ctx context.Context, body ie233ee76 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminWindowsUpdatesable), nil } +// Policies provides operations to manage the policies property of the microsoft.graph.adminWindowsUpdates entity. +// returns a *WindowsUpdatesPoliciesRequestBuilder when successful +func (m *WindowsUpdatesRequestBuilder) Policies()(*WindowsUpdatesPoliciesRequestBuilder) { + return NewWindowsUpdatesPoliciesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Products provides operations to manage the products property of the microsoft.graph.adminWindowsUpdates entity. // returns a *WindowsUpdatesProductsRequestBuilder when successful func (m *WindowsUpdatesRequestBuilder) Products()(*WindowsUpdatesProductsRequestBuilder) { diff --git a/groups/item_member_of_graph_group_request_builder.go b/groups/item_member_of_graph_group_request_builder.go index e46a20f4424..ededd1bf7f1 100644 --- a/groups/item_member_of_graph_group_request_builder.go +++ b/groups/item_member_of_graph_group_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemMemberOfGraphGroupRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMemberOfGraphGroupRequestBuilderGetQueryParameters get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ItemMemberOfGraphGroupRequestBuilderGetQueryParameters get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. type ItemMemberOfGraphGroupRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -60,7 +60,7 @@ func NewItemMemberOfGraphGroupRequestBuilder(rawUrl string, requestAdapter i2ae4 func (m *ItemMemberOfGraphGroupRequestBuilder) Count()(*ItemMemberOfGraphGroupCountRequestBuilder) { return NewItemMemberOfGraphGroupCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// Get get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. // returns a GroupCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -83,7 +83,7 @@ func (m *ItemMemberOfGraphGroupRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GroupCollectionResponseable), nil } -// ToGetRequestInformation get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ToGetRequestInformation get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. // returns a *RequestInformation when successful func (m *ItemMemberOfGraphGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMemberOfGraphGroupRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) 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 305cb956dc6..bf4aa595a77 100644 --- a/groups/item_member_of_item_graph_group_request_builder.go +++ b/groups/item_member_of_item_graph_group_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemMemberOfItemGraphGroupRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMemberOfItemGraphGroupRequestBuilderGetQueryParameters get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ItemMemberOfItemGraphGroupRequestBuilderGetQueryParameters get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. type ItemMemberOfItemGraphGroupRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewItemMemberOfItemGraphGroupRequestBuilder(rawUrl string, requestAdapter i urlParams["request-raw-url"] = rawUrl return NewItemMemberOfItemGraphGroupRequestBuilderInternal(urlParams, requestAdapter) } -// Get get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// Get get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. // returns a Groupable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -66,7 +66,7 @@ func (m *ItemMemberOfItemGraphGroupRequestBuilder) Get(ctx context.Context, requ } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable), nil } -// ToGetRequestInformation get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ToGetRequestInformation get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. // returns a *RequestInformation when successful func (m *ItemMemberOfItemGraphGroupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMemberOfItemGraphGroupRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_member_of_request_builder.go b/groups/item_member_of_request_builder.go index 74d7e1a4a8c..d0c32306912 100644 --- a/groups/item_member_of_request_builder.go +++ b/groups/item_member_of_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemMemberOfRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemMemberOfRequestBuilderGetQueryParameters get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ItemMemberOfRequestBuilderGetQueryParameters get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. type ItemMemberOfRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewItemMemberOfRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2 func (m *ItemMemberOfRequestBuilder) Count()(*ItemMemberOfCountRequestBuilder) { return NewItemMemberOfCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// Get get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. // returns a DirectoryObjectCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -105,7 +105,7 @@ func (m *ItemMemberOfRequestBuilder) GraphAdministrativeUnit()(*ItemMemberOfGrap func (m *ItemMemberOfRequestBuilder) GraphGroup()(*ItemMemberOfGraphGroupRequestBuilder) { return NewItemMemberOfGraphGroupRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation get groups and administrative units that the group is a direct member of. This operation is not transitive. Unlike getting a user's Microsoft 365 groups, this returns all types of groups, not just Microsoft 365 groups. +// ToGetRequestInformation get security groups, administrative units, and admin roles that the security group is a direct member of, or administrative units and admin roles that the Microsoft 365 group is a direct member of. This operation is not transitive. // returns a *RequestInformation when successful func (m *ItemMemberOfRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMemberOfRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go b/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go index 5679445d085..4e312988c6d 100644 --- a/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go +++ b/groups/item_sites_item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go @@ -44,6 +44,18 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetClassifyText gets the classifyText property value. The classifyText property +// returns a TextClassificationRequestable when successful +func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) { + val, err := m.GetBackingStore().Get("classifyText") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) + } + return nil +} // GetEvaluationInput gets the evaluationInput property value. The evaluationInput property // returns a DlpEvaluationInputable when successful func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) { @@ -60,6 +72,16 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["classifyText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateTextClassificationRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetClassifyText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)) + } + return nil + } res["evaluationInput"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDlpEvaluationInputFromDiscriminatorValue) if err != nil { @@ -118,6 +140,12 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos } // Serialize serializes information the current object func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("classifyText", m.GetClassifyText()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("evaluationInput", m.GetEvaluationInput()) if err != nil { @@ -155,6 +183,13 @@ func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePos func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetClassifyText sets the classifyText property value. The classifyText property +func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() { + err := m.GetBackingStore().Set("classifyText", value) + if err != nil { + panic(err) + } +} // SetEvaluationInput sets the evaluationInput property value. The evaluationInput property func (m *ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() { err := m.GetBackingStore().Set("evaluationInput", value) @@ -181,10 +216,12 @@ type ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostReq ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) GetNotificationInfo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable) GetTarget()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() SetNotificationInfo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable)() SetTarget(value *string)() diff --git a/identitygovernance/2b6c948379bcecf8e7ab9267221eb981cf1d19962dc3a5044eb43f22c772cf57.go b/identitygovernance/2b6c948379bcecf8e7ab9267221eb981cf1d19962dc3a5044eb43f22c772cf57.go index cc18529830b..9a90527a3b2 100644 --- a/identitygovernance/2b6c948379bcecf8e7ab9267221eb981cf1d19962dc3a5044eb43f22c772cf57.go +++ b/identitygovernance/2b6c948379bcecf8e7ab9267221eb981cf1d19962dc3a5044eb43f22c772cf57.go @@ -14,7 +14,7 @@ import ( type EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. type EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewEntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAss urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // returns a AccessPackageAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -64,7 +64,7 @@ func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAs } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentable), nil } -// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/84949e5d5dfb38d0685f6443879ccda970adc475a17b8c7bc4cbd274e5a4eb2e.go b/identitygovernance/84949e5d5dfb38d0685f6443879ccda970adc475a17b8c7bc4cbd274e5a4eb2e.go new file mode 100644 index 00000000000..9cfb7ca0ccb --- /dev/null +++ b/identitygovernance/84949e5d5dfb38d0685f6443879ccda970adc475a17b8c7bc4cbd274e5a4eb2e.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +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" +) + +// EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters get externalOriginResourceConnectors from identityGovernance +type EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters +} +// EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewEntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderInternal instantiates a new EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder and sets the default values. +func NewEntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) { + m := &EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/{externalOriginResourceConnector%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewEntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder instantiates a new EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder and sets the default values. +func NewEntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property externalOriginResourceConnectors for identityGovernance +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get externalOriginResourceConnectors from identityGovernance +// returns a ExternalOriginResourceConnectorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExternalOriginResourceConnectorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable), nil +} +// Patch update the navigation property externalOriginResourceConnectors in identityGovernance +// returns a ExternalOriginResourceConnectorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExternalOriginResourceConnectorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable), nil +} +// ToDeleteRequestInformation delete navigation property externalOriginResourceConnectors for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get externalOriginResourceConnectors from identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property externalOriginResourceConnectors in identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) { + return NewEntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/e33b9612bb99cc1c2a1c8f27b90b25a46d0b4a80ff0a177d79c8b16fc85cd8ef.go b/identitygovernance/e33b9612bb99cc1c2a1c8f27b90b25a46d0b4a80ff0a177d79c8b16fc85cd8ef.go index decf0e845bd..17f475ade61 100644 --- a/identitygovernance/e33b9612bb99cc1c2a1c8f27b90b25a46d0b4a80ff0a177d79c8b16fc85cd8ef.go +++ b/identitygovernance/e33b9612bb99cc1c2a1c8f27b90b25a46d0b4a80ff0a177d79c8b16fc85cd8ef.go @@ -14,7 +14,7 @@ import ( type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. type EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignment urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // returns a AccessPackageAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -64,7 +64,7 @@ func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmen } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentable), nil } -// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageAssignmentsItemAccessPackageAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go b/identitygovernance/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go index 01c93bfb499..605b8c74d95 100644 --- a/identitygovernance/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go +++ b/identitygovernance/entitlement_management_assignment_requests_item_access_package_assignment_request_builder.go @@ -14,7 +14,7 @@ import ( type EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. type EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -43,7 +43,7 @@ func NewEntitlementManagementAssignmentRequestsItemAccessPackageAssignmentReques urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderInternal(urlParams, requestAdapter) } -// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// Get for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // returns a AccessPackageAssignmentable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -64,7 +64,7 @@ func (m *EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentReque } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageAssignmentable), nil } -// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// ToGetRequestInformation for a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 // returns a *RequestInformation when successful func (m *EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAssignmentRequestsItemAccessPackageAssignmentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_external_origin_resource_connectors_count_request_builder.go b/identitygovernance/entitlement_management_external_origin_resource_connectors_count_request_builder.go new file mode 100644 index 00000000000..c11050346a9 --- /dev/null +++ b/identitygovernance/entitlement_management_external_origin_resource_connectors_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder provides operations to count the resources in the collection. +type EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetQueryParameters get the number of the resource +type EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetQueryParameters +} +// NewEntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderInternal instantiates a new EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder and sets the default values. +func NewEntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder) { + m := &EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewEntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder instantiates a new EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder and sets the default values. +func NewEntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder) { + return NewEntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_external_origin_resource_connectors_request_builder.go b/identitygovernance/entitlement_management_external_origin_resource_connectors_request_builder.go new file mode 100644 index 00000000000..5530c6a4f9e --- /dev/null +++ b/identitygovernance/entitlement_management_external_origin_resource_connectors_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +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" +) + +// EntitlementManagementExternalOriginResourceConnectorsRequestBuilder provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. +type EntitlementManagementExternalOriginResourceConnectorsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters get externalOriginResourceConnectors from identityGovernance +type EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters 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"` +} +// EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters +} +// EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByExternalOriginResourceConnectorId provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) ByExternalOriginResourceConnectorId(externalOriginResourceConnectorId string)(*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if externalOriginResourceConnectorId != "" { + urlTplParams["externalOriginResourceConnector%2Did"] = externalOriginResourceConnectorId + } + return NewEntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewEntitlementManagementExternalOriginResourceConnectorsRequestBuilderInternal instantiates a new EntitlementManagementExternalOriginResourceConnectorsRequestBuilder and sets the default values. +func NewEntitlementManagementExternalOriginResourceConnectorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) { + m := &EntitlementManagementExternalOriginResourceConnectorsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/externalOriginResourceConnectors{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewEntitlementManagementExternalOriginResourceConnectorsRequestBuilder instantiates a new EntitlementManagementExternalOriginResourceConnectorsRequestBuilder and sets the default values. +func NewEntitlementManagementExternalOriginResourceConnectorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewEntitlementManagementExternalOriginResourceConnectorsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) Count()(*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder) { + return NewEntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get externalOriginResourceConnectors from identityGovernance +// returns a ExternalOriginResourceConnectorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExternalOriginResourceConnectorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorCollectionResponseable), nil +} +// Post create new navigation property to externalOriginResourceConnectors for identityGovernance +// returns a ExternalOriginResourceConnectorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExternalOriginResourceConnectorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable), nil +} +// ToGetRequestInformation get externalOriginResourceConnectors from identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create new navigation property to externalOriginResourceConnectors for identityGovernance +// returns a *RequestInformation when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable, requestConfiguration *EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder when successful +func (m *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) WithUrl(rawUrl string)(*EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) { + return NewEntitlementManagementExternalOriginResourceConnectorsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/entitlement_management_request_builder.go b/identitygovernance/entitlement_management_request_builder.go index a37dd53966b..22247b58d74 100644 --- a/identitygovernance/entitlement_management_request_builder.go +++ b/identitygovernance/entitlement_management_request_builder.go @@ -164,6 +164,11 @@ func (m *EntitlementManagementRequestBuilder) Delete(ctx context.Context, reques } return nil } +// ExternalOriginResourceConnectors provides operations to manage the externalOriginResourceConnectors property of the microsoft.graph.entitlementManagement entity. +// returns a *EntitlementManagementExternalOriginResourceConnectorsRequestBuilder when successful +func (m *EntitlementManagementRequestBuilder) ExternalOriginResourceConnectors()(*EntitlementManagementExternalOriginResourceConnectorsRequestBuilder) { + return NewEntitlementManagementExternalOriginResourceConnectorsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Get get entitlementManagement from identityGovernance // returns a EntitlementManagementable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/informationprotection/data_loss_prevention_policies_evaluate_post_request_body.go b/informationprotection/data_loss_prevention_policies_evaluate_post_request_body.go index 3b573ffcd5c..55bc2e6e734 100644 --- a/informationprotection/data_loss_prevention_policies_evaluate_post_request_body.go +++ b/informationprotection/data_loss_prevention_policies_evaluate_post_request_body.go @@ -44,6 +44,18 @@ func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) GetAdditionalData()( func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetClassifyText gets the classifyText property value. The classifyText property +// returns a TextClassificationRequestable when successful +func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) { + val, err := m.GetBackingStore().Get("classifyText") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) + } + return nil +} // GetEvaluationInput gets the evaluationInput property value. The evaluationInput property // returns a DlpEvaluationInputable when successful func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) { @@ -60,6 +72,16 @@ func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) GetEvaluationInput() // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["classifyText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateTextClassificationRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetClassifyText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)) + } + return nil + } res["evaluationInput"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDlpEvaluationInputFromDiscriminatorValue) if err != nil { @@ -118,6 +140,12 @@ func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) GetTarget()(*string) } // Serialize serializes information the current object func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("classifyText", m.GetClassifyText()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("evaluationInput", m.GetEvaluationInput()) if err != nil { @@ -155,6 +183,13 @@ func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) SetAdditionalData(va func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetClassifyText sets the classifyText property value. The classifyText property +func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() { + err := m.GetBackingStore().Set("classifyText", value) + if err != nil { + panic(err) + } +} // SetEvaluationInput sets the evaluationInput property value. The evaluationInput property func (m *DataLossPreventionPoliciesEvaluatePostRequestBody) SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() { err := m.GetBackingStore().Set("evaluationInput", value) @@ -181,10 +216,12 @@ type DataLossPreventionPoliciesEvaluatePostRequestBodyable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) GetNotificationInfo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable) GetTarget()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() SetNotificationInfo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable)() SetTarget(value *string)() diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index ea5549ff24d..6dbbe34fc37 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -729,6 +729,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder.AdminRe github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder.AdminRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder.AdminRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder::|public|appsAndServices():*AppsAndServicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder::|public|cloudLicensing():*CloudLicensingRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder::|public|configurationManagement():*ConfigurationManagementRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.adminRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void @@ -775,68 +776,391 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.AppsAndServicesRequestBuild github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.AppsAndServicesRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminAppsAndServicesable; ctx:context.Context; requestConfiguration?:*AppsAndServicesRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.AppsAndServicesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.AppsAndServicesRequestBuilder::|public|WithUrl(rawUrl:string):*AppsAndServicesRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|Expand:[]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetQueryParameters::|public|Select:[]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable; ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable; ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilderPatchRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder::|public|WithUrl(rawUrl:string):*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder.ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetQueryParameters::|public|Filter:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder.ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetQueryParameters::|public|Search:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder.ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder.ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder.ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration):*int32 -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsCountRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ConfigurationManagementConfigurationApplicationsCountRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Count:*bool -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Expand:[]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Filter:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Orderby:[]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Search:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Select:[]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Skip:*int32 -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters::|public|Top:*int32 -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ConfigurationManagementConfigurationApplicationsRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder.ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|ByConfigurationApplicationId(configurationApplicationId:string):*ConfigurationManagementConfigurationApplicationsConfigurationApplicationItemRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|Count():*ConfigurationManagementConfigurationApplicationsCountRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationCollectionResponseable -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable; ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConfigurationApplicationable; ctx:context.Context; requestConfiguration?:*ConfigurationManagementConfigurationApplicationsRequestBuilderPostRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationApplicationsRequestBuilder::|public|WithUrl(rawUrl:string):*ConfigurationManagementConfigurationApplicationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsAllotmentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder.CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|assignments():*CloudLicensingAllotmentsItemAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|Patch(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsAllotmentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsAllotmentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|ToPatchRequestInformation(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsAllotmentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|waitingMembers():*CloudLicensingAllotmentsItemWaitingMembersRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsAllotmentItemRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsAllotmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder.CloudLicensingAllotmentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder.CloudLicensingAllotmentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder.CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder.CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder.CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder.CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|ByAssignmentId(assignmentId:string):*CloudLicensingAllotmentsItemAssignmentsAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|Count():*CloudLicensingAllotmentsItemAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemAssignmentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsItemAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|ByWaitingMemberId(waitingMemberId:string):*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|Count():*CloudLicensingAllotmentsItemWaitingMembersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.WaitingMemberCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemWaitingMembersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsItemWaitingMembersRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.WaitingMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsItemWaitingMembersWaitingMemberItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAllotmentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder.CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|ByAllotmentId(allotmentId:string):*CloudLicensingAllotmentsAllotmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|Count():*CloudLicensingAllotmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AllotmentCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|Post(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|ToPostRequestInformation(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAllotmentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAllotmentsRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAllotmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|assignedTo():*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|Patch(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|ToPatchRequestInformation(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|usageRight():*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder.CloudLicensingAssignmentErrorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder.CloudLicensingAssignmentErrorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder.CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder.CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder.CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentErrorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentErrorsItemAssignedToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.UsageRightable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentErrorsItemUsageRightRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentErrorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder.CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|ByAssignmentErrorId(assignmentErrorId:string):*CloudLicensingAssignmentErrorsAssignmentErrorItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|Count():*CloudLicensingAssignmentErrorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|Post(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|ToPostRequestInformation(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentErrorable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentErrorsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentErrorsRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentsAssignmentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder.CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|allotment():*CloudLicensingAssignmentsItemAllotmentRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|assignedTo():*CloudLicensingAssignmentsItemAssignedToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|Patch(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsAssignmentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsAssignmentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|ToPatchRequestInformation(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsAssignmentItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsAssignmentItemRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentsAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder.CloudLicensingAssignmentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder.CloudLicensingAssignmentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder.CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder.CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder.CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder.CloudLicensingAssignmentsItemAllotmentRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder.CloudLicensingAssignmentsItemAllotmentRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder.CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder.CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder.CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentsItemAllotmentRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsItemAllotmentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAllotmentRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentsItemAllotmentRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder.CloudLicensingAssignmentsItemAssignedToRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder.CloudLicensingAssignmentsItemAssignedToRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder.CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder.CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder.CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentsItemAssignedToRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsItemAssignedToRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsItemAssignedToRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentsItemAssignedToRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingAssignmentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder.CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|ByAssignmentId(assignmentId:string):*CloudLicensingAssignmentsAssignmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|Count():*CloudLicensingAssignmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AssignmentCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|microsoftGraphCloudLicensingReprocessAssignments():*CloudLicensingAssignmentsMicrosoftGraphCloudLicensingReprocessAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|Post(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|ToPostRequestInformation(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.Assignmentable; ctx:context.Context; requestConfiguration?:*CloudLicensingAssignmentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingAssignmentsRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderGetRequestConfiguration::|public|queryParameters:*CloudLicensingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder.CloudLicensingRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|allotments():*CloudLicensingAllotmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|assignmentErrors():*CloudLicensingAssignmentErrorsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|assignments():*CloudLicensingAssignmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CloudLicensingRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CloudLicensingRequestBuilderGetRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|Patch(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable; ctx:context.Context; requestConfiguration?:*CloudLicensingRequestBuilderPatchRequestConfiguration):idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CloudLicensingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|ToPatchRequestInformation(body:idfad4f7a1b5606c8a03a0f518dcbdedafbb865f059d128987f178e03f81de16c.AdminCloudLicensingable; ctx:context.Context; requestConfiguration?:*CloudLicensingRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.CloudLicensingRequestBuilder::|public|WithUrl(rawUrl:string):*CloudLicensingRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilder.ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilder.ConfigurationManagementConfigurationDriftsConfigurationDriftItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -1180,7 +1504,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequ github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderGetRequestConfiguration::|public|queryParameters:*ConfigurationManagementRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequestBuilder.ConfigurationManagementRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequestBuilder::|public|configurationApplications():*ConfigurationManagementConfigurationApplicationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequestBuilder::|public|configurationDrifts():*ConfigurationManagementConfigurationDriftsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequestBuilder::|public|configurationMonitoringResults():*ConfigurationManagementConfigurationMonitoringResultsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ConfigurationManagementRequestBuilder::|public|configurationMonitors():*ConfigurationManagementConfigurationMonitorsRequestBuilder @@ -6090,6 +6413,350 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesDeploymentsRe github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesDeploymentsRequestBuilder::|public|ToPostRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Deploymentable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesDeploymentsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesDeploymentsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesDeploymentsRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesDeploymentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder.WindowsUpdatesPoliciesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder.WindowsUpdatesPoliciesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder.WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder.WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder.WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesCountRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|catalogEntry():*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|matchedDevices():*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|Patch(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|ToPatchRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApplicableContentItemCatalogEntryRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|Patch(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|ToPatchRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|ByApplicableContentDeviceMatchDeviceId(applicableContentDeviceMatchDeviceId:string):*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesApplicableContentDeviceMatchDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|Count():*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|Post(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|ToPostRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentDeviceMatchable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApplicableContentItemMatchedDevicesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder.WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|ByApplicableContentCatalogEntryId(applicableContentCatalogEntryId:string):*WindowsUpdatesPoliciesItemApplicableContentApplicableContentCatalogEntryItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|Count():*WindowsUpdatesPoliciesItemApplicableContentCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|Post(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|ToPostRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ApplicableContentable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApplicableContentRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApplicableContentRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApplicableContentRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.CatalogEntryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|catalogEntry():*WindowsUpdatesPoliciesItemApprovalsItemCatalogEntryRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|Patch(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|ToPatchRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder.WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|ByPolicyApprovalId(policyApprovalId:string):*WindowsUpdatesPoliciesItemApprovalsPolicyApprovalItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|Count():*WindowsUpdatesPoliciesItemApprovalsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|Post(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|ToPostRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyApprovalable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemApprovalsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemApprovalsRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemApprovalsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder.WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder.WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder.WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder.WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder.WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsCountRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemRingsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemRingsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder.WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|ByRingId(ringId:string):*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|Count():*WindowsUpdatesPoliciesItemRingsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.RingCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|Post(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|ToPostRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemRingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|Patch(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|ToPatchRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Ringable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesItemRingsRingItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesPolicyItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder.WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|applicableContent():*WindowsUpdatesPoliciesItemApplicableContentRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|approvals():*WindowsUpdatesPoliciesItemApprovalsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|Patch(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|rings():*WindowsUpdatesPoliciesItemRingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesPolicyItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesPolicyItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesPolicyItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesPolicyItemRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesPolicyItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration::|public|queryParameters:*WindowsUpdatesPoliciesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder.WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|ByPolicyId(policyId:string):*WindowsUpdatesPoliciesPolicyItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|Count():*WindowsUpdatesPoliciesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.PolicyCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|Post(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration):i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|ToPostRequestInformation(body:i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.Policyable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesPoliciesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesPoliciesRequestBuilder::|public|WithUrl(rawUrl:string):*WindowsUpdatesPoliciesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesProductsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesProductsCountRequestBuilder.WindowsUpdatesProductsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesProductsCountRequestBuilder.WindowsUpdatesProductsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -6561,6 +7228,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilde github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*WindowsUpdatesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminWindowsUpdatesable github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminWindowsUpdatesable; ctx:context.Context; requestConfiguration?:*WindowsUpdatesRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdminWindowsUpdatesable github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilder::|public|policies():*WindowsUpdatesPoliciesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilder::|public|products():*WindowsUpdatesProductsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.WindowsUpdatesRequestBuilder::|public|resourceConnections():*WindowsUpdatesResourceConnectionsRequestBuilder @@ -148868,6 +149536,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationPr github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable @@ -148875,15 +149544,18 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationPr github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetTarget(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetTarget():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemSitesItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetTarget(value:*string):void @@ -191018,6 +191690,68 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementMan github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ControlConfigurationable; ctx:context.Context; requestConfiguration?:*EntitlementManagementControlConfigurationsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementControlConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementControlConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable; ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable; ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration::|public|queryParameters:*EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder.EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|ByExternalOriginResourceConnectorId(externalOriginResourceConnectorId:string):*EntitlementManagementExternalOriginResourceConnectorsExternalOriginResourceConnectorItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|Count():*EntitlementManagementExternalOriginResourceConnectorsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable; ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExternalOriginResourceConnectorable; ctx:context.Context; requestConfiguration?:*EntitlementManagementExternalOriginResourceConnectorsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementExternalOriginResourceConnectorsRequestBuilder::|public|WithUrl(rawUrl:string):*EntitlementManagementExternalOriginResourceConnectorsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder.EntitlementManagementRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder.EntitlementManagementRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -191049,6 +191783,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementMan github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|controlConfigurations():*EntitlementManagementControlConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|externalOriginResourceConnectors():*EntitlementManagementExternalOriginResourceConnectorsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementable github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementable; ctx:context.Context; requestConfiguration?:*EntitlementManagementRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EntitlementManagementable github.com/microsoftgraph/msgraph-beta-sdk-go/.identitygovernance.EntitlementManagementRequestBuilder::|public|pathParameters:map[string]string @@ -200708,6 +201443,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPre github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable @@ -200715,15 +201451,18 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPre github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetTarget(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetTarget():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.informationprotection.DataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetTarget(value:*string):void @@ -206815,6 +207554,10 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintPrin github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintPrincipalable::|public|GetSponsors():[]DirectoryObjectable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintPrincipalable::|public|SetSponsors(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintPrincipalable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ServicePrincipalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityType::0000-agentIdentity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityType::0001-agentUser +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityType::0003-agentIdentityBlueprintPrincipal github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdRiskLevel::0000-none github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdRiskLevel::0001-low github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdRiskLevel::0002-medium @@ -206990,6 +207733,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|GetDetectedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|GetDetectionTimingType():*RiskDetectionTimingType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|GetIdentityType():*AgentIdentityType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|GetRiskDetail():*RiskDetail github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|GetRiskEventType():*string @@ -207004,6 +207748,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|SetAgentId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|SetDetectedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|SetDetectionTimingType(value:*RiskDetectionTimingType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|SetIdentityType(value:*AgentIdentityType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|SetRiskDetail(value:*RiskDetail):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetection::|public|SetRiskEventType(value:*string):void @@ -207017,6 +207762,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|p github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|GetAgentId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|GetDetectedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|GetDetectionTimingType():*RiskDetectionTimingType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|GetIdentityType():*AgentIdentityType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|GetRiskDetail():*RiskDetail github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|GetRiskEventType():*string @@ -207029,6 +207775,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|p github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|SetAgentId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|SetDetectedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|SetDetectionTimingType(value:*RiskDetectionTimingType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|SetIdentityType(value:*AgentIdentityType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|SetRiskDetail(value:*RiskDetail):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentRiskDetectionable::|public|SetRiskEventType(value:*string):void @@ -215340,15 +216087,19 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationCo github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|GetAudiences():AudiencesConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|GetIdentifierUris():IdentifierUriConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|GetRedirectUris():RedirectUriConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|SetAudiences(value:AudiencesConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|SetIdentifierUris(value:IdentifierUriConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|public|SetRedirectUris(value:RedirectUriConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfigurationable::|public|GetAudiences():AudiencesConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfigurationable::|public|GetIdentifierUris():IdentifierUriConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfigurationable::|public|GetRedirectUris():RedirectUriConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfigurationable::|public|SetAudiences(value:AudiencesConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfigurationable::|public|SetIdentifierUris(value:IdentifierUriConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfigurationable::|public|SetRedirectUris(value:RedirectUriConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementApplicationConfigurationable~~>AppManagementConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.appManagementConfiguration::|public|GetAdditionalData():map[string]any @@ -227959,30 +228710,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCertificateAuthentic github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCertificateAuthenticationable::|public|GetCertificateList():[]Pkcs12CertificateInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCertificateAuthenticationable::|public|SetCertificateList(value:[]Pkcs12CertificateInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCertificateAuthenticationable~~>ApiAuthenticationConfigurationBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|constructor():void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|GetAdditionalData():map[string]any -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|GetBackingStore():BackingStore -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|GetCertificateName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|GetKeyVaultUri():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|GetOdataType():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|SetAdditionalData(value:map[string]any):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|SetBackingStore(value:BackingStore):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|SetCertificateName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|SetKeyVaultUri(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|public|SetOdataType(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|GetBackingStore():BackingStore -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|GetCertificateName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|GetKeyVaultUri():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|GetOdataType():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|SetBackingStore(value:BackingStore):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|SetCertificateName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|SetKeyVaultUri(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable::|public|SetOdataType(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentials~~>ClientCredentialsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialType::0000-none github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialType::0001-clientSecret github.com/microsoftgraph/msgraph-beta-sdk-go/.models.clientCredentialType::0002-clientAssertion @@ -228601,26 +229328,172 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudFlareWebApplicationFi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable::|public|SetApiToken(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable::|public|SetZoneId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudFlareWebApplicationFirewallProviderable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WebApplicationFirewallProviderable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|GetAllotments():[]Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|GetAssignmentErrors():[]AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|GetAssignments():[]Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|SetAllotments(value:[]Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|SetAssignmentErrors(value:[]AssignmentErrorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|public|SetAssignments(value:[]Assignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensingable::|public|GetAllotments():[]Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensingable::|public|GetAssignmentErrors():[]AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensingable::|public|GetAssignments():[]Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensingable::|public|SetAllotments(value:[]Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensingable::|public|SetAssignmentErrors(value:[]AssignmentErrorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensingable::|public|SetAssignments(value:[]Assignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.adminCloudLicensingable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetAllottedUnits():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetAssignableTo():*AssigneeTypes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetAssignments():[]Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetConsumedUnits():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetServices():[]Serviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetSkuId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetSkuPartNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetSubscriptions():[]Subscriptionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|GetWaitingMembers():[]WaitingMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetAllottedUnits(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetAssignableTo(value:*AssigneeTypes):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetAssignments(value:[]Assignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetConsumedUnits(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetServices(value:[]Serviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetSkuPartNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetSubscriptions(value:[]Subscriptionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|public|SetWaitingMembers(value:[]WaitingMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetAllottedUnits():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetAssignableTo():*AssigneeTypes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetAssignments():[]Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetConsumedUnits():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetServices():[]Serviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetSkuId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetSkuPartNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetSubscriptions():[]Subscriptionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|GetWaitingMembers():[]WaitingMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetAllottedUnits(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetAssignableTo(value:*AssigneeTypes):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetAssignments(value:[]Assignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetConsumedUnits(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetServices(value:[]Serviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetSkuPartNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetSubscriptions(value:[]Subscriptionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable::|public|SetWaitingMembers(value:[]WaitingMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponse::|public|GetValue():[]Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponse::|public|SetValue(value:[]Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponseable::|public|GetValue():[]Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponseable::|public|SetValue(value:[]Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.allotmentCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assigneeTypes::0000-none github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assigneeTypes::0001-user github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assigneeTypes::0002-group github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assigneeTypes::0003-device github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assigneeTypes::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|GetAllotment():Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|GetAssignedTo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|GetDisabledServicePlanIds():[]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|SetAllotment(value:Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|SetAssignedTo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|public|SetDisabledServicePlanIds(value:[]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentable::|public|GetAllotment():Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentable::|public|GetAssignedTo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentable::|public|GetDisabledServicePlanIds():[]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentable::|public|SetAllotment(value:Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentable::|public|SetAssignedTo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentable::|public|SetDisabledServicePlanIds(value:[]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponse::|public|GetValue():[]Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponse::|public|SetValue(value:[]Assignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponseable::|public|GetValue():[]Assignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponseable::|public|SetValue(value:[]Assignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|GetAssignedTo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|GetCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|GetMessage():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|GetOccurrenceDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|GetSkuId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|GetUsageRight():UsageRightable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|SetAssignedTo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|SetMessage(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|SetOccurrenceDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|public|SetUsageRight(value:UsageRightable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentError::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|GetAssignedTo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|GetCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|GetMessage():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|GetOccurrenceDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|GetSkuId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|GetUsageRight():UsageRightable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|SetAssignedTo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|SetCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|SetMessage(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|SetOccurrenceDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable::|public|SetUsageRight(value:UsageRightable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponse::|public|GetValue():[]AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponse::|public|SetValue(value:[]AssignmentErrorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponseable::|public|GetValue():[]AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponseable::|public|SetValue(value:[]AssignmentErrorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.assignmentErrorCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|GetAssignments():[]Assignmentable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|GetUsageRights():[]UsageRightable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|SetAssignments(value:[]Assignmentable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|public|SetUsageRights(value:[]UsageRightable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|GetAssignments():[]Assignmentable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|GetUsageRights():[]UsageRightable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|SetAssignments(value:[]Assignmentable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.groupCloudLicensingable::|public|SetUsageRights(value:[]UsageRightable):void @@ -228654,45 +229527,139 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.serviceable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.serviceable::|public|SetPlanName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.serviceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.service~~>Serviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetNextLifecycleDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetStartDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetState():*SubscriptionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetSubscriptionId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|GetTags():*SubscriptionTags +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetNextLifecycleDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetStartDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetState(value:*SubscriptionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetSubscriptionId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|public|SetTags(value:*SubscriptionTags):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|GetNextLifecycleDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|GetStartDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|GetState():*SubscriptionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|GetSubscriptionId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|GetTags():*SubscriptionTags +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|SetNextLifecycleDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|SetStartDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|SetState(value:*SubscriptionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|SetSubscriptionId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable::|public|SetTags(value:*SubscriptionTags):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionState::0000-active +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionState::0001-warning +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionState::0002-suspended +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionState::0003-lockedOut +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionState::0004-deleted +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionState::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionTags::0000-none +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionTags::0001-trial +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscriptionTags::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.subscription~~>Subscriptionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|GetAllotments():[]Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|GetAssignments():[]Assignmentable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|GetServices():[]Serviceable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|GetSkuId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|GetSkuPartNumber():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|SetAllotments(value:[]Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|SetAssignments(value:[]Assignmentable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|SetServices(value:[]Serviceable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|public|SetSkuPartNumber(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRight::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|GetAllotments():[]Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|GetAssignments():[]Assignmentable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|GetServices():[]Serviceable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|GetSkuId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|GetSkuPartNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|SetAllotments(value:[]Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|SetAssignments(value:[]Assignmentable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|SetServices(value:[]Serviceable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable::|public|SetSkuPartNumber(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.usageRightable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|GetAssignmentErrors():[]AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|GetAssignments():[]Assignmentable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|GetUsageRights():[]UsageRightable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|GetWaitingMembers():[]WaitingMemberable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|SetAssignmentErrors(value:[]AssignmentErrorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|SetAssignments(value:[]Assignmentable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|SetUsageRights(value:[]UsageRightable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|public|SetWaitingMembers(value:[]WaitingMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|GetAssignmentErrors():[]AssignmentErrorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|GetAssignments():[]Assignmentable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|GetUsageRights():[]UsageRightable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|GetWaitingMembers():[]WaitingMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|SetAssignmentErrors(value:[]AssignmentErrorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|SetAssignments(value:[]Assignmentable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|SetUsageRights(value:[]UsageRightable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable::|public|SetWaitingMembers(value:[]WaitingMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensingable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.userCloudLicensing~~>UserCloudLicensingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|GetAllotment():Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|GetAssignedTo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|GetWaitingSinceDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|SetAllotment(value:Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|SetAssignedTo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|public|SetWaitingSinceDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMember::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberable::|public|GetAllotment():Allotmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberable::|public|GetAssignedTo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberable::|public|GetWaitingSinceDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberable::|public|SetAllotment(value:Allotmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberable::|public|SetAssignedTo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberable::|public|SetWaitingSinceDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponse::|public|GetValue():[]WaitingMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponse::|public|SetValue(value:[]WaitingMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponseable::|public|GetValue():[]WaitingMemberable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponseable::|public|SetValue(value:[]WaitingMemberable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudlicensing.waitingMemberCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPC-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPC::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPC::|public|GetAadDeviceId():*string @@ -229740,6 +230707,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageErrorCod github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageErrorCode::0010-sourceImageWithDataDiskNotSupported github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageErrorCode::0011-sourceImageWithDiskEncryptionSetNotSupported github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageErrorCode::0012-sourceImageWithAzureDiskEncryptionNotSupported +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageErrorCode::0013-fSLogixInstalledSourceImageNotSupported +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageErrorCode::0014-startMenuAppLimitExceeded github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageOsStatus::0000-supported github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageOsStatus::0001-supportedWithWarning github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageOsStatus::0002-unknown @@ -231387,6 +232356,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReportName::0024-tr github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReportName::0025-cloudPcInsightReport github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReportName::0026-regionalInaccessibleCloudPcTrendReport github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReportName::0027-cloudPcUsageCategoryReport +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReportName::0028-cloudPCInventoryReport github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReports-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReports::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcReports::|public|GetExportJobs():[]CloudPcExportJobable @@ -231749,6 +232719,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSnapshotType::0003- github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|GetCategory():*CloudPcSourceImageCategory github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|GetId():*string @@ -231759,6 +232730,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|SetCategory(value:*CloudPcSourceImageCategory):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|SetId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|SetOdataType(value:*string):void @@ -231767,6 +232739,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|public|SetSubscriptionId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|GetCategory():*CloudPcSourceImageCategory github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|GetId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|GetOdataType():*string @@ -231774,6 +232747,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageab github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|GetSubscriptionDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|GetSubscriptionId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|SetCategory(value:*CloudPcSourceImageCategory):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|SetId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|SetOdataType(value:*string):void @@ -231782,6 +232756,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageab github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable::|public|SetSubscriptionId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImageable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceDeviceImage~~>CloudPcSourceDeviceImageable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceImageCategory::0000-managedImage +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceImageCategory::0001-azureComputeGallery +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcSourceImageCategory::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0000-notProvisioned github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0001-provisioning github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0002-provisioned @@ -231797,7 +232774,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0011-moving github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0012-resizePendingLicense github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0013-updatingSingleSignOn github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0014-modifyingSingleSignOn -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0015-preparing +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0015-refreshPolicyConfiguration +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatus::0016-preparing github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatusDetail::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatusDetail::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcStatusDetail::|public|GetAdditionalInformation():[]KeyValuePairable @@ -234636,63 +235614,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationable::|public github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication-->*Entity -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|constructor():void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetAppId():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetAppOwnerOrganizationId():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetClientCredentials():ClientCredentialsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetCreatedBy():IdentitySetable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetDescription():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetDisplayName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetLastModifiedBy():IdentitySetable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|GetTenantId():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|OdataType:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetAppId(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetAppOwnerOrganizationId(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetClientCredentials(value:ClientCredentialsable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetCreatedBy(value:IdentitySetable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetDescription(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetDisplayName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetLastModifiedBy(value:IdentitySetable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|public|SetTenantId(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetAppId():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetAppOwnerOrganizationId():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetClientCredentials():ClientCredentialsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetCreatedBy():IdentitySetable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetDescription():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetDisplayName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetLastModifiedBy():IdentitySetable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|GetTenantId():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetAppId(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetAppOwnerOrganizationId(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetClientCredentials(value:ClientCredentialsable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetCreatedBy(value:IdentitySetable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetDescription(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetDisplayName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetLastModifiedBy(value:IdentitySetable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable::|public|SetTenantId(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponse-->*BaseCollectionPaginationCountResponse -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponse::|public|constructor():void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponse::|public|GetValue():[]ConfigurationApplicationable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponse::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponse::|public|SetValue(value:[]ConfigurationApplicationable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponseable::|public|GetValue():[]ConfigurationApplicationable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponseable::|public|SetValue(value:[]ConfigurationApplicationable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationApplicationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationBaseline-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationBaseline::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationBaseline::|public|GetDescription():*string @@ -234777,7 +235698,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationDriftCollecti github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationDriftCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|constructor():void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|GetConfigurationApplications():[]ConfigurationApplicationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|GetConfigurationDrifts():[]ConfigurationDriftable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|GetConfigurationMonitoringResults():[]ConfigurationMonitoringResultable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|GetConfigurationMonitors():[]ConfigurationMonitorable @@ -234786,20 +235706,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|SetConfigurationApplications(value:[]ConfigurationApplicationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|SetConfigurationDrifts(value:[]ConfigurationDriftable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|SetConfigurationMonitoringResults(value:[]ConfigurationMonitoringResultable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|SetConfigurationMonitors(value:[]ConfigurationMonitorable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|SetConfigurationSnapshotJobs(value:[]ConfigurationSnapshotJobable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|public|SetConfigurationSnapshots(value:[]ConfigurationBaselineable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagement::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|GetConfigurationApplications():[]ConfigurationApplicationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|GetConfigurationDrifts():[]ConfigurationDriftable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|GetConfigurationMonitoringResults():[]ConfigurationMonitoringResultable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|GetConfigurationMonitors():[]ConfigurationMonitorable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|GetConfigurationSnapshotJobs():[]ConfigurationSnapshotJobable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|GetConfigurationSnapshots():[]ConfigurationBaselineable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|SetConfigurationApplications(value:[]ConfigurationApplicationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|SetConfigurationDrifts(value:[]ConfigurationDriftable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|SetConfigurationMonitoringResults(value:[]ConfigurationMonitoringResultable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationManagementable::|public|SetConfigurationMonitors(value:[]ConfigurationMonitorable):void @@ -234988,8 +235905,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|GetMode():*MonitorMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|GetMonitorRunFrequencyInHours():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|GetParameters():OpenComplexDictionaryTypeable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|GetRunAsUTCMServicePrincipal():*bool -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|GetRunningOnBehalfOf():IdentitySetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|GetStatus():*MonitorStatus github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|OdataType:*string @@ -235005,8 +235920,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|SetMode(value:*MonitorMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|SetMonitorRunFrequencyInHours(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|SetParameters(value:OpenComplexDictionaryTypeable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|SetRunAsUTCMServicePrincipal(value:*bool):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|SetRunningOnBehalfOf(value:IdentitySetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|SetStatus(value:*MonitorStatus):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitor::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable @@ -235021,8 +235934,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|GetMode():*MonitorMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|GetMonitorRunFrequencyInHours():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|GetParameters():OpenComplexDictionaryTypeable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|GetRunAsUTCMServicePrincipal():*bool -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|GetRunningOnBehalfOf():IdentitySetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|GetStatus():*MonitorStatus github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetBaseline(value:ConfigurationBaselineable):void @@ -235036,8 +235947,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetMode(value:*MonitorMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetMonitorRunFrequencyInHours(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetParameters(value:OpenComplexDictionaryTypeable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetRunAsUTCMServicePrincipal(value:*bool):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetRunningOnBehalfOf(value:IdentitySetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetStatus(value:*MonitorStatus):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -235054,44 +235963,36 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitorCollec github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetDriftsCount():*int32 -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetDriftsFixed():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetErrorDetails():[]ErrorDetailable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetMonitorId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetRunCompletionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetRunInitiationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetRunStatus():*MonitorRunStatus -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetRunType():*MonitorRunType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetDriftsCount(value:*int32):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetDriftsFixed(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetErrorDetails(value:[]ErrorDetailable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetMonitorId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetRunCompletionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetRunInitiationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetRunStatus(value:*MonitorRunStatus):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetRunType(value:*MonitorRunType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetDriftsCount():*int32 -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetDriftsFixed():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetErrorDetails():[]ErrorDetailable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetMonitorId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetRunCompletionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetRunInitiationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetRunStatus():*MonitorRunStatus -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetRunType():*MonitorRunType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|GetTenantId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetDriftsCount(value:*int32):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetDriftsFixed(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetErrorDetails(value:[]ErrorDetailable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetMonitorId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetRunCompletionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetRunInitiationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetRunStatus(value:*MonitorRunStatus):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetRunType(value:*MonitorRunType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable::|public|SetTenantId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.configurationMonitoringResultCollectionResponse-->*BaseCollectionPaginationCountResponse @@ -236836,6 +237737,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|Ge github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|GetShortDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|GetSupportedHosts():[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|GetTypeEscaped():*PackageType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|GetZipFile():[]byte github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|SetAvailableTo(value:*PackageStatus):void @@ -236848,6 +237750,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|Se github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|SetShortDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|SetSupportedHosts(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|SetTypeEscaped(value:*PackageType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|SetZipFile(value:[]byte):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|GetAvailableTo():*PackageStatus github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|GetDeployedTo():*PackageStatus @@ -236859,6 +237762,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|GetShortDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|GetSupportedHosts():[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|GetTypeEscaped():*PackageType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|GetZipFile():[]byte github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|SetAvailableTo(value:*PackageStatus):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|SetDeployedTo(value:*PackageStatus):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|SetDisplayName(value:*string):void @@ -236869,6 +237773,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|SetShortDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|SetSupportedHosts(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|SetTypeEscaped(value:*PackageType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable::|public|SetZipFile(value:[]byte):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageDetail-->*CopilotPackage github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackageDetail::|public|constructor():void @@ -238069,21 +238974,25 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplica github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|GetIdentifierUris():IdentifierUriConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|GetRedirectUris():RedirectUriConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|SetAudiences(value:AudiencesConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|SetIdentifierUris(value:IdentifierUriConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|public|SetRedirectUris(value:RedirectUriConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|GetAudiences():AudiencesConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|GetIdentifierUris():IdentifierUriConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|GetRedirectUris():RedirectUriConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|SetAudiences(value:AudiencesConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|SetIdentifierUris(value:IdentifierUriConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable::|public|SetRedirectUris(value:RedirectUriConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementApplicationConfiguration~~>CustomAppManagementApplicationConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.customAppManagementConfiguration-->*AppManagementConfiguration @@ -258318,6 +259227,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|GetAvailableAccessPackages():[]AvailableAccessPackageable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|GetConnectedOrganizations():[]ConnectedOrganizationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|GetControlConfigurations():[]ControlConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|GetExternalOriginResourceConnectors():[]ExternalOriginResourceConnectorable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|GetSettings():EntitlementManagementSettingsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|GetSubjects():[]AccessPackageSubjectable @@ -258339,6 +259249,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|SetAvailableAccessPackages(value:[]AvailableAccessPackageable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|SetConnectedOrganizations(value:[]ConnectedOrganizationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|SetControlConfigurations(value:[]ControlConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|SetExternalOriginResourceConnectors(value:[]ExternalOriginResourceConnectorable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|SetSettings(value:EntitlementManagementSettingsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|public|SetSubjects(value:[]AccessPackageSubjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagement::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable @@ -258358,6 +259269,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|GetAvailableAccessPackages():[]AvailableAccessPackageable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|GetConnectedOrganizations():[]ConnectedOrganizationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|GetControlConfigurations():[]ControlConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|GetExternalOriginResourceConnectors():[]ExternalOriginResourceConnectorable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|GetSettings():EntitlementManagementSettingsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|GetSubjects():[]AccessPackageSubjectable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|SetAccessPackageAssignmentApprovals(value:[]Approvalable):void @@ -258376,6 +259288,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|SetAvailableAccessPackages(value:[]AvailableAccessPackageable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|SetConnectedOrganizations(value:[]ConnectedOrganizationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|SetControlConfigurations(value:[]ControlConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|SetExternalOriginResourceConnectors(value:[]ExternalOriginResourceConnectorable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|SetSettings(value:EntitlementManagementSettingsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable::|public|SetSubjects(value:[]AccessPackageSubjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.entitlementManagementable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -260998,6 +261911,16 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConn github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorable::|public|SetModifiedBy(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorable::|public|SetModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponse::|public|GetValue():[]ExternalOriginResourceConnectorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponse::|public|SetValue(value:[]ExternalOriginResourceConnectorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponseable::|public|GetValue():[]ExternalOriginResourceConnectorable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponseable::|public|SetValue(value:[]ExternalOriginResourceConnectorable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalOriginResourceConnectorCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalProfile-->*DirectoryObject github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalProfile::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalProfile::|public|GetAddress():PhysicalOfficeAddressable @@ -262750,6 +263673,50 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionConfigurati github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionConfigurationable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionConfiguration~~>FraudProtectionConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetProviderErrorMessages():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetProviderHttpStatusCodes():[]int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetProviderName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetProviderResponseTimes():[]int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetProviderSessionId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetReason():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|GetVerdict():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetProviderErrorMessages(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetProviderHttpStatusCodes(value:[]int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetProviderName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetProviderResponseTimes(value:[]int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetProviderSessionId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|public|SetVerdict(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetProviderErrorMessages():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetProviderHttpStatusCodes():[]int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetProviderName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetProviderResponseTimes():[]int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetProviderSessionId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetReason():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|GetVerdict():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetProviderErrorMessages(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetProviderHttpStatusCodes(value:[]int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetProviderName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetProviderResponseTimes(value:[]int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetProviderSessionId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable::|public|SetVerdict(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionDetails~~>FraudProtectionDetailsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionProvider-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionProvider::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.fraudProtectionProvider::|public|GetDisplayName():*string @@ -290932,19 +291899,12 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.modifiedPropertyable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.modifiedPropertyable::|public|SetOldValue(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.modifiedPropertyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.modifiedProperty~~>ModifiedPropertyable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0000-monitorOnce -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0001-monitorOnly -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0002-applyOnceAndMonitorContinuous -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0003-applyOnce -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0004-applyContinuous -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0000-monitorOnly +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorMode::0001-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorRunStatus::0000-successful github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorRunStatus::0001-partiallySuccessful github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorRunStatus::0002-failed github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorRunStatus::0003-unknownFutureValue -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorRunType::0000-monitor -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorRunType::0001-apply -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorRunType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorStatus::0000-active github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorStatus::0001-inactive github.com/microsoftgraph/msgraph-beta-sdk-go/.models.monitorStatus::0002-unknownFutureValue @@ -297986,6 +298946,59 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onOtpSendHandlerable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onOtpSendHandlerable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onOtpSendHandlerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onOtpSendHandler~~>OnOtpSendHandlerable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler-->*OnPasswordSubmitHandler +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|GetConfiguration():CustomExtensionOverwriteConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|GetCustomExtension():OnPasswordSubmitCustomExtensionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|GetMigrationPropertyId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|SetConfiguration(value:CustomExtensionOverwriteConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|SetCustomExtension(value:OnPasswordSubmitCustomExtensionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|public|SetMigrationPropertyId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandlerable::|public|GetConfiguration():CustomExtensionOverwriteConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandlerable::|public|GetCustomExtension():OnPasswordSubmitCustomExtensionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandlerable::|public|GetMigrationPropertyId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandlerable::|public|SetConfiguration(value:CustomExtensionOverwriteConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandlerable::|public|SetCustomExtension(value:OnPasswordSubmitCustomExtensionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandlerable::|public|SetMigrationPropertyId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordMigrationCustomExtensionHandlerable~~>OnPasswordSubmitHandlerable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitCustomExtension-->*CustomAuthenticationExtension +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitCustomExtension::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitCustomExtension::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitCustomExtension::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitCustomExtension::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitCustomExtension::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitCustomExtensionable~~>CustomAuthenticationExtensionable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandlerable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandlerable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandlerable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandlerable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandlerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitHandler~~>OnPasswordSubmitHandlerable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener-->*AuthenticationEventListener +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener::|public|GetHandler():OnPasswordSubmitHandlerable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener::|public|SetHandler(value:OnPasswordSubmitHandlerable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListener::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListenerable::|public|GetHandler():OnPasswordSubmitHandlerable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListenerable::|public|SetHandler(value:OnPasswordSubmitHandlerable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPasswordSubmitListenerable~~>AuthenticationEventListenerable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPhoneMethodLoadStartExternalUsersAuthHandler-->*OnPhoneMethodLoadStartHandler github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPhoneMethodLoadStartExternalUsersAuthHandler::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -311857,6 +312870,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|GetOffboardRequestedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|GetProtectionMode():*BackupPolicyProtectionMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|GetProtectionPolicyArtifactCount():ProtectionPolicyArtifactCountable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|GetRetentionSettings():[]RetentionSettingable @@ -311870,6 +312884,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|SetOffboardRequestedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|SetProtectionMode(value:*BackupPolicyProtectionMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|SetProtectionPolicyArtifactCount(value:ProtectionPolicyArtifactCountable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBase::|public|SetRetentionSettings(value:[]RetentionSettingable):void @@ -311882,6 +312897,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|GetLastModifiedBy():IdentitySetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|GetOffboardRequestedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|GetProtectionMode():*BackupPolicyProtectionMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|GetProtectionPolicyArtifactCount():ProtectionPolicyArtifactCountable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|GetRetentionSettings():[]RetentionSettingable @@ -311893,6 +312909,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|SetLastModifiedBy(value:IdentitySetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|SetOffboardRequestedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|SetProtectionMode(value:*BackupPolicyProtectionMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|SetProtectionPolicyArtifactCount(value:ProtectionPolicyArtifactCountable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyBaseable::|public|SetRetentionSettings(value:[]RetentionSettingable):void @@ -311914,6 +312931,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyStatus::00 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyStatus::0003-active github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyStatus::0004-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyStatus::0005-dormant +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyStatus::0006-offboardRequested +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionPolicyStatus::0007-offboarded github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionRuleBase-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionRuleBase::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protectionRuleBase::|public|GetCreatedBy():IdentitySetable @@ -314144,6 +315163,322 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectSingleSignOnExtens github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectSingleSignOnExtensionable::|public|SetTeamIdentifier(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectSingleSignOnExtensionable::|public|SetUrlPrefixes(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectSingleSignOnExtensionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SingleSignOnExtensionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetAllowedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetPublicClient():RedirectUriPlatformAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetSpa():RedirectUriPlatformAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|GetWeb():RedirectUriPlatformAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetAllowedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetPublicClient(value:RedirectUriPlatformAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetSpa(value:RedirectUriPlatformAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|public|SetWeb(value:RedirectUriPlatformAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetAllowedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetPublicClient():RedirectUriPlatformAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetSpa():RedirectUriPlatformAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|GetWeb():RedirectUriPlatformAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetAllowedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetPublicClient(value:RedirectUriPlatformAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetSpa(value:RedirectUriPlatformAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable::|public|SetWeb(value:RedirectUriPlatformAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedDomainConfiguration~~>RedirectUriAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetAllowedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetPublicClient():RedirectUriPlatformAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetSpa():RedirectUriPlatformAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|GetWeb():RedirectUriPlatformAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetAllowedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetPublicClient(value:RedirectUriPlatformAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetSpa(value:RedirectUriPlatformAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|public|SetWeb(value:RedirectUriPlatformAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetAllowedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetPublicClient():RedirectUriPlatformAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetSpa():RedirectUriPlatformAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|GetWeb():RedirectUriPlatformAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetAllowedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetPublicClient(value:RedirectUriPlatformAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetSpa(value:RedirectUriPlatformAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable::|public|SetWeb(value:RedirectUriPlatformAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriAllowedSchemeConfiguration~~>RedirectUriAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetBlockedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetPublicClient():RedirectUriPlatformBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetSpa():RedirectUriPlatformBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|GetWeb():RedirectUriPlatformBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetBlockedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetPublicClient(value:RedirectUriPlatformBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetSpa(value:RedirectUriPlatformBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|public|SetWeb(value:RedirectUriPlatformBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetBlockedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetPublicClient():RedirectUriPlatformBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetSpa():RedirectUriPlatformBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|GetWeb():RedirectUriPlatformBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetBlockedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetPublicClient(value:RedirectUriPlatformBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetSpa(value:RedirectUriPlatformBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable::|public|SetWeb(value:RedirectUriPlatformBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedDomainConfiguration~~>RedirectUriBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetBlockedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetExemptFormats():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetPublicClient():RedirectUriPlatformBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetSpa():RedirectUriPlatformBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|GetWeb():RedirectUriPlatformBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetBlockedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetExemptFormats(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetPublicClient(value:RedirectUriPlatformBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetSpa(value:RedirectUriPlatformBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|public|SetWeb(value:RedirectUriPlatformBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetBlockedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetExemptFormats():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetPublicClient():RedirectUriPlatformBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetSpa():RedirectUriPlatformBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|GetWeb():RedirectUriPlatformBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetBlockedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetExemptFormats(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetPublicClient(value:RedirectUriPlatformBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetSpa(value:RedirectUriPlatformBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable::|public|SetWeb(value:RedirectUriPlatformBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriBlockedSchemeConfiguration~~>RedirectUriBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetUriWithBlockedDomain():RedirectUriBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetUriWithBlockedScheme():RedirectUriBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetUriWithoutAllowedDomain():RedirectUriAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetUriWithoutAllowedScheme():RedirectUriAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|GetUriWithWildcard():RedirectUriWildcardConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetUriWithBlockedDomain(value:RedirectUriBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetUriWithBlockedScheme(value:RedirectUriBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetUriWithoutAllowedDomain(value:RedirectUriAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetUriWithoutAllowedScheme(value:RedirectUriAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|public|SetUriWithWildcard(value:RedirectUriWildcardConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|GetUriWithBlockedDomain():RedirectUriBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|GetUriWithBlockedScheme():RedirectUriBlockedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|GetUriWithoutAllowedDomain():RedirectUriAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|GetUriWithoutAllowedScheme():RedirectUriAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|GetUriWithWildcard():RedirectUriWildcardConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|SetUriWithBlockedDomain(value:RedirectUriBlockedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|SetUriWithBlockedScheme(value:RedirectUriBlockedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|SetUriWithoutAllowedDomain(value:RedirectUriAllowedDomainConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|SetUriWithoutAllowedScheme(value:RedirectUriAllowedSchemeConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable::|public|SetUriWithWildcard(value:RedirectUriWildcardConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriConfiguration~~>RedirectUriConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|GetAllowedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|SetAllowedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfigurationable::|public|GetAllowedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfigurationable::|public|SetAllowedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedDomainConfiguration~~>RedirectUriPlatformAllowedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|GetAllowedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|SetAllowedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfigurationable::|public|GetAllowedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfigurationable::|public|SetAllowedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformAllowedSchemeConfiguration~~>RedirectUriPlatformAllowedSchemeConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|GetBlockedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|SetBlockedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfigurationable::|public|GetBlockedDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfigurationable::|public|SetBlockedDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedDomainConfiguration~~>RedirectUriPlatformBlockedDomainConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|GetBlockedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|GetExemptFormats():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|SetBlockedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|SetExemptFormats(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|GetBlockedSchemes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|GetExemptFormats():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|SetBlockedSchemes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|SetExemptFormats(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriPlatformBlockedSchemeConfiguration~~>RedirectUriPlatformBlockedSchemeConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriSettings::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriSettings::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriSettings::|public|GetBackingStore():BackingStore @@ -314168,6 +315503,66 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriSettingsable::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriSettingsable::|public|SetUri(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriSettings~~>RedirectUriSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetExcludeFormats():RedirectUriWildcardExcludeFormatsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetExcludeFormats(value:RedirectUriWildcardExcludeFormatsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|GetExcludeActors():AppManagementPolicyActorExemptionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|GetExcludeFormats():RedirectUriWildcardExcludeFormatsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|GetIsStateSetByMicrosoft():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|GetRestrictForAppsCreatedAfterDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|GetState():*AppManagementRestrictionState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|SetExcludeActors(value:AppManagementPolicyActorExemptionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|SetExcludeFormats(value:RedirectUriWildcardExcludeFormatsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|SetIsStateSetByMicrosoft(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|SetRestrictForAppsCreatedAfterDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable::|public|SetState(value:*AppManagementRestrictionState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardConfiguration~~>RedirectUriWildcardConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|GetExcludeWildcardsInPath():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|GetExcludeWildcardsInPathWithDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|SetExcludeWildcardsInPath(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|SetExcludeWildcardsInPathWithDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|GetExcludeWildcardsInPath():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|GetExcludeWildcardsInPathWithDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|SetExcludeWildcardsInPath(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|SetExcludeWildcardsInPathWithDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormatsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redirectUriWildcardExcludeFormats~~>RedirectUriWildcardExcludeFormatsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redundantAssignmentAlertConfiguration-->*UnifiedRoleManagementAlertConfiguration github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redundantAssignmentAlertConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.redundantAssignmentAlertConfiguration::|public|GetDuration():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration @@ -316991,6 +318386,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|GetAgentDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|GetIdentityType():*AgentIdentityType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|GetIsDeleted():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|GetIsProcessing():*bool @@ -317001,6 +318397,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|GetRis github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|SetAgentDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|SetIdentityType(value:*AgentIdentityType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|SetIsDeleted(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|SetIsProcessing(value:*bool):void @@ -317010,6 +318407,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|SetRis github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|public|SetRiskState(value:*RiskState):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|GetAgentDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|GetIdentityType():*AgentIdentityType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|GetIsDeleted():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|GetIsProcessing():*bool @@ -317018,6 +318416,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|Ge github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|GetRiskLevel():*RiskLevel github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|GetRiskState():*RiskState github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|SetAgentDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|SetIdentityType(value:*AgentIdentityType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|SetIsDeleted(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyAgentable::|public|SetIsProcessing(value:*bool):void @@ -320913,6 +322312,30 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aedAuditRecord::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aedAuditRecord::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aedAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aedAuditRecordable~~>AuditDataable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|GetCount():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|GetKind():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|SetCount(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|SetKind(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|GetCount():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|GetKind():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|SetCount(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|SetKind(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironmentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aggregatedEnvironment~~>AggregatedEnvironmentable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aiAgentEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aiAgentEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.aiAgentEvidence::|public|GetAgentId():*string @@ -322152,6 +323575,30 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditDataable::|p github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditDataable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditDataable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditData~~>AuditDataable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|GetBy():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|GetDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|SetBy(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|SetDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|GetBy():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|GetDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|SetBy(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|SetDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditInfo~~>AuditInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditLogQuery-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditLogQuery::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.auditLogQuery::|public|GetAdministrativeUnitIdFilters():[]string @@ -322616,6 +324063,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.authorityTemplate github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.authorityTemplateCollectionResponseable::|public|GetValue():[]AuthorityTemplateable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.authorityTemplateCollectionResponseable::|public|SetValue(value:[]AuthorityTemplateable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.authorityTemplateCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration::|public|GetIsAutomatic():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration::|public|SetIsAutomatic(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfigurationable::|public|GetIsAutomatic():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfigurationable::|public|SetIsAutomatic(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autoAuditingConfigurationable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autonomousSystem::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autonomousSystem::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.autonomousSystem::|public|GetBackingStore():BackingStore @@ -324096,46 +325554,66 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetCompromiseIndicators():[]CompromiseIndicatorable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetDetonationBehaviourDetails():DetonationBehaviourDetailsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetDetonationBehaviourDetailsV2():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetDetonationChain():DetonationChainable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetDetonationObservables():DetonationObservablesable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetDetonationScreenshotUri():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetDetonationVerdict():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetDetonationVerdictReason():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetEntityMetadata():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetMitreTechniques():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetStaticAnalysis():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|GetSubmissionSource():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetAnalysisDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetCompromiseIndicators(value:[]CompromiseIndicatorable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetDetonationBehaviourDetails(value:DetonationBehaviourDetailsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetDetonationBehaviourDetailsV2(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetDetonationChain(value:DetonationChainable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetDetonationObservables(value:DetonationObservablesable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetDetonationScreenshotUri(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetDetonationVerdict(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetDetonationVerdictReason(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetEntityMetadata(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetMitreTechniques(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetStaticAnalysis(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|public|SetSubmissionSource(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetAnalysisDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetCompromiseIndicators():[]CompromiseIndicatorable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationBehaviourDetails():DetonationBehaviourDetailsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationBehaviourDetailsV2():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationChain():DetonationChainable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationObservables():DetonationObservablesable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationScreenshotUri():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationVerdict():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetDetonationVerdictReason():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetEntityMetadata():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetMitreTechniques():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetStaticAnalysis():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|GetSubmissionSource():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetAnalysisDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetCompromiseIndicators(value:[]CompromiseIndicatorable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationBehaviourDetails(value:DetonationBehaviourDetailsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationBehaviourDetailsV2(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationChain(value:DetonationChainable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationObservables(value:DetonationObservablesable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationScreenshotUri(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationVerdict(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetDetonationVerdictReason(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetEntityMetadata(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetMitreTechniques(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetStaticAnalysis(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable::|public|SetSubmissionSource(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationDetails~~>DetonationDetailsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.detonationObservables::|public|constructor():void @@ -325323,9 +326801,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryNoncust github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation-->*CaseOperation github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|GetReportFileMetadata():[]ReportFileMetadataable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation::|public|SetReportFileMetadata(value:[]ReportFileMetadataable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperationable::|public|GetReportFileMetadata():[]ReportFileMetadataable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperationable::|public|SetReportFileMetadata(value:[]ReportFileMetadataable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryPurgeDataOperationable~~>CaseOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryReviewSet-->*DataSet github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.ediscoveryReviewSet::|public|constructor():void @@ -325707,6 +327189,39 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.entityType::0002- github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.entityType::0003-other github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.entityType::0004-unknown github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.entityType::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment::|public|GetKind():*EnvironmentKind +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment::|public|SetKind(value:*EnvironmentKind):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentable::|public|GetKind():*EnvironmentKind +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentable::|public|SetKind(value:*EnvironmentKind):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponse::|public|GetValue():[]Environmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponse::|public|SetValue(value:[]Environmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponseable::|public|GetValue():[]Environmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponseable::|public|SetValue(value:[]Environmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0000-azureSubscription +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0001-awsOrganization +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0002-awsAccount +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0003-gcpOrganization +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0004-gcpProject +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0005-dockersHubOrganization +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0006-devOpsConnection +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0007-azureDevOpsOrganization +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0008-gitHubOrganization +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0009-gitLabGroup +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0010-jFrogArtifactory +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.environmentKind::0011-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.epicSMSLinkRecord-->*AuditData github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.epicSMSLinkRecord::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.epicSMSLinkRecord::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -330023,6 +331538,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationAction github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationAction::0003-softDelete github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationAction::0004-moveToDeletedItems github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationAction::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationAction::0006-moveToQuarantine github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationSeverity::0000-low github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationSeverity::0001-medium github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.remediationSeverity::0002-high @@ -331462,10 +332978,14 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.serviceStatus::00 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.serviceStatus::0006-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer::|public|GetAutoAuditingConfiguration():AutoAuditingConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer::|public|SetAutoAuditingConfiguration(value:AutoAuditingConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainerable::|public|GetAutoAuditingConfiguration():AutoAuditingConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainerable::|public|SetAutoAuditingConfiguration(value:AutoAuditingConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.settingsContainerable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.sharePointAppPermissionOperationAuditRecord-->*AuditData github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.sharePointAppPermissionOperationAuditRecord::|public|constructor():void @@ -333434,6 +334954,47 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.yammerAuditRecord github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.yammerAuditRecord::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.yammerAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.yammerAuditRecordable~~>AuditDataable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|GetAggregations():[]AggregatedEnvironmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|GetCreated():AuditInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|GetEnvironments():[]Environmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|GetModified():AuditInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|SetAggregations(value:[]AggregatedEnvironmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|SetCreated(value:AuditInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|SetEnvironments(value:[]Environmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|public|SetModified(value:AuditInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zone::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|GetAggregations():[]AggregatedEnvironmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|GetCreated():AuditInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|GetEnvironments():[]Environmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|GetModified():AuditInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|SetAggregations(value:[]AggregatedEnvironmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|SetCreated(value:AuditInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|SetEnvironments(value:[]Environmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable::|public|SetModified(value:AuditInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponse::|public|GetValue():[]Zoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponse::|public|SetValue(value:[]Zoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponseable::|public|GetValue():[]Zoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponseable::|public|SetValue(value:[]Zoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.zoneCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security::|public|GetAlerts():[]Alertable @@ -334046,6 +335607,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|GetCorrelationId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|GetFraudProtectionDetails():FraudProtectionDetailsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|GetSignUpIdentity():SignUpIdentityable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|GetSignUpIdentityProvider():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|GetSignUpStage():*SignUpStage @@ -334058,6 +335620,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|SetAppliedEventListeners(value:[]AppliedAuthenticationEventListenerable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|SetCorrelationId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|SetFraudProtectionDetails(value:FraudProtectionDetailsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|SetSignUpIdentity(value:SignUpIdentityable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|SetSignUpIdentityProvider(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUp::|public|SetSignUpStage(value:*SignUpStage):void @@ -334069,6 +335632,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|GetAppliedEventListeners():[]AppliedAuthenticationEventListenerable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|GetCorrelationId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|GetFraudProtectionDetails():FraudProtectionDetailsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|GetSignUpIdentity():SignUpIdentityable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|GetSignUpIdentityProvider():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|GetSignUpStage():*SignUpStage @@ -334079,6 +335643,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|SetAppliedEventListeners(value:[]AppliedAuthenticationEventListenerable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|SetCorrelationId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|SetFraudProtectionDetails(value:FraudProtectionDetailsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|SetSignUpIdentity(value:SignUpIdentityable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|SetSignUpIdentityProvider(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.selfServiceSignUpable::|public|SetSignUpStage(value:*SignUpStage):void @@ -339615,9 +341180,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteSettingsable::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteSettings~~>SiteSettingsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteTemplateType::0000-sitepagepublishing -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteTemplateType::0001-group -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteTemplateType::0002-sts -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteTemplateType::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteTemplateType::0001-sts +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.siteTemplateType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sizeRange::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sizeRange::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sizeRange::|public|GetBackingStore():BackingStore @@ -345982,6 +347546,38 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantDataSecurityAndGover github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantDataSecurityAndGovernanceable::|public|SetPolicyFiles(value:[]PolicyFileable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantDataSecurityAndGovernanceable::|public|SetProtectionScopes(value:TenantProtectionScopeContainerable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantDataSecurityAndGovernanceable~~>DataSecurityAndGovernanceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|GetLastActionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|GetResourceLocation():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|GetStatus():*LongRunningOperationStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|GetStatusDetail():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|SetLastActionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|SetResourceLocation(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|SetStatus(value:*LongRunningOperationStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|public|SetStatusDetail(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|GetLastActionDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|GetResourceLocation():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|GetStatus():*LongRunningOperationStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|GetStatusDetail():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|SetLastActionDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|SetResourceLocation(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|SetStatus(value:*LongRunningOperationStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable::|public|SetStatusDetail(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationStatus::0000-notStarted +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationStatus::0001-running +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationStatus::0002-succeeded +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationStatus::0003-failed +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantgovernanceservices.longRunningOperationStatus::0004-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantInformation::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantInformation::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tenantInformation::|public|GetBackingStore():BackingStore @@ -350724,6 +352320,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageAuthMethod::0024-alte github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageAuthMethod::0025-fido2SecurityKey github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageAuthMethod::0026-oneTimePasscode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageAuthMethod::0027-passKeySynced +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageAuthMethod::0028-qrCode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageDetails::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageDetails::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageDetails::|public|GetBackingStore():BackingStore @@ -350797,7 +352394,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRights::0016-userDefi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRights::0017-encryptedProtectionTypeNotSupportedException github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRights::0018-purviewClaimsChallengeNotSupportedException github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRights::0019-exception -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRights::0020-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRights::0020-labelNotFoundException +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRights::0021-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRightsIncluded-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRightsIncluded::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.usageRightsIncluded::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -367794,6 +369392,53 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.applicableC github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.applicableContentDeviceMatchCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.applicableContentDeviceMatch~~>ApplicableContentDeviceMatchable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.applicableContent~~>ApplicableContentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|GetDeferralInDays():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|SetDeferralInDays(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRuleable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRuleable::|public|GetDeferralInDays():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRuleable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRuleable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRuleable::|public|SetDeferralInDays(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRuleable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRuleable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalRule~~>ApprovalRuleable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalStatus::0000-approved +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalStatus::0001-suspended +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.approvalStatus::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|GetGroup():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|GetGroupId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|SetGroup(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|SetGroupId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|GetGroup():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|GetGroupId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|SetGroup(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|SetGroupId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroupable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.assignedGroup~~>AssignedGroupable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.azureADDevice-->*UpdatableAsset github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.azureADDevice::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.azureADDevice::|public|GetEnrollment():UpdateManagementEnrollmentable @@ -368371,6 +370016,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.enrollmentS github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.enrollmentState::0003-enrolling github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.enrollmentState::0004-unenrolling github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.enrollmentState::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment-->*GroupAssignment +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment::|public|GetAssignments():[]AssignedGroupable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment::|public|SetAssignments(value:[]AssignedGroupable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignmentable::|public|GetAssignments():[]AssignedGroupable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignmentable::|public|SetAssignments(value:[]AssignedGroupable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.excludedGroupAssignmentable~~>GroupAssignmentable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.expediteSettings::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.expediteSettings::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.expediteSettings::|public|GetBackingStore():BackingStore @@ -368430,6 +370086,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.gradualRoll github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.gradualRolloutSettingsable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.gradualRolloutSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.gradualRolloutSettings~~>GradualRolloutSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignmentable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignmentable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignmentable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignmentable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignmentable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.groupAssignment~~>GroupAssignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment-->*GroupAssignment +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment::|public|GetAssignments():[]AssignedGroupable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment::|public|SetAssignments(value:[]AssignedGroupable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignmentable::|public|GetAssignments():[]AssignedGroupable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignmentable::|public|SetAssignments(value:[]AssignedGroupable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.includedGroupAssignmentable~~>GroupAssignmentable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.itemBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.itemBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.itemBody::|public|GetBackingStore():BackingStore @@ -368624,6 +370307,92 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.operational github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.operationalInsightsConnectionable::|public|SetAzureSubscriptionId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.operationalInsightsConnectionable::|public|SetWorkspaceName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.operationalInsightsConnectionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ResourceConnectionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetApplicableContent():[]ApplicableContentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetApprovalRules():[]ApprovalRuleable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetApprovals():[]PolicyApprovalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|GetRings():[]Ringable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetApplicableContent(value:[]ApplicableContentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetApprovalRules(value:[]ApprovalRuleable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetApprovals(value:[]PolicyApprovalable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|public|SetRings(value:[]Ringable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetApplicableContent():[]ApplicableContentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetApprovalRules():[]ApprovalRuleable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetApprovals():[]PolicyApprovalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|GetRings():[]Ringable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetApplicableContent(value:[]ApplicableContentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetApprovalRules(value:[]ApprovalRuleable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetApprovals(value:[]PolicyApprovalable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable::|public|SetRings(value:[]Ringable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|GetCatalogEntry():CatalogEntryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|GetCatalogEntryId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|GetStatus():*ApprovalStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|SetCatalogEntry(value:CatalogEntryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|SetCatalogEntryId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|public|SetStatus(value:*ApprovalStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApproval::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|GetCatalogEntry():CatalogEntryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|GetCatalogEntryId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|GetStatus():*ApprovalStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|SetCatalogEntry(value:CatalogEntryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|SetCatalogEntryId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable::|public|SetStatus(value:*ApprovalStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponse::|public|GetValue():[]PolicyApprovalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponse::|public|SetValue(value:[]PolicyApprovalable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponseable::|public|GetValue():[]PolicyApprovalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponseable::|public|SetValue(value:[]PolicyApprovalable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyApprovalCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponse::|public|GetValue():[]Policyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponse::|public|SetValue(value:[]Policyable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponseable::|public|GetValue():[]Policyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponseable::|public|SetValue(value:[]Policyable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.policyCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.product-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.product::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.product::|public|GetEditions():[]Editionable @@ -368714,6 +370483,21 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.productRevi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.productRevisionCollectionResponseable::|public|GetValue():[]ProductRevisionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.productRevisionCollectionResponseable::|public|SetValue(value:[]ProductRevisionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.productRevisionCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule-->*ApprovalRule +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|GetCadence():*QualityUpdateCadence +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|GetClassification():*QualityUpdateClassification +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|SetCadence(value:*QualityUpdateCadence):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|public|SetClassification(value:*QualityUpdateClassification):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRuleable::|public|GetCadence():*QualityUpdateCadence +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRuleable::|public|GetClassification():*QualityUpdateClassification +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRuleable::|public|SetCadence(value:*QualityUpdateCadence):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRuleable::|public|SetClassification(value:*QualityUpdateClassification):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateApprovalRuleable~~>ApprovalRuleable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateCadence::0000-monthly github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateCadence::0001-outOfBand github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateCadence::0002-unknownFutureValue @@ -368799,6 +370583,24 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpda github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateFilterable::|public|SetCadence(value:*QualityUpdateCadence):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateFilterable::|public|SetClassification(value:*QualityUpdateClassification):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateFilterable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WindowsUpdateFilterable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdatePolicy-->*Policy +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdatePolicy::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdatePolicy::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdatePolicy::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdatePolicy::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdatePolicy::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdatePolicyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Policyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing-->*Ring +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing::|public|GetIsHotpatchEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing::|public|SetIsHotpatchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRingable::|public|GetIsHotpatchEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRingable::|public|SetIsHotpatchEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.qualityUpdateRingable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Ringable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.rateDrivenRolloutSettings-->*GradualRolloutSettings github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.rateDrivenRolloutSettings::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.rateDrivenRolloutSettings::|public|GetDevicesPerOffer():*int32 @@ -368810,6 +370612,28 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.rateDrivenR github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.rateDrivenRolloutSettingsable::|public|GetDevicesPerOffer():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.rateDrivenRolloutSettingsable::|public|SetDevicesPerOffer(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.rateDrivenRolloutSettingsable~~>GradualRolloutSettingsable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryApprovalRule-->*ApprovalRule +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryApprovalRule::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryApprovalRule::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryApprovalRule::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryApprovalRule::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryApprovalRule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryApprovalRuleable~~>ApprovalRuleable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry-->*SoftwareUpdateCatalogEntry +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|GetCatalogName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|GetProductRevisions():[]ProductRevisionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|SetCatalogName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|public|SetProductRevisions(value:[]ProductRevisionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntry::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntryable::|public|GetCatalogName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntryable::|public|GetProductRevisions():[]ProductRevisionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntryable::|public|SetCatalogName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntryable::|public|SetProductRevisions(value:[]ProductRevisionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.recoveryUpdateCatalogEntryable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SoftwareUpdateCatalogEntryable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.remediationType::0000-inPlaceUpgrade github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.remediationType::0001-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.remediationUpdateFilter-->*WindowsUpdateFilter @@ -368852,6 +370676,55 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.resourceCon github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.resourceConnectionState::0001-notAuthorized github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.resourceConnectionState::0002-notFound github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.resourceConnectionState::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetDeferralInDays():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetExcludedGroupAssignment():ExcludedGroupAssignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetIncludedGroupAssignment():IncludedGroupAssignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetIsPaused():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetDeferralInDays(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetExcludedGroupAssignment(value:ExcludedGroupAssignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetIncludedGroupAssignment(value:IncludedGroupAssignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetIsPaused(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ring::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetDeferralInDays():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetExcludedGroupAssignment():ExcludedGroupAssignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetIncludedGroupAssignment():IncludedGroupAssignmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetIsPaused():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetDeferralInDays(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetExcludedGroupAssignment(value:ExcludedGroupAssignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetIncludedGroupAssignment(value:IncludedGroupAssignmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetIsPaused(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponse::|public|GetValue():[]Ringable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponse::|public|SetValue(value:[]Ringable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponseable::|public|GetValue():[]Ringable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponseable::|public|SetValue(value:[]Ringable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.ringCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.safeguardCategory::0000-likelyIssues github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.safeguardCategory::0001-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.windowsupdates.safeguardProfile::|public|constructor():void @@ -374761,38 +376634,39 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGra github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse-->*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; endDateTime?:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime?:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|GetValue():[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|public|SetValue(value:[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable::|public|GetValue():[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable::|public|SetValue(value:[]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse-->*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|DiscoveredApplicationSegmentId:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration::|public|queryParameters:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; endDateTime?:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime?:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration):ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse(ctx:context.Context; requestConfiguration?:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration):ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder::|public|WithUrl(rawUrl:string):*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeEntitiesSummariesWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -375190,7 +377064,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuild github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ReportsRequestBuilderGetRequestConfiguration):i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Reportsable github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTime(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*ReportsMicrosoftGraphNetworkaccessCrossTenantAccessReportWithStartDateTimeWithEndDateTimeRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder -github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedBy(aggregatedBy:*string; endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*ReportsMicrosoftGraphNetworkaccessGetApplicationUsageAnalyticsWithStartDateTimeWithEndDateTimeWithAggregatedByRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.networkaccess.ReportsRequestBuilder::|public|microsoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserId(endDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time; startDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):*ReportsMicrosoftGraphNetworkaccessGetCloudApplicationReportWithStartDateTimeWithEndDateTimeuserIdUserIdRequestBuilder @@ -412602,6 +414476,28 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSensorsSensorI github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|ToPatchRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Sensorable; ctx:context.Context; requestConfiguration?:*IdentitiesSensorsSensorItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSensorsSensorItemRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSensorsSensorItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder.IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|Patch(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable; ctx:context.Context; requestConfiguration?:*IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|ToPatchRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable; ctx:context.Context; requestConfiguration?:*IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsAutoAuditingConfigurationRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesSettingsAutoAuditingConfigurationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder.IdentitiesSettingsRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder.IdentitiesSettingsRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -412612,6 +414508,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsReques github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder.IdentitiesSettingsRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesSettingsRequestBuilderGetQueryParameters github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder.IdentitiesSettingsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder.IdentitiesSettingsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder::|public|autoAuditingConfiguration():*IdentitiesSettingsAutoAuditingConfigurationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.security.IdentitiesSettingsRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesSettingsRequestBuilderDeleteRequestConfiguration):void @@ -414915,6 +416812,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder:: github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|userSecurityProfiles():*UserSecurityProfilesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|WithUrl(rawUrl:string):*SecurityRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|zones():*ZonesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.SubjectRightsRequestsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.SubjectRightsRequestsCountRequestBuilder.SubjectRightsRequestsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.security.SubjectRightsRequestsCountRequestBuilder.SubjectRightsRequestsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -418326,6 +420224,164 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.security.UserSecurityProfilesUser github.com/microsoftgraph/msgraph-beta-sdk-go/.security.UserSecurityProfilesUserSecurityProfileItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UserSecurityProfileable; ctx:context.Context; requestConfiguration?:*UserSecurityProfilesUserSecurityProfileItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.security.UserSecurityProfilesUserSecurityProfileItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.security.UserSecurityProfilesUserSecurityProfileItemRequestBuilder::|public|WithUrl(rawUrl:string):*UserSecurityProfilesUserSecurityProfileItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder.ZonesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder.ZonesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder.ZonesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder.ZonesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder.ZonesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AggregatedEnvironmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder.ZonesItemAggregationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder.ZonesItemAggregationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder.ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder.ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder.ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesItemAggregationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesItemAggregationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder::|public|ByAggregatedEnvironmentKind(aggregatedEnvironmentKind:string):*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder::|public|Count():*ZonesItemAggregationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemAggregationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder.ZonesItemEnvironmentsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder.ZonesItemEnvironmentsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder.ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder.ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder.ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesItemEnvironmentsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesItemEnvironmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder.ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder.ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder.ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder.ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder.ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder.ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder.ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsEnvironmentItemRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesItemEnvironmentsEnvironmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesItemEnvironmentsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder.ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|ByEnvironmentId(environmentId:string):*ZonesItemEnvironmentsEnvironmentItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|Count():*ZonesItemEnvironmentsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EnvironmentCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|Post(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable; ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|ToPostRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable; ctx:context.Context; requestConfiguration?:*ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesItemEnvironmentsRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesItemEnvironmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder.ZonesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|ByZoneId(zoneId:string):*ZonesZoneItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|Count():*ZonesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ZoneCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|Post(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable; ctx:context.Context; requestConfiguration?:*ZonesRequestBuilderPostRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|ToPostRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable; ctx:context.Context; requestConfiguration?:*ZonesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ZonesZoneItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder.ZonesZoneItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|aggregations():*ZonesItemAggregationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ZonesZoneItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|environments():*ZonesItemEnvironmentsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ZonesZoneItemRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|Patch(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable; ctx:context.Context; requestConfiguration?:*ZonesZoneItemRequestBuilderPatchRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesZoneItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ZonesZoneItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|ToPatchRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable; ctx:context.Context; requestConfiguration?:*ZonesZoneItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.ZonesZoneItemRequestBuilder::|public|WithUrl(rawUrl:string):*ZonesZoneItemRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.CountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:*string @@ -426926,6 +428982,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDa github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable @@ -426933,15 +428990,18 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDa github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetTarget(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetTarget():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.sites.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetTarget(value:*string):void @@ -478014,12 +480074,12 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.CountRequestBuilder::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponse github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable -github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|Count:*bool @@ -491465,6 +493525,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDa github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable @@ -491472,15 +493533,18 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDa github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|public|SetTarget(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetClassifyText():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetEvaluationInput():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetNotificationInfo():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|GetTarget():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetClassifyText(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetEvaluationInput(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetNotificationInfo(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodyable::|public|SetTarget(value:*string):void diff --git a/kiota-lock.json b/kiota-lock.json index f291e4f2059..e572643fc28 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "5DA63785EF55E0A5E55046ED2D4FA2BD501F7C70F4CF3DF10025C8E942028F3F07812002B26ED8C71DA51CB136C6C9980513B3D49EAECDB329C6AE335B352360", + "descriptionHash": "6AC8BEE38C6F8D84E3D84251C2E81EC29D6B9D422CE5A5460FB8388BC306BB365C22868B26D96A668A6F1B3BBC856B4B35A86F2811F6796B76204F1BE85AFA01", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/models/access_package_assignment_request.go b/models/access_package_assignment_request.go index e4648b333a9..869341843fc 100644 --- a/models/access_package_assignment_request.go +++ b/models/access_package_assignment_request.go @@ -35,7 +35,7 @@ func (m *AccessPackageAssignmentRequest) GetAccessPackage()(AccessPackageable) { } return nil } -// GetAccessPackageAssignment gets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// GetAccessPackageAssignment gets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. // returns a AccessPackageAssignmentable when successful func (m *AccessPackageAssignmentRequest) GetAccessPackageAssignment()(AccessPackageAssignmentable) { val, err := m.GetBackingStore().Get("accessPackageAssignment") @@ -397,7 +397,7 @@ func (m *AccessPackageAssignmentRequest) GetRequestStatus()(*string) { } return nil } -// GetRequestType gets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. +// GetRequestType gets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, ApproverRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. // returns a *string when successful func (m *AccessPackageAssignmentRequest) GetRequestType()(*string) { val, err := m.GetBackingStore().Get("requestType") @@ -580,7 +580,7 @@ func (m *AccessPackageAssignmentRequest) SetAccessPackage(value AccessPackageabl panic(err) } } -// SetAccessPackageAssignment sets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. +// SetAccessPackageAssignment sets the accessPackageAssignment property value. For a requestType of UserAdd or AdminAdd, an access package assignment requested to be created. For a requestType of UserRemove, AdminRemove, ApproverRemove, or SystemRemove, this property has the id property of an existing assignment to be removed. Supports $expand. func (m *AccessPackageAssignmentRequest) SetAccessPackageAssignment(value AccessPackageAssignmentable)() { err := m.GetBackingStore().Set("accessPackageAssignment", value) if err != nil { @@ -671,7 +671,7 @@ func (m *AccessPackageAssignmentRequest) SetRequestStatus(value *string)() { panic(err) } } -// SetRequestType sets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. +// SetRequestType sets the requestType property value. One of UserAdd, UserExtend, UserUpdate, UserRemove, AdminAdd, AdminRemove, ApproverRemove, or SystemRemove. A request from the user has a requestType of UserAdd, UserUpdate, or UserRemove. Read-only. func (m *AccessPackageAssignmentRequest) SetRequestType(value *string)() { err := m.GetBackingStore().Set("requestType", value) if err != nil { diff --git a/models/agent_identity_type.go b/models/agent_identity_type.go new file mode 100644 index 00000000000..5f5402fbc43 --- /dev/null +++ b/models/agent_identity_type.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type AgentIdentityType int + +const ( + AGENTIDENTITY_AGENTIDENTITYTYPE AgentIdentityType = iota + AGENTUSER_AGENTIDENTITYTYPE + UNKNOWNFUTUREVALUE_AGENTIDENTITYTYPE + AGENTIDENTITYBLUEPRINTPRINCIPAL_AGENTIDENTITYTYPE +) + +func (i AgentIdentityType) String() string { + return []string{"agentIdentity", "agentUser", "unknownFutureValue", "agentIdentityBlueprintPrincipal"}[i] +} +func ParseAgentIdentityType(v string) (any, error) { + result := AGENTIDENTITY_AGENTIDENTITYTYPE + switch v { + case "agentIdentity": + result = AGENTIDENTITY_AGENTIDENTITYTYPE + case "agentUser": + result = AGENTUSER_AGENTIDENTITYTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_AGENTIDENTITYTYPE + case "agentIdentityBlueprintPrincipal": + result = AGENTIDENTITYBLUEPRINTPRINCIPAL_AGENTIDENTITYTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeAgentIdentityType(values []AgentIdentityType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AgentIdentityType) isMultiValue() bool { + return false +} diff --git a/models/agent_risk_detection.go b/models/agent_risk_detection.go index f201b8392b2..51709d181f4 100644 --- a/models/agent_risk_detection.go +++ b/models/agent_risk_detection.go @@ -159,6 +159,16 @@ func (m *AgentRiskDetection) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["identityType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAgentIdentityType) + if err != nil { + return err + } + if val != nil { + m.SetIdentityType(val.(*AgentIdentityType)) + } + return nil + } res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -221,6 +231,18 @@ func (m *AgentRiskDetection) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } +// GetIdentityType gets the identityType property value. The identityType property +// returns a *AgentIdentityType when successful +func (m *AgentRiskDetection) GetIdentityType()(*AgentIdentityType) { + val, err := m.GetBackingStore().Get("identityType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AgentIdentityType) + } + return nil +} // GetLastModifiedDateTime gets the lastModifiedDateTime property value. Date and time that the risk detection was last updated. Supports $filter (eq, le, and ge). // returns a *Time when successful func (m *AgentRiskDetection) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { @@ -336,6 +358,13 @@ func (m *AgentRiskDetection) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + if m.GetIdentityType() != nil { + cast := (*m.GetIdentityType()).String() + err = writer.WriteStringValue("identityType", &cast) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) if err != nil { @@ -419,6 +448,13 @@ func (m *AgentRiskDetection) SetDetectionTimingType(value *RiskDetectionTimingTy panic(err) } } +// SetIdentityType sets the identityType property value. The identityType property +func (m *AgentRiskDetection) SetIdentityType(value *AgentIdentityType)() { + err := m.GetBackingStore().Set("identityType", value) + if err != nil { + panic(err) + } +} // SetLastModifiedDateTime sets the lastModifiedDateTime property value. Date and time that the risk detection was last updated. Supports $filter (eq, le, and ge). func (m *AgentRiskDetection) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) @@ -470,6 +506,7 @@ type AgentRiskDetectionable interface { GetAgentId()(*string) GetDetectedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetDetectionTimingType()(*RiskDetectionTimingType) + GetIdentityType()(*AgentIdentityType) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetRiskDetail()(*RiskDetail) GetRiskEventType()(*string) @@ -482,6 +519,7 @@ type AgentRiskDetectionable interface { SetAgentId(value *string)() SetDetectedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetDetectionTimingType(value *RiskDetectionTimingType)() + SetIdentityType(value *AgentIdentityType)() SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetRiskDetail(value *RiskDetail)() SetRiskEventType(value *string)() diff --git a/models/allowed_tenants_audience.go b/models/allowed_tenants_audience.go index b9d72dc7294..ceef41fd641 100644 --- a/models/allowed_tenants_audience.go +++ b/models/allowed_tenants_audience.go @@ -24,7 +24,7 @@ func NewAllowedTenantsAudience()(*AllowedTenantsAudience) { func CreateAllowedTenantsAudienceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewAllowedTenantsAudience(), nil } -// GetAllowedTenantIds gets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. +// GetAllowedTenantIds gets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). This property must contain at least one value and can't include more than 20 values. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. // returns a []string when successful func (m *AllowedTenantsAudience) GetAllowedTenantIds()([]string) { val, err := m.GetBackingStore().Get("allowedTenantIds") @@ -100,7 +100,7 @@ func (m *AllowedTenantsAudience) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetAllowedTenantIds sets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. +// SetAllowedTenantIds sets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). This property must contain at least one value and can't include more than 20 values. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. func (m *AllowedTenantsAudience) SetAllowedTenantIds(value []string)() { err := m.GetBackingStore().Set("allowedTenantIds", value) if err != nil { diff --git a/models/app_management_application_configuration.go b/models/app_management_application_configuration.go index 1e1c9d9e287..0b90f5c851d 100644 --- a/models/app_management_application_configuration.go +++ b/models/app_management_application_configuration.go @@ -60,6 +60,16 @@ func (m *AppManagementApplicationConfiguration) GetFieldDeserializers()(map[stri } return nil } + res["redirectUris"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRedirectUris(val.(RedirectUriConfigurationable)) + } + return nil + } return res } // GetIdentifierUris gets the identifierUris property value. Configuration object for restrictions on identifierUris property for an application. @@ -74,6 +84,18 @@ func (m *AppManagementApplicationConfiguration) GetIdentifierUris()(IdentifierUr } return nil } +// GetRedirectUris gets the redirectUris property value. The redirectUris property +// returns a RedirectUriConfigurationable when successful +func (m *AppManagementApplicationConfiguration) GetRedirectUris()(RedirectUriConfigurationable) { + val, err := m.GetBackingStore().Get("redirectUris") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriConfigurationable) + } + return nil +} // Serialize serializes information the current object func (m *AppManagementApplicationConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.AppManagementConfiguration.Serialize(writer) @@ -92,6 +114,12 @@ func (m *AppManagementApplicationConfiguration) Serialize(writer i878a80d2330e89 return err } } + { + err = writer.WriteObjectValue("redirectUris", m.GetRedirectUris()) + if err != nil { + return err + } + } return nil } // SetAudiences sets the audiences property value. Property to restrict creation or update of apps based on their target signInAudience types. @@ -108,11 +136,20 @@ func (m *AppManagementApplicationConfiguration) SetIdentifierUris(value Identifi panic(err) } } +// SetRedirectUris sets the redirectUris property value. The redirectUris property +func (m *AppManagementApplicationConfiguration) SetRedirectUris(value RedirectUriConfigurationable)() { + err := m.GetBackingStore().Set("redirectUris", value) + if err != nil { + panic(err) + } +} type AppManagementApplicationConfigurationable interface { AppManagementConfigurationable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAudiences()(AudiencesConfigurationable) GetIdentifierUris()(IdentifierUriConfigurationable) + GetRedirectUris()(RedirectUriConfigurationable) SetAudiences(value AudiencesConfigurationable)() SetIdentifierUris(value IdentifierUriConfigurationable)() + SetRedirectUris(value RedirectUriConfigurationable)() } diff --git a/models/authentication_event_listener.go b/models/authentication_event_listener.go index 6d5e5dbe57c..1402393e2c0 100644 --- a/models/authentication_event_listener.go +++ b/models/authentication_event_listener.go @@ -46,6 +46,8 @@ func CreateAuthenticationEventListenerFromDiscriminatorValue(parseNode i878a80d2 return NewOnFraudProtectionLoadStartListener(), nil case "#microsoft.graph.onInteractiveAuthFlowStartListener": return NewOnInteractiveAuthFlowStartListener(), nil + case "#microsoft.graph.onPasswordSubmitListener": + return NewOnPasswordSubmitListener(), nil case "#microsoft.graph.onPhoneMethodLoadStartListener": return NewOnPhoneMethodLoadStartListener(), nil case "#microsoft.graph.onTokenIssuanceStartListener": diff --git a/models/backup_restore_root.go b/models/backup_restore_root.go index 7ecb2f4ab71..b6639cc1e98 100644 --- a/models/backup_restore_root.go +++ b/models/backup_restore_root.go @@ -58,7 +58,7 @@ func (m *BackupRestoreRoot) GetAllSitesBackup()(AllSitesBackupable) { } return nil } -// GetBrowseSessions gets the browseSessions property value. The browseSessions property +// GetBrowseSessions gets the browseSessions property value. The list of browse sessions in the tenant. // returns a []BrowseSessionBaseable when successful func (m *BackupRestoreRoot) GetBrowseSessions()([]BrowseSessionBaseable) { val, err := m.GetBackingStore().Get("browseSessions") @@ -602,7 +602,7 @@ func (m *BackupRestoreRoot) GetMailboxProtectionUnitsBulkAdditionJobs()([]Mailbo } return nil } -// GetOneDriveForBusinessBrowseSessions gets the oneDriveForBusinessBrowseSessions property value. The oneDriveForBusinessBrowseSessions property +// GetOneDriveForBusinessBrowseSessions gets the oneDriveForBusinessBrowseSessions property value. The list of onedriveforbusiness browse sessions in the tenant. // returns a []OneDriveForBusinessBrowseSessionable when successful func (m *BackupRestoreRoot) GetOneDriveForBusinessBrowseSessions()([]OneDriveForBusinessBrowseSessionable) { val, err := m.GetBackingStore().Get("oneDriveForBusinessBrowseSessions") @@ -710,7 +710,7 @@ func (m *BackupRestoreRoot) GetServiceStatus()(ServiceStatusable) { } return nil } -// GetSharePointBrowseSessions gets the sharePointBrowseSessions property value. The sharePointBrowseSessions property +// GetSharePointBrowseSessions gets the sharePointBrowseSessions property value. The list of sharepoint browse sessions in the tenant. // returns a []SharePointBrowseSessionable when successful func (m *BackupRestoreRoot) GetSharePointBrowseSessions()([]SharePointBrowseSessionable) { val, err := m.GetBackingStore().Get("sharePointBrowseSessions") @@ -1117,7 +1117,7 @@ func (m *BackupRestoreRoot) SetAllSitesBackup(value AllSitesBackupable)() { panic(err) } } -// SetBrowseSessions sets the browseSessions property value. The browseSessions property +// SetBrowseSessions sets the browseSessions property value. The list of browse sessions in the tenant. func (m *BackupRestoreRoot) SetBrowseSessions(value []BrowseSessionBaseable)() { err := m.GetBackingStore().Set("browseSessions", value) if err != nil { @@ -1187,7 +1187,7 @@ func (m *BackupRestoreRoot) SetMailboxProtectionUnitsBulkAdditionJobs(value []Ma panic(err) } } -// SetOneDriveForBusinessBrowseSessions sets the oneDriveForBusinessBrowseSessions property value. The oneDriveForBusinessBrowseSessions property +// SetOneDriveForBusinessBrowseSessions sets the oneDriveForBusinessBrowseSessions property value. The list of onedriveforbusiness browse sessions in the tenant. func (m *BackupRestoreRoot) SetOneDriveForBusinessBrowseSessions(value []OneDriveForBusinessBrowseSessionable)() { err := m.GetBackingStore().Set("oneDriveForBusinessBrowseSessions", value) if err != nil { @@ -1250,7 +1250,7 @@ func (m *BackupRestoreRoot) SetServiceStatus(value ServiceStatusable)() { panic(err) } } -// SetSharePointBrowseSessions sets the sharePointBrowseSessions property value. The sharePointBrowseSessions property +// SetSharePointBrowseSessions sets the sharePointBrowseSessions property value. The list of sharepoint browse sessions in the tenant. func (m *BackupRestoreRoot) SetSharePointBrowseSessions(value []SharePointBrowseSessionable)() { err := m.GetBackingStore().Set("sharePointBrowseSessions", value) if err != nil { diff --git a/models/baseline_parameter.go b/models/baseline_parameter.go index 804dba0fa49..36718976733 100644 --- a/models/baseline_parameter.go +++ b/models/baseline_parameter.go @@ -43,7 +43,7 @@ func (m *BaselineParameter) GetAdditionalData()(map[string]any) { func (m *BaselineParameter) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. User-friendly description of the parameter. // returns a *string when successful func (m *BaselineParameter) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -55,7 +55,7 @@ func (m *BaselineParameter) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. Parameter names such as FQDN and Tenant ID. // returns a *string when successful func (m *BaselineParameter) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -183,14 +183,14 @@ func (m *BaselineParameter) SetAdditionalData(value map[string]any)() { func (m *BaselineParameter) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. User-friendly description of the parameter. func (m *BaselineParameter) 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. Parameter names such as FQDN and Tenant ID. func (m *BaselineParameter) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { diff --git a/models/baseline_resource.go b/models/baseline_resource.go index bd0508f4bc3..2ca464c637d 100644 --- a/models/baseline_resource.go +++ b/models/baseline_resource.go @@ -43,7 +43,7 @@ func (m *BaselineResource) GetAdditionalData()(map[string]any) { func (m *BaselineResource) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. Unique name of the resource. // returns a *string when successful func (m *BaselineResource) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -125,7 +125,7 @@ func (m *BaselineResource) GetProperties()(OpenComplexDictionaryTypeable) { } return nil } -// GetResourceType gets the resourceType property value. The resourceType property +// GetResourceType gets the resourceType property value. Name of the resource type. // returns a *string when successful func (m *BaselineResource) GetResourceType()(*string) { val, err := m.GetBackingStore().Get("resourceType") @@ -182,7 +182,7 @@ func (m *BaselineResource) SetAdditionalData(value map[string]any)() { func (m *BaselineResource) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. Unique name of the resource. func (m *BaselineResource) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { @@ -203,7 +203,7 @@ func (m *BaselineResource) SetProperties(value OpenComplexDictionaryTypeable)() panic(err) } } -// SetResourceType sets the resourceType property value. The resourceType property +// SetResourceType sets the resourceType property value. Name of the resource type. func (m *BaselineResource) SetResourceType(value *string)() { err := m.GetBackingStore().Set("resourceType", value) if err != nil { diff --git a/models/browse_query_response_item.go b/models/browse_query_response_item.go index 547a133b597..ece244768bd 100644 --- a/models/browse_query_response_item.go +++ b/models/browse_query_response_item.go @@ -119,7 +119,7 @@ func (m *BrowseQueryResponseItem) GetFieldDeserializers()(map[string]func(i878a8 } return res } -// GetItemKey gets the itemKey property value. The itemKey property +// GetItemKey gets the itemKey property value. Unique identifier of the returned item. // returns a *string when successful func (m *BrowseQueryResponseItem) GetItemKey()(*string) { val, err := m.GetBackingStore().Get("itemKey") @@ -131,7 +131,7 @@ func (m *BrowseQueryResponseItem) GetItemKey()(*string) { } return nil } -// GetItemsCount gets the itemsCount property value. The itemsCount property +// GetItemsCount gets the itemsCount property value. The count of items present within the items; for example, the count of files in a folder. // returns a *int32 when successful func (m *BrowseQueryResponseItem) GetItemsCount()(*int32) { val, err := m.GetBackingStore().Get("itemsCount") @@ -143,7 +143,7 @@ func (m *BrowseQueryResponseItem) GetItemsCount()(*int32) { } return nil } -// GetName gets the name property value. The name property +// GetName gets the name property value. The name of the item. // returns a *string when successful func (m *BrowseQueryResponseItem) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -167,7 +167,7 @@ func (m *BrowseQueryResponseItem) GetOdataType()(*string) { } return nil } -// GetSizeInBytes gets the sizeInBytes property value. The sizeInBytes property +// GetSizeInBytes gets the sizeInBytes property value. The size of the item in bytes. // returns a *string when successful func (m *BrowseQueryResponseItem) GetSizeInBytes()(*string) { val, err := m.GetBackingStore().Get("sizeInBytes") @@ -191,7 +191,7 @@ func (m *BrowseQueryResponseItem) GetTypeEscaped()(*BrowseQueryResponseItemType) } return nil } -// GetWebUrl gets the webUrl property value. The webUrl property +// GetWebUrl gets the webUrl property value. The web URL of the item. // returns a *string when successful func (m *BrowseQueryResponseItem) GetWebUrl()(*string) { val, err := m.GetBackingStore().Get("webUrl") @@ -267,21 +267,21 @@ func (m *BrowseQueryResponseItem) SetAdditionalData(value map[string]any)() { func (m *BrowseQueryResponseItem) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetItemKey sets the itemKey property value. The itemKey property +// SetItemKey sets the itemKey property value. Unique identifier of the returned item. func (m *BrowseQueryResponseItem) SetItemKey(value *string)() { err := m.GetBackingStore().Set("itemKey", value) if err != nil { panic(err) } } -// SetItemsCount sets the itemsCount property value. The itemsCount property +// SetItemsCount sets the itemsCount property value. The count of items present within the items; for example, the count of files in a folder. func (m *BrowseQueryResponseItem) SetItemsCount(value *int32)() { err := m.GetBackingStore().Set("itemsCount", value) if err != nil { panic(err) } } -// SetName sets the name property value. The name property +// SetName sets the name property value. The name of the item. func (m *BrowseQueryResponseItem) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { @@ -295,7 +295,7 @@ func (m *BrowseQueryResponseItem) SetOdataType(value *string)() { panic(err) } } -// SetSizeInBytes sets the sizeInBytes property value. The sizeInBytes property +// SetSizeInBytes sets the sizeInBytes property value. The size of the item in bytes. func (m *BrowseQueryResponseItem) SetSizeInBytes(value *string)() { err := m.GetBackingStore().Set("sizeInBytes", value) if err != nil { @@ -309,7 +309,7 @@ func (m *BrowseQueryResponseItem) SetTypeEscaped(value *BrowseQueryResponseItemT panic(err) } } -// SetWebUrl sets the webUrl property value. The webUrl property +// SetWebUrl sets the webUrl property value. The web URL of the item. func (m *BrowseQueryResponseItem) SetWebUrl(value *string)() { err := m.GetBackingStore().Set("webUrl", value) if err != nil { diff --git a/models/browse_session_base.go b/models/browse_session_base.go index 2154da6c9c5..33e07254e69 100644 --- a/models/browse_session_base.go +++ b/models/browse_session_base.go @@ -43,7 +43,7 @@ func CreateBrowseSessionBaseFromDiscriminatorValue(parseNode i878a80d2330e89d268 } return NewBrowseSessionBase(), nil } -// GetBackupSizeInBytes gets the backupSizeInBytes property value. The backupSizeInBytes property +// GetBackupSizeInBytes gets the backupSizeInBytes property value. The size of the backup in bytes. // returns a *string when successful func (m *BrowseSessionBase) GetBackupSizeInBytes()(*string) { val, err := m.GetBackingStore().Get("backupSizeInBytes") @@ -55,7 +55,7 @@ func (m *BrowseSessionBase) GetBackupSizeInBytes()(*string) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the browse session was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *BrowseSessionBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -67,7 +67,7 @@ func (m *BrowseSessionBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad9 } return nil } -// GetError gets the error property value. The error property +// GetError gets the error property value. Contains the error details if the browse session creation fails. // returns a PublicErrorable when successful func (m *BrowseSessionBase) GetError()(PublicErrorable) { val, err := m.GetBackingStore().Get("error") @@ -79,7 +79,7 @@ func (m *BrowseSessionBase) GetError()(PublicErrorable) { } return nil } -// GetExpirationDateTime gets the expirationDateTime property value. The expirationDateTime property +// GetExpirationDateTime gets the expirationDateTime property value. The date and time after which the browse session is deleted automatically. // returns a *Time when successful func (m *BrowseSessionBase) GetExpirationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("expirationDateTime") @@ -157,7 +157,7 @@ func (m *BrowseSessionBase) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetRestorePointDateTime gets the restorePointDateTime property value. The restorePointDateTime property +// GetRestorePointDateTime gets the restorePointDateTime property value. The date and time of the restore point on which the browse session is created. // returns a *Time when successful func (m *BrowseSessionBase) GetRestorePointDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("restorePointDateTime") @@ -226,35 +226,35 @@ func (m *BrowseSessionBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27 } return nil } -// SetBackupSizeInBytes sets the backupSizeInBytes property value. The backupSizeInBytes property +// SetBackupSizeInBytes sets the backupSizeInBytes property value. The size of the backup in bytes. func (m *BrowseSessionBase) SetBackupSizeInBytes(value *string)() { err := m.GetBackingStore().Set("backupSizeInBytes", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the browse session was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *BrowseSessionBase) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetError sets the error property value. The error property +// SetError sets the error property value. Contains the error details if the browse session creation fails. func (m *BrowseSessionBase) SetError(value PublicErrorable)() { err := m.GetBackingStore().Set("error", 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 after which the browse session is deleted automatically. func (m *BrowseSessionBase) SetExpirationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("expirationDateTime", value) if err != nil { panic(err) } } -// SetRestorePointDateTime sets the restorePointDateTime property value. The restorePointDateTime property +// SetRestorePointDateTime sets the restorePointDateTime property value. The date and time of the restore point on which the browse session is created. func (m *BrowseSessionBase) SetRestorePointDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("restorePointDateTime", value) if err != nil { diff --git a/models/cloud_pc_device_image_error_code.go b/models/cloud_pc_device_image_error_code.go index 520f389bdc9..a08df58a5b3 100644 --- a/models/cloud_pc_device_image_error_code.go +++ b/models/cloud_pc_device_image_error_code.go @@ -18,10 +18,12 @@ const ( SOURCEIMAGEWITHDATADISKNOTSUPPORTED_CLOUDPCDEVICEIMAGEERRORCODE SOURCEIMAGEWITHDISKENCRYPTIONSETNOTSUPPORTED_CLOUDPCDEVICEIMAGEERRORCODE SOURCEIMAGEWITHAZUREDISKENCRYPTIONNOTSUPPORTED_CLOUDPCDEVICEIMAGEERRORCODE + FSLOGIXINSTALLEDSOURCEIMAGENOTSUPPORTED_CLOUDPCDEVICEIMAGEERRORCODE + STARTMENUAPPLIMITEXCEEDED_CLOUDPCDEVICEIMAGEERRORCODE ) func (i CloudPcDeviceImageErrorCode) String() string { - return []string{"internalServerError", "sourceImageNotFound", "osVersionNotSupported", "sourceImageInvalid", "sourceImageNotGeneralized", "unknownFutureValue", "vmAlreadyAzureAdjoined", "paidSourceImageNotSupport", "sourceImageNotSupportCustomizeVMName", "sourceImageSizeExceedsLimitation", "sourceImageWithDataDiskNotSupported", "sourceImageWithDiskEncryptionSetNotSupported", "sourceImageWithAzureDiskEncryptionNotSupported"}[i] + return []string{"internalServerError", "sourceImageNotFound", "osVersionNotSupported", "sourceImageInvalid", "sourceImageNotGeneralized", "unknownFutureValue", "vmAlreadyAzureAdjoined", "paidSourceImageNotSupport", "sourceImageNotSupportCustomizeVMName", "sourceImageSizeExceedsLimitation", "sourceImageWithDataDiskNotSupported", "sourceImageWithDiskEncryptionSetNotSupported", "sourceImageWithAzureDiskEncryptionNotSupported", "fSLogixInstalledSourceImageNotSupported", "startMenuAppLimitExceeded"}[i] } func ParseCloudPcDeviceImageErrorCode(v string) (any, error) { result := INTERNALSERVERERROR_CLOUDPCDEVICEIMAGEERRORCODE @@ -52,6 +54,10 @@ func ParseCloudPcDeviceImageErrorCode(v string) (any, error) { result = SOURCEIMAGEWITHDISKENCRYPTIONSETNOTSUPPORTED_CLOUDPCDEVICEIMAGEERRORCODE case "sourceImageWithAzureDiskEncryptionNotSupported": result = SOURCEIMAGEWITHAZUREDISKENCRYPTIONNOTSUPPORTED_CLOUDPCDEVICEIMAGEERRORCODE + case "fSLogixInstalledSourceImageNotSupported": + result = FSLOGIXINSTALLEDSOURCEIMAGENOTSUPPORTED_CLOUDPCDEVICEIMAGEERRORCODE + case "startMenuAppLimitExceeded": + result = STARTMENUAPPLIMITEXCEEDED_CLOUDPCDEVICEIMAGEERRORCODE default: return nil, nil } diff --git a/models/cloud_pc_domain_join_configuration.go b/models/cloud_pc_domain_join_configuration.go index 1f1c6966121..b4de9c43a95 100644 --- a/models/cloud_pc_domain_join_configuration.go +++ b/models/cloud_pc_domain_join_configuration.go @@ -131,7 +131,7 @@ func (m *CloudPcDomainJoinConfiguration) GetFieldDeserializers()(map[string]func } return res } -// GetGeographicLocationType gets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. +// GetGeographicLocationType gets the geographicLocationType property value. The geographic location where the region is located. Read-only. // returns a *CloudPcGeographicLocationType when successful func (m *CloudPcDomainJoinConfiguration) GetGeographicLocationType()(*CloudPcGeographicLocationType) { val, err := m.GetBackingStore().Get("geographicLocationType") @@ -167,7 +167,7 @@ func (m *CloudPcDomainJoinConfiguration) GetOnPremisesConnectionId()(*string) { } return nil } -// GetRegionGroup gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Read-only. +// GetRegionGroup gets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. // returns a *CloudPcRegionGroup when successful func (m *CloudPcDomainJoinConfiguration) GetRegionGroup()(*CloudPcRegionGroup) { val, err := m.GetBackingStore().Get("regionGroup") @@ -277,7 +277,7 @@ func (m *CloudPcDomainJoinConfiguration) SetDomainJoinType(value *CloudPcDomainJ panic(err) } } -// SetGeographicLocationType sets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. +// SetGeographicLocationType sets the geographicLocationType property value. The geographic location where the region is located. Read-only. func (m *CloudPcDomainJoinConfiguration) SetGeographicLocationType(value *CloudPcGeographicLocationType)() { err := m.GetBackingStore().Set("geographicLocationType", value) if err != nil { @@ -298,7 +298,7 @@ func (m *CloudPcDomainJoinConfiguration) SetOnPremisesConnectionId(value *string panic(err) } } -// SetRegionGroup sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. The possible values are: default, australia, canada, usCentral, usEast, usWest, france, germany, europeUnion, unitedKingdom, japan, asia, india, southAmerica, euap, usGovernment, usGovernmentDOD, unknownFutureValue, norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: norway, switzerland, southKorea, middleEast, mexico, australasia, europe. Read-only. +// SetRegionGroup sets the regionGroup property value. The logical geographic group this region belongs to. Multiple regions can belong to one region group. A customer can select a regionGroup when they provision a Cloud PC, and the Cloud PC is put in one of the regions in the group based on resource status. For example, the Europe region group contains the Northern Europe and Western Europe regions. Read-only. func (m *CloudPcDomainJoinConfiguration) SetRegionGroup(value *CloudPcRegionGroup)() { err := m.GetBackingStore().Set("regionGroup", value) if err != nil { diff --git a/models/cloud_pc_export_job.go b/models/cloud_pc_export_job.go index 0bec75eaaf1..6ab4bf0a8d6 100644 --- a/models/cloud_pc_export_job.go +++ b/models/cloud_pc_export_job.go @@ -175,7 +175,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, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport,, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. +// GetReportName gets the reportName property value. The report name. // returns a *CloudPcReportName when successful func (m *CloudPcExportJob) GetReportName()(*CloudPcReportName) { val, err := m.GetBackingStore().Get("reportName") @@ -304,7 +304,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, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, actionStatusReport, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, regionalConnectionQualityTrendReport, regionalConnectionQualityInsightsReport, remoteConnectionQualityReport, bulkActionStatusReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: noLicenseAvailableConnectivityFailureReport, frontlineLicenseUsageReport, frontlineLicenseUsageRealTimeReport, remoteConnectionQualityReports, inaccessibleCloudPcReports, rawRemoteConnectionReports, cloudPcUsageCategoryReports, crossRegionDisasterRecoveryReport, cloudPcInsightReport, regionalInaccessibleCloudPcTrendReport,, troubleshootDetailsReport, troubleshootTrendCountReport, troubleshootRegionalReport, troubleshootIssueCountReport, cloudPCInventoryReport. +// SetReportName sets the reportName property value. The report name. func (m *CloudPcExportJob) SetReportName(value *CloudPcReportName)() { err := m.GetBackingStore().Set("reportName", value) if err != nil { diff --git a/models/cloud_pc_on_premises_connection_health_check.go b/models/cloud_pc_on_premises_connection_health_check.go index 8dad16d006c..17a3cc35fa5 100644 --- a/models/cloud_pc_on_premises_connection_health_check.go +++ b/models/cloud_pc_on_premises_connection_health_check.go @@ -104,7 +104,7 @@ func (m *CloudPcOnPremisesConnectionHealthCheck) GetEndDateTime()(*i336074805fc8 } return nil } -// GetErrorType gets the errorType property value. The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. +// GetErrorType gets the errorType property value. The type of error that occurred during this health check. // returns a *CloudPcOnPremisesConnectionHealthCheckErrorType when successful func (m *CloudPcOnPremisesConnectionHealthCheck) GetErrorType()(*CloudPcOnPremisesConnectionHealthCheckErrorType) { val, err := m.GetBackingStore().Get("errorType") @@ -388,7 +388,7 @@ func (m *CloudPcOnPremisesConnectionHealthCheck) SetEndDateTime(value *i33607480 panic(err) } } -// SetErrorType sets the errorType property value. The type of error that occurred during this health check. For the list of possible values, see cloudPcOnPremisesConnectionHealthCheckErrorType. +// SetErrorType sets the errorType property value. The type of error that occurred during this health check. func (m *CloudPcOnPremisesConnectionHealthCheck) SetErrorType(value *CloudPcOnPremisesConnectionHealthCheckErrorType)() { err := m.GetBackingStore().Set("errorType", value) if err != nil { diff --git a/models/cloud_pc_report_name.go b/models/cloud_pc_report_name.go index c25f02c5d07..9a90938e8c4 100644 --- a/models/cloud_pc_report_name.go +++ b/models/cloud_pc_report_name.go @@ -33,10 +33,11 @@ const ( CLOUDPCINSIGHTREPORT_CLOUDPCREPORTNAME REGIONALINACCESSIBLECLOUDPCTRENDREPORT_CLOUDPCREPORTNAME CLOUDPCUSAGECATEGORYREPORT_CLOUDPCREPORTNAME + CLOUDPCINVENTORYREPORT_CLOUDPCREPORTNAME ) func (i CloudPcReportName) String() string { - return []string{"remoteConnectionHistoricalReports", "dailyAggregatedRemoteConnectionReports", "totalAggregatedRemoteConnectionReports", "unknownFutureValue", "noLicenseAvailableConnectivityFailureReport", "frontlineLicenseUsageReport", "frontlineLicenseUsageRealTimeReport", "remoteConnectionQualityReports", "inaccessibleCloudPcReports", "actionStatusReport", "rawRemoteConnectionReports", "cloudPcUsageCategoryReports", "crossRegionDisasterRecoveryReport", "performanceTrendReport", "inaccessibleCloudPcTrendReport", "regionalConnectionQualityTrendReport", "regionalConnectionQualityInsightsReport", "remoteConnectionQualityReport", "frontlineLicenseHourlyUsageReport", "frontlineRealtimeUserConnectionsReport", "bulkActionStatusReport", "troubleshootDetailsReport", "troubleshootTrendCountReport", "troubleshootRegionalReport", "troubleshootIssueCountReport", "cloudPcInsightReport", "regionalInaccessibleCloudPcTrendReport", "cloudPcUsageCategoryReport"}[i] + return []string{"remoteConnectionHistoricalReports", "dailyAggregatedRemoteConnectionReports", "totalAggregatedRemoteConnectionReports", "unknownFutureValue", "noLicenseAvailableConnectivityFailureReport", "frontlineLicenseUsageReport", "frontlineLicenseUsageRealTimeReport", "remoteConnectionQualityReports", "inaccessibleCloudPcReports", "actionStatusReport", "rawRemoteConnectionReports", "cloudPcUsageCategoryReports", "crossRegionDisasterRecoveryReport", "performanceTrendReport", "inaccessibleCloudPcTrendReport", "regionalConnectionQualityTrendReport", "regionalConnectionQualityInsightsReport", "remoteConnectionQualityReport", "frontlineLicenseHourlyUsageReport", "frontlineRealtimeUserConnectionsReport", "bulkActionStatusReport", "troubleshootDetailsReport", "troubleshootTrendCountReport", "troubleshootRegionalReport", "troubleshootIssueCountReport", "cloudPcInsightReport", "regionalInaccessibleCloudPcTrendReport", "cloudPcUsageCategoryReport", "cloudPCInventoryReport"}[i] } func ParseCloudPcReportName(v string) (any, error) { result := REMOTECONNECTIONHISTORICALREPORTS_CLOUDPCREPORTNAME @@ -97,6 +98,8 @@ func ParseCloudPcReportName(v string) (any, error) { result = REGIONALINACCESSIBLECLOUDPCTRENDREPORT_CLOUDPCREPORTNAME case "cloudPcUsageCategoryReport": result = CLOUDPCUSAGECATEGORYREPORT_CLOUDPCREPORTNAME + case "cloudPCInventoryReport": + result = CLOUDPCINVENTORYREPORT_CLOUDPCREPORTNAME default: return nil, nil } diff --git a/models/cloud_pc_source_device_image.go b/models/cloud_pc_source_device_image.go index f7889e06a66..4e20802fb6f 100644 --- a/models/cloud_pc_source_device_image.go +++ b/models/cloud_pc_source_device_image.go @@ -43,6 +43,18 @@ func (m *CloudPcSourceDeviceImage) GetAdditionalData()(map[string]any) { func (m *CloudPcSourceDeviceImage) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetCategory gets the category property value. The category property +// returns a *CloudPcSourceImageCategory when successful +func (m *CloudPcSourceDeviceImage) GetCategory()(*CloudPcSourceImageCategory) { + val, err := m.GetBackingStore().Get("category") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudPcSourceImageCategory) + } + return nil +} // GetDisplayName gets the displayName property value. The display name for the source image. Read-only. // returns a *string when successful func (m *CloudPcSourceDeviceImage) GetDisplayName()(*string) { @@ -59,6 +71,16 @@ func (m *CloudPcSourceDeviceImage) GetDisplayName()(*string) { // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *CloudPcSourceDeviceImage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["category"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudPcSourceImageCategory) + if err != nil { + return err + } + if val != nil { + m.SetCategory(val.(*CloudPcSourceImageCategory)) + } + return nil + } res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -183,6 +205,13 @@ func (m *CloudPcSourceDeviceImage) GetSubscriptionId()(*string) { } // Serialize serializes information the current object func (m *CloudPcSourceDeviceImage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetCategory() != nil { + cast := (*m.GetCategory()).String() + err := writer.WriteStringValue("category", &cast) + if err != nil { + return err + } + } { err := writer.WriteStringValue("displayName", m.GetDisplayName()) if err != nil { @@ -238,6 +267,13 @@ func (m *CloudPcSourceDeviceImage) SetAdditionalData(value map[string]any)() { func (m *CloudPcSourceDeviceImage) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetCategory sets the category property value. The category property +func (m *CloudPcSourceDeviceImage) SetCategory(value *CloudPcSourceImageCategory)() { + err := m.GetBackingStore().Set("category", value) + if err != nil { + panic(err) + } +} // SetDisplayName sets the displayName property value. The display name for the source image. Read-only. func (m *CloudPcSourceDeviceImage) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) @@ -285,6 +321,7 @@ type CloudPcSourceDeviceImageable interface { ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCategory()(*CloudPcSourceImageCategory) GetDisplayName()(*string) GetId()(*string) GetOdataType()(*string) @@ -292,6 +329,7 @@ type CloudPcSourceDeviceImageable interface { GetSubscriptionDisplayName()(*string) GetSubscriptionId()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCategory(value *CloudPcSourceImageCategory)() SetDisplayName(value *string)() SetId(value *string)() SetOdataType(value *string)() diff --git a/models/cloud_pc_source_image_category.go b/models/cloud_pc_source_image_category.go new file mode 100644 index 00000000000..d8bf4569509 --- /dev/null +++ b/models/cloud_pc_source_image_category.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type CloudPcSourceImageCategory int + +const ( + MANAGEDIMAGE_CLOUDPCSOURCEIMAGECATEGORY CloudPcSourceImageCategory = iota + AZURECOMPUTEGALLERY_CLOUDPCSOURCEIMAGECATEGORY + UNKNOWNFUTUREVALUE_CLOUDPCSOURCEIMAGECATEGORY +) + +func (i CloudPcSourceImageCategory) String() string { + return []string{"managedImage", "azureComputeGallery", "unknownFutureValue"}[i] +} +func ParseCloudPcSourceImageCategory(v string) (any, error) { + result := MANAGEDIMAGE_CLOUDPCSOURCEIMAGECATEGORY + switch v { + case "managedImage": + result = MANAGEDIMAGE_CLOUDPCSOURCEIMAGECATEGORY + case "azureComputeGallery": + result = AZURECOMPUTEGALLERY_CLOUDPCSOURCEIMAGECATEGORY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDPCSOURCEIMAGECATEGORY + default: + return nil, nil + } + return &result, nil +} +func SerializeCloudPcSourceImageCategory(values []CloudPcSourceImageCategory) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudPcSourceImageCategory) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_status.go b/models/cloud_pc_status.go index 0215c756317..966d150162a 100644 --- a/models/cloud_pc_status.go +++ b/models/cloud_pc_status.go @@ -20,11 +20,12 @@ const ( RESIZEPENDINGLICENSE_CLOUDPCSTATUS UPDATINGSINGLESIGNON_CLOUDPCSTATUS MODIFYINGSINGLESIGNON_CLOUDPCSTATUS + REFRESHPOLICYCONFIGURATION_CLOUDPCSTATUS PREPARING_CLOUDPCSTATUS ) func (i CloudPcStatus) String() string { - return []string{"notProvisioned", "provisioning", "provisioned", "inGracePeriod", "deprovisioning", "failed", "provisionedWithWarnings", "resizing", "restoring", "pendingProvision", "unknownFutureValue", "movingRegion", "resizePendingLicense", "updatingSingleSignOn", "modifyingSingleSignOn", "preparing"}[i] + return []string{"notProvisioned", "provisioning", "provisioned", "inGracePeriod", "deprovisioning", "failed", "provisionedWithWarnings", "resizing", "restoring", "pendingProvision", "unknownFutureValue", "movingRegion", "resizePendingLicense", "updatingSingleSignOn", "modifyingSingleSignOn", "refreshPolicyConfiguration", "preparing"}[i] } func ParseCloudPcStatus(v string) (any, error) { result := NOTPROVISIONED_CLOUDPCSTATUS @@ -59,6 +60,8 @@ func ParseCloudPcStatus(v string) (any, error) { result = UPDATINGSINGLESIGNON_CLOUDPCSTATUS case "modifyingSingleSignOn": result = MODIFYINGSINGLESIGNON_CLOUDPCSTATUS + case "refreshPolicyConfiguration": + result = REFRESHPOLICYCONFIGURATION_CLOUDPCSTATUS case "preparing": result = PREPARING_CLOUDPCSTATUS default: diff --git a/models/cloud_pc_supported_region.go b/models/cloud_pc_supported_region.go index 1a66b0887d7..54f18ef656c 100644 --- a/models/cloud_pc_supported_region.go +++ b/models/cloud_pc_supported_region.go @@ -100,7 +100,7 @@ func (m *CloudPcSupportedRegion) GetFieldDeserializers()(map[string]func(i878a80 } return res } -// GetGeographicLocationType gets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. +// GetGeographicLocationType gets the geographicLocationType property value. The geographic location where the region is located. Read-only. // returns a *CloudPcGeographicLocationType when successful func (m *CloudPcSupportedRegion) GetGeographicLocationType()(*CloudPcGeographicLocationType) { val, err := m.GetBackingStore().Get("geographicLocationType") @@ -215,7 +215,7 @@ func (m *CloudPcSupportedRegion) SetDisplayName(value *string)() { panic(err) } } -// SetGeographicLocationType sets the geographicLocationType property value. The geographic location where the region is located. The possible values are: default, asia, australasia, canada, europe, india, africa, usCentral, usEast, usWest, southAmerica, middleEast, centralAmerica, usGovernment, unknownFutureValue, mexico. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: mexico. The default value is default. Read-only. +// SetGeographicLocationType sets the geographicLocationType property value. The geographic location where the region is located. Read-only. func (m *CloudPcSupportedRegion) SetGeographicLocationType(value *CloudPcGeographicLocationType)() { err := m.GetBackingStore().Set("geographicLocationType", value) if err != nil { diff --git a/models/cloudlicensing/admin_cloud_licensing.go b/models/cloudlicensing/admin_cloud_licensing.go new file mode 100644 index 00000000000..d19f1c28fc1 --- /dev/null +++ b/models/cloudlicensing/admin_cloud_licensing.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AdminCloudLicensing struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewAdminCloudLicensing instantiates a new AdminCloudLicensing and sets the default values. +func NewAdminCloudLicensing()(*AdminCloudLicensing) { + m := &AdminCloudLicensing{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateAdminCloudLicensingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdminCloudLicensingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdminCloudLicensing(), nil +} +// GetAllotments gets the allotments property value. The set of all allotments within the organization. Read-only. +// returns a []Allotmentable when successful +func (m *AdminCloudLicensing) GetAllotments()([]Allotmentable) { + val, err := m.GetBackingStore().Get("allotments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Allotmentable) + } + return nil +} +// GetAssignmentErrors gets the assignmentErrors property value. The set of all asynchronous allotment assignment errors that affect the organization. Read-only. +// returns a []AssignmentErrorable when successful +func (m *AdminCloudLicensing) GetAssignmentErrors()([]AssignmentErrorable) { + val, err := m.GetBackingStore().Get("assignmentErrors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AssignmentErrorable) + } + return nil +} +// GetAssignments gets the assignments property value. The set of all license assignments within the organization. Not nullable. +// returns a []Assignmentable when successful +func (m *AdminCloudLicensing) GetAssignments()([]Assignmentable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Assignmentable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AdminCloudLicensing) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["allotments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAllotmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Allotmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Allotmentable) + } + } + m.SetAllotments(res) + } + return nil + } + res["assignmentErrors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AssignmentErrorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AssignmentErrorable) + } + } + m.SetAssignmentErrors(res) + } + return nil + } + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Assignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Assignmentable) + } + } + m.SetAssignments(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *AdminCloudLicensing) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAllotments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAllotments())) + for i, v := range m.GetAllotments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("allotments", cast) + if err != nil { + return err + } + } + if m.GetAssignmentErrors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignmentErrors())) + for i, v := range m.GetAssignmentErrors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignmentErrors", cast) + if err != nil { + return err + } + } + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } + return nil +} +// SetAllotments sets the allotments property value. The set of all allotments within the organization. Read-only. +func (m *AdminCloudLicensing) SetAllotments(value []Allotmentable)() { + err := m.GetBackingStore().Set("allotments", value) + if err != nil { + panic(err) + } +} +// SetAssignmentErrors sets the assignmentErrors property value. The set of all asynchronous allotment assignment errors that affect the organization. Read-only. +func (m *AdminCloudLicensing) SetAssignmentErrors(value []AssignmentErrorable)() { + err := m.GetBackingStore().Set("assignmentErrors", value) + if err != nil { + panic(err) + } +} +// SetAssignments sets the assignments property value. The set of all license assignments within the organization. Not nullable. +func (m *AdminCloudLicensing) SetAssignments(value []Assignmentable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} +type AdminCloudLicensingable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllotments()([]Allotmentable) + GetAssignmentErrors()([]AssignmentErrorable) + GetAssignments()([]Assignmentable) + SetAllotments(value []Allotmentable)() + SetAssignmentErrors(value []AssignmentErrorable)() + SetAssignments(value []Assignmentable)() +} diff --git a/models/cloudlicensing/allotment.go b/models/cloudlicensing/allotment.go new file mode 100644 index 00000000000..511c8947db2 --- /dev/null +++ b/models/cloudlicensing/allotment.go @@ -0,0 +1,426 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type Allotment struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewAllotment instantiates a new Allotment and sets the default values. +func NewAllotment()(*Allotment) { + m := &Allotment{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateAllotmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllotmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllotment(), nil +} +// GetAllottedUnits gets the allottedUnits property value. The number of licenses contained within the allotment. Not nullable. Read-only. +// returns a *int32 when successful +func (m *Allotment) GetAllottedUnits()(*int32) { + val, err := m.GetBackingStore().Get("allottedUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetAssignableTo gets the assignableTo property value. The assignableTo property +// returns a *AssigneeTypes when successful +func (m *Allotment) GetAssignableTo()(*AssigneeTypes) { + val, err := m.GetBackingStore().Get("assignableTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AssigneeTypes) + } + return nil +} +// GetAssignments gets the assignments property value. The list of license assignments that consume licenses from this allotment. Not nullable. +// returns a []Assignmentable when successful +func (m *Allotment) GetAssignments()([]Assignmentable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Assignmentable) + } + return nil +} +// GetConsumedUnits gets the consumedUnits property value. The number of licenses that are currently consumed by assignments from this allotment. Not nullable. Read-only. +// returns a *int32 when successful +func (m *Allotment) GetConsumedUnits()(*int32) { + val, err := m.GetBackingStore().Get("consumedUnits") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Allotment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["allottedUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetAllottedUnits(val) + } + return nil + } + res["assignableTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAssigneeTypes) + if err != nil { + return err + } + if val != nil { + m.SetAssignableTo(val.(*AssigneeTypes)) + } + return nil + } + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Assignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Assignmentable) + } + } + m.SetAssignments(res) + } + return nil + } + res["consumedUnits"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetConsumedUnits(val) + } + return nil + } + res["services"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateServiceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Serviceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Serviceable) + } + } + m.SetServices(res) + } + return nil + } + res["skuId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetUUIDValue() + if err != nil { + return err + } + if val != nil { + m.SetSkuId(val) + } + return nil + } + res["skuPartNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSkuPartNumber(val) + } + return nil + } + res["subscriptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSubscriptionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Subscriptionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Subscriptionable) + } + } + m.SetSubscriptions(res) + } + return nil + } + res["waitingMembers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWaitingMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WaitingMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WaitingMemberable) + } + } + m.SetWaitingMembers(res) + } + return nil + } + return res +} +// GetServices gets the services property value. The list of services that might be enabled or disabled for assignments from this allotment. Not nullable. Read-only. +// returns a []Serviceable when successful +func (m *Allotment) GetServices()([]Serviceable) { + val, err := m.GetBackingStore().Get("services") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Serviceable) + } + return nil +} +// GetSkuId gets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. +// returns a *UUID when successful +func (m *Allotment) GetSkuId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { + val, err := m.GetBackingStore().Get("skuId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + } + return nil +} +// GetSkuPartNumber gets the skuPartNumber property value. Unique SKU display name that is equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only. +// returns a *string when successful +func (m *Allotment) GetSkuPartNumber()(*string) { + val, err := m.GetBackingStore().Get("skuPartNumber") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubscriptions gets the subscriptions property value. Basic information about the subscriptions that supports this allotment. +// returns a []Subscriptionable when successful +func (m *Allotment) GetSubscriptions()([]Subscriptionable) { + val, err := m.GetBackingStore().Get("subscriptions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Subscriptionable) + } + return nil +} +// GetWaitingMembers gets the waitingMembers property value. List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. +// returns a []WaitingMemberable when successful +func (m *Allotment) GetWaitingMembers()([]WaitingMemberable) { + val, err := m.GetBackingStore().Get("waitingMembers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WaitingMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *Allotment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("allottedUnits", m.GetAllottedUnits()) + if err != nil { + return err + } + } + if m.GetAssignableTo() != nil { + cast := (*m.GetAssignableTo()).String() + err = writer.WriteStringValue("assignableTo", &cast) + if err != nil { + return err + } + } + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("consumedUnits", m.GetConsumedUnits()) + 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 + } + } + { + err = writer.WriteUUIDValue("skuId", m.GetSkuId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("skuPartNumber", m.GetSkuPartNumber()) + if err != nil { + return err + } + } + if m.GetSubscriptions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSubscriptions())) + for i, v := range m.GetSubscriptions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("subscriptions", cast) + if err != nil { + return err + } + } + if m.GetWaitingMembers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWaitingMembers())) + for i, v := range m.GetWaitingMembers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("waitingMembers", cast) + if err != nil { + return err + } + } + return nil +} +// SetAllottedUnits sets the allottedUnits property value. The number of licenses contained within the allotment. Not nullable. Read-only. +func (m *Allotment) SetAllottedUnits(value *int32)() { + err := m.GetBackingStore().Set("allottedUnits", value) + if err != nil { + panic(err) + } +} +// SetAssignableTo sets the assignableTo property value. The assignableTo property +func (m *Allotment) SetAssignableTo(value *AssigneeTypes)() { + err := m.GetBackingStore().Set("assignableTo", value) + if err != nil { + panic(err) + } +} +// SetAssignments sets the assignments property value. The list of license assignments that consume licenses from this allotment. Not nullable. +func (m *Allotment) SetAssignments(value []Assignmentable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} +// SetConsumedUnits sets the consumedUnits property value. The number of licenses that are currently consumed by assignments from this allotment. Not nullable. Read-only. +func (m *Allotment) SetConsumedUnits(value *int32)() { + err := m.GetBackingStore().Set("consumedUnits", value) + if err != nil { + panic(err) + } +} +// SetServices sets the services property value. The list of services that might be enabled or disabled for assignments from this allotment. Not nullable. Read-only. +func (m *Allotment) SetServices(value []Serviceable)() { + err := m.GetBackingStore().Set("services", value) + if err != nil { + panic(err) + } +} +// SetSkuId sets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. +func (m *Allotment) SetSkuId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { + err := m.GetBackingStore().Set("skuId", value) + if err != nil { + panic(err) + } +} +// SetSkuPartNumber sets the skuPartNumber property value. Unique SKU display name that is equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only. +func (m *Allotment) SetSkuPartNumber(value *string)() { + err := m.GetBackingStore().Set("skuPartNumber", value) + if err != nil { + panic(err) + } +} +// SetSubscriptions sets the subscriptions property value. Basic information about the subscriptions that supports this allotment. +func (m *Allotment) SetSubscriptions(value []Subscriptionable)() { + err := m.GetBackingStore().Set("subscriptions", value) + if err != nil { + panic(err) + } +} +// SetWaitingMembers sets the waitingMembers property value. List of over-assigned users who are in the waiting room for an allotment due to license capacity limits. +func (m *Allotment) SetWaitingMembers(value []WaitingMemberable)() { + err := m.GetBackingStore().Set("waitingMembers", value) + if err != nil { + panic(err) + } +} +type Allotmentable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllottedUnits()(*int32) + GetAssignableTo()(*AssigneeTypes) + GetAssignments()([]Assignmentable) + GetConsumedUnits()(*int32) + GetServices()([]Serviceable) + GetSkuId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetSkuPartNumber()(*string) + GetSubscriptions()([]Subscriptionable) + GetWaitingMembers()([]WaitingMemberable) + SetAllottedUnits(value *int32)() + SetAssignableTo(value *AssigneeTypes)() + SetAssignments(value []Assignmentable)() + SetConsumedUnits(value *int32)() + SetServices(value []Serviceable)() + SetSkuId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetSkuPartNumber(value *string)() + SetSubscriptions(value []Subscriptionable)() + SetWaitingMembers(value []WaitingMemberable)() +} diff --git a/models/cloudlicensing/allotment_collection_response.go b/models/cloudlicensing/allotment_collection_response.go new file mode 100644 index 00000000000..7e357263347 --- /dev/null +++ b/models/cloudlicensing/allotment_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AllotmentCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewAllotmentCollectionResponse instantiates a new AllotmentCollectionResponse and sets the default values. +func NewAllotmentCollectionResponse()(*AllotmentCollectionResponse) { + m := &AllotmentCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAllotmentCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllotmentCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllotmentCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AllotmentCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAllotmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Allotmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Allotmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Allotmentable when successful +func (m *AllotmentCollectionResponse) GetValue()([]Allotmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Allotmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *AllotmentCollectionResponse) 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 *AllotmentCollectionResponse) SetValue(value []Allotmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AllotmentCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Allotmentable) + SetValue(value []Allotmentable)() +} diff --git a/models/cloudlicensing/assignment.go b/models/cloudlicensing/assignment.go new file mode 100644 index 00000000000..8da1f63f67c --- /dev/null +++ b/models/cloudlicensing/assignment.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type Assignment struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewAssignment instantiates a new Assignment and sets the default values. +func NewAssignment()(*Assignment) { + m := &Assignment{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignment(), nil +} +// GetAllotment gets the allotment property value. The allotment from which licenses are assigned. Not nullable. +// returns a Allotmentable when successful +func (m *Assignment) GetAllotment()(Allotmentable) { + val, err := m.GetBackingStore().Get("allotment") + if err != nil { + panic(err) + } + if val != nil { + return val.(Allotmentable) + } + return nil +} +// GetAssignedTo gets the assignedTo property value. The assignedTo property +// returns a DirectoryObjectable when successful +func (m *Assignment) GetAssignedTo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) { + val, err := m.GetBackingStore().Get("assignedTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + } + return nil +} +// GetDisabledServicePlanIds gets the disabledServicePlanIds property value. The list of disabled service plans for this assignment. Not nullable. +// returns a []UUID when successful +func (m *Assignment) GetDisabledServicePlanIds()([]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { + val, err := m.GetBackingStore().Get("disabledServicePlanIds") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Assignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["allotment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAllotmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAllotment(val.(Allotmentable)) + } + return nil + } + res["assignedTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssignedTo(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)) + } + return nil + } + res["disabledServicePlanIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("uuid") + if err != nil { + return err + } + if val != nil { + res := make([]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)) + } + } + m.SetDisabledServicePlanIds(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *Assignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("allotment", m.GetAllotment()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("assignedTo", m.GetAssignedTo()) + if err != nil { + return err + } + } + if m.GetDisabledServicePlanIds() != nil { + err = writer.WriteCollectionOfUUIDValues("disabledServicePlanIds", m.GetDisabledServicePlanIds()) + if err != nil { + return err + } + } + return nil +} +// SetAllotment sets the allotment property value. The allotment from which licenses are assigned. Not nullable. +func (m *Assignment) SetAllotment(value Allotmentable)() { + err := m.GetBackingStore().Set("allotment", value) + if err != nil { + panic(err) + } +} +// SetAssignedTo sets the assignedTo property value. The assignedTo property +func (m *Assignment) SetAssignedTo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() { + err := m.GetBackingStore().Set("assignedTo", value) + if err != nil { + panic(err) + } +} +// SetDisabledServicePlanIds sets the disabledServicePlanIds property value. The list of disabled service plans for this assignment. Not nullable. +func (m *Assignment) SetDisabledServicePlanIds(value []i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { + err := m.GetBackingStore().Set("disabledServicePlanIds", value) + if err != nil { + panic(err) + } +} +type Assignmentable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllotment()(Allotmentable) + GetAssignedTo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + GetDisabledServicePlanIds()([]i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + SetAllotment(value Allotmentable)() + SetAssignedTo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() + SetDisabledServicePlanIds(value []i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() +} diff --git a/models/cloudlicensing/assignment_collection_response.go b/models/cloudlicensing/assignment_collection_response.go new file mode 100644 index 00000000000..51396f905fd --- /dev/null +++ b/models/cloudlicensing/assignment_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AssignmentCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewAssignmentCollectionResponse instantiates a new AssignmentCollectionResponse and sets the default values. +func NewAssignmentCollectionResponse()(*AssignmentCollectionResponse) { + m := &AssignmentCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAssignmentCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignmentCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignmentCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AssignmentCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Assignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Assignmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Assignmentable when successful +func (m *AssignmentCollectionResponse) GetValue()([]Assignmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Assignmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *AssignmentCollectionResponse) 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 *AssignmentCollectionResponse) SetValue(value []Assignmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AssignmentCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Assignmentable) + SetValue(value []Assignmentable)() +} diff --git a/models/cloudlicensing/assignment_error.go b/models/cloudlicensing/assignment_error.go new file mode 100644 index 00000000000..9fd1b7d00a8 --- /dev/null +++ b/models/cloudlicensing/assignment_error.go @@ -0,0 +1,267 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22 "github.com/google/uuid" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AssignmentError struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewAssignmentError instantiates a new AssignmentError and sets the default values. +func NewAssignmentError()(*AssignmentError) { + m := &AssignmentError{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateAssignmentErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignmentErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignmentError(), nil +} +// GetAssignedTo gets the assignedTo property value. The assignedTo property +// returns a DirectoryObjectable when successful +func (m *AssignmentError) GetAssignedTo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) { + val, err := m.GetBackingStore().Get("assignedTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + } + return nil +} +// GetCode gets the code property value. The error code associated with the assignment synchronization failure. +// returns a *string when successful +func (m *AssignmentError) GetCode()(*string) { + val, err := m.GetBackingStore().Get("code") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AssignmentError) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["assignedTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssignedTo(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)) + } + return nil + } + res["code"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCode(val) + } + return nil + } + res["message"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMessage(val) + } + return nil + } + res["occurrenceDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetOccurrenceDateTime(val) + } + return nil + } + res["skuId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetUUIDValue() + if err != nil { + return err + } + if val != nil { + m.SetSkuId(val) + } + return nil + } + res["usageRight"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateUsageRightFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUsageRight(val.(UsageRightable)) + } + return nil + } + return res +} +// GetMessage gets the message property value. The error message associated with the assignment synchronization failure. +// returns a *string when successful +func (m *AssignmentError) GetMessage()(*string) { + val, err := m.GetBackingStore().Get("message") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOccurrenceDateTime gets the occurrenceDateTime property value. The date and time at which the error most recently occurred. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *AssignmentError) GetOccurrenceDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("occurrenceDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSkuId gets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. +// returns a *UUID when successful +func (m *AssignmentError) GetSkuId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { + val, err := m.GetBackingStore().Get("skuId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + } + return nil +} +// GetUsageRight gets the usageRight property value. The affected usageRight, if one exists. Read-only. +// returns a UsageRightable when successful +func (m *AssignmentError) GetUsageRight()(UsageRightable) { + val, err := m.GetBackingStore().Get("usageRight") + if err != nil { + panic(err) + } + if val != nil { + return val.(UsageRightable) + } + return nil +} +// Serialize serializes information the current object +func (m *AssignmentError) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("assignedTo", m.GetAssignedTo()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("code", m.GetCode()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("message", m.GetMessage()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("occurrenceDateTime", m.GetOccurrenceDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteUUIDValue("skuId", m.GetSkuId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("usageRight", m.GetUsageRight()) + if err != nil { + return err + } + } + return nil +} +// SetAssignedTo sets the assignedTo property value. The assignedTo property +func (m *AssignmentError) SetAssignedTo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() { + err := m.GetBackingStore().Set("assignedTo", value) + if err != nil { + panic(err) + } +} +// SetCode sets the code property value. The error code associated with the assignment synchronization failure. +func (m *AssignmentError) SetCode(value *string)() { + err := m.GetBackingStore().Set("code", value) + if err != nil { + panic(err) + } +} +// SetMessage sets the message property value. The error message associated with the assignment synchronization failure. +func (m *AssignmentError) SetMessage(value *string)() { + err := m.GetBackingStore().Set("message", value) + if err != nil { + panic(err) + } +} +// SetOccurrenceDateTime sets the occurrenceDateTime property value. The date and time at which the error most recently occurred. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *AssignmentError) SetOccurrenceDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("occurrenceDateTime", value) + if err != nil { + panic(err) + } +} +// SetSkuId sets the skuId property value. Unique identifier (GUID) for the service SKU that is equal to the skuId property on the related subscribedSku object. Read-only. Supports $filter. +func (m *AssignmentError) SetSkuId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { + err := m.GetBackingStore().Set("skuId", value) + if err != nil { + panic(err) + } +} +// SetUsageRight sets the usageRight property value. The affected usageRight, if one exists. Read-only. +func (m *AssignmentError) SetUsageRight(value UsageRightable)() { + err := m.GetBackingStore().Set("usageRight", value) + if err != nil { + panic(err) + } +} +type AssignmentErrorable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignedTo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + GetCode()(*string) + GetMessage()(*string) + GetOccurrenceDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSkuId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + GetUsageRight()(UsageRightable) + SetAssignedTo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() + SetCode(value *string)() + SetMessage(value *string)() + SetOccurrenceDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSkuId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() + SetUsageRight(value UsageRightable)() +} diff --git a/models/cloudlicensing/assignment_error_collection_response.go b/models/cloudlicensing/assignment_error_collection_response.go new file mode 100644 index 00000000000..ed6328fafda --- /dev/null +++ b/models/cloudlicensing/assignment_error_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AssignmentErrorCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewAssignmentErrorCollectionResponse instantiates a new AssignmentErrorCollectionResponse and sets the default values. +func NewAssignmentErrorCollectionResponse()(*AssignmentErrorCollectionResponse) { + m := &AssignmentErrorCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAssignmentErrorCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignmentErrorCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignmentErrorCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AssignmentErrorCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AssignmentErrorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AssignmentErrorable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []AssignmentErrorable when successful +func (m *AssignmentErrorCollectionResponse) GetValue()([]AssignmentErrorable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AssignmentErrorable) + } + return nil +} +// Serialize serializes information the current object +func (m *AssignmentErrorCollectionResponse) 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 *AssignmentErrorCollectionResponse) SetValue(value []AssignmentErrorable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AssignmentErrorCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]AssignmentErrorable) + SetValue(value []AssignmentErrorable)() +} diff --git a/models/cloudlicensing/group_cloud_licensing.go b/models/cloudlicensing/group_cloud_licensing.go index fc77bb2ba82..3466a546e81 100644 --- a/models/cloudlicensing/group_cloud_licensing.go +++ b/models/cloudlicensing/group_cloud_licensing.go @@ -38,6 +38,18 @@ func (m *GroupCloudLicensing) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } +// GetAssignments gets the assignments property value. The assignments property +// returns a []Assignmentable when successful +func (m *GroupCloudLicensing) GetAssignments()([]Assignmentable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Assignmentable) + } + return nil +} // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful func (m *GroupCloudLicensing) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { @@ -47,6 +59,22 @@ func (m *GroupCloudLicensing) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *GroupCloudLicensing) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Assignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Assignmentable) + } + } + m.SetAssignments(res) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -101,6 +129,18 @@ func (m *GroupCloudLicensing) GetUsageRights()([]UsageRightable) { } // Serialize serializes information the current object func (m *GroupCloudLicensing) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { @@ -134,6 +174,13 @@ func (m *GroupCloudLicensing) SetAdditionalData(value map[string]any)() { panic(err) } } +// SetAssignments sets the assignments property value. The assignments property +func (m *GroupCloudLicensing) SetAssignments(value []Assignmentable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} // SetBackingStore sets the BackingStore property value. Stores model information. func (m *GroupCloudLicensing) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value @@ -156,9 +203,11 @@ type GroupCloudLicensingable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignments()([]Assignmentable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetOdataType()(*string) GetUsageRights()([]UsageRightable) + SetAssignments(value []Assignmentable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetOdataType(value *string)() SetUsageRights(value []UsageRightable)() diff --git a/models/cloudlicensing/subscription.go b/models/cloudlicensing/subscription.go new file mode 100644 index 00000000000..1a07f43f578 --- /dev/null +++ b/models/cloudlicensing/subscription.go @@ -0,0 +1,303 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type Subscription struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSubscription instantiates a new Subscription and sets the default values. +func NewSubscription()(*Subscription) { + m := &Subscription{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSubscriptionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSubscriptionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSubscription(), 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. +// returns a map[string]any when successful +func (m *Subscription) 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. +// returns a BackingStore when successful +func (m *Subscription) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Subscription) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["nextLifecycleDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetDateOnlyValue() + if err != nil { + return err + } + if val != nil { + m.SetNextLifecycleDate(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["startDate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetDateOnlyValue() + if err != nil { + return err + } + if val != nil { + m.SetStartDate(val) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSubscriptionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*SubscriptionState)) + } + return nil + } + res["subscriptionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubscriptionId(val) + } + return nil + } + res["tags"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSubscriptionTags) + if err != nil { + return err + } + if val != nil { + m.SetTags(val.(*SubscriptionTags)) + } + return nil + } + return res +} +// GetNextLifecycleDate gets the nextLifecycleDate property value. The date on which the current state transitions to the next state. +// returns a *DateOnly when successful +func (m *Subscription) GetNextLifecycleDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) { + val, err := m.GetBackingStore().Get("nextLifecycleDate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *Subscription) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStartDate gets the startDate property value. The date when the subscription started. +// returns a *DateOnly when successful +func (m *Subscription) GetStartDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) { + val, err := m.GetBackingStore().Get("startDate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *SubscriptionState when successful +func (m *Subscription) GetState()(*SubscriptionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SubscriptionState) + } + return nil +} +// GetSubscriptionId gets the subscriptionId property value. Identifier for the subscription object. +// returns a *string when successful +func (m *Subscription) GetSubscriptionId()(*string) { + val, err := m.GetBackingStore().Get("subscriptionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTags gets the tags property value. The tags property +// returns a *SubscriptionTags when successful +func (m *Subscription) GetTags()(*SubscriptionTags) { + val, err := m.GetBackingStore().Get("tags") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SubscriptionTags) + } + return nil +} +// Serialize serializes information the current object +func (m *Subscription) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteDateOnlyValue("nextLifecycleDate", m.GetNextLifecycleDate()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteDateOnlyValue("startDate", m.GetStartDate()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("subscriptionId", m.GetSubscriptionId()) + if err != nil { + return err + } + } + if m.GetTags() != nil { + cast := (*m.GetTags()).String() + err := writer.WriteStringValue("tags", &cast) + 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 *Subscription) 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 *Subscription) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetNextLifecycleDate sets the nextLifecycleDate property value. The date on which the current state transitions to the next state. +func (m *Subscription) SetNextLifecycleDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() { + err := m.GetBackingStore().Set("nextLifecycleDate", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *Subscription) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetStartDate sets the startDate property value. The date when the subscription started. +func (m *Subscription) SetStartDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() { + err := m.GetBackingStore().Set("startDate", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *Subscription) SetState(value *SubscriptionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +// SetSubscriptionId sets the subscriptionId property value. Identifier for the subscription object. +func (m *Subscription) SetSubscriptionId(value *string)() { + err := m.GetBackingStore().Set("subscriptionId", value) + if err != nil { + panic(err) + } +} +// SetTags sets the tags property value. The tags property +func (m *Subscription) SetTags(value *SubscriptionTags)() { + err := m.GetBackingStore().Set("tags", value) + if err != nil { + panic(err) + } +} +type Subscriptionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetNextLifecycleDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + GetOdataType()(*string) + GetStartDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) + GetState()(*SubscriptionState) + GetSubscriptionId()(*string) + GetTags()(*SubscriptionTags) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetNextLifecycleDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() + SetOdataType(value *string)() + SetStartDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() + SetState(value *SubscriptionState)() + SetSubscriptionId(value *string)() + SetTags(value *SubscriptionTags)() +} diff --git a/models/cloudlicensing/subscription_state.go b/models/cloudlicensing/subscription_state.go new file mode 100644 index 00000000000..e7ab8a6ed87 --- /dev/null +++ b/models/cloudlicensing/subscription_state.go @@ -0,0 +1,48 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing +type SubscriptionState int + +const ( + ACTIVE_SUBSCRIPTIONSTATE SubscriptionState = iota + WARNING_SUBSCRIPTIONSTATE + SUSPENDED_SUBSCRIPTIONSTATE + LOCKEDOUT_SUBSCRIPTIONSTATE + DELETED_SUBSCRIPTIONSTATE + UNKNOWNFUTUREVALUE_SUBSCRIPTIONSTATE +) + +func (i SubscriptionState) String() string { + return []string{"active", "warning", "suspended", "lockedOut", "deleted", "unknownFutureValue"}[i] +} +func ParseSubscriptionState(v string) (any, error) { + result := ACTIVE_SUBSCRIPTIONSTATE + switch v { + case "active": + result = ACTIVE_SUBSCRIPTIONSTATE + case "warning": + result = WARNING_SUBSCRIPTIONSTATE + case "suspended": + result = SUSPENDED_SUBSCRIPTIONSTATE + case "lockedOut": + result = LOCKEDOUT_SUBSCRIPTIONSTATE + case "deleted": + result = DELETED_SUBSCRIPTIONSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SUBSCRIPTIONSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeSubscriptionState(values []SubscriptionState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SubscriptionState) isMultiValue() bool { + return false +} diff --git a/models/cloudlicensing/subscription_tags.go b/models/cloudlicensing/subscription_tags.go new file mode 100644 index 00000000000..b3fd682f5f9 --- /dev/null +++ b/models/cloudlicensing/subscription_tags.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing +import ( + "math" + "strings" +) +type SubscriptionTags int + +const ( + NONE_SUBSCRIPTIONTAGS = 1 + TRIAL_SUBSCRIPTIONTAGS = 2 + UNKNOWNFUTUREVALUE_SUBSCRIPTIONTAGS = 4 +) + +func (i SubscriptionTags) String() string { + var values []string + options := []string{"none", "trial", "unknownFutureValue"} + for p := 0; p < 3; p++ { + mantis := SubscriptionTags(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseSubscriptionTags(v string) (any, error) { + var result SubscriptionTags + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "none": + result |= NONE_SUBSCRIPTIONTAGS + case "trial": + result |= TRIAL_SUBSCRIPTIONTAGS + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_SUBSCRIPTIONTAGS + default: + return nil, nil + } + } + return &result, nil +} +func SerializeSubscriptionTags(values []SubscriptionTags) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SubscriptionTags) isMultiValue() bool { + return true +} diff --git a/models/cloudlicensing/usage_right.go b/models/cloudlicensing/usage_right.go index a01ef6020b6..2c9bce6531d 100644 --- a/models/cloudlicensing/usage_right.go +++ b/models/cloudlicensing/usage_right.go @@ -24,10 +24,66 @@ func NewUsageRight()(*UsageRight) { func CreateUsageRightFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewUsageRight(), nil } +// GetAllotments gets the allotments property value. The set of allotments associated with the assignments that combine to form this usageRight. +// returns a []Allotmentable when successful +func (m *UsageRight) GetAllotments()([]Allotmentable) { + val, err := m.GetBackingStore().Get("allotments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Allotmentable) + } + return nil +} +// GetAssignments gets the assignments property value. The set of assignments that combine to form this usageRight, including both direct assignments and assignments inherited through group membership. +// returns a []Assignmentable when successful +func (m *UsageRight) GetAssignments()([]Assignmentable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Assignmentable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *UsageRight) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["allotments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAllotmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Allotmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Allotmentable) + } + } + m.SetAllotments(res) + } + return nil + } + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Assignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Assignmentable) + } + } + m.SetAssignments(res) + } + return nil + } res["services"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateServiceFromDiscriminatorValue) if err != nil { @@ -108,6 +164,30 @@ func (m *UsageRight) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c if err != nil { return err } + if m.GetAllotments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAllotments())) + for i, v := range m.GetAllotments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("allotments", cast) + if err != nil { + return err + } + } + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } if m.GetServices() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetServices())) for i, v := range m.GetServices() { @@ -134,6 +214,20 @@ func (m *UsageRight) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c } return nil } +// SetAllotments sets the allotments property value. The set of allotments associated with the assignments that combine to form this usageRight. +func (m *UsageRight) SetAllotments(value []Allotmentable)() { + err := m.GetBackingStore().Set("allotments", value) + if err != nil { + panic(err) + } +} +// SetAssignments sets the assignments property value. The set of assignments that combine to form this usageRight, including both direct assignments and assignments inherited through group membership. +func (m *UsageRight) SetAssignments(value []Assignmentable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} // SetServices sets the services property value. Information about the services associated with the usageRight. Not nullable. Read-only. Supports $filter on the planId property. func (m *UsageRight) SetServices(value []Serviceable)() { err := m.GetBackingStore().Set("services", value) @@ -158,9 +252,13 @@ func (m *UsageRight) SetSkuPartNumber(value *string)() { type UsageRightable interface { ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllotments()([]Allotmentable) + GetAssignments()([]Assignmentable) GetServices()([]Serviceable) GetSkuId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) GetSkuPartNumber()(*string) + SetAllotments(value []Allotmentable)() + SetAssignments(value []Assignmentable)() SetServices(value []Serviceable)() SetSkuId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() SetSkuPartNumber(value *string)() diff --git a/models/cloudlicensing/user_cloud_licensing.go b/models/cloudlicensing/user_cloud_licensing.go index 71cbdd959a1..bb3afe30ded 100644 --- a/models/cloudlicensing/user_cloud_licensing.go +++ b/models/cloudlicensing/user_cloud_licensing.go @@ -38,6 +38,30 @@ func (m *UserCloudLicensing) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } +// GetAssignmentErrors gets the assignmentErrors property value. The assignmentErrors property +// returns a []AssignmentErrorable when successful +func (m *UserCloudLicensing) GetAssignmentErrors()([]AssignmentErrorable) { + val, err := m.GetBackingStore().Get("assignmentErrors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AssignmentErrorable) + } + return nil +} +// GetAssignments gets the assignments property value. The assignments property +// returns a []Assignmentable when successful +func (m *UserCloudLicensing) GetAssignments()([]Assignmentable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Assignmentable) + } + return nil +} // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful func (m *UserCloudLicensing) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { @@ -47,6 +71,38 @@ func (m *UserCloudLicensing) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d4 // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *UserCloudLicensing) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["assignmentErrors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AssignmentErrorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AssignmentErrorable) + } + } + m.SetAssignmentErrors(res) + } + return nil + } + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Assignmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Assignmentable) + } + } + m.SetAssignments(res) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -73,6 +129,22 @@ func (m *UserCloudLicensing) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } + res["waitingMembers"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWaitingMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WaitingMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WaitingMemberable) + } + } + m.SetWaitingMembers(res) + } + return nil + } return res } // GetOdataType gets the @odata.type property value. The OdataType property @@ -99,8 +171,44 @@ func (m *UserCloudLicensing) GetUsageRights()([]UsageRightable) { } return nil } +// GetWaitingMembers gets the waitingMembers property value. The waitingMembers property +// returns a []WaitingMemberable when successful +func (m *UserCloudLicensing) GetWaitingMembers()([]WaitingMemberable) { + val, err := m.GetBackingStore().Get("waitingMembers") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WaitingMemberable) + } + return nil +} // Serialize serializes information the current object func (m *UserCloudLicensing) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAssignmentErrors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignmentErrors())) + for i, v := range m.GetAssignmentErrors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("assignmentErrors", cast) + if err != nil { + return err + } + } + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { @@ -119,6 +227,18 @@ func (m *UserCloudLicensing) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } + if m.GetWaitingMembers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWaitingMembers())) + for i, v := range m.GetWaitingMembers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("waitingMembers", cast) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -134,6 +254,20 @@ func (m *UserCloudLicensing) SetAdditionalData(value map[string]any)() { panic(err) } } +// SetAssignmentErrors sets the assignmentErrors property value. The assignmentErrors property +func (m *UserCloudLicensing) SetAssignmentErrors(value []AssignmentErrorable)() { + err := m.GetBackingStore().Set("assignmentErrors", value) + if err != nil { + panic(err) + } +} +// SetAssignments sets the assignments property value. The assignments property +func (m *UserCloudLicensing) SetAssignments(value []Assignmentable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} // SetBackingStore sets the BackingStore property value. Stores model information. func (m *UserCloudLicensing) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value @@ -152,14 +286,27 @@ func (m *UserCloudLicensing) SetUsageRights(value []UsageRightable)() { panic(err) } } +// SetWaitingMembers sets the waitingMembers property value. The waitingMembers property +func (m *UserCloudLicensing) SetWaitingMembers(value []WaitingMemberable)() { + err := m.GetBackingStore().Set("waitingMembers", value) + if err != nil { + panic(err) + } +} type UserCloudLicensingable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignmentErrors()([]AssignmentErrorable) + GetAssignments()([]Assignmentable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetOdataType()(*string) GetUsageRights()([]UsageRightable) + GetWaitingMembers()([]WaitingMemberable) + SetAssignmentErrors(value []AssignmentErrorable)() + SetAssignments(value []Assignmentable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetOdataType(value *string)() SetUsageRights(value []UsageRightable)() + SetWaitingMembers(value []WaitingMemberable)() } diff --git a/models/cloudlicensing/waiting_member.go b/models/cloudlicensing/waiting_member.go new file mode 100644 index 00000000000..53550f8fd83 --- /dev/null +++ b/models/cloudlicensing/waiting_member.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type WaitingMember struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewWaitingMember instantiates a new WaitingMember and sets the default values. +func NewWaitingMember()(*WaitingMember) { + m := &WaitingMember{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateWaitingMemberFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWaitingMemberFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWaitingMember(), nil +} +// GetAllotment gets the allotment property value. The allotment property +// returns a Allotmentable when successful +func (m *WaitingMember) GetAllotment()(Allotmentable) { + val, err := m.GetBackingStore().Get("allotment") + if err != nil { + panic(err) + } + if val != nil { + return val.(Allotmentable) + } + return nil +} +// GetAssignedTo gets the assignedTo property value. The assignedTo property +// returns a DirectoryObjectable when successful +func (m *WaitingMember) GetAssignedTo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) { + val, err := m.GetBackingStore().Get("assignedTo") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WaitingMember) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["allotment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAllotmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAllotment(val.(Allotmentable)) + } + return nil + } + res["assignedTo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAssignedTo(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)) + } + return nil + } + res["waitingSinceDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetWaitingSinceDateTime(val) + } + return nil + } + return res +} +// GetWaitingSinceDateTime gets the waitingSinceDateTime property value. Indicates the moment when the user or device first waited for this license. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *WaitingMember) GetWaitingSinceDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("waitingSinceDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *WaitingMember) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("allotment", m.GetAllotment()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("assignedTo", m.GetAssignedTo()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("waitingSinceDateTime", m.GetWaitingSinceDateTime()) + if err != nil { + return err + } + } + return nil +} +// SetAllotment sets the allotment property value. The allotment property +func (m *WaitingMember) SetAllotment(value Allotmentable)() { + err := m.GetBackingStore().Set("allotment", value) + if err != nil { + panic(err) + } +} +// SetAssignedTo sets the assignedTo property value. The assignedTo property +func (m *WaitingMember) SetAssignedTo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() { + err := m.GetBackingStore().Set("assignedTo", value) + if err != nil { + panic(err) + } +} +// SetWaitingSinceDateTime sets the waitingSinceDateTime property value. Indicates the moment when the user or device first waited for this license. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *WaitingMember) SetWaitingSinceDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("waitingSinceDateTime", value) + if err != nil { + panic(err) + } +} +type WaitingMemberable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllotment()(Allotmentable) + GetAssignedTo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + GetWaitingSinceDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetAllotment(value Allotmentable)() + SetAssignedTo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() + SetWaitingSinceDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/cloudlicensing/waiting_member_collection_response.go b/models/cloudlicensing/waiting_member_collection_response.go new file mode 100644 index 00000000000..10cb3de4879 --- /dev/null +++ b/models/cloudlicensing/waiting_member_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package cloudlicensing + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type WaitingMemberCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewWaitingMemberCollectionResponse instantiates a new WaitingMemberCollectionResponse and sets the default values. +func NewWaitingMemberCollectionResponse()(*WaitingMemberCollectionResponse) { + m := &WaitingMemberCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWaitingMemberCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWaitingMemberCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWaitingMemberCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WaitingMemberCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWaitingMemberFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WaitingMemberable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WaitingMemberable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WaitingMemberable when successful +func (m *WaitingMemberCollectionResponse) GetValue()([]WaitingMemberable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WaitingMemberable) + } + return nil +} +// Serialize serializes information the current object +func (m *WaitingMemberCollectionResponse) 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 *WaitingMemberCollectionResponse) SetValue(value []WaitingMemberable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WaitingMemberCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WaitingMemberable) + SetValue(value []WaitingMemberable)() +} diff --git a/models/conditional_access_grant_controls.go b/models/conditional_access_grant_controls.go index 66e23f9f527..07d8927a25f 100644 --- a/models/conditional_access_grant_controls.go +++ b/models/conditional_access_grant_controls.go @@ -55,7 +55,7 @@ func (m *ConditionalAccessGrantControls) GetAuthenticationStrength()(Authenticat func (m *ConditionalAccessGrantControls) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetBuiltInControls gets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. +// GetBuiltInControls gets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue, riskRemediation. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: riskRemediation. // returns a []ConditionalAccessGrantControl when successful func (m *ConditionalAccessGrantControls) GetBuiltInControls()([]ConditionalAccessGrantControl) { val, err := m.GetBackingStore().Get("builtInControls") @@ -67,7 +67,7 @@ func (m *ConditionalAccessGrantControls) GetBuiltInControls()([]ConditionalAcces } return nil } -// GetCustomAuthenticationFactors gets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). +// GetCustomAuthenticationFactors gets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. For more information, see Custom controls. // returns a []string when successful func (m *ConditionalAccessGrantControls) GetCustomAuthenticationFactors()([]string) { val, err := m.GetBackingStore().Get("customAuthenticationFactors") @@ -263,14 +263,14 @@ func (m *ConditionalAccessGrantControls) SetAuthenticationStrength(value Authent func (m *ConditionalAccessGrantControls) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetBuiltInControls sets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue. +// SetBuiltInControls sets the builtInControls property value. List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, domainJoinedDevice, approvedApplication, compliantApplication, passwordChange, unknownFutureValue, riskRemediation. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: riskRemediation. func (m *ConditionalAccessGrantControls) SetBuiltInControls(value []ConditionalAccessGrantControl)() { err := m.GetBackingStore().Set("builtInControls", value) if err != nil { panic(err) } } -// SetCustomAuthenticationFactors sets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. To learn more about custom control, see Custom controls (preview). +// SetCustomAuthenticationFactors sets the customAuthenticationFactors property value. List of custom controls IDs required by the policy. For more information, see Custom controls. func (m *ConditionalAccessGrantControls) SetCustomAuthenticationFactors(value []string)() { err := m.GetBackingStore().Set("customAuthenticationFactors", value) if err != nil { diff --git a/models/configuration_application.go b/models/configuration_application.go deleted file mode 100644 index 32b7f18373f..00000000000 --- a/models/configuration_application.go +++ /dev/null @@ -1,395 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package models - -import ( - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -type ConfigurationApplication struct { - Entity -} -// NewConfigurationApplication instantiates a new ConfigurationApplication and sets the default values. -func NewConfigurationApplication()(*ConfigurationApplication) { - m := &ConfigurationApplication{ - Entity: *NewEntity(), - } - return m -} -// CreateConfigurationApplicationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateConfigurationApplicationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewConfigurationApplication(), nil -} -// GetAppId gets the appId property value. The appId property -// returns a *string when successful -func (m *ConfigurationApplication) GetAppId()(*string) { - val, err := m.GetBackingStore().Get("appId") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetAppOwnerOrganizationId gets the appOwnerOrganizationId property value. The appOwnerOrganizationId property -// returns a *string when successful -func (m *ConfigurationApplication) GetAppOwnerOrganizationId()(*string) { - val, err := m.GetBackingStore().Get("appOwnerOrganizationId") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetClientCredentials gets the clientCredentials property value. The clientCredentials property -// returns a ClientCredentialsable when successful -func (m *ConfigurationApplication) GetClientCredentials()(ClientCredentialsable) { - val, err := m.GetBackingStore().Get("clientCredentials") - if err != nil { - panic(err) - } - if val != nil { - return val.(ClientCredentialsable) - } - return nil -} -// GetCreatedBy gets the createdBy property value. The createdBy property -// returns a IdentitySetable when successful -func (m *ConfigurationApplication) GetCreatedBy()(IdentitySetable) { - val, err := m.GetBackingStore().Get("createdBy") - if err != nil { - panic(err) - } - if val != nil { - return val.(IdentitySetable) - } - return nil -} -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property -// returns a *Time when successful -func (m *ConfigurationApplication) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("createdDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} -// GetDescription gets the description property value. The description property -// returns a *string when successful -func (m *ConfigurationApplication) GetDescription()(*string) { - val, err := m.GetBackingStore().Get("description") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetDisplayName gets the displayName property value. The displayName property -// returns a *string when successful -func (m *ConfigurationApplication) GetDisplayName()(*string) { - val, err := m.GetBackingStore().Get("displayName") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ConfigurationApplication) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.Entity.GetFieldDeserializers() - res["appId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetAppId(val) - } - return nil - } - res["appOwnerOrganizationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetAppOwnerOrganizationId(val) - } - return nil - } - res["clientCredentials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateClientCredentialsFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetClientCredentials(val.(ClientCredentialsable)) - } - return nil - } - res["createdBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetCreatedBy(val.(IdentitySetable)) - } - return nil - } - res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetCreatedDateTime(val) - } - return nil - } - res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetDescription(val) - } - return nil - } - res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetDisplayName(val) - } - return nil - } - res["lastModifiedBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetLastModifiedBy(val.(IdentitySetable)) - } - return nil - } - res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetTimeValue() - if err != nil { - return err - } - if val != nil { - m.SetLastModifiedDateTime(val) - } - return nil - } - res["tenantId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetTenantId(val) - } - return nil - } - return res -} -// GetLastModifiedBy gets the lastModifiedBy property value. The lastModifiedBy property -// returns a IdentitySetable when successful -func (m *ConfigurationApplication) GetLastModifiedBy()(IdentitySetable) { - val, err := m.GetBackingStore().Get("lastModifiedBy") - if err != nil { - panic(err) - } - if val != nil { - return val.(IdentitySetable) - } - return nil -} -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property -// returns a *Time when successful -func (m *ConfigurationApplication) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { - val, err := m.GetBackingStore().Get("lastModifiedDateTime") - if err != nil { - panic(err) - } - if val != nil { - return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - } - return nil -} -// GetTenantId gets the tenantId property value. The tenantId property -// returns a *string when successful -func (m *ConfigurationApplication) GetTenantId()(*string) { - val, err := m.GetBackingStore().Get("tenantId") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// Serialize serializes information the current object -func (m *ConfigurationApplication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.Entity.Serialize(writer) - if err != nil { - return err - } - { - err = writer.WriteStringValue("appId", m.GetAppId()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("appOwnerOrganizationId", m.GetAppOwnerOrganizationId()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("clientCredentials", m.GetClientCredentials()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("createdBy", m.GetCreatedBy()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("description", m.GetDescription()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("displayName", m.GetDisplayName()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("lastModifiedBy", m.GetLastModifiedBy()) - if err != nil { - return err - } - } - return nil -} -// SetAppId sets the appId property value. The appId property -func (m *ConfigurationApplication) SetAppId(value *string)() { - err := m.GetBackingStore().Set("appId", value) - if err != nil { - panic(err) - } -} -// SetAppOwnerOrganizationId sets the appOwnerOrganizationId property value. The appOwnerOrganizationId property -func (m *ConfigurationApplication) SetAppOwnerOrganizationId(value *string)() { - err := m.GetBackingStore().Set("appOwnerOrganizationId", value) - if err != nil { - panic(err) - } -} -// SetClientCredentials sets the clientCredentials property value. The clientCredentials property -func (m *ConfigurationApplication) SetClientCredentials(value ClientCredentialsable)() { - err := m.GetBackingStore().Set("clientCredentials", value) - if err != nil { - panic(err) - } -} -// SetCreatedBy sets the createdBy property value. The createdBy property -func (m *ConfigurationApplication) SetCreatedBy(value IdentitySetable)() { - err := m.GetBackingStore().Set("createdBy", value) - if err != nil { - panic(err) - } -} -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property -func (m *ConfigurationApplication) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("createdDateTime", value) - if err != nil { - panic(err) - } -} -// SetDescription sets the description property value. The description property -func (m *ConfigurationApplication) SetDescription(value *string)() { - err := m.GetBackingStore().Set("description", value) - if err != nil { - panic(err) - } -} -// SetDisplayName sets the displayName property value. The displayName property -func (m *ConfigurationApplication) SetDisplayName(value *string)() { - err := m.GetBackingStore().Set("displayName", value) - if err != nil { - panic(err) - } -} -// SetLastModifiedBy sets the lastModifiedBy property value. The lastModifiedBy property -func (m *ConfigurationApplication) SetLastModifiedBy(value IdentitySetable)() { - err := m.GetBackingStore().Set("lastModifiedBy", value) - if err != nil { - panic(err) - } -} -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property -func (m *ConfigurationApplication) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { - err := m.GetBackingStore().Set("lastModifiedDateTime", value) - if err != nil { - panic(err) - } -} -// SetTenantId sets the tenantId property value. The tenantId property -func (m *ConfigurationApplication) SetTenantId(value *string)() { - err := m.GetBackingStore().Set("tenantId", value) - if err != nil { - panic(err) - } -} -type ConfigurationApplicationable interface { - Entityable - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAppId()(*string) - GetAppOwnerOrganizationId()(*string) - GetClientCredentials()(ClientCredentialsable) - GetCreatedBy()(IdentitySetable) - GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetDescription()(*string) - GetDisplayName()(*string) - GetLastModifiedBy()(IdentitySetable) - GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) - GetTenantId()(*string) - SetAppId(value *string)() - SetAppOwnerOrganizationId(value *string)() - SetClientCredentials(value ClientCredentialsable)() - SetCreatedBy(value IdentitySetable)() - SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetDescription(value *string)() - SetDisplayName(value *string)() - SetLastModifiedBy(value IdentitySetable)() - SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() - SetTenantId(value *string)() -} diff --git a/models/configuration_baseline.go b/models/configuration_baseline.go index 3bf7e06e0a1..4a87cd581b2 100644 --- a/models/configuration_baseline.go +++ b/models/configuration_baseline.go @@ -22,7 +22,7 @@ func NewConfigurationBaseline()(*ConfigurationBaseline) { func CreateConfigurationBaselineFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewConfigurationBaseline(), nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. User-friendly description of the baseline given by the user. // returns a *string when successful func (m *ConfigurationBaseline) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -34,7 +34,7 @@ func (m *ConfigurationBaseline) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. User-friendly name given by the user to the baseline. // returns a *string when successful func (m *ConfigurationBaseline) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -104,7 +104,7 @@ func (m *ConfigurationBaseline) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetParameters gets the parameters property value. The parameters property +// GetParameters gets the parameters property value. Collection of parameters attached to the baseline. // returns a []BaselineParameterable when successful func (m *ConfigurationBaseline) GetParameters()([]BaselineParameterable) { val, err := m.GetBackingStore().Get("parameters") @@ -116,7 +116,7 @@ func (m *ConfigurationBaseline) GetParameters()([]BaselineParameterable) { } return nil } -// GetResources gets the resources property value. The resources property +// GetResources gets the resources property value. Collection of resources and their properties that are added to the baseline. At least one property of one resource must be present in the baseline. // returns a []BaselineResourceable when successful func (m *ConfigurationBaseline) GetResources()([]BaselineResourceable) { val, err := m.GetBackingStore().Get("resources") @@ -172,28 +172,28 @@ func (m *ConfigurationBaseline) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. User-friendly description of the baseline given by the user. func (m *ConfigurationBaseline) 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. User-friendly name given by the user to the baseline. func (m *ConfigurationBaseline) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetParameters sets the parameters property value. The parameters property +// SetParameters sets the parameters property value. Collection of parameters attached to the baseline. func (m *ConfigurationBaseline) SetParameters(value []BaselineParameterable)() { err := m.GetBackingStore().Set("parameters", value) if err != nil { panic(err) } } -// SetResources sets the resources property value. The resources property +// SetResources sets the resources property value. Collection of resources and their properties that are added to the baseline. At least one property of one resource must be present in the baseline. func (m *ConfigurationBaseline) SetResources(value []BaselineResourceable)() { err := m.GetBackingStore().Set("resources", value) if err != nil { diff --git a/models/configuration_drift.go b/models/configuration_drift.go index 70d3ced0f52..a005db9adf1 100644 --- a/models/configuration_drift.go +++ b/models/configuration_drift.go @@ -23,7 +23,7 @@ func NewConfigurationDrift()(*ConfigurationDrift) { func CreateConfigurationDriftFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewConfigurationDrift(), nil } -// GetBaselineResourceDisplayName gets the baselineResourceDisplayName property value. The baselineResourceDisplayName property +// GetBaselineResourceDisplayName gets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. // returns a *string when successful func (m *ConfigurationDrift) GetBaselineResourceDisplayName()(*string) { val, err := m.GetBackingStore().Get("baselineResourceDisplayName") @@ -35,7 +35,7 @@ func (m *ConfigurationDrift) GetBaselineResourceDisplayName()(*string) { } return nil } -// GetDriftedProperties gets the driftedProperties property value. The driftedProperties property +// GetDriftedProperties gets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. // returns a []DriftedPropertyable when successful func (m *ConfigurationDrift) GetDriftedProperties()([]DriftedPropertyable) { val, err := m.GetBackingStore().Get("driftedProperties") @@ -139,7 +139,7 @@ func (m *ConfigurationDrift) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetFirstReportedDateTime gets the firstReportedDateTime property value. The firstReportedDateTime property +// GetFirstReportedDateTime gets the firstReportedDateTime property value. The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ConfigurationDrift) GetFirstReportedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("firstReportedDateTime") @@ -151,7 +151,7 @@ func (m *ConfigurationDrift) GetFirstReportedDateTime()(*i336074805fc853987abe6f } return nil } -// GetMonitorId gets the monitorId property value. The monitorId property +// GetMonitorId gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. // returns a *string when successful func (m *ConfigurationDrift) GetMonitorId()(*string) { val, err := m.GetBackingStore().Get("monitorId") @@ -175,7 +175,7 @@ func (m *ConfigurationDrift) GetResourceInstanceIdentifier()(OpenComplexDictiona } return nil } -// GetResourceType gets the resourceType property value. The resourceType property +// GetResourceType gets the resourceType property value. Resource for which the drift is detected. // returns a *string when successful func (m *ConfigurationDrift) GetResourceType()(*string) { val, err := m.GetBackingStore().Get("resourceType") @@ -199,7 +199,7 @@ func (m *ConfigurationDrift) GetStatus()(*DriftStatus) { } return nil } -// GetTenantId gets the tenantId property value. The tenantId property +// GetTenantId gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. // returns a *string when successful func (m *ConfigurationDrift) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -232,28 +232,28 @@ func (m *ConfigurationDrift) Serialize(writer i878a80d2330e89d26896388a3f487eef2 } return nil } -// SetBaselineResourceDisplayName sets the baselineResourceDisplayName property value. The baselineResourceDisplayName property +// SetBaselineResourceDisplayName sets the baselineResourceDisplayName property value. Resource instance for which the drift is detected. func (m *ConfigurationDrift) SetBaselineResourceDisplayName(value *string)() { err := m.GetBackingStore().Set("baselineResourceDisplayName", value) if err != nil { panic(err) } } -// SetDriftedProperties sets the driftedProperties property value. The driftedProperties property +// SetDriftedProperties sets the driftedProperties property value. Properties within one or more resource instances in which drift is detected. func (m *ConfigurationDrift) SetDriftedProperties(value []DriftedPropertyable)() { err := m.GetBackingStore().Set("driftedProperties", value) if err != nil { panic(err) } } -// SetFirstReportedDateTime sets the firstReportedDateTime property value. The firstReportedDateTime property +// SetFirstReportedDateTime sets the firstReportedDateTime property value. The date and time at which drift is first detected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ConfigurationDrift) SetFirstReportedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("firstReportedDateTime", value) if err != nil { panic(err) } } -// SetMonitorId sets the monitorId property value. The monitorId property +// SetMonitorId sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. func (m *ConfigurationDrift) SetMonitorId(value *string)() { err := m.GetBackingStore().Set("monitorId", value) if err != nil { @@ -267,7 +267,7 @@ func (m *ConfigurationDrift) SetResourceInstanceIdentifier(value OpenComplexDict panic(err) } } -// SetResourceType sets the resourceType property value. The resourceType property +// SetResourceType sets the resourceType property value. Resource for which the drift is detected. func (m *ConfigurationDrift) SetResourceType(value *string)() { err := m.GetBackingStore().Set("resourceType", value) if err != nil { @@ -281,7 +281,7 @@ func (m *ConfigurationDrift) SetStatus(value *DriftStatus)() { panic(err) } } -// SetTenantId sets the tenantId property value. The tenantId property +// SetTenantId sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. func (m *ConfigurationDrift) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { diff --git a/models/configuration_management.go b/models/configuration_management.go index 0f26c2085fe..3e92bc94cf3 100644 --- a/models/configuration_management.go +++ b/models/configuration_management.go @@ -22,19 +22,7 @@ func NewConfigurationManagement()(*ConfigurationManagement) { func CreateConfigurationManagementFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewConfigurationManagement(), nil } -// GetConfigurationApplications gets the configurationApplications property value. The configurationApplications property -// returns a []ConfigurationApplicationable when successful -func (m *ConfigurationManagement) GetConfigurationApplications()([]ConfigurationApplicationable) { - val, err := m.GetBackingStore().Get("configurationApplications") - if err != nil { - panic(err) - } - if val != nil { - return val.([]ConfigurationApplicationable) - } - return nil -} -// GetConfigurationDrifts gets the configurationDrifts property value. The configurationDrifts property +// GetConfigurationDrifts gets the configurationDrifts property value. A container for configuration drift resources. // returns a []ConfigurationDriftable when successful func (m *ConfigurationManagement) GetConfigurationDrifts()([]ConfigurationDriftable) { val, err := m.GetBackingStore().Get("configurationDrifts") @@ -46,7 +34,7 @@ func (m *ConfigurationManagement) GetConfigurationDrifts()([]ConfigurationDrifta } return nil } -// GetConfigurationMonitoringResults gets the configurationMonitoringResults property value. The configurationMonitoringResults property +// GetConfigurationMonitoringResults gets the configurationMonitoringResults property value. A container for configuration monitoring results resources. // returns a []ConfigurationMonitoringResultable when successful func (m *ConfigurationManagement) GetConfigurationMonitoringResults()([]ConfigurationMonitoringResultable) { val, err := m.GetBackingStore().Get("configurationMonitoringResults") @@ -58,7 +46,7 @@ func (m *ConfigurationManagement) GetConfigurationMonitoringResults()([]Configur } return nil } -// GetConfigurationMonitors gets the configurationMonitors property value. The configurationMonitors property +// GetConfigurationMonitors gets the configurationMonitors property value. A container for configuration monitor resources. // returns a []ConfigurationMonitorable when successful func (m *ConfigurationManagement) GetConfigurationMonitors()([]ConfigurationMonitorable) { val, err := m.GetBackingStore().Get("configurationMonitors") @@ -70,7 +58,7 @@ func (m *ConfigurationManagement) GetConfigurationMonitors()([]ConfigurationMoni } return nil } -// GetConfigurationSnapshotJobs gets the configurationSnapshotJobs property value. The configurationSnapshotJobs property +// GetConfigurationSnapshotJobs gets the configurationSnapshotJobs property value. A container for snapshot job resources. // returns a []ConfigurationSnapshotJobable when successful func (m *ConfigurationManagement) GetConfigurationSnapshotJobs()([]ConfigurationSnapshotJobable) { val, err := m.GetBackingStore().Get("configurationSnapshotJobs") @@ -82,7 +70,7 @@ func (m *ConfigurationManagement) GetConfigurationSnapshotJobs()([]Configuration } return nil } -// GetConfigurationSnapshots gets the configurationSnapshots property value. The configurationSnapshots property +// GetConfigurationSnapshots gets the configurationSnapshots property value. A container for configuration snapshot baselines. // returns a []ConfigurationBaselineable when successful func (m *ConfigurationManagement) GetConfigurationSnapshots()([]ConfigurationBaselineable) { val, err := m.GetBackingStore().Get("configurationSnapshots") @@ -98,22 +86,6 @@ func (m *ConfigurationManagement) GetConfigurationSnapshots()([]ConfigurationBas // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ConfigurationManagement) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() - res["configurationApplications"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(CreateConfigurationApplicationFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - res := make([]ConfigurationApplicationable, len(val)) - for i, v := range val { - if v != nil { - res[i] = v.(ConfigurationApplicationable) - } - } - m.SetConfigurationApplications(res) - } - return nil - } res["configurationDrifts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateConfigurationDriftFromDiscriminatorValue) if err != nil { @@ -202,18 +174,6 @@ func (m *ConfigurationManagement) Serialize(writer i878a80d2330e89d26896388a3f48 if err != nil { return err } - if m.GetConfigurationApplications() != nil { - cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetConfigurationApplications())) - for i, v := range m.GetConfigurationApplications() { - if v != nil { - cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) - } - } - err = writer.WriteCollectionOfObjectValues("configurationApplications", cast) - if err != nil { - return err - } - } if m.GetConfigurationDrifts() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetConfigurationDrifts())) for i, v := range m.GetConfigurationDrifts() { @@ -276,42 +236,35 @@ func (m *ConfigurationManagement) Serialize(writer i878a80d2330e89d26896388a3f48 } return nil } -// SetConfigurationApplications sets the configurationApplications property value. The configurationApplications property -func (m *ConfigurationManagement) SetConfigurationApplications(value []ConfigurationApplicationable)() { - err := m.GetBackingStore().Set("configurationApplications", value) - if err != nil { - panic(err) - } -} -// SetConfigurationDrifts sets the configurationDrifts property value. The configurationDrifts property +// SetConfigurationDrifts sets the configurationDrifts property value. A container for configuration drift resources. func (m *ConfigurationManagement) SetConfigurationDrifts(value []ConfigurationDriftable)() { err := m.GetBackingStore().Set("configurationDrifts", value) if err != nil { panic(err) } } -// SetConfigurationMonitoringResults sets the configurationMonitoringResults property value. The configurationMonitoringResults property +// SetConfigurationMonitoringResults sets the configurationMonitoringResults property value. A container for configuration monitoring results resources. func (m *ConfigurationManagement) SetConfigurationMonitoringResults(value []ConfigurationMonitoringResultable)() { err := m.GetBackingStore().Set("configurationMonitoringResults", value) if err != nil { panic(err) } } -// SetConfigurationMonitors sets the configurationMonitors property value. The configurationMonitors property +// SetConfigurationMonitors sets the configurationMonitors property value. A container for configuration monitor resources. func (m *ConfigurationManagement) SetConfigurationMonitors(value []ConfigurationMonitorable)() { err := m.GetBackingStore().Set("configurationMonitors", value) if err != nil { panic(err) } } -// SetConfigurationSnapshotJobs sets the configurationSnapshotJobs property value. The configurationSnapshotJobs property +// SetConfigurationSnapshotJobs sets the configurationSnapshotJobs property value. A container for snapshot job resources. func (m *ConfigurationManagement) SetConfigurationSnapshotJobs(value []ConfigurationSnapshotJobable)() { err := m.GetBackingStore().Set("configurationSnapshotJobs", value) if err != nil { panic(err) } } -// SetConfigurationSnapshots sets the configurationSnapshots property value. The configurationSnapshots property +// SetConfigurationSnapshots sets the configurationSnapshots property value. A container for configuration snapshot baselines. func (m *ConfigurationManagement) SetConfigurationSnapshots(value []ConfigurationBaselineable)() { err := m.GetBackingStore().Set("configurationSnapshots", value) if err != nil { @@ -321,13 +274,11 @@ func (m *ConfigurationManagement) SetConfigurationSnapshots(value []Configuratio type ConfigurationManagementable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetConfigurationApplications()([]ConfigurationApplicationable) GetConfigurationDrifts()([]ConfigurationDriftable) GetConfigurationMonitoringResults()([]ConfigurationMonitoringResultable) GetConfigurationMonitors()([]ConfigurationMonitorable) GetConfigurationSnapshotJobs()([]ConfigurationSnapshotJobable) GetConfigurationSnapshots()([]ConfigurationBaselineable) - SetConfigurationApplications(value []ConfigurationApplicationable)() SetConfigurationDrifts(value []ConfigurationDriftable)() SetConfigurationMonitoringResults(value []ConfigurationMonitoringResultable)() SetConfigurationMonitors(value []ConfigurationMonitorable)() diff --git a/models/configuration_monitor.go b/models/configuration_monitor.go index 055b02c074a..0c840f08469 100644 --- a/models/configuration_monitor.go +++ b/models/configuration_monitor.go @@ -47,7 +47,7 @@ func (m *ConfigurationMonitor) GetCreatedBy()(IdentitySetable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ConfigurationMonitor) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -59,7 +59,7 @@ func (m *ConfigurationMonitor) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. User-friendly description of the monitor given by the user. // returns a *string when successful func (m *ConfigurationMonitor) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -71,7 +71,7 @@ func (m *ConfigurationMonitor) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. User-friendly name given by the user to the monitor. // returns a *string when successful func (m *ConfigurationMonitor) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -197,26 +197,6 @@ func (m *ConfigurationMonitor) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } - res["runAsUTCMServicePrincipal"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetRunAsUTCMServicePrincipal(val) - } - return nil - } - res["runningOnBehalfOf"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) - if err != nil { - return err - } - if val != nil { - m.SetRunningOnBehalfOf(val.(IdentitySetable)) - } - return nil - } res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseMonitorStatus) if err != nil { @@ -239,7 +219,7 @@ func (m *ConfigurationMonitor) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetInactivationReason gets the inactivationReason property value. The inactivationReason property +// GetInactivationReason gets the inactivationReason property value. The reason for the monitor's inactivation. // returns a *string when successful func (m *ConfigurationMonitor) GetInactivationReason()(*string) { val, err := m.GetBackingStore().Get("inactivationReason") @@ -263,7 +243,7 @@ func (m *ConfigurationMonitor) GetLastModifiedBy()(IdentitySetable) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ConfigurationMonitor) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -287,7 +267,7 @@ func (m *ConfigurationMonitor) GetMode()(*MonitorMode) { } return nil } -// GetMonitorRunFrequencyInHours gets the monitorRunFrequencyInHours property value. The monitorRunFrequencyInHours property +// GetMonitorRunFrequencyInHours gets the monitorRunFrequencyInHours property value. Frequency at which the monitor runs. The default frequency is six hours. Regardless of when you create or update a monitor, it gets triggered within the next 6 hours. Currently, monitors are picked up at fixed times: 6 AM, 12 PM, 6 PM, and 12 AM (all in GMT). For example, if you create a monitor at 9 AM, it gets triggered around 12 PM. If you update a monitor at 4 PM, it gets triggered around 6 PM. // returns a *int32 when successful func (m *ConfigurationMonitor) GetMonitorRunFrequencyInHours()(*int32) { val, err := m.GetBackingStore().Get("monitorRunFrequencyInHours") @@ -299,7 +279,7 @@ func (m *ConfigurationMonitor) GetMonitorRunFrequencyInHours()(*int32) { } return nil } -// GetParameters gets the parameters property value. The parameters property +// GetParameters gets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. // returns a OpenComplexDictionaryTypeable when successful func (m *ConfigurationMonitor) GetParameters()(OpenComplexDictionaryTypeable) { val, err := m.GetBackingStore().Get("parameters") @@ -311,30 +291,6 @@ func (m *ConfigurationMonitor) GetParameters()(OpenComplexDictionaryTypeable) { } return nil } -// GetRunAsUTCMServicePrincipal gets the runAsUTCMServicePrincipal property value. The runAsUTCMServicePrincipal property -// returns a *bool when successful -func (m *ConfigurationMonitor) GetRunAsUTCMServicePrincipal()(*bool) { - val, err := m.GetBackingStore().Get("runAsUTCMServicePrincipal") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetRunningOnBehalfOf gets the runningOnBehalfOf property value. The runningOnBehalfOf property -// returns a IdentitySetable when successful -func (m *ConfigurationMonitor) GetRunningOnBehalfOf()(IdentitySetable) { - val, err := m.GetBackingStore().Get("runningOnBehalfOf") - if err != nil { - panic(err) - } - if val != nil { - return val.(IdentitySetable) - } - return nil -} // GetStatus gets the status property value. The status property // returns a *MonitorStatus when successful func (m *ConfigurationMonitor) GetStatus()(*MonitorStatus) { @@ -347,7 +303,7 @@ func (m *ConfigurationMonitor) GetStatus()(*MonitorStatus) { } return nil } -// GetTenantId gets the tenantId property value. The tenantId property +// GetTenantId gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. // returns a *string when successful func (m *ConfigurationMonitor) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -402,30 +358,12 @@ func (m *ConfigurationMonitor) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } - { - err = writer.WriteInt32Value("monitorRunFrequencyInHours", m.GetMonitorRunFrequencyInHours()) - if err != nil { - return err - } - } { err = writer.WriteObjectValue("parameters", m.GetParameters()) if err != nil { return err } } - { - err = writer.WriteBoolValue("runAsUTCMServicePrincipal", m.GetRunAsUTCMServicePrincipal()) - if err != nil { - return err - } - } - { - err = writer.WriteObjectValue("runningOnBehalfOf", m.GetRunningOnBehalfOf()) - if err != nil { - return err - } - } if m.GetStatus() != nil { cast := (*m.GetStatus()).String() err = writer.WriteStringValue("status", &cast) @@ -449,28 +387,28 @@ func (m *ConfigurationMonitor) SetCreatedBy(value IdentitySetable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the monitor was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ConfigurationMonitor) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. User-friendly description of the monitor given by the user. func (m *ConfigurationMonitor) 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. User-friendly name given by the user to the monitor. func (m *ConfigurationMonitor) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetInactivationReason sets the inactivationReason property value. The inactivationReason property +// SetInactivationReason sets the inactivationReason property value. The reason for the monitor's inactivation. func (m *ConfigurationMonitor) SetInactivationReason(value *string)() { err := m.GetBackingStore().Set("inactivationReason", value) if err != nil { @@ -484,7 +422,7 @@ func (m *ConfigurationMonitor) SetLastModifiedBy(value IdentitySetable)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time when the monitor was last modified. If no modifications are made to the monitor, it's the same as createdDateTime. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ConfigurationMonitor) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { @@ -498,34 +436,20 @@ func (m *ConfigurationMonitor) SetMode(value *MonitorMode)() { panic(err) } } -// SetMonitorRunFrequencyInHours sets the monitorRunFrequencyInHours property value. The monitorRunFrequencyInHours property +// SetMonitorRunFrequencyInHours sets the monitorRunFrequencyInHours property value. Frequency at which the monitor runs. The default frequency is six hours. Regardless of when you create or update a monitor, it gets triggered within the next 6 hours. Currently, monitors are picked up at fixed times: 6 AM, 12 PM, 6 PM, and 12 AM (all in GMT). For example, if you create a monitor at 9 AM, it gets triggered around 12 PM. If you update a monitor at 4 PM, it gets triggered around 6 PM. func (m *ConfigurationMonitor) SetMonitorRunFrequencyInHours(value *int32)() { err := m.GetBackingStore().Set("monitorRunFrequencyInHours", value) if err != nil { panic(err) } } -// SetParameters sets the parameters property value. The parameters property +// SetParameters sets the parameters property value. Key-value pairs that contain parameter values which might be used in the baseline. func (m *ConfigurationMonitor) SetParameters(value OpenComplexDictionaryTypeable)() { err := m.GetBackingStore().Set("parameters", value) if err != nil { panic(err) } } -// SetRunAsUTCMServicePrincipal sets the runAsUTCMServicePrincipal property value. The runAsUTCMServicePrincipal property -func (m *ConfigurationMonitor) SetRunAsUTCMServicePrincipal(value *bool)() { - err := m.GetBackingStore().Set("runAsUTCMServicePrincipal", value) - if err != nil { - panic(err) - } -} -// SetRunningOnBehalfOf sets the runningOnBehalfOf property value. The runningOnBehalfOf property -func (m *ConfigurationMonitor) SetRunningOnBehalfOf(value IdentitySetable)() { - err := m.GetBackingStore().Set("runningOnBehalfOf", value) - if err != nil { - panic(err) - } -} // SetStatus sets the status property value. The status property func (m *ConfigurationMonitor) SetStatus(value *MonitorStatus)() { err := m.GetBackingStore().Set("status", value) @@ -533,7 +457,7 @@ func (m *ConfigurationMonitor) SetStatus(value *MonitorStatus)() { panic(err) } } -// SetTenantId sets the tenantId property value. The tenantId property +// SetTenantId sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. func (m *ConfigurationMonitor) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { @@ -554,8 +478,6 @@ type ConfigurationMonitorable interface { GetMode()(*MonitorMode) GetMonitorRunFrequencyInHours()(*int32) GetParameters()(OpenComplexDictionaryTypeable) - GetRunAsUTCMServicePrincipal()(*bool) - GetRunningOnBehalfOf()(IdentitySetable) GetStatus()(*MonitorStatus) GetTenantId()(*string) SetBaseline(value ConfigurationBaselineable)() @@ -569,8 +491,6 @@ type ConfigurationMonitorable interface { SetMode(value *MonitorMode)() SetMonitorRunFrequencyInHours(value *int32)() SetParameters(value OpenComplexDictionaryTypeable)() - SetRunAsUTCMServicePrincipal(value *bool)() - SetRunningOnBehalfOf(value IdentitySetable)() SetStatus(value *MonitorStatus)() SetTenantId(value *string)() } diff --git a/models/configuration_monitoring_result.go b/models/configuration_monitoring_result.go index 96f4437ae1b..acce7e06a46 100644 --- a/models/configuration_monitoring_result.go +++ b/models/configuration_monitoring_result.go @@ -23,7 +23,7 @@ func NewConfigurationMonitoringResult()(*ConfigurationMonitoringResult) { func CreateConfigurationMonitoringResultFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewConfigurationMonitoringResult(), nil } -// GetDriftsCount gets the driftsCount property value. The driftsCount property +// GetDriftsCount gets the driftsCount property value. Number of drifts observed during a monitor run. // returns a *int32 when successful func (m *ConfigurationMonitoringResult) GetDriftsCount()(*int32) { val, err := m.GetBackingStore().Get("driftsCount") @@ -35,19 +35,7 @@ func (m *ConfigurationMonitoringResult) GetDriftsCount()(*int32) { } return nil } -// GetDriftsFixed gets the driftsFixed property value. The driftsFixed property -// returns a *int32 when successful -func (m *ConfigurationMonitoringResult) GetDriftsFixed()(*int32) { - val, err := m.GetBackingStore().Get("driftsFixed") - if err != nil { - panic(err) - } - if val != nil { - return val.(*int32) - } - return nil -} -// GetErrorDetails gets the errorDetails property value. The errorDetails property +// GetErrorDetails gets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. // returns a []ErrorDetailable when successful func (m *ConfigurationMonitoringResult) GetErrorDetails()([]ErrorDetailable) { val, err := m.GetBackingStore().Get("errorDetails") @@ -73,16 +61,6 @@ func (m *ConfigurationMonitoringResult) GetFieldDeserializers()(map[string]func( } return nil } - res["driftsFixed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetInt32Value() - if err != nil { - return err - } - if val != nil { - m.SetDriftsFixed(val) - } - return nil - } res["errorDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateErrorDetailFromDiscriminatorValue) if err != nil { @@ -139,16 +117,6 @@ func (m *ConfigurationMonitoringResult) GetFieldDeserializers()(map[string]func( } return nil } - res["runType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetEnumValue(ParseMonitorRunType) - if err != nil { - return err - } - if val != nil { - m.SetRunType(val.(*MonitorRunType)) - } - return nil - } res["tenantId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -161,7 +129,7 @@ func (m *ConfigurationMonitoringResult) GetFieldDeserializers()(map[string]func( } return res } -// GetMonitorId gets the monitorId property value. The monitorId property +// GetMonitorId gets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. // returns a *string when successful func (m *ConfigurationMonitoringResult) GetMonitorId()(*string) { val, err := m.GetBackingStore().Get("monitorId") @@ -173,7 +141,7 @@ func (m *ConfigurationMonitoringResult) GetMonitorId()(*string) { } return nil } -// GetRunCompletionDateTime gets the runCompletionDateTime property value. The runCompletionDateTime property +// GetRunCompletionDateTime gets the runCompletionDateTime property value. Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ConfigurationMonitoringResult) GetRunCompletionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("runCompletionDateTime") @@ -185,7 +153,7 @@ func (m *ConfigurationMonitoringResult) GetRunCompletionDateTime()(*i336074805fc } return nil } -// GetRunInitiationDateTime gets the runInitiationDateTime property value. The runInitiationDateTime property +// GetRunInitiationDateTime gets the runInitiationDateTime property value. Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ConfigurationMonitoringResult) GetRunInitiationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("runInitiationDateTime") @@ -209,19 +177,7 @@ func (m *ConfigurationMonitoringResult) GetRunStatus()(*MonitorRunStatus) { } return nil } -// GetRunType gets the runType property value. The runType property -// returns a *MonitorRunType when successful -func (m *ConfigurationMonitoringResult) GetRunType()(*MonitorRunType) { - val, err := m.GetBackingStore().Get("runType") - if err != nil { - panic(err) - } - if val != nil { - return val.(*MonitorRunType) - } - return nil -} -// GetTenantId gets the tenantId property value. The tenantId property +// GetTenantId gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. // returns a *string when successful func (m *ConfigurationMonitoringResult) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -246,51 +202,37 @@ func (m *ConfigurationMonitoringResult) Serialize(writer i878a80d2330e89d2689638 return err } } - if m.GetRunType() != nil { - cast := (*m.GetRunType()).String() - err = writer.WriteStringValue("runType", &cast) - if err != nil { - return err - } - } return nil } -// SetDriftsCount sets the driftsCount property value. The driftsCount property +// SetDriftsCount sets the driftsCount property value. Number of drifts observed during a monitor run. func (m *ConfigurationMonitoringResult) SetDriftsCount(value *int32)() { err := m.GetBackingStore().Set("driftsCount", value) if err != nil { panic(err) } } -// SetDriftsFixed sets the driftsFixed property value. The driftsFixed property -func (m *ConfigurationMonitoringResult) SetDriftsFixed(value *int32)() { - err := m.GetBackingStore().Set("driftsFixed", value) - if err != nil { - panic(err) - } -} -// SetErrorDetails sets the errorDetails property value. The errorDetails property +// SetErrorDetails sets the errorDetails property value. All the error details that prevent the monitor from running successfully. The error details are a contained entity. func (m *ConfigurationMonitoringResult) SetErrorDetails(value []ErrorDetailable)() { err := m.GetBackingStore().Set("errorDetails", value) if err != nil { panic(err) } } -// SetMonitorId sets the monitorId property value. The monitorId property +// SetMonitorId sets the monitorId property value. Globally unique identifier (GUID) of the monitor. System-generated. func (m *ConfigurationMonitoringResult) SetMonitorId(value *string)() { err := m.GetBackingStore().Set("monitorId", value) if err != nil { panic(err) } } -// SetRunCompletionDateTime sets the runCompletionDateTime property value. The runCompletionDateTime property +// SetRunCompletionDateTime sets the runCompletionDateTime property value. Date and time at which the monitor run completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ConfigurationMonitoringResult) SetRunCompletionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("runCompletionDateTime", value) if err != nil { panic(err) } } -// SetRunInitiationDateTime sets the runInitiationDateTime property value. The runInitiationDateTime property +// SetRunInitiationDateTime sets the runInitiationDateTime property value. Date and time at which the monitor run initiated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ConfigurationMonitoringResult) SetRunInitiationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("runInitiationDateTime", value) if err != nil { @@ -304,14 +246,7 @@ func (m *ConfigurationMonitoringResult) SetRunStatus(value *MonitorRunStatus)() panic(err) } } -// SetRunType sets the runType property value. The runType property -func (m *ConfigurationMonitoringResult) SetRunType(value *MonitorRunType)() { - err := m.GetBackingStore().Set("runType", value) - if err != nil { - panic(err) - } -} -// SetTenantId sets the tenantId property value. The tenantId property +// SetTenantId sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the monitor runs. Fetched automatically by the system. func (m *ConfigurationMonitoringResult) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { @@ -322,21 +257,17 @@ type ConfigurationMonitoringResultable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDriftsCount()(*int32) - GetDriftsFixed()(*int32) GetErrorDetails()([]ErrorDetailable) GetMonitorId()(*string) GetRunCompletionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetRunInitiationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetRunStatus()(*MonitorRunStatus) - GetRunType()(*MonitorRunType) GetTenantId()(*string) SetDriftsCount(value *int32)() - SetDriftsFixed(value *int32)() SetErrorDetails(value []ErrorDetailable)() SetMonitorId(value *string)() SetRunCompletionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetRunInitiationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetRunStatus(value *MonitorRunStatus)() - SetRunType(value *MonitorRunType)() SetTenantId(value *string)() } diff --git a/models/configuration_snapshot_job.go b/models/configuration_snapshot_job.go index 620717c9ef6..0efdeebea05 100644 --- a/models/configuration_snapshot_job.go +++ b/models/configuration_snapshot_job.go @@ -23,7 +23,7 @@ func NewConfigurationSnapshotJob()(*ConfigurationSnapshotJob) { func CreateConfigurationSnapshotJobFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewConfigurationSnapshotJob(), nil } -// GetCompletedDateTime gets the completedDateTime property value. The completedDateTime property +// GetCompletedDateTime gets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ConfigurationSnapshotJob) GetCompletedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("completedDateTime") @@ -47,7 +47,7 @@ func (m *ConfigurationSnapshotJob) GetCreatedBy()(IdentitySetable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. // returns a *Time when successful func (m *ConfigurationSnapshotJob) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -59,7 +59,7 @@ func (m *ConfigurationSnapshotJob) GetCreatedDateTime()(*i336074805fc853987abe6f } return nil } -// GetDescription gets the description property value. The description property +// GetDescription gets the description property value. User-friendly description of the snapshot given by the user. // returns a *string when successful func (m *ConfigurationSnapshotJob) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -71,7 +71,7 @@ func (m *ConfigurationSnapshotJob) GetDescription()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. User-friendly name provided by the user during snapshot creation. // returns a *string when successful func (m *ConfigurationSnapshotJob) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -83,7 +83,7 @@ func (m *ConfigurationSnapshotJob) GetDisplayName()(*string) { } return nil } -// GetErrorDetails gets the errorDetails property value. The errorDetails property +// GetErrorDetails gets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. // returns a []string when successful func (m *ConfigurationSnapshotJob) GetErrorDetails()([]string) { val, err := m.GetBackingStore().Get("errorDetails") @@ -213,7 +213,7 @@ func (m *ConfigurationSnapshotJob) GetFieldDeserializers()(map[string]func(i878a } return res } -// GetResourceLocation gets the resourceLocation property value. The resourceLocation property +// GetResourceLocation gets the resourceLocation property value. The URL at which the snapshot file resides. // returns a *string when successful func (m *ConfigurationSnapshotJob) GetResourceLocation()(*string) { val, err := m.GetBackingStore().Get("resourceLocation") @@ -225,7 +225,7 @@ func (m *ConfigurationSnapshotJob) GetResourceLocation()(*string) { } return nil } -// GetResources gets the resources property value. The resources property +// GetResources gets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. // returns a []string when successful func (m *ConfigurationSnapshotJob) GetResources()([]string) { val, err := m.GetBackingStore().Get("resources") @@ -249,7 +249,7 @@ func (m *ConfigurationSnapshotJob) GetStatus()(*SnapshotJobStatus) { } return nil } -// GetTenantId gets the tenantId property value. The tenantId property +// GetTenantId gets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. // returns a *string when successful func (m *ConfigurationSnapshotJob) GetTenantId()(*string) { val, err := m.GetBackingStore().Get("tenantId") @@ -300,7 +300,7 @@ func (m *ConfigurationSnapshotJob) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetCompletedDateTime sets the completedDateTime property value. The completedDateTime property +// SetCompletedDateTime sets the completedDateTime property value. The date and time when the snapshot job was completed. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ConfigurationSnapshotJob) SetCompletedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("completedDateTime", value) if err != nil { @@ -314,42 +314,42 @@ func (m *ConfigurationSnapshotJob) SetCreatedBy(value IdentitySetable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the snapshot job was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. func (m *ConfigurationSnapshotJob) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. The description property +// SetDescription sets the description property value. User-friendly description of the snapshot given by the user. func (m *ConfigurationSnapshotJob) 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. User-friendly name provided by the user during snapshot creation. func (m *ConfigurationSnapshotJob) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetErrorDetails sets the errorDetails property value. The errorDetails property +// SetErrorDetails sets the errorDetails property value. Details of errors related to the reasons why the snapshot can't complete. func (m *ConfigurationSnapshotJob) SetErrorDetails(value []string)() { err := m.GetBackingStore().Set("errorDetails", value) if err != nil { panic(err) } } -// SetResourceLocation sets the resourceLocation property value. The resourceLocation property +// SetResourceLocation sets the resourceLocation property value. The URL at which the snapshot file resides. func (m *ConfigurationSnapshotJob) SetResourceLocation(value *string)() { err := m.GetBackingStore().Set("resourceLocation", value) if err != nil { panic(err) } } -// SetResources sets the resources property value. The resources property +// SetResources sets the resources property value. The names of all resources included in the request body by the user who created the snapshot. Fetched by the system. func (m *ConfigurationSnapshotJob) SetResources(value []string)() { err := m.GetBackingStore().Set("resources", value) if err != nil { @@ -363,7 +363,7 @@ func (m *ConfigurationSnapshotJob) SetStatus(value *SnapshotJobStatus)() { panic(err) } } -// SetTenantId sets the tenantId property value. The tenantId property +// SetTenantId sets the tenantId property value. Globally unique identifier (GUID) of the tenant for which the snapshot is created. func (m *ConfigurationSnapshotJob) SetTenantId(value *string)() { err := m.GetBackingStore().Set("tenantId", value) if err != nil { diff --git a/models/copilot_package.go b/models/copilot_package.go index 37a2109c45c..ec29987b22e 100644 --- a/models/copilot_package.go +++ b/models/copilot_package.go @@ -205,6 +205,16 @@ func (m *CopilotPackage) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["zipFile"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetByteArrayValue() + if err != nil { + return err + } + if val != nil { + m.SetZipFile(val) + } + return nil + } return res } // GetIsBlocked gets the isBlocked property value. The isBlocked property @@ -279,6 +289,18 @@ func (m *CopilotPackage) GetTypeEscaped()(*PackageType) { } return nil } +// GetZipFile gets the zipFile property value. The zipFile property +// returns a []byte when successful +func (m *CopilotPackage) GetZipFile()([]byte) { + val, err := m.GetBackingStore().Get("zipFile") + if err != nil { + panic(err) + } + if val != nil { + return val.([]byte) + } + return nil +} // Serialize serializes information the current object func (m *CopilotPackage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -348,6 +370,12 @@ func (m *CopilotPackage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + { + err = writer.WriteByteArrayValue("zipFile", m.GetZipFile()) + if err != nil { + return err + } + } return nil } // SetAvailableTo sets the availableTo property value. The availableTo property @@ -420,6 +448,13 @@ func (m *CopilotPackage) SetTypeEscaped(value *PackageType)() { panic(err) } } +// SetZipFile sets the zipFile property value. The zipFile property +func (m *CopilotPackage) SetZipFile(value []byte)() { + err := m.GetBackingStore().Set("zipFile", value) + if err != nil { + panic(err) + } +} type CopilotPackageable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -433,6 +468,7 @@ type CopilotPackageable interface { GetShortDescription()(*string) GetSupportedHosts()([]string) GetTypeEscaped()(*PackageType) + GetZipFile()([]byte) SetAvailableTo(value *PackageStatus)() SetDeployedTo(value *PackageStatus)() SetDisplayName(value *string)() @@ -443,4 +479,5 @@ type CopilotPackageable interface { SetShortDescription(value *string)() SetSupportedHosts(value []string)() SetTypeEscaped(value *PackageType)() + SetZipFile(value []byte)() } diff --git a/models/copilot_package_detail.go b/models/copilot_package_detail.go index 5e49b2929a8..78842ca4dd2 100644 --- a/models/copilot_package_detail.go +++ b/models/copilot_package_detail.go @@ -15,6 +15,8 @@ func NewCopilotPackageDetail()(*CopilotPackageDetail) { m := &CopilotPackageDetail{ CopilotPackage: *NewCopilotPackage(), } + odataTypeValue := "#microsoft.graph.copilotPackageDetail" + m.SetOdataType(&odataTypeValue) return m } // CreateCopilotPackageDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value diff --git a/models/cross_tenant_group_sync_inbound.go b/models/cross_tenant_group_sync_inbound.go index e313992ac29..45fba2c1060 100644 --- a/models/cross_tenant_group_sync_inbound.go +++ b/models/cross_tenant_group_sync_inbound.go @@ -69,7 +69,7 @@ func (m *CrossTenantGroupSyncInbound) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetIsSyncAllowed gets the isSyncAllowed property value. The isSyncAllowed property +// GetIsSyncAllowed gets the isSyncAllowed property value. Defines whether group objects should be synchronized from the partner tenant. false stops any current group synchronization from the source tenant to the target tenant. This property has no impact on existing groups that were synchronized. // returns a *bool when successful func (m *CrossTenantGroupSyncInbound) GetIsSyncAllowed()(*bool) { val, err := m.GetBackingStore().Get("isSyncAllowed") @@ -126,7 +126,7 @@ func (m *CrossTenantGroupSyncInbound) SetAdditionalData(value map[string]any)() func (m *CrossTenantGroupSyncInbound) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetIsSyncAllowed sets the isSyncAllowed property value. The isSyncAllowed property +// SetIsSyncAllowed sets the isSyncAllowed property value. Defines whether group objects should be synchronized from the partner tenant. false stops any current group synchronization from the source tenant to the target tenant. This property has no impact on existing groups that were synchronized. func (m *CrossTenantGroupSyncInbound) SetIsSyncAllowed(value *bool)() { err := m.GetBackingStore().Set("isSyncAllowed", value) if err != nil { diff --git a/models/cross_tenant_identity_sync_policy_partner.go b/models/cross_tenant_identity_sync_policy_partner.go index 780d6708e45..d1eafca752f 100644 --- a/models/cross_tenant_identity_sync_policy_partner.go +++ b/models/cross_tenant_identity_sync_policy_partner.go @@ -104,7 +104,7 @@ func (m *CrossTenantIdentitySyncPolicyPartner) GetFieldDeserializers()(map[strin } return res } -// GetGroupSyncInbound gets the groupSyncInbound property value. The groupSyncInbound property +// GetGroupSyncInbound gets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. Key. // returns a CrossTenantGroupSyncInboundable when successful func (m *CrossTenantIdentitySyncPolicyPartner) GetGroupSyncInbound()(CrossTenantGroupSyncInboundable) { val, err := m.GetBackingStore().Get("groupSyncInbound") @@ -192,7 +192,7 @@ func (m *CrossTenantIdentitySyncPolicyPartner) SetExternalCloudAuthorizedApplica panic(err) } } -// SetGroupSyncInbound sets the groupSyncInbound property value. The groupSyncInbound property +// SetGroupSyncInbound sets the groupSyncInbound property value. Defines whether groups can be synchronized from a partner tenant. Key. func (m *CrossTenantIdentitySyncPolicyPartner) SetGroupSyncInbound(value CrossTenantGroupSyncInboundable)() { err := m.GetBackingStore().Set("groupSyncInbound", value) if err != nil { diff --git a/models/custom_app_management_application_configuration.go b/models/custom_app_management_application_configuration.go index d01d4c5bcbe..8c7bd597d99 100644 --- a/models/custom_app_management_application_configuration.go +++ b/models/custom_app_management_application_configuration.go @@ -89,6 +89,16 @@ func (m *CustomAppManagementApplicationConfiguration) GetFieldDeserializers()(ma } return nil } + res["redirectUris"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRedirectUris(val.(RedirectUriConfigurationable)) + } + return nil + } return res } // GetIdentifierUris gets the identifierUris property value. Configuration for identifierUris restrictions. @@ -115,6 +125,18 @@ func (m *CustomAppManagementApplicationConfiguration) GetOdataType()(*string) { } return nil } +// GetRedirectUris gets the redirectUris property value. The redirectUris property +// returns a RedirectUriConfigurationable when successful +func (m *CustomAppManagementApplicationConfiguration) GetRedirectUris()(RedirectUriConfigurationable) { + val, err := m.GetBackingStore().Get("redirectUris") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriConfigurationable) + } + return nil +} // Serialize serializes information the current object func (m *CustomAppManagementApplicationConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { @@ -135,6 +157,12 @@ func (m *CustomAppManagementApplicationConfiguration) Serialize(writer i878a80d2 return err } } + { + err := writer.WriteObjectValue("redirectUris", m.GetRedirectUris()) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -175,6 +203,13 @@ func (m *CustomAppManagementApplicationConfiguration) SetOdataType(value *string panic(err) } } +// SetRedirectUris sets the redirectUris property value. The redirectUris property +func (m *CustomAppManagementApplicationConfiguration) SetRedirectUris(value RedirectUriConfigurationable)() { + err := m.GetBackingStore().Set("redirectUris", value) + if err != nil { + panic(err) + } +} type CustomAppManagementApplicationConfigurationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel @@ -183,8 +218,10 @@ type CustomAppManagementApplicationConfigurationable interface { GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetIdentifierUris()(IdentifierUriConfigurationable) GetOdataType()(*string) + GetRedirectUris()(RedirectUriConfigurationable) SetAudiences(value AudiencesConfigurationable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetIdentifierUris(value IdentifierUriConfigurationable)() SetOdataType(value *string)() + SetRedirectUris(value RedirectUriConfigurationable)() } diff --git a/models/custom_authentication_extension.go b/models/custom_authentication_extension.go index 5fac4bd9151..4926a3b877b 100644 --- a/models/custom_authentication_extension.go +++ b/models/custom_authentication_extension.go @@ -40,6 +40,8 @@ func CreateCustomAuthenticationExtensionFromDiscriminatorValue(parseNode i878a80 return NewOnAttributeCollectionSubmitCustomExtension(), nil case "#microsoft.graph.onOtpSendCustomExtension": return NewOnOtpSendCustomExtension(), nil + case "#microsoft.graph.onPasswordSubmitCustomExtension": + return NewOnPasswordSubmitCustomExtension(), nil case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return NewOnTokenIssuanceStartCustomExtension(), nil } diff --git a/models/custom_callout_extension.go b/models/custom_callout_extension.go index eb07877a6cc..07e3220d01f 100644 --- a/models/custom_callout_extension.go +++ b/models/custom_callout_extension.go @@ -46,6 +46,8 @@ func CreateCustomCalloutExtensionFromDiscriminatorValue(parseNode i878a80d2330e8 return NewOnAttributeCollectionSubmitCustomExtension(), nil case "#microsoft.graph.onOtpSendCustomExtension": return NewOnOtpSendCustomExtension(), nil + case "#microsoft.graph.onPasswordSubmitCustomExtension": + return NewOnPasswordSubmitCustomExtension(), nil case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return NewOnTokenIssuanceStartCustomExtension(), nil } diff --git a/models/drifted_property.go b/models/drifted_property.go index 71dcd7430d0..71302cb453a 100644 --- a/models/drifted_property.go +++ b/models/drifted_property.go @@ -43,7 +43,7 @@ func (m *DriftedProperty) GetAdditionalData()(map[string]any) { func (m *DriftedProperty) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCurrentValue gets the currentValue property value. The currentValue property +// GetCurrentValue gets the currentValue property value. The current value of the property. // returns a UntypedNodeable when successful func (m *DriftedProperty) GetCurrentValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("currentValue") @@ -55,7 +55,7 @@ func (m *DriftedProperty) GetCurrentValue()(i878a80d2330e89d26896388a3f487eef27b } return nil } -// GetDesiredValue gets the desiredValue property value. The desiredValue property +// GetDesiredValue gets the desiredValue property value. The desired value of the property as specified by admins in the baseline of the monitor body. // returns a UntypedNodeable when successful func (m *DriftedProperty) GetDesiredValue()(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable) { val, err := m.GetBackingStore().Get("desiredValue") @@ -125,7 +125,7 @@ func (m *DriftedProperty) GetOdataType()(*string) { } return nil } -// GetPropertyName gets the propertyName property value. The propertyName property +// GetPropertyName gets the propertyName property value. The name of the property. // returns a *string when successful func (m *DriftedProperty) GetPropertyName()(*string) { val, err := m.GetBackingStore().Get("propertyName") @@ -164,14 +164,14 @@ func (m *DriftedProperty) SetAdditionalData(value map[string]any)() { func (m *DriftedProperty) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCurrentValue sets the currentValue property value. The currentValue property +// SetCurrentValue sets the currentValue property value. The current value of the property. func (m *DriftedProperty) SetCurrentValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("currentValue", value) if err != nil { panic(err) } } -// SetDesiredValue sets the desiredValue property value. The desiredValue property +// SetDesiredValue sets the desiredValue property value. The desired value of the property as specified by admins in the baseline of the monitor body. func (m *DriftedProperty) SetDesiredValue(value i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.UntypedNodeable)() { err := m.GetBackingStore().Set("desiredValue", value) if err != nil { @@ -185,7 +185,7 @@ func (m *DriftedProperty) SetOdataType(value *string)() { panic(err) } } -// SetPropertyName sets the propertyName property value. The propertyName property +// SetPropertyName sets the propertyName property value. The name of the property. func (m *DriftedProperty) SetPropertyName(value *string)() { err := m.GetBackingStore().Set("propertyName", value) if err != nil { diff --git a/models/entitlement_management.go b/models/entitlement_management.go index 3370b1e673c..787c3dc8de5 100644 --- a/models/entitlement_management.go +++ b/models/entitlement_management.go @@ -214,6 +214,18 @@ func (m *EntitlementManagement) GetControlConfigurations()([]ControlConfiguratio } return nil } +// GetExternalOriginResourceConnectors gets the externalOriginResourceConnectors property value. The externalOriginResourceConnectors property +// returns a []ExternalOriginResourceConnectorable when successful +func (m *EntitlementManagement) GetExternalOriginResourceConnectors()([]ExternalOriginResourceConnectorable) { + val, err := m.GetBackingStore().Get("externalOriginResourceConnectors") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExternalOriginResourceConnectorable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EntitlementManagement) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -474,6 +486,22 @@ func (m *EntitlementManagement) GetFieldDeserializers()(map[string]func(i878a80d } return nil } + res["externalOriginResourceConnectors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExternalOriginResourceConnectorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExternalOriginResourceConnectorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExternalOriginResourceConnectorable) + } + } + m.SetExternalOriginResourceConnectors(res) + } + return nil + } res["settings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateEntitlementManagementSettingsFromDiscriminatorValue) if err != nil { @@ -724,6 +752,18 @@ func (m *EntitlementManagement) Serialize(writer i878a80d2330e89d26896388a3f487e return err } } + if m.GetExternalOriginResourceConnectors() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExternalOriginResourceConnectors())) + for i, v := range m.GetExternalOriginResourceConnectors() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("externalOriginResourceConnectors", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("settings", m.GetSettings()) if err != nil { @@ -856,6 +896,13 @@ func (m *EntitlementManagement) SetControlConfigurations(value []ControlConfigur panic(err) } } +// SetExternalOriginResourceConnectors sets the externalOriginResourceConnectors property value. The externalOriginResourceConnectors property +func (m *EntitlementManagement) SetExternalOriginResourceConnectors(value []ExternalOriginResourceConnectorable)() { + err := m.GetBackingStore().Set("externalOriginResourceConnectors", value) + if err != nil { + panic(err) + } +} // SetSettings sets the settings property value. Represents the settings that control the behavior of Microsoft Entra entitlement management. func (m *EntitlementManagement) SetSettings(value EntitlementManagementSettingsable)() { err := m.GetBackingStore().Set("settings", value) @@ -889,6 +936,7 @@ type EntitlementManagementable interface { GetAvailableAccessPackages()([]AvailableAccessPackageable) GetConnectedOrganizations()([]ConnectedOrganizationable) GetControlConfigurations()([]ControlConfigurationable) + GetExternalOriginResourceConnectors()([]ExternalOriginResourceConnectorable) GetSettings()(EntitlementManagementSettingsable) GetSubjects()([]AccessPackageSubjectable) SetAccessPackageAssignmentApprovals(value []Approvalable)() @@ -907,6 +955,7 @@ type EntitlementManagementable interface { SetAvailableAccessPackages(value []AvailableAccessPackageable)() SetConnectedOrganizations(value []ConnectedOrganizationable)() SetControlConfigurations(value []ControlConfigurationable)() + SetExternalOriginResourceConnectors(value []ExternalOriginResourceConnectorable)() SetSettings(value EntitlementManagementSettingsable)() SetSubjects(value []AccessPackageSubjectable)() } diff --git a/models/entity.go b/models/entity.go index f7967af87ca..48a5763e69c 100644 --- a/models/entity.go +++ b/models/entity.go @@ -795,8 +795,6 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewConditionalAccessTemplate(), nil case "#microsoft.graph.configManagerCollection": return NewConfigManagerCollection(), nil - case "#microsoft.graph.configurationApplication": - return NewConfigurationApplication(), nil case "#microsoft.graph.configurationBaseline": return NewConfigurationBaseline(), nil case "#microsoft.graph.configurationDrift": @@ -2285,6 +2283,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewOnlineMeetingEngagementConversation(), nil case "#microsoft.graph.onOtpSendCustomExtension": return NewOnOtpSendCustomExtension(), nil + case "#microsoft.graph.onPasswordSubmitCustomExtension": + return NewOnPasswordSubmitCustomExtension(), nil + case "#microsoft.graph.onPasswordSubmitListener": + return NewOnPasswordSubmitListener(), nil case "#microsoft.graph.onPhoneMethodLoadStartListener": return NewOnPhoneMethodLoadStartListener(), nil case "#microsoft.graph.onPremAuthenticationPolicy": diff --git a/models/error_detail.go b/models/error_detail.go index 18f5ef67840..fd25b76db43 100644 --- a/models/error_detail.go +++ b/models/error_detail.go @@ -43,7 +43,7 @@ func (m *ErrorDetail) GetAdditionalData()(map[string]any) { func (m *ErrorDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetErrorMessage gets the errorMessage property value. The errorMessage property +// GetErrorMessage gets the errorMessage property value. The message that describes the error to help the admin take action. // returns a *string when successful func (m *ErrorDetail) GetErrorMessage()(*string) { val, err := m.GetBackingStore().Get("errorMessage") @@ -113,7 +113,7 @@ func (m *ErrorDetail) GetOdataType()(*string) { } return nil } -// GetResourceInstanceName gets the resourceInstanceName property value. The resourceInstanceName property +// GetResourceInstanceName gets the resourceInstanceName property value. The resource type identifier. // returns a *string when successful func (m *ErrorDetail) GetResourceInstanceName()(*string) { val, err := m.GetBackingStore().Get("resourceInstanceName") @@ -125,7 +125,7 @@ func (m *ErrorDetail) GetResourceInstanceName()(*string) { } return nil } -// GetResourceType gets the resourceType property value. The resourceType property +// GetResourceType gets the resourceType property value. Name of the resource type. // returns a *string when successful func (m *ErrorDetail) GetResourceType()(*string) { val, err := m.GetBackingStore().Get("resourceType") @@ -164,7 +164,7 @@ func (m *ErrorDetail) SetAdditionalData(value map[string]any)() { func (m *ErrorDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetErrorMessage sets the errorMessage property value. The errorMessage property +// SetErrorMessage sets the errorMessage property value. The message that describes the error to help the admin take action. func (m *ErrorDetail) SetErrorMessage(value *string)() { err := m.GetBackingStore().Set("errorMessage", value) if err != nil { @@ -178,14 +178,14 @@ func (m *ErrorDetail) SetOdataType(value *string)() { panic(err) } } -// SetResourceInstanceName sets the resourceInstanceName property value. The resourceInstanceName property +// SetResourceInstanceName sets the resourceInstanceName property value. The resource type identifier. func (m *ErrorDetail) SetResourceInstanceName(value *string)() { err := m.GetBackingStore().Set("resourceInstanceName", value) if err != nil { panic(err) } } -// SetResourceType sets the resourceType property value. The resourceType property +// SetResourceType sets the resourceType property value. Name of the resource type. func (m *ErrorDetail) SetResourceType(value *string)() { err := m.GetBackingStore().Set("resourceType", value) if err != nil { diff --git a/models/exchange_message_trace.go b/models/exchange_message_trace.go index 02481f9e592..7fc793758af 100644 --- a/models/exchange_message_trace.go +++ b/models/exchange_message_trace.go @@ -119,7 +119,7 @@ func (m *ExchangeMessageTrace) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetFromIP gets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. +// GetFromIP gets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. Supports $filter (eq). // returns a *string when successful func (m *ExchangeMessageTrace) GetFromIP()(*string) { val, err := m.GetBackingStore().Get("fromIP") @@ -131,7 +131,7 @@ func (m *ExchangeMessageTrace) GetFromIP()(*string) { } return nil } -// GetMessageId gets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. +// GetMessageId gets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. Supports $filter (eq). // returns a *string when successful func (m *ExchangeMessageTrace) GetMessageId()(*string) { val, err := m.GetBackingStore().Get("messageId") @@ -143,7 +143,7 @@ func (m *ExchangeMessageTrace) GetMessageId()(*string) { } return nil } -// GetReceivedDateTime gets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. +// GetReceivedDateTime gets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. Supports $filter (ge, le). // returns a *Time when successful func (m *ExchangeMessageTrace) GetReceivedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("receivedDateTime") @@ -155,7 +155,7 @@ func (m *ExchangeMessageTrace) GetReceivedDateTime()(*i336074805fc853987abe6f7fe } return nil } -// GetRecipientAddress gets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. +// GetRecipientAddress gets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. Supports $filter (eq). // returns a *string when successful func (m *ExchangeMessageTrace) GetRecipientAddress()(*string) { val, err := m.GetBackingStore().Get("recipientAddress") @@ -167,7 +167,7 @@ func (m *ExchangeMessageTrace) GetRecipientAddress()(*string) { } return nil } -// GetSenderAddress gets the senderAddress property value. The SMTP email address of the user the message was purportedly from. +// GetSenderAddress gets the senderAddress property value. The SMTP email address of the user the message was purportedly from. Supports $filter (eq). // returns a *string when successful func (m *ExchangeMessageTrace) GetSenderAddress()(*string) { val, err := m.GetBackingStore().Get("senderAddress") @@ -203,7 +203,7 @@ func (m *ExchangeMessageTrace) GetStatus()(*ExchangeMessageTraceStatus) { } return nil } -// GetSubject gets the subject property value. The subject line of the message. +// GetSubject gets the subject property value. The subject line of the message. Supports $filter (contains, startsWith, endsWith). // returns a *string when successful func (m *ExchangeMessageTrace) GetSubject()(*string) { val, err := m.GetBackingStore().Get("subject") @@ -215,7 +215,7 @@ func (m *ExchangeMessageTrace) GetSubject()(*string) { } return nil } -// GetToIP gets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. +// GetToIP gets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. Supports $filter (eq). // returns a *string when successful func (m *ExchangeMessageTrace) GetToIP()(*string) { val, err := m.GetBackingStore().Get("toIP") @@ -290,35 +290,35 @@ func (m *ExchangeMessageTrace) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetFromIP sets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. +// SetFromIP sets the fromIP property value. The source IP address. For incoming messages, this value is the public IP address of the SMTP email server that sent the message. Supports $filter (eq). func (m *ExchangeMessageTrace) SetFromIP(value *string)() { err := m.GetBackingStore().Set("fromIP", value) if err != nil { panic(err) } } -// SetMessageId sets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. +// SetMessageId sets the messageId property value. The Message-ID header field of the message. The format of the Message-ID depends on the messaging server that sent the message. Supports $filter (eq). func (m *ExchangeMessageTrace) SetMessageId(value *string)() { err := m.GetBackingStore().Set("messageId", value) if err != nil { panic(err) } } -// SetReceivedDateTime sets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. +// SetReceivedDateTime sets the receivedDateTime property value. The date and time when the message was received by Exchange Online. The timestamp is in UTC format. Supports $filter (ge, le). func (m *ExchangeMessageTrace) SetReceivedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("receivedDateTime", value) if err != nil { panic(err) } } -// SetRecipientAddress sets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. +// SetRecipientAddress sets the recipientAddress property value. The SMTP email address of the user that the message was addressed to. Supports $filter (eq). func (m *ExchangeMessageTrace) SetRecipientAddress(value *string)() { err := m.GetBackingStore().Set("recipientAddress", value) if err != nil { panic(err) } } -// SetSenderAddress sets the senderAddress property value. The SMTP email address of the user the message was purportedly from. +// SetSenderAddress sets the senderAddress property value. The SMTP email address of the user the message was purportedly from. Supports $filter (eq). func (m *ExchangeMessageTrace) SetSenderAddress(value *string)() { err := m.GetBackingStore().Set("senderAddress", value) if err != nil { @@ -339,14 +339,14 @@ func (m *ExchangeMessageTrace) SetStatus(value *ExchangeMessageTraceStatus)() { panic(err) } } -// SetSubject sets the subject property value. The subject line of the message. +// SetSubject sets the subject property value. The subject line of the message. Supports $filter (contains, startsWith, endsWith). func (m *ExchangeMessageTrace) SetSubject(value *string)() { err := m.GetBackingStore().Set("subject", value) if err != nil { panic(err) } } -// SetToIP sets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. +// SetToIP sets the toIP property value. The destination IP address. For outgoing messages, this value is the public IP address in the resolved MX record for the destination domain. For incoming messages to Exchange Online, this value is blank. Supports $filter (eq). func (m *ExchangeMessageTrace) SetToIP(value *string)() { err := m.GetBackingStore().Set("toIP", value) if err != nil { diff --git a/models/configuration_application_collection_response.go b/models/external_origin_resource_connector_collection_response.go similarity index 52% rename from models/configuration_application_collection_response.go rename to models/external_origin_resource_connector_collection_response.go index f7f76d7fbde..b1aa2189d7d 100644 --- a/models/configuration_application_collection_response.go +++ b/models/external_origin_resource_connector_collection_response.go @@ -7,35 +7,35 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) -type ConfigurationApplicationCollectionResponse struct { +type ExternalOriginResourceConnectorCollectionResponse struct { BaseCollectionPaginationCountResponse } -// NewConfigurationApplicationCollectionResponse instantiates a new ConfigurationApplicationCollectionResponse and sets the default values. -func NewConfigurationApplicationCollectionResponse()(*ConfigurationApplicationCollectionResponse) { - m := &ConfigurationApplicationCollectionResponse{ +// NewExternalOriginResourceConnectorCollectionResponse instantiates a new ExternalOriginResourceConnectorCollectionResponse and sets the default values. +func NewExternalOriginResourceConnectorCollectionResponse()(*ExternalOriginResourceConnectorCollectionResponse) { + m := &ExternalOriginResourceConnectorCollectionResponse{ BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), } return m } -// CreateConfigurationApplicationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// CreateExternalOriginResourceConnectorCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful -func CreateConfigurationApplicationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewConfigurationApplicationCollectionResponse(), nil +func CreateExternalOriginResourceConnectorCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExternalOriginResourceConnectorCollectionResponse(), nil } // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ConfigurationApplicationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *ExternalOriginResourceConnectorCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(CreateConfigurationApplicationFromDiscriminatorValue) + val, err := n.GetCollectionOfObjectValues(CreateExternalOriginResourceConnectorFromDiscriminatorValue) if err != nil { return err } if val != nil { - res := make([]ConfigurationApplicationable, len(val)) + res := make([]ExternalOriginResourceConnectorable, len(val)) for i, v := range val { if v != nil { - res[i] = v.(ConfigurationApplicationable) + res[i] = v.(ExternalOriginResourceConnectorable) } } m.SetValue(res) @@ -45,19 +45,19 @@ func (m *ConfigurationApplicationCollectionResponse) GetFieldDeserializers()(map return res } // GetValue gets the value property value. The value property -// returns a []ConfigurationApplicationable when successful -func (m *ConfigurationApplicationCollectionResponse) GetValue()([]ConfigurationApplicationable) { +// returns a []ExternalOriginResourceConnectorable when successful +func (m *ExternalOriginResourceConnectorCollectionResponse) GetValue()([]ExternalOriginResourceConnectorable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.([]ConfigurationApplicationable) + return val.([]ExternalOriginResourceConnectorable) } return nil } // Serialize serializes information the current object -func (m *ConfigurationApplicationCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *ExternalOriginResourceConnectorCollectionResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.BaseCollectionPaginationCountResponse.Serialize(writer) if err != nil { return err @@ -77,15 +77,15 @@ func (m *ConfigurationApplicationCollectionResponse) Serialize(writer i878a80d23 return nil } // SetValue sets the value property value. The value property -func (m *ConfigurationApplicationCollectionResponse) SetValue(value []ConfigurationApplicationable)() { +func (m *ExternalOriginResourceConnectorCollectionResponse) SetValue(value []ExternalOriginResourceConnectorable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) } } -type ConfigurationApplicationCollectionResponseable interface { +type ExternalOriginResourceConnectorCollectionResponseable interface { BaseCollectionPaginationCountResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ConfigurationApplicationable) - SetValue(value []ConfigurationApplicationable)() + GetValue()([]ExternalOriginResourceConnectorable) + SetValue(value []ExternalOriginResourceConnectorable)() } diff --git a/models/fraud_protection_details.go b/models/fraud_protection_details.go new file mode 100644 index 00000000000..c62db327435 --- /dev/null +++ b/models/fraud_protection_details.go @@ -0,0 +1,393 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FraudProtectionDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFraudProtectionDetails instantiates a new FraudProtectionDetails and sets the default values. +func NewFraudProtectionDetails()(*FraudProtectionDetails) { + m := &FraudProtectionDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFraudProtectionDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFraudProtectionDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFraudProtectionDetails(), 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. +// returns a map[string]any when successful +func (m *FraudProtectionDetails) 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. +// returns a BackingStore when successful +func (m *FraudProtectionDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FraudProtectionDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + 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["providerErrorMessages"] = 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.SetProviderErrorMessages(res) + } + return nil + } + res["providerHttpStatusCodes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("int32") + if err != nil { + return err + } + if val != nil { + res := make([]int32, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*int32)) + } + } + m.SetProviderHttpStatusCodes(res) + } + return nil + } + res["providerName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetProviderName(val) + } + return nil + } + res["providerResponseTimes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("int32") + if err != nil { + return err + } + if val != nil { + res := make([]int32, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*int32)) + } + } + m.SetProviderResponseTimes(res) + } + return nil + } + res["providerSessionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetProviderSessionId(val) + } + return nil + } + res["reason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReason(val) + } + return nil + } + res["verdict"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVerdict(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *FraudProtectionDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProviderErrorMessages gets the providerErrorMessages property value. The providerErrorMessages property +// returns a []string when successful +func (m *FraudProtectionDetails) GetProviderErrorMessages()([]string) { + val, err := m.GetBackingStore().Get("providerErrorMessages") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetProviderHttpStatusCodes gets the providerHttpStatusCodes property value. The providerHttpStatusCodes property +// returns a []int32 when successful +func (m *FraudProtectionDetails) GetProviderHttpStatusCodes()([]int32) { + val, err := m.GetBackingStore().Get("providerHttpStatusCodes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]int32) + } + return nil +} +// GetProviderName gets the providerName property value. The providerName property +// returns a *string when successful +func (m *FraudProtectionDetails) GetProviderName()(*string) { + val, err := m.GetBackingStore().Get("providerName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProviderResponseTimes gets the providerResponseTimes property value. The providerResponseTimes property +// returns a []int32 when successful +func (m *FraudProtectionDetails) GetProviderResponseTimes()([]int32) { + val, err := m.GetBackingStore().Get("providerResponseTimes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]int32) + } + return nil +} +// GetProviderSessionId gets the providerSessionId property value. The providerSessionId property +// returns a *string when successful +func (m *FraudProtectionDetails) GetProviderSessionId()(*string) { + val, err := m.GetBackingStore().Get("providerSessionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReason gets the reason property value. The reason property +// returns a *string when successful +func (m *FraudProtectionDetails) GetReason()(*string) { + val, err := m.GetBackingStore().Get("reason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetVerdict gets the verdict property value. The verdict property +// returns a *string when successful +func (m *FraudProtectionDetails) GetVerdict()(*string) { + val, err := m.GetBackingStore().Get("verdict") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FraudProtectionDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetProviderErrorMessages() != nil { + err := writer.WriteCollectionOfStringValues("providerErrorMessages", m.GetProviderErrorMessages()) + if err != nil { + return err + } + } + if m.GetProviderHttpStatusCodes() != nil { + err := writer.WriteCollectionOfInt32Values("providerHttpStatusCodes", m.GetProviderHttpStatusCodes()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("providerName", m.GetProviderName()) + if err != nil { + return err + } + } + if m.GetProviderResponseTimes() != nil { + err := writer.WriteCollectionOfInt32Values("providerResponseTimes", m.GetProviderResponseTimes()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("providerSessionId", m.GetProviderSessionId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("reason", m.GetReason()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("verdict", m.GetVerdict()) + 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 *FraudProtectionDetails) 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 *FraudProtectionDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *FraudProtectionDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetProviderErrorMessages sets the providerErrorMessages property value. The providerErrorMessages property +func (m *FraudProtectionDetails) SetProviderErrorMessages(value []string)() { + err := m.GetBackingStore().Set("providerErrorMessages", value) + if err != nil { + panic(err) + } +} +// SetProviderHttpStatusCodes sets the providerHttpStatusCodes property value. The providerHttpStatusCodes property +func (m *FraudProtectionDetails) SetProviderHttpStatusCodes(value []int32)() { + err := m.GetBackingStore().Set("providerHttpStatusCodes", value) + if err != nil { + panic(err) + } +} +// SetProviderName sets the providerName property value. The providerName property +func (m *FraudProtectionDetails) SetProviderName(value *string)() { + err := m.GetBackingStore().Set("providerName", value) + if err != nil { + panic(err) + } +} +// SetProviderResponseTimes sets the providerResponseTimes property value. The providerResponseTimes property +func (m *FraudProtectionDetails) SetProviderResponseTimes(value []int32)() { + err := m.GetBackingStore().Set("providerResponseTimes", value) + if err != nil { + panic(err) + } +} +// SetProviderSessionId sets the providerSessionId property value. The providerSessionId property +func (m *FraudProtectionDetails) SetProviderSessionId(value *string)() { + err := m.GetBackingStore().Set("providerSessionId", value) + if err != nil { + panic(err) + } +} +// SetReason sets the reason property value. The reason property +func (m *FraudProtectionDetails) SetReason(value *string)() { + err := m.GetBackingStore().Set("reason", value) + if err != nil { + panic(err) + } +} +// SetVerdict sets the verdict property value. The verdict property +func (m *FraudProtectionDetails) SetVerdict(value *string)() { + err := m.GetBackingStore().Set("verdict", value) + if err != nil { + panic(err) + } +} +type FraudProtectionDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetProviderErrorMessages()([]string) + GetProviderHttpStatusCodes()([]int32) + GetProviderName()(*string) + GetProviderResponseTimes()([]int32) + GetProviderSessionId()(*string) + GetReason()(*string) + GetVerdict()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetProviderErrorMessages(value []string)() + SetProviderHttpStatusCodes(value []int32)() + SetProviderName(value *string)() + SetProviderResponseTimes(value []int32)() + SetProviderSessionId(value *string)() + SetReason(value *string)() + SetVerdict(value *string)() +} diff --git a/models/granular_drive_restore_artifact.go b/models/granular_drive_restore_artifact.go index 9f3c597a0f1..c12d5ffb664 100644 --- a/models/granular_drive_restore_artifact.go +++ b/models/granular_drive_restore_artifact.go @@ -22,7 +22,7 @@ func NewGranularDriveRestoreArtifact()(*GranularDriveRestoreArtifact) { func CreateGranularDriveRestoreArtifactFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewGranularDriveRestoreArtifact(), nil } -// GetDirectoryObjectId gets the directoryObjectId property value. The directoryObjectId property +// GetDirectoryObjectId gets the directoryObjectId property value. Id of the drive in which artifact is present. // returns a *string when successful func (m *GranularDriveRestoreArtifact) GetDirectoryObjectId()(*string) { val, err := m.GetBackingStore().Get("directoryObjectId") @@ -64,7 +64,7 @@ func (m *GranularDriveRestoreArtifact) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetDirectoryObjectId sets the directoryObjectId property value. The directoryObjectId property +// SetDirectoryObjectId sets the directoryObjectId property value. Id of the drive in which artifact is present. func (m *GranularDriveRestoreArtifact) SetDirectoryObjectId(value *string)() { err := m.GetBackingStore().Set("directoryObjectId", value) if err != nil { diff --git a/models/granular_restore_artifact_base.go b/models/granular_restore_artifact_base.go index 9a50dc545c2..ed79e4b3105 100644 --- a/models/granular_restore_artifact_base.go +++ b/models/granular_restore_artifact_base.go @@ -43,7 +43,7 @@ func CreateGranularRestoreArtifactBaseFromDiscriminatorValue(parseNode i878a80d2 } return NewGranularRestoreArtifactBase(), nil } -// GetBrowseSessionId gets the browseSessionId property value. The browseSessionId property +// GetBrowseSessionId gets the browseSessionId property value. The unique identifier of the browseSession // returns a *string when successful func (m *GranularRestoreArtifactBase) GetBrowseSessionId()(*string) { val, err := m.GetBackingStore().Get("browseSessionId") @@ -55,7 +55,7 @@ func (m *GranularRestoreArtifactBase) GetBrowseSessionId()(*string) { } return nil } -// GetCompletionDateTime gets the completionDateTime property value. The completionDateTime property +// GetCompletionDateTime gets the completionDateTime property value. Date time when the artifact's restoration completes. // returns a *Time when successful func (m *GranularRestoreArtifactBase) GetCompletionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("completionDateTime") @@ -163,7 +163,7 @@ func (m *GranularRestoreArtifactBase) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetRestoredItemKey gets the restoredItemKey property value. The restoredItemKey property +// GetRestoredItemKey gets the restoredItemKey property value. The unique identifier for the restored artifact. // returns a *string when successful func (m *GranularRestoreArtifactBase) GetRestoredItemKey()(*string) { val, err := m.GetBackingStore().Get("restoredItemKey") @@ -175,7 +175,7 @@ func (m *GranularRestoreArtifactBase) GetRestoredItemKey()(*string) { } return nil } -// GetRestoredItemPath gets the restoredItemPath property value. The restoredItemPath property +// GetRestoredItemPath gets the restoredItemPath property value. The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. // returns a *string when successful func (m *GranularRestoreArtifactBase) GetRestoredItemPath()(*string) { val, err := m.GetBackingStore().Get("restoredItemPath") @@ -187,7 +187,7 @@ func (m *GranularRestoreArtifactBase) GetRestoredItemPath()(*string) { } return nil } -// GetRestoredItemWebUrl gets the restoredItemWebUrl property value. The restoredItemWebUrl property +// GetRestoredItemWebUrl gets the restoredItemWebUrl property value. The web url of the restord artifact. // returns a *string when successful func (m *GranularRestoreArtifactBase) GetRestoredItemWebUrl()(*string) { val, err := m.GetBackingStore().Get("restoredItemWebUrl") @@ -199,7 +199,7 @@ func (m *GranularRestoreArtifactBase) GetRestoredItemWebUrl()(*string) { } return nil } -// GetRestorePointDateTime gets the restorePointDateTime property value. The restorePointDateTime property +// GetRestorePointDateTime gets the restorePointDateTime property value. The restore point date time to which the artifact is restored. // returns a *Time when successful func (m *GranularRestoreArtifactBase) GetRestorePointDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("restorePointDateTime") @@ -211,7 +211,7 @@ func (m *GranularRestoreArtifactBase) GetRestorePointDateTime()(*i336074805fc853 } return nil } -// GetStartDateTime gets the startDateTime property value. The startDateTime property +// GetStartDateTime gets the startDateTime property value. The start time of the restoration. // returns a *Time when successful func (m *GranularRestoreArtifactBase) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("startDateTime") @@ -235,7 +235,7 @@ func (m *GranularRestoreArtifactBase) GetStatus()(*ArtifactRestoreStatus) { } return nil } -// GetWebUrl gets the webUrl property value. The webUrl property +// GetWebUrl gets the webUrl property value. The original web url of the artifact being restored. // returns a *string when successful func (m *GranularRestoreArtifactBase) GetWebUrl()(*string) { val, err := m.GetBackingStore().Get("webUrl") @@ -310,49 +310,49 @@ func (m *GranularRestoreArtifactBase) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetBrowseSessionId sets the browseSessionId property value. The browseSessionId property +// SetBrowseSessionId sets the browseSessionId property value. The unique identifier of the browseSession func (m *GranularRestoreArtifactBase) SetBrowseSessionId(value *string)() { err := m.GetBackingStore().Set("browseSessionId", value) if err != nil { panic(err) } } -// SetCompletionDateTime sets the completionDateTime property value. The completionDateTime property +// SetCompletionDateTime sets the completionDateTime property value. Date time when the artifact's restoration completes. func (m *GranularRestoreArtifactBase) SetCompletionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("completionDateTime", value) if err != nil { panic(err) } } -// SetRestoredItemKey sets the restoredItemKey property value. The restoredItemKey property +// SetRestoredItemKey sets the restoredItemKey property value. The unique identifier for the restored artifact. func (m *GranularRestoreArtifactBase) SetRestoredItemKey(value *string)() { err := m.GetBackingStore().Set("restoredItemKey", value) if err != nil { panic(err) } } -// SetRestoredItemPath sets the restoredItemPath property value. The restoredItemPath property +// SetRestoredItemPath sets the restoredItemPath property value. The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session. func (m *GranularRestoreArtifactBase) SetRestoredItemPath(value *string)() { err := m.GetBackingStore().Set("restoredItemPath", value) if err != nil { panic(err) } } -// SetRestoredItemWebUrl sets the restoredItemWebUrl property value. The restoredItemWebUrl property +// SetRestoredItemWebUrl sets the restoredItemWebUrl property value. The web url of the restord artifact. func (m *GranularRestoreArtifactBase) SetRestoredItemWebUrl(value *string)() { err := m.GetBackingStore().Set("restoredItemWebUrl", value) if err != nil { panic(err) } } -// SetRestorePointDateTime sets the restorePointDateTime property value. The restorePointDateTime property +// SetRestorePointDateTime sets the restorePointDateTime property value. The restore point date time to which the artifact is restored. func (m *GranularRestoreArtifactBase) SetRestorePointDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("restorePointDateTime", value) if err != nil { panic(err) } } -// SetStartDateTime sets the startDateTime property value. The startDateTime property +// SetStartDateTime sets the startDateTime property value. The start time of the restoration. func (m *GranularRestoreArtifactBase) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("startDateTime", value) if err != nil { @@ -366,7 +366,7 @@ func (m *GranularRestoreArtifactBase) SetStatus(value *ArtifactRestoreStatus)() panic(err) } } -// SetWebUrl sets the webUrl property value. The webUrl property +// SetWebUrl sets the webUrl property value. The original web url of the artifact being restored. func (m *GranularRestoreArtifactBase) SetWebUrl(value *string)() { err := m.GetBackingStore().Set("webUrl", value) if err != nil { diff --git a/models/granular_site_restore_artifact.go b/models/granular_site_restore_artifact.go index 6a95043334b..7555cec48ad 100644 --- a/models/granular_site_restore_artifact.go +++ b/models/granular_site_restore_artifact.go @@ -38,7 +38,7 @@ func (m *GranularSiteRestoreArtifact) GetFieldDeserializers()(map[string]func(i8 } return res } -// GetSiteId gets the siteId property value. The siteId property +// GetSiteId gets the siteId property value. Id of the site in which artifact is present. // returns a *string when successful func (m *GranularSiteRestoreArtifact) GetSiteId()(*string) { val, err := m.GetBackingStore().Get("siteId") @@ -64,7 +64,7 @@ func (m *GranularSiteRestoreArtifact) Serialize(writer i878a80d2330e89d26896388a } return nil } -// SetSiteId sets the siteId property value. The siteId property +// SetSiteId sets the siteId property value. Id of the site in which artifact is present. func (m *GranularSiteRestoreArtifact) SetSiteId(value *string)() { err := m.GetBackingStore().Set("siteId", value) if err != nil { diff --git a/models/group.go b/models/group.go index 0b37a4654a3..eda08f0fdb1 100644 --- a/models/group.go +++ b/models/group.go @@ -1992,7 +1992,7 @@ func (m *Group) GetVisibility()(*string) { } return nil } -// GetWelcomeMessageEnabled gets the welcomeMessageEnabled property value. The welcomeMessageEnabled property +// GetWelcomeMessageEnabled gets the welcomeMessageEnabled property value. Indicates whether a welcome message is sent to new members when they are added to the group. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). // returns a *bool when successful func (m *Group) GetWelcomeMessageEnabled()(*bool) { val, err := m.GetBackingStore().Get("welcomeMessageEnabled") @@ -3227,7 +3227,7 @@ func (m *Group) SetVisibility(value *string)() { panic(err) } } -// SetWelcomeMessageEnabled sets the welcomeMessageEnabled property value. The welcomeMessageEnabled property +// SetWelcomeMessageEnabled sets the welcomeMessageEnabled property value. Indicates whether a welcome message is sent to new members when they are added to the group. The default value is true. Returned only on $select. Supported only on the Get group API (GET /groups/{ID}). func (m *Group) SetWelcomeMessageEnabled(value *bool)() { err := m.GetBackingStore().Set("welcomeMessageEnabled", value) if err != nil { diff --git a/models/monitor_mode.go b/models/monitor_mode.go index b60aeaf3c23..395773b9085 100644 --- a/models/monitor_mode.go +++ b/models/monitor_mode.go @@ -5,31 +5,19 @@ package models type MonitorMode int const ( - MONITORONCE_MONITORMODE MonitorMode = iota - MONITORONLY_MONITORMODE - APPLYONCEANDMONITORCONTINUOUS_MONITORMODE - APPLYONCE_MONITORMODE - APPLYCONTINUOUS_MONITORMODE + MONITORONLY_MONITORMODE MonitorMode = iota // A marker value for members added after the release of this API. UNKNOWNFUTUREVALUE_MONITORMODE ) func (i MonitorMode) String() string { - return []string{"monitorOnce", "monitorOnly", "applyOnceAndMonitorContinuous", "applyOnce", "applyContinuous", "unknownFutureValue"}[i] + return []string{"monitorOnly", "unknownFutureValue"}[i] } func ParseMonitorMode(v string) (any, error) { - result := MONITORONCE_MONITORMODE + result := MONITORONLY_MONITORMODE switch v { - case "monitorOnce": - result = MONITORONCE_MONITORMODE case "monitorOnly": result = MONITORONLY_MONITORMODE - case "applyOnceAndMonitorContinuous": - result = APPLYONCEANDMONITORCONTINUOUS_MONITORMODE - case "applyOnce": - result = APPLYONCE_MONITORMODE - case "applyContinuous": - result = APPLYCONTINUOUS_MONITORMODE case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_MONITORMODE default: diff --git a/models/monitor_run_type.go b/models/monitor_run_type.go deleted file mode 100644 index a36f0218207..00000000000 --- a/models/monitor_run_type.go +++ /dev/null @@ -1,40 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package models -type MonitorRunType int - -const ( - MONITOR_MONITORRUNTYPE MonitorRunType = iota - APPLY_MONITORRUNTYPE - // A marker value for members added after the release of this API. - UNKNOWNFUTUREVALUE_MONITORRUNTYPE -) - -func (i MonitorRunType) String() string { - return []string{"monitor", "apply", "unknownFutureValue"}[i] -} -func ParseMonitorRunType(v string) (any, error) { - result := MONITOR_MONITORRUNTYPE - switch v { - case "monitor": - result = MONITOR_MONITORRUNTYPE - case "apply": - result = APPLY_MONITORRUNTYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_MONITORRUNTYPE - default: - return nil, nil - } - return &result, nil -} -func SerializeMonitorRunType(values []MonitorRunType) []string { - result := make([]string, len(values)) - for i, v := range values { - result[i] = v.String() - } - return result -} -func (i MonitorRunType) isMultiValue() bool { - return false -} diff --git a/models/on_password_migration_custom_extension_handler.go b/models/on_password_migration_custom_extension_handler.go new file mode 100644 index 00000000000..c36d192c53b --- /dev/null +++ b/models/on_password_migration_custom_extension_handler.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OnPasswordMigrationCustomExtensionHandler struct { + OnPasswordSubmitHandler +} +// NewOnPasswordMigrationCustomExtensionHandler instantiates a new OnPasswordMigrationCustomExtensionHandler and sets the default values. +func NewOnPasswordMigrationCustomExtensionHandler()(*OnPasswordMigrationCustomExtensionHandler) { + m := &OnPasswordMigrationCustomExtensionHandler{ + OnPasswordSubmitHandler: *NewOnPasswordSubmitHandler(), + } + odataTypeValue := "#microsoft.graph.onPasswordMigrationCustomExtensionHandler" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOnPasswordMigrationCustomExtensionHandlerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnPasswordMigrationCustomExtensionHandlerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnPasswordMigrationCustomExtensionHandler(), nil +} +// GetConfiguration gets the configuration property value. Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. +// returns a CustomExtensionOverwriteConfigurationable when successful +func (m *OnPasswordMigrationCustomExtensionHandler) GetConfiguration()(CustomExtensionOverwriteConfigurationable) { + val, err := m.GetBackingStore().Get("configuration") + if err != nil { + panic(err) + } + if val != nil { + return val.(CustomExtensionOverwriteConfigurationable) + } + return nil +} +// GetCustomExtension gets the customExtension property value. The customExtension property +// returns a OnPasswordSubmitCustomExtensionable when successful +func (m *OnPasswordMigrationCustomExtensionHandler) GetCustomExtension()(OnPasswordSubmitCustomExtensionable) { + val, err := m.GetBackingStore().Get("customExtension") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnPasswordSubmitCustomExtensionable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnPasswordMigrationCustomExtensionHandler) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.OnPasswordSubmitHandler.GetFieldDeserializers() + res["configuration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateCustomExtensionOverwriteConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetConfiguration(val.(CustomExtensionOverwriteConfigurationable)) + } + return nil + } + res["customExtension"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnPasswordSubmitCustomExtensionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCustomExtension(val.(OnPasswordSubmitCustomExtensionable)) + } + return nil + } + res["migrationPropertyId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMigrationPropertyId(val) + } + return nil + } + return res +} +// GetMigrationPropertyId gets the migrationPropertyId property value. The name of the custom extension attribute that indicates whether a user requires migration. This property must reference a valid custom attribute on the user object (for example, extensionrequiresMigration). Required. +// returns a *string when successful +func (m *OnPasswordMigrationCustomExtensionHandler) GetMigrationPropertyId()(*string) { + val, err := m.GetBackingStore().Get("migrationPropertyId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OnPasswordMigrationCustomExtensionHandler) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.OnPasswordSubmitHandler.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("configuration", m.GetConfiguration()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("customExtension", m.GetCustomExtension()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("migrationPropertyId", m.GetMigrationPropertyId()) + if err != nil { + return err + } + } + return nil +} +// SetConfiguration sets the configuration property value. Configuration that overrides the default settings from the referenced custom extension, such as timeout and retry values. Optional. +func (m *OnPasswordMigrationCustomExtensionHandler) SetConfiguration(value CustomExtensionOverwriteConfigurationable)() { + err := m.GetBackingStore().Set("configuration", value) + if err != nil { + panic(err) + } +} +// SetCustomExtension sets the customExtension property value. The customExtension property +func (m *OnPasswordMigrationCustomExtensionHandler) SetCustomExtension(value OnPasswordSubmitCustomExtensionable)() { + err := m.GetBackingStore().Set("customExtension", value) + if err != nil { + panic(err) + } +} +// SetMigrationPropertyId sets the migrationPropertyId property value. The name of the custom extension attribute that indicates whether a user requires migration. This property must reference a valid custom attribute on the user object (for example, extensionrequiresMigration). Required. +func (m *OnPasswordMigrationCustomExtensionHandler) SetMigrationPropertyId(value *string)() { + err := m.GetBackingStore().Set("migrationPropertyId", value) + if err != nil { + panic(err) + } +} +type OnPasswordMigrationCustomExtensionHandlerable interface { + OnPasswordSubmitHandlerable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetConfiguration()(CustomExtensionOverwriteConfigurationable) + GetCustomExtension()(OnPasswordSubmitCustomExtensionable) + GetMigrationPropertyId()(*string) + SetConfiguration(value CustomExtensionOverwriteConfigurationable)() + SetCustomExtension(value OnPasswordSubmitCustomExtensionable)() + SetMigrationPropertyId(value *string)() +} diff --git a/models/on_password_submit_custom_extension.go b/models/on_password_submit_custom_extension.go new file mode 100644 index 00000000000..79aed7d080e --- /dev/null +++ b/models/on_password_submit_custom_extension.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OnPasswordSubmitCustomExtension struct { + CustomAuthenticationExtension +} +// NewOnPasswordSubmitCustomExtension instantiates a new OnPasswordSubmitCustomExtension and sets the default values. +func NewOnPasswordSubmitCustomExtension()(*OnPasswordSubmitCustomExtension) { + m := &OnPasswordSubmitCustomExtension{ + CustomAuthenticationExtension: *NewCustomAuthenticationExtension(), + } + odataTypeValue := "#microsoft.graph.onPasswordSubmitCustomExtension" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOnPasswordSubmitCustomExtensionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnPasswordSubmitCustomExtensionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnPasswordSubmitCustomExtension(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnPasswordSubmitCustomExtension) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CustomAuthenticationExtension.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *OnPasswordSubmitCustomExtension) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CustomAuthenticationExtension.Serialize(writer) + if err != nil { + return err + } + return nil +} +type OnPasswordSubmitCustomExtensionable interface { + CustomAuthenticationExtensionable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/on_password_submit_handler.go b/models/on_password_submit_handler.go new file mode 100644 index 00000000000..0779ab487ef --- /dev/null +++ b/models/on_password_submit_handler.go @@ -0,0 +1,134 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OnPasswordSubmitHandler struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOnPasswordSubmitHandler instantiates a new OnPasswordSubmitHandler and sets the default values. +func NewOnPasswordSubmitHandler()(*OnPasswordSubmitHandler) { + m := &OnPasswordSubmitHandler{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOnPasswordSubmitHandlerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnPasswordSubmitHandlerFromDiscriminatorValue(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.onPasswordMigrationCustomExtensionHandler": + return NewOnPasswordMigrationCustomExtensionHandler(), nil + } + } + } + } + return NewOnPasswordSubmitHandler(), 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. +// returns a map[string]any when successful +func (m *OnPasswordSubmitHandler) 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. +// returns a BackingStore when successful +func (m *OnPasswordSubmitHandler) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnPasswordSubmitHandler) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + 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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *OnPasswordSubmitHandler) 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 *OnPasswordSubmitHandler) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + 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 *OnPasswordSubmitHandler) 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 *OnPasswordSubmitHandler) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OnPasswordSubmitHandler) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type OnPasswordSubmitHandlerable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/on_password_submit_listener.go b/models/on_password_submit_listener.go new file mode 100644 index 00000000000..2d4fa6f9e4f --- /dev/null +++ b/models/on_password_submit_listener.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OnPasswordSubmitListener struct { + AuthenticationEventListener +} +// NewOnPasswordSubmitListener instantiates a new OnPasswordSubmitListener and sets the default values. +func NewOnPasswordSubmitListener()(*OnPasswordSubmitListener) { + m := &OnPasswordSubmitListener{ + AuthenticationEventListener: *NewAuthenticationEventListener(), + } + odataTypeValue := "#microsoft.graph.onPasswordSubmitListener" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOnPasswordSubmitListenerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOnPasswordSubmitListenerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOnPasswordSubmitListener(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OnPasswordSubmitListener) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AuthenticationEventListener.GetFieldDeserializers() + res["handler"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOnPasswordSubmitHandlerFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetHandler(val.(OnPasswordSubmitHandlerable)) + } + return nil + } + return res +} +// GetHandler gets the handler property value. Configuration for the handler to invoke when this listener is triggered. For JIT migration scenarios, this is typically an onPasswordMigrationCustomExtensionHandler. +// returns a OnPasswordSubmitHandlerable when successful +func (m *OnPasswordSubmitListener) GetHandler()(OnPasswordSubmitHandlerable) { + val, err := m.GetBackingStore().Get("handler") + if err != nil { + panic(err) + } + if val != nil { + return val.(OnPasswordSubmitHandlerable) + } + return nil +} +// Serialize serializes information the current object +func (m *OnPasswordSubmitListener) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AuthenticationEventListener.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("handler", m.GetHandler()) + if err != nil { + return err + } + } + return nil +} +// SetHandler sets the handler property value. Configuration for the handler to invoke when this listener is triggered. For JIT migration scenarios, this is typically an onPasswordMigrationCustomExtensionHandler. +func (m *OnPasswordSubmitListener) SetHandler(value OnPasswordSubmitHandlerable)() { + err := m.GetBackingStore().Set("handler", value) + if err != nil { + panic(err) + } +} +type OnPasswordSubmitListenerable interface { + AuthenticationEventListenerable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetHandler()(OnPasswordSubmitHandlerable) + SetHandler(value OnPasswordSubmitHandlerable)() +} diff --git a/models/one_drive_for_business_browse_session.go b/models/one_drive_for_business_browse_session.go index 2eff1993645..a69a975bc80 100644 --- a/models/one_drive_for_business_browse_session.go +++ b/models/one_drive_for_business_browse_session.go @@ -24,7 +24,7 @@ func NewOneDriveForBusinessBrowseSession()(*OneDriveForBusinessBrowseSession) { func CreateOneDriveForBusinessBrowseSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOneDriveForBusinessBrowseSession(), nil } -// GetDirectoryObjectId gets the directoryObjectId property value. The directoryObjectId property +// GetDirectoryObjectId gets the directoryObjectId property value. Id of the backed-up OneDrive. // returns a *string when successful func (m *OneDriveForBusinessBrowseSession) GetDirectoryObjectId()(*string) { val, err := m.GetBackingStore().Get("directoryObjectId") @@ -66,7 +66,7 @@ func (m *OneDriveForBusinessBrowseSession) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetDirectoryObjectId sets the directoryObjectId property value. The directoryObjectId property +// SetDirectoryObjectId sets the directoryObjectId property value. Id of the backed-up OneDrive. func (m *OneDriveForBusinessBrowseSession) SetDirectoryObjectId(value *string)() { err := m.GetBackingStore().Set("directoryObjectId", value) if err != nil { diff --git a/models/one_drive_for_business_restore_session.go b/models/one_drive_for_business_restore_session.go index 325330ba5d3..31c6d7db78f 100644 --- a/models/one_drive_for_business_restore_session.go +++ b/models/one_drive_for_business_restore_session.go @@ -102,7 +102,7 @@ func (m *OneDriveForBusinessRestoreSession) GetFieldDeserializers()(map[string]f } return res } -// GetGranularDriveRestoreArtifacts gets the granularDriveRestoreArtifacts property value. The granularDriveRestoreArtifacts property +// GetGranularDriveRestoreArtifacts gets the granularDriveRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. // returns a []GranularDriveRestoreArtifactable when successful func (m *OneDriveForBusinessRestoreSession) GetGranularDriveRestoreArtifacts()([]GranularDriveRestoreArtifactable) { val, err := m.GetBackingStore().Get("granularDriveRestoreArtifacts") @@ -172,7 +172,7 @@ func (m *OneDriveForBusinessRestoreSession) SetDriveRestoreArtifactsBulkAddition panic(err) } } -// SetGranularDriveRestoreArtifacts sets the granularDriveRestoreArtifacts property value. The granularDriveRestoreArtifacts property +// SetGranularDriveRestoreArtifacts sets the granularDriveRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. func (m *OneDriveForBusinessRestoreSession) SetGranularDriveRestoreArtifacts(value []GranularDriveRestoreArtifactable)() { err := m.GetBackingStore().Set("granularDriveRestoreArtifacts", value) if err != nil { diff --git a/models/protection_policy_base.go b/models/protection_policy_base.go index fbdda780793..52260d56fc2 100644 --- a/models/protection_policy_base.go +++ b/models/protection_policy_base.go @@ -167,6 +167,16 @@ func (m *ProtectionPolicyBase) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["offboardRequestedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetOffboardRequestedDateTime(val) + } + return nil + } res["protectionMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseBackupPolicyProtectionMode) if err != nil { @@ -251,6 +261,18 @@ func (m *ProtectionPolicyBase) GetLastModifiedDateTime()(*i336074805fc853987abe6 } return nil } +// GetOffboardRequestedDateTime gets the offboardRequestedDateTime property value. The offboardRequestedDateTime property +// returns a *Time when successful +func (m *ProtectionPolicyBase) GetOffboardRequestedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("offboardRequestedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} // GetProtectionMode gets the protectionMode property value. The protectionMode property // returns a *BackupPolicyProtectionMode when successful func (m *ProtectionPolicyBase) GetProtectionMode()(*BackupPolicyProtectionMode) { @@ -347,6 +369,12 @@ func (m *ProtectionPolicyBase) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + { + err = writer.WriteTimeValue("offboardRequestedDateTime", m.GetOffboardRequestedDateTime()) + if err != nil { + return err + } + } if m.GetProtectionMode() != nil { cast := (*m.GetProtectionMode()).String() err = writer.WriteStringValue("protectionMode", &cast) @@ -430,6 +458,13 @@ func (m *ProtectionPolicyBase) SetLastModifiedDateTime(value *i336074805fc853987 panic(err) } } +// SetOffboardRequestedDateTime sets the offboardRequestedDateTime property value. The offboardRequestedDateTime property +func (m *ProtectionPolicyBase) SetOffboardRequestedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("offboardRequestedDateTime", value) + if err != nil { + panic(err) + } +} // SetProtectionMode sets the protectionMode property value. The protectionMode property func (m *ProtectionPolicyBase) SetProtectionMode(value *BackupPolicyProtectionMode)() { err := m.GetBackingStore().Set("protectionMode", value) @@ -468,6 +503,7 @@ type ProtectionPolicyBaseable interface { GetIsEnabled()(*bool) GetLastModifiedBy()(IdentitySetable) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOffboardRequestedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetProtectionMode()(*BackupPolicyProtectionMode) GetProtectionPolicyArtifactCount()(ProtectionPolicyArtifactCountable) GetRetentionSettings()([]RetentionSettingable) @@ -479,6 +515,7 @@ type ProtectionPolicyBaseable interface { SetIsEnabled(value *bool)() SetLastModifiedBy(value IdentitySetable)() SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOffboardRequestedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetProtectionMode(value *BackupPolicyProtectionMode)() SetProtectionPolicyArtifactCount(value ProtectionPolicyArtifactCountable)() SetRetentionSettings(value []RetentionSettingable)() diff --git a/models/protection_policy_status.go b/models/protection_policy_status.go index 5748111907a..97577cf2b36 100644 --- a/models/protection_policy_status.go +++ b/models/protection_policy_status.go @@ -11,10 +11,12 @@ const ( ACTIVE_PROTECTIONPOLICYSTATUS UNKNOWNFUTUREVALUE_PROTECTIONPOLICYSTATUS DORMANT_PROTECTIONPOLICYSTATUS + OFFBOARDREQUESTED_PROTECTIONPOLICYSTATUS + OFFBOARDED_PROTECTIONPOLICYSTATUS ) func (i ProtectionPolicyStatus) String() string { - return []string{"inactive", "activeWithErrors", "updating", "active", "unknownFutureValue", "dormant"}[i] + return []string{"inactive", "activeWithErrors", "updating", "active", "unknownFutureValue", "dormant", "offboardRequested", "offboarded"}[i] } func ParseProtectionPolicyStatus(v string) (any, error) { result := INACTIVE_PROTECTIONPOLICYSTATUS @@ -31,6 +33,10 @@ func ParseProtectionPolicyStatus(v string) (any, error) { result = UNKNOWNFUTUREVALUE_PROTECTIONPOLICYSTATUS case "dormant": result = DORMANT_PROTECTIONPOLICYSTATUS + case "offboardRequested": + result = OFFBOARDREQUESTED_PROTECTIONPOLICYSTATUS + case "offboarded": + result = OFFBOARDED_PROTECTIONPOLICYSTATUS default: return nil, nil } diff --git a/models/qr_code_image_details.go b/models/qr_code_image_details.go index 0b0ed6f57bc..03856d4a4ba 100644 --- a/models/qr_code_image_details.go +++ b/models/qr_code_image_details.go @@ -55,7 +55,7 @@ func (m *QrCodeImageDetails) GetBinaryValue()([]byte) { } return nil } -// GetErrorCorrectionLevel gets the errorCorrectionLevel property value. Specifies how much of the QRCode can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. +// GetErrorCorrectionLevel gets the errorCorrectionLevel property value. Specifies how much of the QR code can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. // returns a *ErrorCorrectionLevel when successful func (m *QrCodeImageDetails) GetErrorCorrectionLevel()(*ErrorCorrectionLevel) { val, err := m.GetBackingStore().Get("errorCorrectionLevel") @@ -218,7 +218,7 @@ func (m *QrCodeImageDetails) SetBinaryValue(value []byte)() { panic(err) } } -// SetErrorCorrectionLevel sets the errorCorrectionLevel property value. Specifies how much of the QRCode can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. +// SetErrorCorrectionLevel sets the errorCorrectionLevel property value. Specifies how much of the QR code can be corrupted while still maintaining its readable. The possible values are: l (Low), m (Medium), q (Quartile), h ( High), unknownFutureValue. func (m *QrCodeImageDetails) SetErrorCorrectionLevel(value *ErrorCorrectionLevel)() { err := m.GetBackingStore().Set("errorCorrectionLevel", value) if err != nil { diff --git a/models/redirect_uri_allowed_domain_configuration.go b/models/redirect_uri_allowed_domain_configuration.go new file mode 100644 index 00000000000..091a6c9e774 --- /dev/null +++ b/models/redirect_uri_allowed_domain_configuration.go @@ -0,0 +1,414 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriAllowedDomainConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriAllowedDomainConfiguration instantiates a new RedirectUriAllowedDomainConfiguration and sets the default values. +func NewRedirectUriAllowedDomainConfiguration()(*RedirectUriAllowedDomainConfiguration) { + m := &RedirectUriAllowedDomainConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriAllowedDomainConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriAllowedDomainConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriAllowedDomainConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriAllowedDomainConfiguration) 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) +} +// GetAllowedDomains gets the allowedDomains property value. The allowedDomains property +// returns a []string when successful +func (m *RedirectUriAllowedDomainConfiguration) GetAllowedDomains()([]string) { + val, err := m.GetBackingStore().Get("allowedDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RedirectUriAllowedDomainConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExcludeActors gets the excludeActors property value. The excludeActors property +// returns a AppManagementPolicyActorExemptionsable when successful +func (m *RedirectUriAllowedDomainConfiguration) GetExcludeActors()(AppManagementPolicyActorExemptionsable) { + val, err := m.GetBackingStore().Get("excludeActors") + if err != nil { + panic(err) + } + if val != nil { + return val.(AppManagementPolicyActorExemptionsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriAllowedDomainConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["allowedDomains"] = 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.SetAllowedDomains(res) + } + return nil + } + res["excludeActors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAppManagementPolicyActorExemptionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExcludeActors(val.(AppManagementPolicyActorExemptionsable)) + } + return nil + } + res["isStateSetByMicrosoft"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStateSetByMicrosoft(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["publicClient"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformAllowedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPublicClient(val.(RedirectUriPlatformAllowedDomainConfigurationable)) + } + return nil + } + res["restrictForAppsCreatedAfterDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRestrictForAppsCreatedAfterDateTime(val) + } + return nil + } + res["spa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformAllowedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSpa(val.(RedirectUriPlatformAllowedDomainConfigurationable)) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppManagementRestrictionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*AppManagementRestrictionState)) + } + return nil + } + res["web"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformAllowedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWeb(val.(RedirectUriPlatformAllowedDomainConfigurationable)) + } + return nil + } + return res +} +// GetIsStateSetByMicrosoft gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +// returns a *bool when successful +func (m *RedirectUriAllowedDomainConfiguration) GetIsStateSetByMicrosoft()(*bool) { + val, err := m.GetBackingStore().Get("isStateSetByMicrosoft") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriAllowedDomainConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublicClient gets the publicClient property value. The publicClient property +// returns a RedirectUriPlatformAllowedDomainConfigurationable when successful +func (m *RedirectUriAllowedDomainConfiguration) GetPublicClient()(RedirectUriPlatformAllowedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("publicClient") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformAllowedDomainConfigurationable) + } + return nil +} +// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +// returns a *Time when successful +func (m *RedirectUriAllowedDomainConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("restrictForAppsCreatedAfterDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSpa gets the spa property value. The spa property +// returns a RedirectUriPlatformAllowedDomainConfigurationable when successful +func (m *RedirectUriAllowedDomainConfiguration) GetSpa()(RedirectUriPlatformAllowedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("spa") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformAllowedDomainConfigurationable) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *AppManagementRestrictionState when successful +func (m *RedirectUriAllowedDomainConfiguration) GetState()(*AppManagementRestrictionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppManagementRestrictionState) + } + return nil +} +// GetWeb gets the web property value. The web property +// returns a RedirectUriPlatformAllowedDomainConfigurationable when successful +func (m *RedirectUriAllowedDomainConfiguration) GetWeb()(RedirectUriPlatformAllowedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("web") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformAllowedDomainConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *RedirectUriAllowedDomainConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAllowedDomains() != nil { + err := writer.WriteCollectionOfStringValues("allowedDomains", m.GetAllowedDomains()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("excludeActors", m.GetExcludeActors()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("publicClient", m.GetPublicClient()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("restrictForAppsCreatedAfterDateTime", m.GetRestrictForAppsCreatedAfterDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("spa", m.GetSpa()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("web", m.GetWeb()) + 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 *RedirectUriAllowedDomainConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAllowedDomains sets the allowedDomains property value. The allowedDomains property +func (m *RedirectUriAllowedDomainConfiguration) SetAllowedDomains(value []string)() { + err := m.GetBackingStore().Set("allowedDomains", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RedirectUriAllowedDomainConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExcludeActors sets the excludeActors property value. The excludeActors property +func (m *RedirectUriAllowedDomainConfiguration) SetExcludeActors(value AppManagementPolicyActorExemptionsable)() { + err := m.GetBackingStore().Set("excludeActors", value) + if err != nil { + panic(err) + } +} +// SetIsStateSetByMicrosoft sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +func (m *RedirectUriAllowedDomainConfiguration) SetIsStateSetByMicrosoft(value *bool)() { + err := m.GetBackingStore().Set("isStateSetByMicrosoft", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriAllowedDomainConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPublicClient sets the publicClient property value. The publicClient property +func (m *RedirectUriAllowedDomainConfiguration) SetPublicClient(value RedirectUriPlatformAllowedDomainConfigurationable)() { + err := m.GetBackingStore().Set("publicClient", value) + if err != nil { + panic(err) + } +} +// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +func (m *RedirectUriAllowedDomainConfiguration) SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("restrictForAppsCreatedAfterDateTime", value) + if err != nil { + panic(err) + } +} +// SetSpa sets the spa property value. The spa property +func (m *RedirectUriAllowedDomainConfiguration) SetSpa(value RedirectUriPlatformAllowedDomainConfigurationable)() { + err := m.GetBackingStore().Set("spa", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *RedirectUriAllowedDomainConfiguration) SetState(value *AppManagementRestrictionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +// SetWeb sets the web property value. The web property +func (m *RedirectUriAllowedDomainConfiguration) SetWeb(value RedirectUriPlatformAllowedDomainConfigurationable)() { + err := m.GetBackingStore().Set("web", value) + if err != nil { + panic(err) + } +} +type RedirectUriAllowedDomainConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowedDomains()([]string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExcludeActors()(AppManagementPolicyActorExemptionsable) + GetIsStateSetByMicrosoft()(*bool) + GetOdataType()(*string) + GetPublicClient()(RedirectUriPlatformAllowedDomainConfigurationable) + GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSpa()(RedirectUriPlatformAllowedDomainConfigurationable) + GetState()(*AppManagementRestrictionState) + GetWeb()(RedirectUriPlatformAllowedDomainConfigurationable) + SetAllowedDomains(value []string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExcludeActors(value AppManagementPolicyActorExemptionsable)() + SetIsStateSetByMicrosoft(value *bool)() + SetOdataType(value *string)() + SetPublicClient(value RedirectUriPlatformAllowedDomainConfigurationable)() + SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSpa(value RedirectUriPlatformAllowedDomainConfigurationable)() + SetState(value *AppManagementRestrictionState)() + SetWeb(value RedirectUriPlatformAllowedDomainConfigurationable)() +} diff --git a/models/redirect_uri_allowed_scheme_configuration.go b/models/redirect_uri_allowed_scheme_configuration.go new file mode 100644 index 00000000000..66f30e527f8 --- /dev/null +++ b/models/redirect_uri_allowed_scheme_configuration.go @@ -0,0 +1,414 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriAllowedSchemeConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriAllowedSchemeConfiguration instantiates a new RedirectUriAllowedSchemeConfiguration and sets the default values. +func NewRedirectUriAllowedSchemeConfiguration()(*RedirectUriAllowedSchemeConfiguration) { + m := &RedirectUriAllowedSchemeConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriAllowedSchemeConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriAllowedSchemeConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriAllowedSchemeConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriAllowedSchemeConfiguration) 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) +} +// GetAllowedSchemes gets the allowedSchemes property value. The allowedSchemes property +// returns a []string when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetAllowedSchemes()([]string) { + val, err := m.GetBackingStore().Get("allowedSchemes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExcludeActors gets the excludeActors property value. The excludeActors property +// returns a AppManagementPolicyActorExemptionsable when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetExcludeActors()(AppManagementPolicyActorExemptionsable) { + val, err := m.GetBackingStore().Get("excludeActors") + if err != nil { + panic(err) + } + if val != nil { + return val.(AppManagementPolicyActorExemptionsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["allowedSchemes"] = 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.SetAllowedSchemes(res) + } + return nil + } + res["excludeActors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAppManagementPolicyActorExemptionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExcludeActors(val.(AppManagementPolicyActorExemptionsable)) + } + return nil + } + res["isStateSetByMicrosoft"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStateSetByMicrosoft(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["publicClient"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformAllowedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPublicClient(val.(RedirectUriPlatformAllowedSchemeConfigurationable)) + } + return nil + } + res["restrictForAppsCreatedAfterDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRestrictForAppsCreatedAfterDateTime(val) + } + return nil + } + res["spa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformAllowedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSpa(val.(RedirectUriPlatformAllowedSchemeConfigurationable)) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppManagementRestrictionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*AppManagementRestrictionState)) + } + return nil + } + res["web"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformAllowedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWeb(val.(RedirectUriPlatformAllowedSchemeConfigurationable)) + } + return nil + } + return res +} +// GetIsStateSetByMicrosoft gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +// returns a *bool when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetIsStateSetByMicrosoft()(*bool) { + val, err := m.GetBackingStore().Get("isStateSetByMicrosoft") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublicClient gets the publicClient property value. The publicClient property +// returns a RedirectUriPlatformAllowedSchemeConfigurationable when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetPublicClient()(RedirectUriPlatformAllowedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("publicClient") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformAllowedSchemeConfigurationable) + } + return nil +} +// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +// returns a *Time when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("restrictForAppsCreatedAfterDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSpa gets the spa property value. The spa property +// returns a RedirectUriPlatformAllowedSchemeConfigurationable when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetSpa()(RedirectUriPlatformAllowedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("spa") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformAllowedSchemeConfigurationable) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *AppManagementRestrictionState when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetState()(*AppManagementRestrictionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppManagementRestrictionState) + } + return nil +} +// GetWeb gets the web property value. The web property +// returns a RedirectUriPlatformAllowedSchemeConfigurationable when successful +func (m *RedirectUriAllowedSchemeConfiguration) GetWeb()(RedirectUriPlatformAllowedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("web") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformAllowedSchemeConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *RedirectUriAllowedSchemeConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAllowedSchemes() != nil { + err := writer.WriteCollectionOfStringValues("allowedSchemes", m.GetAllowedSchemes()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("excludeActors", m.GetExcludeActors()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("publicClient", m.GetPublicClient()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("restrictForAppsCreatedAfterDateTime", m.GetRestrictForAppsCreatedAfterDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("spa", m.GetSpa()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("web", m.GetWeb()) + 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 *RedirectUriAllowedSchemeConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAllowedSchemes sets the allowedSchemes property value. The allowedSchemes property +func (m *RedirectUriAllowedSchemeConfiguration) SetAllowedSchemes(value []string)() { + err := m.GetBackingStore().Set("allowedSchemes", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RedirectUriAllowedSchemeConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExcludeActors sets the excludeActors property value. The excludeActors property +func (m *RedirectUriAllowedSchemeConfiguration) SetExcludeActors(value AppManagementPolicyActorExemptionsable)() { + err := m.GetBackingStore().Set("excludeActors", value) + if err != nil { + panic(err) + } +} +// SetIsStateSetByMicrosoft sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +func (m *RedirectUriAllowedSchemeConfiguration) SetIsStateSetByMicrosoft(value *bool)() { + err := m.GetBackingStore().Set("isStateSetByMicrosoft", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriAllowedSchemeConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPublicClient sets the publicClient property value. The publicClient property +func (m *RedirectUriAllowedSchemeConfiguration) SetPublicClient(value RedirectUriPlatformAllowedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("publicClient", value) + if err != nil { + panic(err) + } +} +// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +func (m *RedirectUriAllowedSchemeConfiguration) SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("restrictForAppsCreatedAfterDateTime", value) + if err != nil { + panic(err) + } +} +// SetSpa sets the spa property value. The spa property +func (m *RedirectUriAllowedSchemeConfiguration) SetSpa(value RedirectUriPlatformAllowedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("spa", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *RedirectUriAllowedSchemeConfiguration) SetState(value *AppManagementRestrictionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +// SetWeb sets the web property value. The web property +func (m *RedirectUriAllowedSchemeConfiguration) SetWeb(value RedirectUriPlatformAllowedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("web", value) + if err != nil { + panic(err) + } +} +type RedirectUriAllowedSchemeConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowedSchemes()([]string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExcludeActors()(AppManagementPolicyActorExemptionsable) + GetIsStateSetByMicrosoft()(*bool) + GetOdataType()(*string) + GetPublicClient()(RedirectUriPlatformAllowedSchemeConfigurationable) + GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSpa()(RedirectUriPlatformAllowedSchemeConfigurationable) + GetState()(*AppManagementRestrictionState) + GetWeb()(RedirectUriPlatformAllowedSchemeConfigurationable) + SetAllowedSchemes(value []string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExcludeActors(value AppManagementPolicyActorExemptionsable)() + SetIsStateSetByMicrosoft(value *bool)() + SetOdataType(value *string)() + SetPublicClient(value RedirectUriPlatformAllowedSchemeConfigurationable)() + SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSpa(value RedirectUriPlatformAllowedSchemeConfigurationable)() + SetState(value *AppManagementRestrictionState)() + SetWeb(value RedirectUriPlatformAllowedSchemeConfigurationable)() +} diff --git a/models/redirect_uri_blocked_domain_configuration.go b/models/redirect_uri_blocked_domain_configuration.go new file mode 100644 index 00000000000..deeef160a4c --- /dev/null +++ b/models/redirect_uri_blocked_domain_configuration.go @@ -0,0 +1,414 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriBlockedDomainConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriBlockedDomainConfiguration instantiates a new RedirectUriBlockedDomainConfiguration and sets the default values. +func NewRedirectUriBlockedDomainConfiguration()(*RedirectUriBlockedDomainConfiguration) { + m := &RedirectUriBlockedDomainConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriBlockedDomainConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriBlockedDomainConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriBlockedDomainConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriBlockedDomainConfiguration) 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. +// returns a BackingStore when successful +func (m *RedirectUriBlockedDomainConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBlockedDomains gets the blockedDomains property value. The blockedDomains property +// returns a []string when successful +func (m *RedirectUriBlockedDomainConfiguration) GetBlockedDomains()([]string) { + val, err := m.GetBackingStore().Get("blockedDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetExcludeActors gets the excludeActors property value. The excludeActors property +// returns a AppManagementPolicyActorExemptionsable when successful +func (m *RedirectUriBlockedDomainConfiguration) GetExcludeActors()(AppManagementPolicyActorExemptionsable) { + val, err := m.GetBackingStore().Get("excludeActors") + if err != nil { + panic(err) + } + if val != nil { + return val.(AppManagementPolicyActorExemptionsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriBlockedDomainConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["blockedDomains"] = 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.SetBlockedDomains(res) + } + return nil + } + res["excludeActors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAppManagementPolicyActorExemptionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExcludeActors(val.(AppManagementPolicyActorExemptionsable)) + } + return nil + } + res["isStateSetByMicrosoft"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStateSetByMicrosoft(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["publicClient"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformBlockedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPublicClient(val.(RedirectUriPlatformBlockedDomainConfigurationable)) + } + return nil + } + res["restrictForAppsCreatedAfterDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRestrictForAppsCreatedAfterDateTime(val) + } + return nil + } + res["spa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformBlockedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSpa(val.(RedirectUriPlatformBlockedDomainConfigurationable)) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppManagementRestrictionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*AppManagementRestrictionState)) + } + return nil + } + res["web"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformBlockedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWeb(val.(RedirectUriPlatformBlockedDomainConfigurationable)) + } + return nil + } + return res +} +// GetIsStateSetByMicrosoft gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +// returns a *bool when successful +func (m *RedirectUriBlockedDomainConfiguration) GetIsStateSetByMicrosoft()(*bool) { + val, err := m.GetBackingStore().Get("isStateSetByMicrosoft") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriBlockedDomainConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublicClient gets the publicClient property value. The publicClient property +// returns a RedirectUriPlatformBlockedDomainConfigurationable when successful +func (m *RedirectUriBlockedDomainConfiguration) GetPublicClient()(RedirectUriPlatformBlockedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("publicClient") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformBlockedDomainConfigurationable) + } + return nil +} +// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +// returns a *Time when successful +func (m *RedirectUriBlockedDomainConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("restrictForAppsCreatedAfterDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSpa gets the spa property value. The spa property +// returns a RedirectUriPlatformBlockedDomainConfigurationable when successful +func (m *RedirectUriBlockedDomainConfiguration) GetSpa()(RedirectUriPlatformBlockedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("spa") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformBlockedDomainConfigurationable) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *AppManagementRestrictionState when successful +func (m *RedirectUriBlockedDomainConfiguration) GetState()(*AppManagementRestrictionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppManagementRestrictionState) + } + return nil +} +// GetWeb gets the web property value. The web property +// returns a RedirectUriPlatformBlockedDomainConfigurationable when successful +func (m *RedirectUriBlockedDomainConfiguration) GetWeb()(RedirectUriPlatformBlockedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("web") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformBlockedDomainConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *RedirectUriBlockedDomainConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetBlockedDomains() != nil { + err := writer.WriteCollectionOfStringValues("blockedDomains", m.GetBlockedDomains()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("excludeActors", m.GetExcludeActors()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("publicClient", m.GetPublicClient()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("restrictForAppsCreatedAfterDateTime", m.GetRestrictForAppsCreatedAfterDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("spa", m.GetSpa()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("web", m.GetWeb()) + 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 *RedirectUriBlockedDomainConfiguration) 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 *RedirectUriBlockedDomainConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBlockedDomains sets the blockedDomains property value. The blockedDomains property +func (m *RedirectUriBlockedDomainConfiguration) SetBlockedDomains(value []string)() { + err := m.GetBackingStore().Set("blockedDomains", value) + if err != nil { + panic(err) + } +} +// SetExcludeActors sets the excludeActors property value. The excludeActors property +func (m *RedirectUriBlockedDomainConfiguration) SetExcludeActors(value AppManagementPolicyActorExemptionsable)() { + err := m.GetBackingStore().Set("excludeActors", value) + if err != nil { + panic(err) + } +} +// SetIsStateSetByMicrosoft sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +func (m *RedirectUriBlockedDomainConfiguration) SetIsStateSetByMicrosoft(value *bool)() { + err := m.GetBackingStore().Set("isStateSetByMicrosoft", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriBlockedDomainConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPublicClient sets the publicClient property value. The publicClient property +func (m *RedirectUriBlockedDomainConfiguration) SetPublicClient(value RedirectUriPlatformBlockedDomainConfigurationable)() { + err := m.GetBackingStore().Set("publicClient", value) + if err != nil { + panic(err) + } +} +// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +func (m *RedirectUriBlockedDomainConfiguration) SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("restrictForAppsCreatedAfterDateTime", value) + if err != nil { + panic(err) + } +} +// SetSpa sets the spa property value. The spa property +func (m *RedirectUriBlockedDomainConfiguration) SetSpa(value RedirectUriPlatformBlockedDomainConfigurationable)() { + err := m.GetBackingStore().Set("spa", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *RedirectUriBlockedDomainConfiguration) SetState(value *AppManagementRestrictionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +// SetWeb sets the web property value. The web property +func (m *RedirectUriBlockedDomainConfiguration) SetWeb(value RedirectUriPlatformBlockedDomainConfigurationable)() { + err := m.GetBackingStore().Set("web", value) + if err != nil { + panic(err) + } +} +type RedirectUriBlockedDomainConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBlockedDomains()([]string) + GetExcludeActors()(AppManagementPolicyActorExemptionsable) + GetIsStateSetByMicrosoft()(*bool) + GetOdataType()(*string) + GetPublicClient()(RedirectUriPlatformBlockedDomainConfigurationable) + GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSpa()(RedirectUriPlatformBlockedDomainConfigurationable) + GetState()(*AppManagementRestrictionState) + GetWeb()(RedirectUriPlatformBlockedDomainConfigurationable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBlockedDomains(value []string)() + SetExcludeActors(value AppManagementPolicyActorExemptionsable)() + SetIsStateSetByMicrosoft(value *bool)() + SetOdataType(value *string)() + SetPublicClient(value RedirectUriPlatformBlockedDomainConfigurationable)() + SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSpa(value RedirectUriPlatformBlockedDomainConfigurationable)() + SetState(value *AppManagementRestrictionState)() + SetWeb(value RedirectUriPlatformBlockedDomainConfigurationable)() +} diff --git a/models/redirect_uri_blocked_scheme_configuration.go b/models/redirect_uri_blocked_scheme_configuration.go new file mode 100644 index 00000000000..6a154852e7b --- /dev/null +++ b/models/redirect_uri_blocked_scheme_configuration.go @@ -0,0 +1,457 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriBlockedSchemeConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriBlockedSchemeConfiguration instantiates a new RedirectUriBlockedSchemeConfiguration and sets the default values. +func NewRedirectUriBlockedSchemeConfiguration()(*RedirectUriBlockedSchemeConfiguration) { + m := &RedirectUriBlockedSchemeConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriBlockedSchemeConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriBlockedSchemeConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriBlockedSchemeConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriBlockedSchemeConfiguration) 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. +// returns a BackingStore when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBlockedSchemes gets the blockedSchemes property value. The blockedSchemes property +// returns a []string when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetBlockedSchemes()([]string) { + val, err := m.GetBackingStore().Get("blockedSchemes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetExcludeActors gets the excludeActors property value. The excludeActors property +// returns a AppManagementPolicyActorExemptionsable when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetExcludeActors()(AppManagementPolicyActorExemptionsable) { + val, err := m.GetBackingStore().Get("excludeActors") + if err != nil { + panic(err) + } + if val != nil { + return val.(AppManagementPolicyActorExemptionsable) + } + return nil +} +// GetExemptFormats gets the exemptFormats property value. The exemptFormats property +// returns a []string when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetExemptFormats()([]string) { + val, err := m.GetBackingStore().Get("exemptFormats") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["blockedSchemes"] = 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.SetBlockedSchemes(res) + } + return nil + } + res["excludeActors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAppManagementPolicyActorExemptionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExcludeActors(val.(AppManagementPolicyActorExemptionsable)) + } + return nil + } + res["exemptFormats"] = 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.SetExemptFormats(res) + } + return nil + } + res["isStateSetByMicrosoft"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStateSetByMicrosoft(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["publicClient"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformBlockedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPublicClient(val.(RedirectUriPlatformBlockedSchemeConfigurationable)) + } + return nil + } + res["restrictForAppsCreatedAfterDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRestrictForAppsCreatedAfterDateTime(val) + } + return nil + } + res["spa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformBlockedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSpa(val.(RedirectUriPlatformBlockedSchemeConfigurationable)) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppManagementRestrictionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*AppManagementRestrictionState)) + } + return nil + } + res["web"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriPlatformBlockedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWeb(val.(RedirectUriPlatformBlockedSchemeConfigurationable)) + } + return nil + } + return res +} +// GetIsStateSetByMicrosoft gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +// returns a *bool when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetIsStateSetByMicrosoft()(*bool) { + val, err := m.GetBackingStore().Get("isStateSetByMicrosoft") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublicClient gets the publicClient property value. The publicClient property +// returns a RedirectUriPlatformBlockedSchemeConfigurationable when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetPublicClient()(RedirectUriPlatformBlockedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("publicClient") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformBlockedSchemeConfigurationable) + } + return nil +} +// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +// returns a *Time when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("restrictForAppsCreatedAfterDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetSpa gets the spa property value. The spa property +// returns a RedirectUriPlatformBlockedSchemeConfigurationable when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetSpa()(RedirectUriPlatformBlockedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("spa") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformBlockedSchemeConfigurationable) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *AppManagementRestrictionState when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetState()(*AppManagementRestrictionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppManagementRestrictionState) + } + return nil +} +// GetWeb gets the web property value. The web property +// returns a RedirectUriPlatformBlockedSchemeConfigurationable when successful +func (m *RedirectUriBlockedSchemeConfiguration) GetWeb()(RedirectUriPlatformBlockedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("web") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriPlatformBlockedSchemeConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *RedirectUriBlockedSchemeConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetBlockedSchemes() != nil { + err := writer.WriteCollectionOfStringValues("blockedSchemes", m.GetBlockedSchemes()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("excludeActors", m.GetExcludeActors()) + if err != nil { + return err + } + } + if m.GetExemptFormats() != nil { + err := writer.WriteCollectionOfStringValues("exemptFormats", m.GetExemptFormats()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("publicClient", m.GetPublicClient()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("restrictForAppsCreatedAfterDateTime", m.GetRestrictForAppsCreatedAfterDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("spa", m.GetSpa()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("web", m.GetWeb()) + 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 *RedirectUriBlockedSchemeConfiguration) 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 *RedirectUriBlockedSchemeConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBlockedSchemes sets the blockedSchemes property value. The blockedSchemes property +func (m *RedirectUriBlockedSchemeConfiguration) SetBlockedSchemes(value []string)() { + err := m.GetBackingStore().Set("blockedSchemes", value) + if err != nil { + panic(err) + } +} +// SetExcludeActors sets the excludeActors property value. The excludeActors property +func (m *RedirectUriBlockedSchemeConfiguration) SetExcludeActors(value AppManagementPolicyActorExemptionsable)() { + err := m.GetBackingStore().Set("excludeActors", value) + if err != nil { + panic(err) + } +} +// SetExemptFormats sets the exemptFormats property value. The exemptFormats property +func (m *RedirectUriBlockedSchemeConfiguration) SetExemptFormats(value []string)() { + err := m.GetBackingStore().Set("exemptFormats", value) + if err != nil { + panic(err) + } +} +// SetIsStateSetByMicrosoft sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +func (m *RedirectUriBlockedSchemeConfiguration) SetIsStateSetByMicrosoft(value *bool)() { + err := m.GetBackingStore().Set("isStateSetByMicrosoft", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriBlockedSchemeConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPublicClient sets the publicClient property value. The publicClient property +func (m *RedirectUriBlockedSchemeConfiguration) SetPublicClient(value RedirectUriPlatformBlockedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("publicClient", value) + if err != nil { + panic(err) + } +} +// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +func (m *RedirectUriBlockedSchemeConfiguration) SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("restrictForAppsCreatedAfterDateTime", value) + if err != nil { + panic(err) + } +} +// SetSpa sets the spa property value. The spa property +func (m *RedirectUriBlockedSchemeConfiguration) SetSpa(value RedirectUriPlatformBlockedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("spa", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *RedirectUriBlockedSchemeConfiguration) SetState(value *AppManagementRestrictionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +// SetWeb sets the web property value. The web property +func (m *RedirectUriBlockedSchemeConfiguration) SetWeb(value RedirectUriPlatformBlockedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("web", value) + if err != nil { + panic(err) + } +} +type RedirectUriBlockedSchemeConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBlockedSchemes()([]string) + GetExcludeActors()(AppManagementPolicyActorExemptionsable) + GetExemptFormats()([]string) + GetIsStateSetByMicrosoft()(*bool) + GetOdataType()(*string) + GetPublicClient()(RedirectUriPlatformBlockedSchemeConfigurationable) + GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSpa()(RedirectUriPlatformBlockedSchemeConfigurationable) + GetState()(*AppManagementRestrictionState) + GetWeb()(RedirectUriPlatformBlockedSchemeConfigurationable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBlockedSchemes(value []string)() + SetExcludeActors(value AppManagementPolicyActorExemptionsable)() + SetExemptFormats(value []string)() + SetIsStateSetByMicrosoft(value *bool)() + SetOdataType(value *string)() + SetPublicClient(value RedirectUriPlatformBlockedSchemeConfigurationable)() + SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSpa(value RedirectUriPlatformBlockedSchemeConfigurationable)() + SetState(value *AppManagementRestrictionState)() + SetWeb(value RedirectUriPlatformBlockedSchemeConfigurationable)() +} diff --git a/models/redirect_uri_configuration.go b/models/redirect_uri_configuration.go new file mode 100644 index 00000000000..0242794927d --- /dev/null +++ b/models/redirect_uri_configuration.go @@ -0,0 +1,301 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriConfiguration instantiates a new RedirectUriConfiguration and sets the default values. +func NewRedirectUriConfiguration()(*RedirectUriConfiguration) { + m := &RedirectUriConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriConfiguration) 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. +// returns a BackingStore when successful +func (m *RedirectUriConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + 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["uriWithBlockedDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriBlockedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUriWithBlockedDomain(val.(RedirectUriBlockedDomainConfigurationable)) + } + return nil + } + res["uriWithBlockedScheme"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriBlockedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUriWithBlockedScheme(val.(RedirectUriBlockedSchemeConfigurationable)) + } + return nil + } + res["uriWithoutAllowedDomain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriAllowedDomainConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUriWithoutAllowedDomain(val.(RedirectUriAllowedDomainConfigurationable)) + } + return nil + } + res["uriWithoutAllowedScheme"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriAllowedSchemeConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUriWithoutAllowedScheme(val.(RedirectUriAllowedSchemeConfigurationable)) + } + return nil + } + res["uriWithWildcard"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriWildcardConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUriWithWildcard(val.(RedirectUriWildcardConfigurationable)) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUriWithBlockedDomain gets the uriWithBlockedDomain property value. The uriWithBlockedDomain property +// returns a RedirectUriBlockedDomainConfigurationable when successful +func (m *RedirectUriConfiguration) GetUriWithBlockedDomain()(RedirectUriBlockedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("uriWithBlockedDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriBlockedDomainConfigurationable) + } + return nil +} +// GetUriWithBlockedScheme gets the uriWithBlockedScheme property value. The uriWithBlockedScheme property +// returns a RedirectUriBlockedSchemeConfigurationable when successful +func (m *RedirectUriConfiguration) GetUriWithBlockedScheme()(RedirectUriBlockedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("uriWithBlockedScheme") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriBlockedSchemeConfigurationable) + } + return nil +} +// GetUriWithoutAllowedDomain gets the uriWithoutAllowedDomain property value. The uriWithoutAllowedDomain property +// returns a RedirectUriAllowedDomainConfigurationable when successful +func (m *RedirectUriConfiguration) GetUriWithoutAllowedDomain()(RedirectUriAllowedDomainConfigurationable) { + val, err := m.GetBackingStore().Get("uriWithoutAllowedDomain") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriAllowedDomainConfigurationable) + } + return nil +} +// GetUriWithoutAllowedScheme gets the uriWithoutAllowedScheme property value. The uriWithoutAllowedScheme property +// returns a RedirectUriAllowedSchemeConfigurationable when successful +func (m *RedirectUriConfiguration) GetUriWithoutAllowedScheme()(RedirectUriAllowedSchemeConfigurationable) { + val, err := m.GetBackingStore().Get("uriWithoutAllowedScheme") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriAllowedSchemeConfigurationable) + } + return nil +} +// GetUriWithWildcard gets the uriWithWildcard property value. The uriWithWildcard property +// returns a RedirectUriWildcardConfigurationable when successful +func (m *RedirectUriConfiguration) GetUriWithWildcard()(RedirectUriWildcardConfigurationable) { + val, err := m.GetBackingStore().Get("uriWithWildcard") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriWildcardConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *RedirectUriConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("uriWithBlockedDomain", m.GetUriWithBlockedDomain()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("uriWithBlockedScheme", m.GetUriWithBlockedScheme()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("uriWithoutAllowedDomain", m.GetUriWithoutAllowedDomain()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("uriWithoutAllowedScheme", m.GetUriWithoutAllowedScheme()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("uriWithWildcard", m.GetUriWithWildcard()) + 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 *RedirectUriConfiguration) 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 *RedirectUriConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetUriWithBlockedDomain sets the uriWithBlockedDomain property value. The uriWithBlockedDomain property +func (m *RedirectUriConfiguration) SetUriWithBlockedDomain(value RedirectUriBlockedDomainConfigurationable)() { + err := m.GetBackingStore().Set("uriWithBlockedDomain", value) + if err != nil { + panic(err) + } +} +// SetUriWithBlockedScheme sets the uriWithBlockedScheme property value. The uriWithBlockedScheme property +func (m *RedirectUriConfiguration) SetUriWithBlockedScheme(value RedirectUriBlockedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("uriWithBlockedScheme", value) + if err != nil { + panic(err) + } +} +// SetUriWithoutAllowedDomain sets the uriWithoutAllowedDomain property value. The uriWithoutAllowedDomain property +func (m *RedirectUriConfiguration) SetUriWithoutAllowedDomain(value RedirectUriAllowedDomainConfigurationable)() { + err := m.GetBackingStore().Set("uriWithoutAllowedDomain", value) + if err != nil { + panic(err) + } +} +// SetUriWithoutAllowedScheme sets the uriWithoutAllowedScheme property value. The uriWithoutAllowedScheme property +func (m *RedirectUriConfiguration) SetUriWithoutAllowedScheme(value RedirectUriAllowedSchemeConfigurationable)() { + err := m.GetBackingStore().Set("uriWithoutAllowedScheme", value) + if err != nil { + panic(err) + } +} +// SetUriWithWildcard sets the uriWithWildcard property value. The uriWithWildcard property +func (m *RedirectUriConfiguration) SetUriWithWildcard(value RedirectUriWildcardConfigurationable)() { + err := m.GetBackingStore().Set("uriWithWildcard", value) + if err != nil { + panic(err) + } +} +type RedirectUriConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetUriWithBlockedDomain()(RedirectUriBlockedDomainConfigurationable) + GetUriWithBlockedScheme()(RedirectUriBlockedSchemeConfigurationable) + GetUriWithoutAllowedDomain()(RedirectUriAllowedDomainConfigurationable) + GetUriWithoutAllowedScheme()(RedirectUriAllowedSchemeConfigurationable) + GetUriWithWildcard()(RedirectUriWildcardConfigurationable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetUriWithBlockedDomain(value RedirectUriBlockedDomainConfigurationable)() + SetUriWithBlockedScheme(value RedirectUriBlockedSchemeConfigurationable)() + SetUriWithoutAllowedDomain(value RedirectUriAllowedDomainConfigurationable)() + SetUriWithoutAllowedScheme(value RedirectUriAllowedSchemeConfigurationable)() + SetUriWithWildcard(value RedirectUriWildcardConfigurationable)() +} diff --git a/models/redirect_uri_platform_allowed_domain_configuration.go b/models/redirect_uri_platform_allowed_domain_configuration.go new file mode 100644 index 00000000000..a39a7a8bd57 --- /dev/null +++ b/models/redirect_uri_platform_allowed_domain_configuration.go @@ -0,0 +1,159 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriPlatformAllowedDomainConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriPlatformAllowedDomainConfiguration instantiates a new RedirectUriPlatformAllowedDomainConfiguration and sets the default values. +func NewRedirectUriPlatformAllowedDomainConfiguration()(*RedirectUriPlatformAllowedDomainConfiguration) { + m := &RedirectUriPlatformAllowedDomainConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriPlatformAllowedDomainConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriPlatformAllowedDomainConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriPlatformAllowedDomainConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriPlatformAllowedDomainConfiguration) 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) +} +// GetAllowedDomains gets the allowedDomains property value. The allowedDomains property +// returns a []string when successful +func (m *RedirectUriPlatformAllowedDomainConfiguration) GetAllowedDomains()([]string) { + val, err := m.GetBackingStore().Get("allowedDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RedirectUriPlatformAllowedDomainConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriPlatformAllowedDomainConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["allowedDomains"] = 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.SetAllowedDomains(res) + } + 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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriPlatformAllowedDomainConfiguration) 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 *RedirectUriPlatformAllowedDomainConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAllowedDomains() != nil { + err := writer.WriteCollectionOfStringValues("allowedDomains", m.GetAllowedDomains()) + 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 *RedirectUriPlatformAllowedDomainConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAllowedDomains sets the allowedDomains property value. The allowedDomains property +func (m *RedirectUriPlatformAllowedDomainConfiguration) SetAllowedDomains(value []string)() { + err := m.GetBackingStore().Set("allowedDomains", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RedirectUriPlatformAllowedDomainConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriPlatformAllowedDomainConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type RedirectUriPlatformAllowedDomainConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowedDomains()([]string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetAllowedDomains(value []string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/redirect_uri_platform_allowed_scheme_configuration.go b/models/redirect_uri_platform_allowed_scheme_configuration.go new file mode 100644 index 00000000000..2d02b6f3818 --- /dev/null +++ b/models/redirect_uri_platform_allowed_scheme_configuration.go @@ -0,0 +1,159 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriPlatformAllowedSchemeConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriPlatformAllowedSchemeConfiguration instantiates a new RedirectUriPlatformAllowedSchemeConfiguration and sets the default values. +func NewRedirectUriPlatformAllowedSchemeConfiguration()(*RedirectUriPlatformAllowedSchemeConfiguration) { + m := &RedirectUriPlatformAllowedSchemeConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriPlatformAllowedSchemeConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriPlatformAllowedSchemeConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriPlatformAllowedSchemeConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriPlatformAllowedSchemeConfiguration) 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) +} +// GetAllowedSchemes gets the allowedSchemes property value. The allowedSchemes property +// returns a []string when successful +func (m *RedirectUriPlatformAllowedSchemeConfiguration) GetAllowedSchemes()([]string) { + val, err := m.GetBackingStore().Get("allowedSchemes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *RedirectUriPlatformAllowedSchemeConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriPlatformAllowedSchemeConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["allowedSchemes"] = 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.SetAllowedSchemes(res) + } + 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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriPlatformAllowedSchemeConfiguration) 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 *RedirectUriPlatformAllowedSchemeConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAllowedSchemes() != nil { + err := writer.WriteCollectionOfStringValues("allowedSchemes", m.GetAllowedSchemes()) + 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 *RedirectUriPlatformAllowedSchemeConfiguration) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAllowedSchemes sets the allowedSchemes property value. The allowedSchemes property +func (m *RedirectUriPlatformAllowedSchemeConfiguration) SetAllowedSchemes(value []string)() { + err := m.GetBackingStore().Set("allowedSchemes", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *RedirectUriPlatformAllowedSchemeConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriPlatformAllowedSchemeConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type RedirectUriPlatformAllowedSchemeConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowedSchemes()([]string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetAllowedSchemes(value []string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/redirect_uri_platform_blocked_domain_configuration.go b/models/redirect_uri_platform_blocked_domain_configuration.go new file mode 100644 index 00000000000..7afe4fb0868 --- /dev/null +++ b/models/redirect_uri_platform_blocked_domain_configuration.go @@ -0,0 +1,159 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriPlatformBlockedDomainConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriPlatformBlockedDomainConfiguration instantiates a new RedirectUriPlatformBlockedDomainConfiguration and sets the default values. +func NewRedirectUriPlatformBlockedDomainConfiguration()(*RedirectUriPlatformBlockedDomainConfiguration) { + m := &RedirectUriPlatformBlockedDomainConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriPlatformBlockedDomainConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriPlatformBlockedDomainConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriPlatformBlockedDomainConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriPlatformBlockedDomainConfiguration) 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. +// returns a BackingStore when successful +func (m *RedirectUriPlatformBlockedDomainConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBlockedDomains gets the blockedDomains property value. The blockedDomains property +// returns a []string when successful +func (m *RedirectUriPlatformBlockedDomainConfiguration) GetBlockedDomains()([]string) { + val, err := m.GetBackingStore().Get("blockedDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriPlatformBlockedDomainConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["blockedDomains"] = 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.SetBlockedDomains(res) + } + 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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriPlatformBlockedDomainConfiguration) 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 *RedirectUriPlatformBlockedDomainConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetBlockedDomains() != nil { + err := writer.WriteCollectionOfStringValues("blockedDomains", m.GetBlockedDomains()) + 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 *RedirectUriPlatformBlockedDomainConfiguration) 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 *RedirectUriPlatformBlockedDomainConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBlockedDomains sets the blockedDomains property value. The blockedDomains property +func (m *RedirectUriPlatformBlockedDomainConfiguration) SetBlockedDomains(value []string)() { + err := m.GetBackingStore().Set("blockedDomains", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriPlatformBlockedDomainConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type RedirectUriPlatformBlockedDomainConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBlockedDomains()([]string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBlockedDomains(value []string)() + SetOdataType(value *string)() +} diff --git a/models/redirect_uri_platform_blocked_scheme_configuration.go b/models/redirect_uri_platform_blocked_scheme_configuration.go new file mode 100644 index 00000000000..624d5ee747d --- /dev/null +++ b/models/redirect_uri_platform_blocked_scheme_configuration.go @@ -0,0 +1,202 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriPlatformBlockedSchemeConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriPlatformBlockedSchemeConfiguration instantiates a new RedirectUriPlatformBlockedSchemeConfiguration and sets the default values. +func NewRedirectUriPlatformBlockedSchemeConfiguration()(*RedirectUriPlatformBlockedSchemeConfiguration) { + m := &RedirectUriPlatformBlockedSchemeConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriPlatformBlockedSchemeConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriPlatformBlockedSchemeConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriPlatformBlockedSchemeConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriPlatformBlockedSchemeConfiguration) 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. +// returns a BackingStore when successful +func (m *RedirectUriPlatformBlockedSchemeConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBlockedSchemes gets the blockedSchemes property value. The blockedSchemes property +// returns a []string when successful +func (m *RedirectUriPlatformBlockedSchemeConfiguration) GetBlockedSchemes()([]string) { + val, err := m.GetBackingStore().Get("blockedSchemes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetExemptFormats gets the exemptFormats property value. The exemptFormats property +// returns a []string when successful +func (m *RedirectUriPlatformBlockedSchemeConfiguration) GetExemptFormats()([]string) { + val, err := m.GetBackingStore().Get("exemptFormats") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriPlatformBlockedSchemeConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["blockedSchemes"] = 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.SetBlockedSchemes(res) + } + return nil + } + res["exemptFormats"] = 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.SetExemptFormats(res) + } + 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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriPlatformBlockedSchemeConfiguration) 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 *RedirectUriPlatformBlockedSchemeConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetBlockedSchemes() != nil { + err := writer.WriteCollectionOfStringValues("blockedSchemes", m.GetBlockedSchemes()) + if err != nil { + return err + } + } + if m.GetExemptFormats() != nil { + err := writer.WriteCollectionOfStringValues("exemptFormats", m.GetExemptFormats()) + 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 *RedirectUriPlatformBlockedSchemeConfiguration) 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 *RedirectUriPlatformBlockedSchemeConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBlockedSchemes sets the blockedSchemes property value. The blockedSchemes property +func (m *RedirectUriPlatformBlockedSchemeConfiguration) SetBlockedSchemes(value []string)() { + err := m.GetBackingStore().Set("blockedSchemes", value) + if err != nil { + panic(err) + } +} +// SetExemptFormats sets the exemptFormats property value. The exemptFormats property +func (m *RedirectUriPlatformBlockedSchemeConfiguration) SetExemptFormats(value []string)() { + err := m.GetBackingStore().Set("exemptFormats", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriPlatformBlockedSchemeConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type RedirectUriPlatformBlockedSchemeConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBlockedSchemes()([]string) + GetExemptFormats()([]string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBlockedSchemes(value []string)() + SetExemptFormats(value []string)() + SetOdataType(value *string)() +} diff --git a/models/redirect_uri_wildcard_configuration.go b/models/redirect_uri_wildcard_configuration.go new file mode 100644 index 00000000000..3e19ab838b4 --- /dev/null +++ b/models/redirect_uri_wildcard_configuration.go @@ -0,0 +1,297 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriWildcardConfiguration struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriWildcardConfiguration instantiates a new RedirectUriWildcardConfiguration and sets the default values. +func NewRedirectUriWildcardConfiguration()(*RedirectUriWildcardConfiguration) { + m := &RedirectUriWildcardConfiguration{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriWildcardConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriWildcardConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriWildcardConfiguration(), 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. +// returns a map[string]any when successful +func (m *RedirectUriWildcardConfiguration) 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. +// returns a BackingStore when successful +func (m *RedirectUriWildcardConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExcludeActors gets the excludeActors property value. The excludeActors property +// returns a AppManagementPolicyActorExemptionsable when successful +func (m *RedirectUriWildcardConfiguration) GetExcludeActors()(AppManagementPolicyActorExemptionsable) { + val, err := m.GetBackingStore().Get("excludeActors") + if err != nil { + panic(err) + } + if val != nil { + return val.(AppManagementPolicyActorExemptionsable) + } + return nil +} +// GetExcludeFormats gets the excludeFormats property value. The excludeFormats property +// returns a RedirectUriWildcardExcludeFormatsable when successful +func (m *RedirectUriWildcardConfiguration) GetExcludeFormats()(RedirectUriWildcardExcludeFormatsable) { + val, err := m.GetBackingStore().Get("excludeFormats") + if err != nil { + panic(err) + } + if val != nil { + return val.(RedirectUriWildcardExcludeFormatsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriWildcardConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["excludeActors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAppManagementPolicyActorExemptionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExcludeActors(val.(AppManagementPolicyActorExemptionsable)) + } + return nil + } + res["excludeFormats"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateRedirectUriWildcardExcludeFormatsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExcludeFormats(val.(RedirectUriWildcardExcludeFormatsable)) + } + return nil + } + res["isStateSetByMicrosoft"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsStateSetByMicrosoft(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["restrictForAppsCreatedAfterDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetRestrictForAppsCreatedAfterDateTime(val) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppManagementRestrictionState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*AppManagementRestrictionState)) + } + return nil + } + return res +} +// GetIsStateSetByMicrosoft gets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +// returns a *bool when successful +func (m *RedirectUriWildcardConfiguration) GetIsStateSetByMicrosoft()(*bool) { + val, err := m.GetBackingStore().Get("isStateSetByMicrosoft") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriWildcardConfiguration) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRestrictForAppsCreatedAfterDateTime gets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +// returns a *Time when successful +func (m *RedirectUriWildcardConfiguration) GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("restrictForAppsCreatedAfterDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetState gets the state property value. The state property +// returns a *AppManagementRestrictionState when successful +func (m *RedirectUriWildcardConfiguration) GetState()(*AppManagementRestrictionState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppManagementRestrictionState) + } + return nil +} +// Serialize serializes information the current object +func (m *RedirectUriWildcardConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("excludeActors", m.GetExcludeActors()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("excludeFormats", m.GetExcludeFormats()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("restrictForAppsCreatedAfterDateTime", m.GetRestrictForAppsCreatedAfterDateTime()) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err := writer.WriteStringValue("state", &cast) + 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 *RedirectUriWildcardConfiguration) 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 *RedirectUriWildcardConfiguration) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExcludeActors sets the excludeActors property value. The excludeActors property +func (m *RedirectUriWildcardConfiguration) SetExcludeActors(value AppManagementPolicyActorExemptionsable)() { + err := m.GetBackingStore().Set("excludeActors", value) + if err != nil { + panic(err) + } +} +// SetExcludeFormats sets the excludeFormats property value. The excludeFormats property +func (m *RedirectUriWildcardConfiguration) SetExcludeFormats(value RedirectUriWildcardExcludeFormatsable)() { + err := m.GetBackingStore().Set("excludeFormats", value) + if err != nil { + panic(err) + } +} +// SetIsStateSetByMicrosoft sets the isStateSetByMicrosoft property value. The isStateSetByMicrosoft property +func (m *RedirectUriWildcardConfiguration) SetIsStateSetByMicrosoft(value *bool)() { + err := m.GetBackingStore().Set("isStateSetByMicrosoft", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriWildcardConfiguration) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetRestrictForAppsCreatedAfterDateTime sets the restrictForAppsCreatedAfterDateTime property value. The restrictForAppsCreatedAfterDateTime property +func (m *RedirectUriWildcardConfiguration) SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("restrictForAppsCreatedAfterDateTime", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state property +func (m *RedirectUriWildcardConfiguration) SetState(value *AppManagementRestrictionState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +type RedirectUriWildcardConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExcludeActors()(AppManagementPolicyActorExemptionsable) + GetExcludeFormats()(RedirectUriWildcardExcludeFormatsable) + GetIsStateSetByMicrosoft()(*bool) + GetOdataType()(*string) + GetRestrictForAppsCreatedAfterDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetState()(*AppManagementRestrictionState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExcludeActors(value AppManagementPolicyActorExemptionsable)() + SetExcludeFormats(value RedirectUriWildcardExcludeFormatsable)() + SetIsStateSetByMicrosoft(value *bool)() + SetOdataType(value *string)() + SetRestrictForAppsCreatedAfterDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetState(value *AppManagementRestrictionState)() +} diff --git a/models/redirect_uri_wildcard_exclude_formats.go b/models/redirect_uri_wildcard_exclude_formats.go new file mode 100644 index 00000000000..5c10385978d --- /dev/null +++ b/models/redirect_uri_wildcard_exclude_formats.go @@ -0,0 +1,196 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type RedirectUriWildcardExcludeFormats struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewRedirectUriWildcardExcludeFormats instantiates a new RedirectUriWildcardExcludeFormats and sets the default values. +func NewRedirectUriWildcardExcludeFormats()(*RedirectUriWildcardExcludeFormats) { + m := &RedirectUriWildcardExcludeFormats{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateRedirectUriWildcardExcludeFormatsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRedirectUriWildcardExcludeFormatsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRedirectUriWildcardExcludeFormats(), 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. +// returns a map[string]any when successful +func (m *RedirectUriWildcardExcludeFormats) 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. +// returns a BackingStore when successful +func (m *RedirectUriWildcardExcludeFormats) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExcludeWildcardsInPath gets the excludeWildcardsInPath property value. The excludeWildcardsInPath property +// returns a *bool when successful +func (m *RedirectUriWildcardExcludeFormats) GetExcludeWildcardsInPath()(*bool) { + val, err := m.GetBackingStore().Get("excludeWildcardsInPath") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetExcludeWildcardsInPathWithDomains gets the excludeWildcardsInPathWithDomains property value. The excludeWildcardsInPathWithDomains property +// returns a []string when successful +func (m *RedirectUriWildcardExcludeFormats) GetExcludeWildcardsInPathWithDomains()([]string) { + val, err := m.GetBackingStore().Get("excludeWildcardsInPathWithDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RedirectUriWildcardExcludeFormats) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["excludeWildcardsInPath"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetExcludeWildcardsInPath(val) + } + return nil + } + res["excludeWildcardsInPathWithDomains"] = 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.SetExcludeWildcardsInPathWithDomains(res) + } + 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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *RedirectUriWildcardExcludeFormats) 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 *RedirectUriWildcardExcludeFormats) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("excludeWildcardsInPath", m.GetExcludeWildcardsInPath()) + if err != nil { + return err + } + } + if m.GetExcludeWildcardsInPathWithDomains() != nil { + err := writer.WriteCollectionOfStringValues("excludeWildcardsInPathWithDomains", m.GetExcludeWildcardsInPathWithDomains()) + 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 *RedirectUriWildcardExcludeFormats) 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 *RedirectUriWildcardExcludeFormats) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExcludeWildcardsInPath sets the excludeWildcardsInPath property value. The excludeWildcardsInPath property +func (m *RedirectUriWildcardExcludeFormats) SetExcludeWildcardsInPath(value *bool)() { + err := m.GetBackingStore().Set("excludeWildcardsInPath", value) + if err != nil { + panic(err) + } +} +// SetExcludeWildcardsInPathWithDomains sets the excludeWildcardsInPathWithDomains property value. The excludeWildcardsInPathWithDomains property +func (m *RedirectUriWildcardExcludeFormats) SetExcludeWildcardsInPathWithDomains(value []string)() { + err := m.GetBackingStore().Set("excludeWildcardsInPathWithDomains", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *RedirectUriWildcardExcludeFormats) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type RedirectUriWildcardExcludeFormatsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExcludeWildcardsInPath()(*bool) + GetExcludeWildcardsInPathWithDomains()([]string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExcludeWildcardsInPath(value *bool)() + SetExcludeWildcardsInPathWithDomains(value []string)() + SetOdataType(value *string)() +} diff --git a/models/risky_agent.go b/models/risky_agent.go index ee5b7f67363..81d9c9ed26f 100644 --- a/models/risky_agent.go +++ b/models/risky_agent.go @@ -71,6 +71,16 @@ func (m *RiskyAgent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return nil } + res["identityType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAgentIdentityType) + if err != nil { + return err + } + if val != nil { + m.SetIdentityType(val.(*AgentIdentityType)) + } + return nil + } res["isDeleted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -143,6 +153,18 @@ func (m *RiskyAgent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return res } +// GetIdentityType gets the identityType property value. The identityType property +// returns a *AgentIdentityType when successful +func (m *RiskyAgent) GetIdentityType()(*AgentIdentityType) { + val, err := m.GetBackingStore().Get("identityType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AgentIdentityType) + } + return nil +} // GetIsDeleted gets the isDeleted property value. Indicates whether the agent is deleted. // returns a *bool when successful func (m *RiskyAgent) GetIsDeleted()(*bool) { @@ -239,6 +261,13 @@ func (m *RiskyAgent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c return err } } + if m.GetIdentityType() != nil { + cast := (*m.GetIdentityType()).String() + err = writer.WriteStringValue("identityType", &cast) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isDeleted", m.GetIsDeleted()) if err != nil { @@ -293,6 +322,13 @@ func (m *RiskyAgent) SetAgentDisplayName(value *string)() { panic(err) } } +// SetIdentityType sets the identityType property value. The identityType property +func (m *RiskyAgent) SetIdentityType(value *AgentIdentityType)() { + err := m.GetBackingStore().Set("identityType", value) + if err != nil { + panic(err) + } +} // SetIsDeleted sets the isDeleted property value. Indicates whether the agent is deleted. func (m *RiskyAgent) SetIsDeleted(value *bool)() { err := m.GetBackingStore().Set("isDeleted", value) @@ -346,6 +382,7 @@ type RiskyAgentable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAgentDisplayName()(*string) + GetIdentityType()(*AgentIdentityType) GetIsDeleted()(*bool) GetIsEnabled()(*bool) GetIsProcessing()(*bool) @@ -354,6 +391,7 @@ type RiskyAgentable interface { GetRiskLevel()(*RiskLevel) GetRiskState()(*RiskState) SetAgentDisplayName(value *string)() + SetIdentityType(value *AgentIdentityType)() SetIsDeleted(value *bool)() SetIsEnabled(value *bool)() SetIsProcessing(value *bool)() diff --git a/models/client_credentials.go b/models/security/aggregated_environment.go similarity index 61% rename from models/client_credentials.go rename to models/security/aggregated_environment.go index 4e8ebf6242e..bcd2763f0e5 100644 --- a/models/client_credentials.go +++ b/models/security/aggregated_environment.go @@ -1,33 +1,33 @@ // Code generated by Microsoft Kiota - DO NOT EDIT. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -package models +package security import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) -type ClientCredentials struct { +type AggregatedEnvironment struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore } -// NewClientCredentials instantiates a new ClientCredentials and sets the default values. -func NewClientCredentials()(*ClientCredentials) { - m := &ClientCredentials{ +// NewAggregatedEnvironment instantiates a new AggregatedEnvironment and sets the default values. +func NewAggregatedEnvironment()(*AggregatedEnvironment) { + m := &AggregatedEnvironment{ } m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); m.SetAdditionalData(make(map[string]any)) return m } -// CreateClientCredentialsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// CreateAggregatedEnvironmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful -func CreateClientCredentialsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewClientCredentials(), nil +func CreateAggregatedEnvironmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAggregatedEnvironment(), 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. // returns a map[string]any when successful -func (m *ClientCredentials) GetAdditionalData()(map[string]any) { +func (m *AggregatedEnvironment) GetAdditionalData()(map[string]any) { val , err := m.backingStore.Get("additionalData") if err != nil { panic(err) @@ -40,42 +40,42 @@ func (m *ClientCredentials) GetAdditionalData()(map[string]any) { } // GetBackingStore gets the BackingStore property value. Stores model information. // returns a BackingStore when successful -func (m *ClientCredentials) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { +func (m *AggregatedEnvironment) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetCertificateName gets the certificateName property value. The certificateName property -// returns a *string when successful -func (m *ClientCredentials) GetCertificateName()(*string) { - val, err := m.GetBackingStore().Get("certificateName") +// GetCount gets the count property value. Number of environments of this type. +// returns a *int32 when successful +func (m *AggregatedEnvironment) GetCount()(*int32) { + val, err := m.GetBackingStore().Get("count") if err != nil { panic(err) } if val != nil { - return val.(*string) + return val.(*int32) } return nil } // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ClientCredentials) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *AggregatedEnvironment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) - res["certificateName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() + res["count"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() if err != nil { return err } if val != nil { - m.SetCertificateName(val) + m.SetCount(val) } return nil } - res["keyVaultUri"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + res["kind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { return err } if val != nil { - m.SetKeyVaultUri(val) + m.SetKind(val) } return nil } @@ -91,10 +91,10 @@ func (m *ClientCredentials) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } -// GetKeyVaultUri gets the keyVaultUri property value. The keyVaultUri property +// GetKind gets the kind property value. Environment type. // returns a *string when successful -func (m *ClientCredentials) GetKeyVaultUri()(*string) { - val, err := m.GetBackingStore().Get("keyVaultUri") +func (m *AggregatedEnvironment) GetKind()(*string) { + val, err := m.GetBackingStore().Get("kind") if err != nil { panic(err) } @@ -105,7 +105,7 @@ func (m *ClientCredentials) GetKeyVaultUri()(*string) { } // GetOdataType gets the @odata.type property value. The OdataType property // returns a *string when successful -func (m *ClientCredentials) GetOdataType()(*string) { +func (m *AggregatedEnvironment) GetOdataType()(*string) { val, err := m.GetBackingStore().Get("odataType") if err != nil { panic(err) @@ -116,15 +116,15 @@ func (m *ClientCredentials) GetOdataType()(*string) { return nil } // Serialize serializes information the current object -func (m *ClientCredentials) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *AggregatedEnvironment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { - err := writer.WriteStringValue("certificateName", m.GetCertificateName()) + err := writer.WriteInt32Value("count", m.GetCount()) if err != nil { return err } } { - err := writer.WriteStringValue("keyVaultUri", m.GetKeyVaultUri()) + err := writer.WriteStringValue("kind", m.GetKind()) if err != nil { return err } @@ -144,47 +144,47 @@ func (m *ClientCredentials) Serialize(writer i878a80d2330e89d26896388a3f487eef27 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 *ClientCredentials) SetAdditionalData(value map[string]any)() { +func (m *AggregatedEnvironment) 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 *ClientCredentials) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { +func (m *AggregatedEnvironment) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetCertificateName sets the certificateName property value. The certificateName property -func (m *ClientCredentials) SetCertificateName(value *string)() { - err := m.GetBackingStore().Set("certificateName", value) +// SetCount sets the count property value. Number of environments of this type. +func (m *AggregatedEnvironment) SetCount(value *int32)() { + err := m.GetBackingStore().Set("count", value) if err != nil { panic(err) } } -// SetKeyVaultUri sets the keyVaultUri property value. The keyVaultUri property -func (m *ClientCredentials) SetKeyVaultUri(value *string)() { - err := m.GetBackingStore().Set("keyVaultUri", value) +// SetKind sets the kind property value. Environment type. +func (m *AggregatedEnvironment) SetKind(value *string)() { + err := m.GetBackingStore().Set("kind", value) if err != nil { panic(err) } } // SetOdataType sets the @odata.type property value. The OdataType property -func (m *ClientCredentials) SetOdataType(value *string)() { +func (m *AggregatedEnvironment) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) if err != nil { panic(err) } } -type ClientCredentialsable interface { +type AggregatedEnvironmentable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) - GetCertificateName()(*string) - GetKeyVaultUri()(*string) + GetCount()(*int32) + GetKind()(*string) GetOdataType()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() - SetCertificateName(value *string)() - SetKeyVaultUri(value *string)() + SetCount(value *int32)() + SetKind(value *string)() SetOdataType(value *string)() } diff --git a/models/security/audit_info.go b/models/security/audit_info.go new file mode 100644 index 00000000000..fefd8a32084 --- /dev/null +++ b/models/security/audit_info.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type AuditInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAuditInfo instantiates a new AuditInfo and sets the default values. +func NewAuditInfo()(*AuditInfo) { + m := &AuditInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAuditInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAuditInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAuditInfo(), 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. +// returns a map[string]any when successful +func (m *AuditInfo) 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. +// returns a BackingStore when successful +func (m *AuditInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetBy gets the by property value. Display name of the user or application that performed the action. +// returns a *string when successful +func (m *AuditInfo) GetBy()(*string) { + val, err := m.GetBackingStore().Get("by") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDateTime gets the dateTime property value. Timestamp of the action. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +// returns a *Time when successful +func (m *AuditInfo) GetDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("dateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AuditInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["by"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetBy(val) + } + return nil + } + res["dateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetDateTime(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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AuditInfo) 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 *AuditInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("by", m.GetBy()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("dateTime", m.GetDateTime()) + 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 *AuditInfo) 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 *AuditInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetBy sets the by property value. Display name of the user or application that performed the action. +func (m *AuditInfo) SetBy(value *string)() { + err := m.GetBackingStore().Set("by", value) + if err != nil { + panic(err) + } +} +// SetDateTime sets the dateTime property value. Timestamp of the action. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. +func (m *AuditInfo) SetDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("dateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AuditInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AuditInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetBy()(*string) + GetDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetBy(value *string)() + SetDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() +} diff --git a/models/security/auto_auditing_configuration.go b/models/security/auto_auditing_configuration.go new file mode 100644 index 00000000000..52cddf599ad --- /dev/null +++ b/models/security/auto_auditing_configuration.go @@ -0,0 +1,80 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AutoAuditingConfiguration struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewAutoAuditingConfiguration instantiates a new AutoAuditingConfiguration and sets the default values. +func NewAutoAuditingConfiguration()(*AutoAuditingConfiguration) { + m := &AutoAuditingConfiguration{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateAutoAuditingConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAutoAuditingConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAutoAuditingConfiguration(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AutoAuditingConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["isAutomatic"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsAutomatic(val) + } + return nil + } + return res +} +// GetIsAutomatic gets the isAutomatic property value. Indicates whether automatic auditing is enabled for Defender for Identity monitoring. +// returns a *bool when successful +func (m *AutoAuditingConfiguration) GetIsAutomatic()(*bool) { + val, err := m.GetBackingStore().Get("isAutomatic") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *AutoAuditingConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isAutomatic", m.GetIsAutomatic()) + if err != nil { + return err + } + } + return nil +} +// SetIsAutomatic sets the isAutomatic property value. Indicates whether automatic auditing is enabled for Defender for Identity monitoring. +func (m *AutoAuditingConfiguration) SetIsAutomatic(value *bool)() { + err := m.GetBackingStore().Set("isAutomatic", value) + if err != nil { + panic(err) + } +} +type AutoAuditingConfigurationable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetIsAutomatic()(*bool) + SetIsAutomatic(value *bool)() +} diff --git a/models/security/detonation_details.go b/models/security/detonation_details.go index 60b1bd8a31e..f14ad5d84f4 100644 --- a/models/security/detonation_details.go +++ b/models/security/detonation_details.go @@ -68,7 +68,7 @@ func (m *DetonationDetails) GetCompromiseIndicators()([]CompromiseIndicatorable) } return nil } -// GetDetonationBehaviourDetails gets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation +// GetDetonationBehaviourDetails gets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. // returns a DetonationBehaviourDetailsable when successful func (m *DetonationDetails) GetDetonationBehaviourDetails()(DetonationBehaviourDetailsable) { val, err := m.GetBackingStore().Get("detonationBehaviourDetails") @@ -80,6 +80,18 @@ func (m *DetonationDetails) GetDetonationBehaviourDetails()(DetonationBehaviourD } return nil } +// GetDetonationBehaviourDetailsV2 gets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. +// returns a *string when successful +func (m *DetonationDetails) GetDetonationBehaviourDetailsV2()(*string) { + val, err := m.GetBackingStore().Get("detonationBehaviourDetailsV2") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetDetonationChain gets the detonationChain property value. The chain of detonation. // returns a DetonationChainable when successful func (m *DetonationDetails) GetDetonationChain()(DetonationChainable) { @@ -140,6 +152,18 @@ func (m *DetonationDetails) GetDetonationVerdictReason()(*string) { } return nil } +// GetEntityMetadata gets the entityMetadata property value. Additional metadata about the entity in JSON format. +// returns a *string when successful +func (m *DetonationDetails) GetEntityMetadata()(*string) { + val, err := m.GetBackingStore().Get("entityMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *DetonationDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -180,6 +204,16 @@ func (m *DetonationDetails) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["detonationBehaviourDetailsV2"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDetonationBehaviourDetailsV2(val) + } + return nil + } res["detonationChain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateDetonationChainFromDiscriminatorValue) if err != nil { @@ -230,6 +264,26 @@ func (m *DetonationDetails) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["entityMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEntityMetadata(val) + } + return nil + } + res["mitreTechniques"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMitreTechniques(val) + } + return nil + } res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -240,8 +294,40 @@ func (m *DetonationDetails) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["staticAnalysis"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStaticAnalysis(val) + } + return nil + } + res["submissionSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubmissionSource(val) + } + return nil + } return res } +// GetMitreTechniques gets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. +// returns a *string when successful +func (m *DetonationDetails) GetMitreTechniques()(*string) { + val, err := m.GetBackingStore().Get("mitreTechniques") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetOdataType gets the @odata.type property value. The OdataType property // returns a *string when successful func (m *DetonationDetails) GetOdataType()(*string) { @@ -254,6 +340,30 @@ func (m *DetonationDetails) GetOdataType()(*string) { } return nil } +// GetStaticAnalysis gets the staticAnalysis property value. The results of static analysis performed on the file or URL. +// returns a *string when successful +func (m *DetonationDetails) GetStaticAnalysis()(*string) { + val, err := m.GetBackingStore().Get("staticAnalysis") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubmissionSource gets the submissionSource property value. The source of the submission. +// returns a *string when successful +func (m *DetonationDetails) GetSubmissionSource()(*string) { + val, err := m.GetBackingStore().Get("submissionSource") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // Serialize serializes information the current object func (m *DetonationDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { @@ -280,6 +390,12 @@ func (m *DetonationDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err := writer.WriteStringValue("detonationBehaviourDetailsV2", m.GetDetonationBehaviourDetailsV2()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("detonationChain", m.GetDetonationChain()) if err != nil { @@ -310,12 +426,36 @@ func (m *DetonationDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err := writer.WriteStringValue("entityMetadata", m.GetEntityMetadata()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("mitreTechniques", m.GetMitreTechniques()) + if err != nil { + return err + } + } { err := writer.WriteStringValue("@odata.type", m.GetOdataType()) if err != nil { return err } } + { + err := writer.WriteStringValue("staticAnalysis", m.GetStaticAnalysis()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("submissionSource", m.GetSubmissionSource()) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -349,13 +489,20 @@ func (m *DetonationDetails) SetCompromiseIndicators(value []CompromiseIndicatora panic(err) } } -// SetDetonationBehaviourDetails sets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation +// SetDetonationBehaviourDetails sets the detonationBehaviourDetails property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation. This property is deprecated and still stop returning data in March 2026. Use the detonationBehaviourDetailsV2 property instead. func (m *DetonationDetails) SetDetonationBehaviourDetails(value DetonationBehaviourDetailsable)() { err := m.GetBackingStore().Set("detonationBehaviourDetails", value) if err != nil { panic(err) } } +// SetDetonationBehaviourDetailsV2 sets the detonationBehaviourDetailsV2 property value. Shows the exact events that took place during detonation, and problematic or benign observations that contain URLs, IPs, domains, and files that were found during detonation in a JSON format. +func (m *DetonationDetails) SetDetonationBehaviourDetailsV2(value *string)() { + err := m.GetBackingStore().Set("detonationBehaviourDetailsV2", value) + if err != nil { + panic(err) + } +} // SetDetonationChain sets the detonationChain property value. The chain of detonation. func (m *DetonationDetails) SetDetonationChain(value DetonationChainable)() { err := m.GetBackingStore().Set("detonationChain", value) @@ -391,6 +538,20 @@ func (m *DetonationDetails) SetDetonationVerdictReason(value *string)() { panic(err) } } +// SetEntityMetadata sets the entityMetadata property value. Additional metadata about the entity in JSON format. +func (m *DetonationDetails) SetEntityMetadata(value *string)() { + err := m.GetBackingStore().Set("entityMetadata", value) + if err != nil { + panic(err) + } +} +// SetMitreTechniques sets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. +func (m *DetonationDetails) SetMitreTechniques(value *string)() { + err := m.GetBackingStore().Set("mitreTechniques", value) + if err != nil { + panic(err) + } +} // SetOdataType sets the @odata.type property value. The OdataType property func (m *DetonationDetails) SetOdataType(value *string)() { err := m.GetBackingStore().Set("odataType", value) @@ -398,6 +559,20 @@ func (m *DetonationDetails) SetOdataType(value *string)() { panic(err) } } +// SetStaticAnalysis sets the staticAnalysis property value. The results of static analysis performed on the file or URL. +func (m *DetonationDetails) SetStaticAnalysis(value *string)() { + err := m.GetBackingStore().Set("staticAnalysis", value) + if err != nil { + panic(err) + } +} +// SetSubmissionSource sets the submissionSource property value. The source of the submission. +func (m *DetonationDetails) SetSubmissionSource(value *string)() { + err := m.GetBackingStore().Set("submissionSource", value) + if err != nil { + panic(err) + } +} type DetonationDetailsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel @@ -406,20 +581,30 @@ type DetonationDetailsable interface { GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetCompromiseIndicators()([]CompromiseIndicatorable) GetDetonationBehaviourDetails()(DetonationBehaviourDetailsable) + GetDetonationBehaviourDetailsV2()(*string) GetDetonationChain()(DetonationChainable) GetDetonationObservables()(DetonationObservablesable) GetDetonationScreenshotUri()(*string) GetDetonationVerdict()(*string) GetDetonationVerdictReason()(*string) + GetEntityMetadata()(*string) + GetMitreTechniques()(*string) GetOdataType()(*string) + GetStaticAnalysis()(*string) + GetSubmissionSource()(*string) SetAnalysisDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetCompromiseIndicators(value []CompromiseIndicatorable)() SetDetonationBehaviourDetails(value DetonationBehaviourDetailsable)() + SetDetonationBehaviourDetailsV2(value *string)() SetDetonationChain(value DetonationChainable)() SetDetonationObservables(value DetonationObservablesable)() SetDetonationScreenshotUri(value *string)() SetDetonationVerdict(value *string)() SetDetonationVerdictReason(value *string)() + SetEntityMetadata(value *string)() + SetMitreTechniques(value *string)() SetOdataType(value *string)() + SetStaticAnalysis(value *string)() + SetSubmissionSource(value *string)() } diff --git a/models/security/ediscovery_purge_data_operation.go b/models/security/ediscovery_purge_data_operation.go index a6c326b16cc..2ba7d024775 100644 --- a/models/security/ediscovery_purge_data_operation.go +++ b/models/security/ediscovery_purge_data_operation.go @@ -26,17 +26,66 @@ func CreateEdiscoveryPurgeDataOperationFromDiscriminatorValue(parseNode i878a80d // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *EdiscoveryPurgeDataOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.CaseOperation.GetFieldDeserializers() + res["reportFileMetadata"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateReportFileMetadataFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ReportFileMetadataable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ReportFileMetadataable) + } + } + m.SetReportFileMetadata(res) + } + return nil + } return res } +// GetReportFileMetadata gets the reportFileMetadata property value. The purge job report file metadata. It contains the properties for report file metadata, including downloadUrl, fileName, and size. +// returns a []ReportFileMetadataable when successful +func (m *EdiscoveryPurgeDataOperation) GetReportFileMetadata()([]ReportFileMetadataable) { + val, err := m.GetBackingStore().Get("reportFileMetadata") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ReportFileMetadataable) + } + return nil +} // Serialize serializes information the current object func (m *EdiscoveryPurgeDataOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.CaseOperation.Serialize(writer) if err != nil { return err } + if m.GetReportFileMetadata() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetReportFileMetadata())) + for i, v := range m.GetReportFileMetadata() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("reportFileMetadata", cast) + if err != nil { + return err + } + } return nil } +// SetReportFileMetadata sets the reportFileMetadata property value. The purge job report file metadata. It contains the properties for report file metadata, including downloadUrl, fileName, and size. +func (m *EdiscoveryPurgeDataOperation) SetReportFileMetadata(value []ReportFileMetadataable)() { + err := m.GetBackingStore().Set("reportFileMetadata", value) + if err != nil { + panic(err) + } +} type EdiscoveryPurgeDataOperationable interface { CaseOperationable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetReportFileMetadata()([]ReportFileMetadataable) + SetReportFileMetadata(value []ReportFileMetadataable)() } diff --git a/models/security/environment.go b/models/security/environment.go new file mode 100644 index 00000000000..88970a92c93 --- /dev/null +++ b/models/security/environment.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type Environment struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewEnvironment instantiates a new Environment and sets the default values. +func NewEnvironment()(*Environment) { + m := &Environment{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateEnvironmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnvironmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnvironment(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Environment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["kind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseEnvironmentKind) + if err != nil { + return err + } + if val != nil { + m.SetKind(val.(*EnvironmentKind)) + } + return nil + } + return res +} +// GetKind gets the kind property value. The kind property +// returns a *EnvironmentKind when successful +func (m *Environment) GetKind()(*EnvironmentKind) { + val, err := m.GetBackingStore().Get("kind") + if err != nil { + panic(err) + } + if val != nil { + return val.(*EnvironmentKind) + } + return nil +} +// Serialize serializes information the current object +func (m *Environment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetKind() != nil { + cast := (*m.GetKind()).String() + err = writer.WriteStringValue("kind", &cast) + if err != nil { + return err + } + } + return nil +} +// SetKind sets the kind property value. The kind property +func (m *Environment) SetKind(value *EnvironmentKind)() { + err := m.GetBackingStore().Set("kind", value) + if err != nil { + panic(err) + } +} +type Environmentable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetKind()(*EnvironmentKind) + SetKind(value *EnvironmentKind)() +} diff --git a/models/security/environment_collection_response.go b/models/security/environment_collection_response.go new file mode 100644 index 00000000000..9d3d33e4574 --- /dev/null +++ b/models/security/environment_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type EnvironmentCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewEnvironmentCollectionResponse instantiates a new EnvironmentCollectionResponse and sets the default values. +func NewEnvironmentCollectionResponse()(*EnvironmentCollectionResponse) { + m := &EnvironmentCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateEnvironmentCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnvironmentCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnvironmentCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnvironmentCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEnvironmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Environmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Environmentable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Environmentable when successful +func (m *EnvironmentCollectionResponse) GetValue()([]Environmentable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Environmentable) + } + return nil +} +// Serialize serializes information the current object +func (m *EnvironmentCollectionResponse) 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 *EnvironmentCollectionResponse) SetValue(value []Environmentable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type EnvironmentCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Environmentable) + SetValue(value []Environmentable)() +} diff --git a/models/security/environment_kind.go b/models/security/environment_kind.go new file mode 100644 index 00000000000..9dd729e2b53 --- /dev/null +++ b/models/security/environment_kind.go @@ -0,0 +1,66 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type EnvironmentKind int + +const ( + AZURESUBSCRIPTION_ENVIRONMENTKIND EnvironmentKind = iota + AWSORGANIZATION_ENVIRONMENTKIND + AWSACCOUNT_ENVIRONMENTKIND + GCPORGANIZATION_ENVIRONMENTKIND + GCPPROJECT_ENVIRONMENTKIND + DOCKERSHUBORGANIZATION_ENVIRONMENTKIND + DEVOPSCONNECTION_ENVIRONMENTKIND + AZUREDEVOPSORGANIZATION_ENVIRONMENTKIND + GITHUBORGANIZATION_ENVIRONMENTKIND + GITLABGROUP_ENVIRONMENTKIND + JFROGARTIFACTORY_ENVIRONMENTKIND + UNKNOWNFUTUREVALUE_ENVIRONMENTKIND +) + +func (i EnvironmentKind) String() string { + return []string{"azureSubscription", "awsOrganization", "awsAccount", "gcpOrganization", "gcpProject", "dockersHubOrganization", "devOpsConnection", "azureDevOpsOrganization", "gitHubOrganization", "gitLabGroup", "jFrogArtifactory", "unknownFutureValue"}[i] +} +func ParseEnvironmentKind(v string) (any, error) { + result := AZURESUBSCRIPTION_ENVIRONMENTKIND + switch v { + case "azureSubscription": + result = AZURESUBSCRIPTION_ENVIRONMENTKIND + case "awsOrganization": + result = AWSORGANIZATION_ENVIRONMENTKIND + case "awsAccount": + result = AWSACCOUNT_ENVIRONMENTKIND + case "gcpOrganization": + result = GCPORGANIZATION_ENVIRONMENTKIND + case "gcpProject": + result = GCPPROJECT_ENVIRONMENTKIND + case "dockersHubOrganization": + result = DOCKERSHUBORGANIZATION_ENVIRONMENTKIND + case "devOpsConnection": + result = DEVOPSCONNECTION_ENVIRONMENTKIND + case "azureDevOpsOrganization": + result = AZUREDEVOPSORGANIZATION_ENVIRONMENTKIND + case "gitHubOrganization": + result = GITHUBORGANIZATION_ENVIRONMENTKIND + case "gitLabGroup": + result = GITLABGROUP_ENVIRONMENTKIND + case "jFrogArtifactory": + result = JFROGARTIFACTORY_ENVIRONMENTKIND + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ENVIRONMENTKIND + default: + return nil, nil + } + return &result, nil +} +func SerializeEnvironmentKind(values []EnvironmentKind) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EnvironmentKind) isMultiValue() bool { + return false +} diff --git a/models/security/identity_container.go b/models/security/identity_container.go index bc4fbc493cc..a13599c2f33 100644 --- a/models/security/identity_container.go +++ b/models/security/identity_container.go @@ -173,7 +173,7 @@ func (m *IdentityContainer) GetSensors()([]Sensorable) { } return nil } -// GetSettings gets the settings property value. The settings property +// GetSettings gets the settings property value. Represents a container for security identities settings APIs. // returns a SettingsContainerable when successful func (m *IdentityContainer) GetSettings()(SettingsContainerable) { val, err := m.GetBackingStore().Get("settings") @@ -288,7 +288,7 @@ func (m *IdentityContainer) SetSensors(value []Sensorable)() { panic(err) } } -// SetSettings sets the settings property value. The settings property +// SetSettings sets the settings property value. Represents a container for security identities settings APIs. func (m *IdentityContainer) SetSettings(value SettingsContainerable)() { err := m.GetBackingStore().Set("settings", value) if err != nil { diff --git a/models/security/incident.go b/models/security/incident.go index e74afbb1c69..b690bc498da 100644 --- a/models/security/incident.go +++ b/models/security/incident.go @@ -424,7 +424,7 @@ func (m *Incident) GetLastUpdateDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f } return nil } -// GetPriorityScore gets the priorityScore property value. The priorityScore property +// GetPriorityScore gets the priorityScore property value. A priority score for the incident from 0 to 100, with > 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. // returns a *int32 when successful func (m *Incident) GetPriorityScore()(*int32) { val, err := m.GetBackingStore().Get("priorityScore") @@ -790,7 +790,7 @@ func (m *Incident) SetLastUpdateDateTime(value *i336074805fc853987abe6f7fe3ad97a panic(err) } } -// SetPriorityScore sets the priorityScore property value. The priorityScore property +// SetPriorityScore sets the priorityScore property value. A priority score for the incident from 0 to 100, with > 85 being the top priority, 15 - 85 medium priority, and < 15 low priority. This score is generated using machine learning and is based on multiple factors, including severity, disruption impact, threat intelligence, alert types, asset criticality, threat analytics, incident rarity, and additional priority signals. The value can also be null which indicates the feature is not open for the tenant or the value of the score is pending calculation. func (m *Incident) SetPriorityScore(value *int32)() { err := m.GetBackingStore().Set("priorityScore", value) if err != nil { diff --git a/models/security/remediation_action.go b/models/security/remediation_action.go index 9e5fb918561..6256730935f 100644 --- a/models/security/remediation_action.go +++ b/models/security/remediation_action.go @@ -11,10 +11,11 @@ const ( SOFTDELETE_REMEDIATIONACTION MOVETODELETEDITEMS_REMEDIATIONACTION UNKNOWNFUTUREVALUE_REMEDIATIONACTION + MOVETOQUARANTINE_REMEDIATIONACTION ) func (i RemediationAction) String() string { - return []string{"moveToJunk", "moveToInbox", "hardDelete", "softDelete", "moveToDeletedItems", "unknownFutureValue"}[i] + return []string{"moveToJunk", "moveToInbox", "hardDelete", "softDelete", "moveToDeletedItems", "unknownFutureValue", "moveToQuarantine"}[i] } func ParseRemediationAction(v string) (any, error) { result := MOVETOJUNK_REMEDIATIONACTION @@ -31,6 +32,8 @@ func ParseRemediationAction(v string) (any, error) { result = MOVETODELETEDITEMS_REMEDIATIONACTION case "unknownFutureValue": result = UNKNOWNFUTUREVALUE_REMEDIATIONACTION + case "moveToQuarantine": + result = MOVETOQUARANTINE_REMEDIATIONACTION default: return nil, nil } diff --git a/models/security/settings_container.go b/models/security/settings_container.go index da979e9ef91..df1cc921bab 100644 --- a/models/security/settings_container.go +++ b/models/security/settings_container.go @@ -23,10 +23,32 @@ func NewSettingsContainer()(*SettingsContainer) { func CreateSettingsContainerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewSettingsContainer(), nil } +// GetAutoAuditingConfiguration gets the autoAuditingConfiguration property value. Represents automatic configuration for collection of Windows event logs as needed for Defender for Identity sensors. +// returns a AutoAuditingConfigurationable when successful +func (m *SettingsContainer) GetAutoAuditingConfiguration()(AutoAuditingConfigurationable) { + val, err := m.GetBackingStore().Get("autoAuditingConfiguration") + if err != nil { + panic(err) + } + if val != nil { + return val.(AutoAuditingConfigurationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *SettingsContainer) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["autoAuditingConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAutoAuditingConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAutoAuditingConfiguration(val.(AutoAuditingConfigurationable)) + } + return nil + } return res } // Serialize serializes information the current object @@ -35,9 +57,24 @@ func (m *SettingsContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27 if err != nil { return err } + { + err = writer.WriteObjectValue("autoAuditingConfiguration", m.GetAutoAuditingConfiguration()) + if err != nil { + return err + } + } return nil } +// SetAutoAuditingConfiguration sets the autoAuditingConfiguration property value. Represents automatic configuration for collection of Windows event logs as needed for Defender for Identity sensors. +func (m *SettingsContainer) SetAutoAuditingConfiguration(value AutoAuditingConfigurationable)() { + err := m.GetBackingStore().Set("autoAuditingConfiguration", value) + if err != nil { + panic(err) + } +} type SettingsContainerable interface { ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAutoAuditingConfiguration()(AutoAuditingConfigurationable) + SetAutoAuditingConfiguration(value AutoAuditingConfigurationable)() } diff --git a/models/security/zone.go b/models/security/zone.go new file mode 100644 index 00000000000..771eaf7899e --- /dev/null +++ b/models/security/zone.go @@ -0,0 +1,289 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type Zone struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewZone instantiates a new Zone and sets the default values. +func NewZone()(*Zone) { + m := &Zone{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateZoneFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateZoneFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewZone(), nil +} +// GetAggregations gets the aggregations property value. Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). +// returns a []AggregatedEnvironmentable when successful +func (m *Zone) GetAggregations()([]AggregatedEnvironmentable) { + val, err := m.GetBackingStore().Get("aggregations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AggregatedEnvironmentable) + } + return nil +} +// GetCreated gets the created property value. Creation metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $filter=created/dateTime ge 2023-01-01T00:00:00Z. +// returns a AuditInfoable when successful +func (m *Zone) GetCreated()(AuditInfoable) { + val, err := m.GetBackingStore().Get("created") + if err != nil { + panic(err) + } + if val != nil { + return val.(AuditInfoable) + } + return nil +} +// GetDescription gets the description property value. Optional description of the zone. Up to 255 characters. Supports $filter (eq, contains). For example, $filter=contains(description, 'production'). +// returns a *string when successful +func (m *Zone) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. Human-readable name of the zone. Up to 1,024 characters. Supports $filter (eq, contains), and $orderby. For example, $filter=displayName eq 'Production Zone' or $orderby=displayName asc. +// returns a *string when successful +func (m *Zone) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEnvironments gets the environments property value. Collection of attached environments. Supports $expand. +// returns a []Environmentable when successful +func (m *Zone) GetEnvironments()([]Environmentable) { + val, err := m.GetBackingStore().Get("environments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Environmentable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Zone) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["aggregations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAggregatedEnvironmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AggregatedEnvironmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AggregatedEnvironmentable) + } + } + m.SetAggregations(res) + } + return nil + } + res["created"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAuditInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCreated(val.(AuditInfoable)) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["environments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateEnvironmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Environmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Environmentable) + } + } + m.SetEnvironments(res) + } + return nil + } + res["modified"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAuditInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetModified(val.(AuditInfoable)) + } + return nil + } + return res +} +// GetModified gets the modified property value. Last modification metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $orderby=modified/dateTime desc. +// returns a AuditInfoable when successful +func (m *Zone) GetModified()(AuditInfoable) { + val, err := m.GetBackingStore().Get("modified") + if err != nil { + panic(err) + } + if val != nil { + return val.(AuditInfoable) + } + return nil +} +// Serialize serializes information the current object +func (m *Zone) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAggregations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAggregations())) + for i, v := range m.GetAggregations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("aggregations", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("created", m.GetCreated()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetEnvironments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetEnvironments())) + for i, v := range m.GetEnvironments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("environments", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("modified", m.GetModified()) + if err != nil { + return err + } + } + return nil +} +// SetAggregations sets the aggregations property value. Environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). +func (m *Zone) SetAggregations(value []AggregatedEnvironmentable)() { + err := m.GetBackingStore().Set("aggregations", value) + if err != nil { + panic(err) + } +} +// SetCreated sets the created property value. Creation metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $filter=created/dateTime ge 2023-01-01T00:00:00Z. +func (m *Zone) SetCreated(value AuditInfoable)() { + err := m.GetBackingStore().Set("created", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. Optional description of the zone. Up to 255 characters. Supports $filter (eq, contains). For example, $filter=contains(description, 'production'). +func (m *Zone) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. Human-readable name of the zone. Up to 1,024 characters. Supports $filter (eq, contains), and $orderby. For example, $filter=displayName eq 'Production Zone' or $orderby=displayName asc. +func (m *Zone) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetEnvironments sets the environments property value. Collection of attached environments. Supports $expand. +func (m *Zone) SetEnvironments(value []Environmentable)() { + err := m.GetBackingStore().Set("environments", value) + if err != nil { + panic(err) + } +} +// SetModified sets the modified property value. Last modification metadata, including user and timestamp. Supports $orderby (dateTime property only). Supports $filter (ge, le, gt, lt) on the dateTime property. For example, $orderby=modified/dateTime desc. +func (m *Zone) SetModified(value AuditInfoable)() { + err := m.GetBackingStore().Set("modified", value) + if err != nil { + panic(err) + } +} +type Zoneable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAggregations()([]AggregatedEnvironmentable) + GetCreated()(AuditInfoable) + GetDescription()(*string) + GetDisplayName()(*string) + GetEnvironments()([]Environmentable) + GetModified()(AuditInfoable) + SetAggregations(value []AggregatedEnvironmentable)() + SetCreated(value AuditInfoable)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetEnvironments(value []Environmentable)() + SetModified(value AuditInfoable)() +} diff --git a/models/security/zone_collection_response.go b/models/security/zone_collection_response.go new file mode 100644 index 00000000000..847a1beb108 --- /dev/null +++ b/models/security/zone_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ZoneCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewZoneCollectionResponse instantiates a new ZoneCollectionResponse and sets the default values. +func NewZoneCollectionResponse()(*ZoneCollectionResponse) { + m := &ZoneCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateZoneCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateZoneCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewZoneCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ZoneCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Zoneable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Zoneable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Zoneable when successful +func (m *ZoneCollectionResponse) GetValue()([]Zoneable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Zoneable) + } + return nil +} +// Serialize serializes information the current object +func (m *ZoneCollectionResponse) 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 *ZoneCollectionResponse) SetValue(value []Zoneable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ZoneCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Zoneable) + SetValue(value []Zoneable)() +} diff --git a/models/self_service_sign_up.go b/models/self_service_sign_up.go index 3a4df46c388..a80e69d3215 100644 --- a/models/self_service_sign_up.go +++ b/models/self_service_sign_up.go @@ -143,6 +143,16 @@ func (m *SelfServiceSignUp) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["fraudProtectionDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFraudProtectionDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetFraudProtectionDetails(val.(FraudProtectionDetailsable)) + } + return nil + } res["signUpIdentity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateSignUpIdentityFromDiscriminatorValue) if err != nil { @@ -195,6 +205,18 @@ func (m *SelfServiceSignUp) GetFieldDeserializers()(map[string]func(i878a80d2330 } return res } +// GetFraudProtectionDetails gets the fraudProtectionDetails property value. The fraudProtectionDetails property +// returns a FraudProtectionDetailsable when successful +func (m *SelfServiceSignUp) GetFraudProtectionDetails()(FraudProtectionDetailsable) { + val, err := m.GetBackingStore().Get("fraudProtectionDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(FraudProtectionDetailsable) + } + return nil +} // GetSignUpIdentity gets the signUpIdentity property value. Unique identifier for self-service sign-up user. Supports $filter (eq) on the signUpIdentifierType. // returns a SignUpIdentityable when successful func (m *SelfServiceSignUp) GetSignUpIdentity()(SignUpIdentityable) { @@ -297,6 +319,12 @@ func (m *SelfServiceSignUp) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + { + err = writer.WriteObjectValue("fraudProtectionDetails", m.GetFraudProtectionDetails()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("signUpIdentity", m.GetSignUpIdentity()) if err != nil { @@ -365,6 +393,13 @@ func (m *SelfServiceSignUp) SetCreatedDateTime(value *i336074805fc853987abe6f7fe panic(err) } } +// SetFraudProtectionDetails sets the fraudProtectionDetails property value. The fraudProtectionDetails property +func (m *SelfServiceSignUp) SetFraudProtectionDetails(value FraudProtectionDetailsable)() { + err := m.GetBackingStore().Set("fraudProtectionDetails", value) + if err != nil { + panic(err) + } +} // SetSignUpIdentity sets the signUpIdentity property value. Unique identifier for self-service sign-up user. Supports $filter (eq) on the signUpIdentifierType. func (m *SelfServiceSignUp) SetSignUpIdentity(value SignUpIdentityable)() { err := m.GetBackingStore().Set("signUpIdentity", value) @@ -408,6 +443,7 @@ type SelfServiceSignUpable interface { GetAppliedEventListeners()([]AppliedAuthenticationEventListenerable) GetCorrelationId()(*string) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetFraudProtectionDetails()(FraudProtectionDetailsable) GetSignUpIdentity()(SignUpIdentityable) GetSignUpIdentityProvider()(*string) GetSignUpStage()(*SignUpStage) @@ -418,6 +454,7 @@ type SelfServiceSignUpable interface { SetAppliedEventListeners(value []AppliedAuthenticationEventListenerable)() SetCorrelationId(value *string)() SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetFraudProtectionDetails(value FraudProtectionDetailsable)() SetSignUpIdentity(value SignUpIdentityable)() SetSignUpIdentityProvider(value *string)() SetSignUpStage(value *SignUpStage)() diff --git a/models/share_point_browse_session.go b/models/share_point_browse_session.go index 0a1ec6c85d1..3061e31963e 100644 --- a/models/share_point_browse_session.go +++ b/models/share_point_browse_session.go @@ -40,7 +40,7 @@ func (m *SharePointBrowseSession) GetFieldDeserializers()(map[string]func(i878a8 } return res } -// GetSiteId gets the siteId property value. The siteId property +// GetSiteId gets the siteId property value. Id of the backed-up SharePoint site. // returns a *string when successful func (m *SharePointBrowseSession) GetSiteId()(*string) { val, err := m.GetBackingStore().Get("siteId") @@ -66,7 +66,7 @@ func (m *SharePointBrowseSession) Serialize(writer i878a80d2330e89d26896388a3f48 } return nil } -// SetSiteId sets the siteId property value. The siteId property +// SetSiteId sets the siteId property value. Id of the backed-up SharePoint site. func (m *SharePointBrowseSession) SetSiteId(value *string)() { err := m.GetBackingStore().Set("siteId", value) if err != nil { diff --git a/models/share_point_restore_session.go b/models/share_point_restore_session.go index cab2de89a2f..05e47827d29 100644 --- a/models/share_point_restore_session.go +++ b/models/share_point_restore_session.go @@ -78,7 +78,7 @@ func (m *SharePointRestoreSession) GetFieldDeserializers()(map[string]func(i878a } return res } -// GetGranularSiteRestoreArtifacts gets the granularSiteRestoreArtifacts property value. The granularSiteRestoreArtifacts property +// GetGranularSiteRestoreArtifacts gets the granularSiteRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore SharePoint files and folders. // returns a []GranularSiteRestoreArtifactable when successful func (m *SharePointRestoreSession) GetGranularSiteRestoreArtifacts()([]GranularSiteRestoreArtifactable) { val, err := m.GetBackingStore().Get("granularSiteRestoreArtifacts") @@ -158,7 +158,7 @@ func (m *SharePointRestoreSession) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } -// SetGranularSiteRestoreArtifacts sets the granularSiteRestoreArtifacts property value. The granularSiteRestoreArtifacts property +// SetGranularSiteRestoreArtifacts sets the granularSiteRestoreArtifacts property value. A collection of browse session id and item key details that can be used to restore SharePoint files and folders. func (m *SharePointRestoreSession) SetGranularSiteRestoreArtifacts(value []GranularSiteRestoreArtifactable)() { err := m.GetBackingStore().Set("granularSiteRestoreArtifacts", value) if err != nil { diff --git a/models/site.go b/models/site.go index ae391fce95a..7def6e1416b 100644 --- a/models/site.go +++ b/models/site.go @@ -784,7 +784,7 @@ func (m *Site) GetSites()([]Siteable) { } return nil } -// GetTemplate gets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, group, sts, unknownFutureValue. +// GetTemplate gets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, sts, unknownFutureValue. // returns a *SiteTemplateType when successful func (m *Site) GetTemplate()(*SiteTemplateType) { val, err := m.GetBackingStore().Get("template") @@ -1286,7 +1286,7 @@ func (m *Site) SetSites(value []Siteable)() { panic(err) } } -// SetTemplate sets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, group, sts, unknownFutureValue. +// SetTemplate sets the template property value. Specifies the template applied to the site. The possible values are: sitepagepublishing, sts, unknownFutureValue. func (m *Site) SetTemplate(value *SiteTemplateType)() { err := m.GetBackingStore().Set("template", value) if err != nil { diff --git a/models/site_template_type.go b/models/site_template_type.go index 861d5569aae..fe88e9769ac 100644 --- a/models/site_template_type.go +++ b/models/site_template_type.go @@ -6,21 +6,18 @@ type SiteTemplateType int const ( SITEPAGEPUBLISHING_SITETEMPLATETYPE SiteTemplateType = iota - GROUP_SITETEMPLATETYPE STS_SITETEMPLATETYPE UNKNOWNFUTUREVALUE_SITETEMPLATETYPE ) func (i SiteTemplateType) String() string { - return []string{"sitepagepublishing", "group", "sts", "unknownFutureValue"}[i] + return []string{"sitepagepublishing", "sts", "unknownFutureValue"}[i] } func ParseSiteTemplateType(v string) (any, error) { result := SITEPAGEPUBLISHING_SITETEMPLATETYPE switch v { case "sitepagepublishing": result = SITEPAGEPUBLISHING_SITETEMPLATETYPE - case "group": - result = GROUP_SITETEMPLATETYPE case "sts": result = STS_SITETEMPLATETYPE case "unknownFutureValue": diff --git a/models/teamsadministration/teams_policy_assignment.go b/models/teamsadministration/teams_policy_assignment.go index 9290a01c47d..8aa59149dae 100644 --- a/models/teamsadministration/teams_policy_assignment.go +++ b/models/teamsadministration/teams_policy_assignment.go @@ -45,7 +45,7 @@ func (m *TeamsPolicyAssignment) GetFieldDeserializers()(map[string]func(i878a80d } return res } -// GetUserAssignments gets the userAssignments property value. Navigation property to the collection of user policy assignments. +// GetUserAssignments gets the userAssignments property value. The collection of user policy assignments. // returns a []TeamsPolicyUserAssignmentable when successful func (m *TeamsPolicyAssignment) GetUserAssignments()([]TeamsPolicyUserAssignmentable) { val, err := m.GetBackingStore().Get("userAssignments") @@ -77,7 +77,7 @@ func (m *TeamsPolicyAssignment) Serialize(writer i878a80d2330e89d26896388a3f487e } return nil } -// SetUserAssignments sets the userAssignments property value. Navigation property to the collection of user policy assignments. +// SetUserAssignments sets the userAssignments property value. The collection of user policy assignments. func (m *TeamsPolicyAssignment) SetUserAssignments(value []TeamsPolicyUserAssignmentable)() { err := m.GetBackingStore().Set("userAssignments", value) if err != nil { diff --git a/models/teamsadministration/teams_policy_user_assignment.go b/models/teamsadministration/teams_policy_user_assignment.go index 2e06a22c676..f23618c802e 100644 --- a/models/teamsadministration/teams_policy_user_assignment.go +++ b/models/teamsadministration/teams_policy_user_assignment.go @@ -71,7 +71,7 @@ func (m *TeamsPolicyUserAssignment) GetPolicyId()(*string) { } return nil } -// GetPolicyType gets the policyType property value. The type of Teams policy assigned or unassigned, such as TeamsMeetingBroadcastPolicy. +// GetPolicyType gets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. // returns a *string when successful func (m *TeamsPolicyUserAssignment) GetPolicyType()(*string) { val, err := m.GetBackingStore().Get("policyType") @@ -128,7 +128,7 @@ func (m *TeamsPolicyUserAssignment) SetPolicyId(value *string)() { panic(err) } } -// SetPolicyType sets the policyType property value. The type of Teams policy assigned or unassigned, such as TeamsMeetingBroadcastPolicy. +// SetPolicyType sets the policyType property value. The type of Teams policy assigned or unassigned, such as teamsMeetingBroadcastPolicy. func (m *TeamsPolicyUserAssignment) SetPolicyType(value *string)() { err := m.GetBackingStore().Set("policyType", value) if err != nil { diff --git a/models/tenantgovernanceservices/long_running_operation.go b/models/tenantgovernanceservices/long_running_operation.go new file mode 100644 index 00000000000..bff318f9452 --- /dev/null +++ b/models/tenantgovernanceservices/long_running_operation.go @@ -0,0 +1,230 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package tenantgovernanceservices + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type LongRunningOperation struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewLongRunningOperation instantiates a new LongRunningOperation and sets the default values. +func NewLongRunningOperation()(*LongRunningOperation) { + m := &LongRunningOperation{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateLongRunningOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLongRunningOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLongRunningOperation(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// returns a *Time when successful +func (m *LongRunningOperation) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LongRunningOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["lastActionDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastActionDateTime(val) + } + return nil + } + res["resourceLocation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetResourceLocation(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseLongRunningOperationStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*LongRunningOperationStatus)) + } + return nil + } + res["statusDetail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStatusDetail(val) + } + return nil + } + return res +} +// GetLastActionDateTime gets the lastActionDateTime property value. The lastActionDateTime property +// returns a *Time when successful +func (m *LongRunningOperation) GetLastActionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastActionDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetResourceLocation gets the resourceLocation property value. The resourceLocation property +// returns a *string when successful +func (m *LongRunningOperation) GetResourceLocation()(*string) { + val, err := m.GetBackingStore().Get("resourceLocation") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStatus gets the status property value. The status property +// returns a *LongRunningOperationStatus when successful +func (m *LongRunningOperation) GetStatus()(*LongRunningOperationStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*LongRunningOperationStatus) + } + return nil +} +// GetStatusDetail gets the statusDetail property value. The statusDetail property +// returns a *string when successful +func (m *LongRunningOperation) GetStatusDetail()(*string) { + val, err := m.GetBackingStore().Get("statusDetail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *LongRunningOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastActionDateTime", m.GetLastActionDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("resourceLocation", m.GetResourceLocation()) + 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.WriteStringValue("statusDetail", m.GetStatusDetail()) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +func (m *LongRunningOperation) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetLastActionDateTime sets the lastActionDateTime property value. The lastActionDateTime property +func (m *LongRunningOperation) SetLastActionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastActionDateTime", value) + if err != nil { + panic(err) + } +} +// SetResourceLocation sets the resourceLocation property value. The resourceLocation property +func (m *LongRunningOperation) SetResourceLocation(value *string)() { + err := m.GetBackingStore().Set("resourceLocation", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status property +func (m *LongRunningOperation) SetStatus(value *LongRunningOperationStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +// SetStatusDetail sets the statusDetail property value. The statusDetail property +func (m *LongRunningOperation) SetStatusDetail(value *string)() { + err := m.GetBackingStore().Set("statusDetail", value) + if err != nil { + panic(err) + } +} +type LongRunningOperationable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLastActionDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetResourceLocation()(*string) + GetStatus()(*LongRunningOperationStatus) + GetStatusDetail()(*string) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLastActionDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetResourceLocation(value *string)() + SetStatus(value *LongRunningOperationStatus)() + SetStatusDetail(value *string)() +} diff --git a/models/tenantgovernanceservices/long_running_operation_status.go b/models/tenantgovernanceservices/long_running_operation_status.go new file mode 100644 index 00000000000..6f54d5fef8f --- /dev/null +++ b/models/tenantgovernanceservices/long_running_operation_status.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package tenantgovernanceservices +type LongRunningOperationStatus int + +const ( + NOTSTARTED_LONGRUNNINGOPERATIONSTATUS LongRunningOperationStatus = iota + RUNNING_LONGRUNNINGOPERATIONSTATUS + SUCCEEDED_LONGRUNNINGOPERATIONSTATUS + FAILED_LONGRUNNINGOPERATIONSTATUS + UNKNOWNFUTUREVALUE_LONGRUNNINGOPERATIONSTATUS +) + +func (i LongRunningOperationStatus) String() string { + return []string{"notStarted", "running", "succeeded", "failed", "unknownFutureValue"}[i] +} +func ParseLongRunningOperationStatus(v string) (any, error) { + result := NOTSTARTED_LONGRUNNINGOPERATIONSTATUS + switch v { + case "notStarted": + result = NOTSTARTED_LONGRUNNINGOPERATIONSTATUS + case "running": + result = RUNNING_LONGRUNNINGOPERATIONSTATUS + case "succeeded": + result = SUCCEEDED_LONGRUNNINGOPERATIONSTATUS + case "failed": + result = FAILED_LONGRUNNINGOPERATIONSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_LONGRUNNINGOPERATIONSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeLongRunningOperationStatus(values []LongRunningOperationStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i LongRunningOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/usage_auth_method.go b/models/usage_auth_method.go index a8c3755b442..e0090a6dc1e 100644 --- a/models/usage_auth_method.go +++ b/models/usage_auth_method.go @@ -33,10 +33,11 @@ const ( FIDO2SECURITYKEY_USAGEAUTHMETHOD ONETIMEPASSCODE_USAGEAUTHMETHOD PASSKEYSYNCED_USAGEAUTHMETHOD + QRCODE_USAGEAUTHMETHOD ) func (i UsageAuthMethod) String() string { - return []string{"email", "mobileSMS", "mobileCall", "officePhone", "securityQuestion", "appNotification", "appCode", "alternateMobileCall", "fido", "appPassword", "unknownFutureValue", "externalAuthMethod", "hardwareOneTimePasscode", "windowsHelloForBusiness", "microsoftAuthenticatorPasswordless", "temporaryAccessPass", "macOsSecureEnclaveKey", "passKeyDeviceBound", "passKeyDeviceBoundAuthenticator", "passKeyDeviceBoundWindowsHello", "softwareOneTimePasscode", "microsoftAuthenticatorPush", "mobilePhone", "sms", "alternateMobilePhone", "fido2SecurityKey", "oneTimePasscode", "passKeySynced"}[i] + return []string{"email", "mobileSMS", "mobileCall", "officePhone", "securityQuestion", "appNotification", "appCode", "alternateMobileCall", "fido", "appPassword", "unknownFutureValue", "externalAuthMethod", "hardwareOneTimePasscode", "windowsHelloForBusiness", "microsoftAuthenticatorPasswordless", "temporaryAccessPass", "macOsSecureEnclaveKey", "passKeyDeviceBound", "passKeyDeviceBoundAuthenticator", "passKeyDeviceBoundWindowsHello", "softwareOneTimePasscode", "microsoftAuthenticatorPush", "mobilePhone", "sms", "alternateMobilePhone", "fido2SecurityKey", "oneTimePasscode", "passKeySynced", "qrCode"}[i] } func ParseUsageAuthMethod(v string) (any, error) { result := EMAIL_USAGEAUTHMETHOD @@ -97,6 +98,8 @@ func ParseUsageAuthMethod(v string) (any, error) { result = ONETIMEPASSCODE_USAGEAUTHMETHOD case "passKeySynced": result = PASSKEYSYNCED_USAGEAUTHMETHOD + case "qrCode": + result = QRCODE_USAGEAUTHMETHOD default: return nil, nil } diff --git a/models/usage_rights.go b/models/usage_rights.go index 2e91fb7c744..8bcfe5616e5 100644 --- a/models/usage_rights.go +++ b/models/usage_rights.go @@ -29,13 +29,14 @@ const ( ENCRYPTEDPROTECTIONTYPENOTSUPPORTEDEXCEPTION_USAGERIGHTS = 131072 PURVIEWCLAIMSCHALLENGENOTSUPPORTEDEXCEPTION_USAGERIGHTS = 262144 EXCEPTION_USAGERIGHTS = 524288 - UNKNOWNFUTUREVALUE_USAGERIGHTS = 1048576 + LABELNOTFOUNDEXCEPTION_USAGERIGHTS = 1048576 + UNKNOWNFUTUREVALUE_USAGERIGHTS = 2097152 ) func (i UsageRights) String() string { var values []string - options := []string{"unknown", "docEdit", "edit", "comment", "export", "forward", "owner", "print", "reply", "replyAll", "view", "extract", "viewRightsData", "editRightsData", "objModel", "accessDenied", "userDefinedProtectionTypeNotSupportedException", "encryptedProtectionTypeNotSupportedException", "purviewClaimsChallengeNotSupportedException", "exception", "unknownFutureValue"} - for p := 0; p < 21; p++ { + options := []string{"unknown", "docEdit", "edit", "comment", "export", "forward", "owner", "print", "reply", "replyAll", "view", "extract", "viewRightsData", "editRightsData", "objModel", "accessDenied", "userDefinedProtectionTypeNotSupportedException", "encryptedProtectionTypeNotSupportedException", "purviewClaimsChallengeNotSupportedException", "exception", "labelNotFoundException", "unknownFutureValue"} + for p := 0; p < 22; p++ { mantis := UsageRights(int(math.Pow(2, float64(p)))) if i&mantis == mantis { values = append(values, options[p]) @@ -88,6 +89,8 @@ func ParseUsageRights(v string) (any, error) { result |= PURVIEWCLAIMSCHALLENGENOTSUPPORTEDEXCEPTION_USAGERIGHTS case "exception": result |= EXCEPTION_USAGERIGHTS + case "labelNotFoundException": + result |= LABELNOTFOUNDEXCEPTION_USAGERIGHTS case "unknownFutureValue": result |= UNKNOWNFUTUREVALUE_USAGERIGHTS default: diff --git a/models/windowsupdates/approval_rule.go b/models/windowsupdates/approval_rule.go new file mode 100644 index 00000000000..2185f299371 --- /dev/null +++ b/models/windowsupdates/approval_rule.go @@ -0,0 +1,173 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ApprovalRule struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewApprovalRule instantiates a new ApprovalRule and sets the default values. +func NewApprovalRule()(*ApprovalRule) { + m := &ApprovalRule{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateApprovalRuleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateApprovalRuleFromDiscriminatorValue(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.windowsUpdates.qualityUpdateApprovalRule": + return NewQualityUpdateApprovalRule(), nil + case "#microsoft.graph.windowsUpdates.recoveryApprovalRule": + return NewRecoveryApprovalRule(), nil + } + } + } + } + return NewApprovalRule(), 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. +// returns a map[string]any when successful +func (m *ApprovalRule) 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. +// returns a BackingStore when successful +func (m *ApprovalRule) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDeferralInDays gets the deferralInDays property value. The Windows update deferral period in days. The value must be between 0 and 30. +// returns a *int32 when successful +func (m *ApprovalRule) GetDeferralInDays()(*int32) { + val, err := m.GetBackingStore().Get("deferralInDays") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ApprovalRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["deferralInDays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetDeferralInDays(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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ApprovalRule) 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 *ApprovalRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("deferralInDays", m.GetDeferralInDays()) + 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 *ApprovalRule) 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 *ApprovalRule) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDeferralInDays sets the deferralInDays property value. The Windows update deferral period in days. The value must be between 0 and 30. +func (m *ApprovalRule) SetDeferralInDays(value *int32)() { + err := m.GetBackingStore().Set("deferralInDays", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ApprovalRule) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type ApprovalRuleable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDeferralInDays()(*int32) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDeferralInDays(value *int32)() + SetOdataType(value *string)() +} diff --git a/models/windowsupdates/approval_status.go b/models/windowsupdates/approval_status.go new file mode 100644 index 00000000000..78f78ee672b --- /dev/null +++ b/models/windowsupdates/approval_status.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates +type ApprovalStatus int + +const ( + APPROVED_APPROVALSTATUS ApprovalStatus = iota + SUSPENDED_APPROVALSTATUS + UNKNOWNFUTUREVALUE_APPROVALSTATUS +) + +func (i ApprovalStatus) String() string { + return []string{"approved", "suspended", "unknownFutureValue"}[i] +} +func ParseApprovalStatus(v string) (any, error) { + result := APPROVED_APPROVALSTATUS + switch v { + case "approved": + result = APPROVED_APPROVALSTATUS + case "suspended": + result = SUSPENDED_APPROVALSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPROVALSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeApprovalStatus(values []ApprovalStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ApprovalStatus) isMultiValue() bool { + return false +} diff --git a/models/windowsupdates/assigned_group.go b/models/windowsupdates/assigned_group.go new file mode 100644 index 00000000000..be3a2afa7cb --- /dev/null +++ b/models/windowsupdates/assigned_group.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +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" +) + +type AssignedGroup struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAssignedGroup instantiates a new AssignedGroup and sets the default values. +func NewAssignedGroup()(*AssignedGroup) { + m := &AssignedGroup{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAssignedGroupFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignedGroupFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignedGroup(), 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. +// returns a map[string]any when successful +func (m *AssignedGroup) 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. +// returns a BackingStore when successful +func (m *AssignedGroup) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AssignedGroup) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["group"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateGroupFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetGroup(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable)) + } + return nil + } + res["groupId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGroupId(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 +} +// GetGroup gets the group property value. The group property +// returns a Groupable when successful +func (m *AssignedGroup) GetGroup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable) { + val, err := m.GetBackingStore().Get("group") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable) + } + return nil +} +// GetGroupId gets the groupId property value. The unique identifier for the group. Returned by default. Key. Not nullable. Read-only. Supports $filter (eq, ne, not, in). +// returns a *string when successful +func (m *AssignedGroup) GetGroupId()(*string) { + val, err := m.GetBackingStore().Get("groupId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *AssignedGroup) 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 *AssignedGroup) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("group", m.GetGroup()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("groupId", m.GetGroupId()) + 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 *AssignedGroup) 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 *AssignedGroup) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetGroup sets the group property value. The group property +func (m *AssignedGroup) SetGroup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable)() { + err := m.GetBackingStore().Set("group", value) + if err != nil { + panic(err) + } +} +// SetGroupId sets the groupId property value. The unique identifier for the group. Returned by default. Key. Not nullable. Read-only. Supports $filter (eq, ne, not, in). +func (m *AssignedGroup) SetGroupId(value *string)() { + err := m.GetBackingStore().Set("groupId", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *AssignedGroup) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type AssignedGroupable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetGroup()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable) + GetGroupId()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetGroup(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable)() + SetGroupId(value *string)() + SetOdataType(value *string)() +} diff --git a/models/windowsupdates/catalog_entry.go b/models/windowsupdates/catalog_entry.go index f19c8383951..ecd40064642 100644 --- a/models/windowsupdates/catalog_entry.go +++ b/models/windowsupdates/catalog_entry.go @@ -40,6 +40,8 @@ func CreateCatalogEntryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388 return NewFeatureUpdateCatalogEntry(), nil case "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry": return NewQualityUpdateCatalogEntry(), nil + case "#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry": + return NewRecoveryUpdateCatalogEntry(), nil case "#microsoft.graph.windowsUpdates.softwareUpdateCatalogEntry": return NewSoftwareUpdateCatalogEntry(), nil } diff --git a/models/windowsupdates/excluded_group_assignment.go b/models/windowsupdates/excluded_group_assignment.go new file mode 100644 index 00000000000..610a186bdcc --- /dev/null +++ b/models/windowsupdates/excluded_group_assignment.go @@ -0,0 +1,93 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExcludedGroupAssignment struct { + GroupAssignment +} +// NewExcludedGroupAssignment instantiates a new ExcludedGroupAssignment and sets the default values. +func NewExcludedGroupAssignment()(*ExcludedGroupAssignment) { + m := &ExcludedGroupAssignment{ + GroupAssignment: *NewGroupAssignment(), + } + odataTypeValue := "#microsoft.graph.windowsUpdates.excludedGroupAssignment" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateExcludedGroupAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExcludedGroupAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExcludedGroupAssignment(), nil +} +// GetAssignments gets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. +// returns a []AssignedGroupable when successful +func (m *ExcludedGroupAssignment) GetAssignments()([]AssignedGroupable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AssignedGroupable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExcludedGroupAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.GroupAssignment.GetFieldDeserializers() + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignedGroupFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AssignedGroupable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AssignedGroupable) + } + } + m.SetAssignments(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ExcludedGroupAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.GroupAssignment.Serialize(writer) + if err != nil { + return err + } + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } + return nil +} +// SetAssignments sets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. +func (m *ExcludedGroupAssignment) SetAssignments(value []AssignedGroupable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} +type ExcludedGroupAssignmentable interface { + GroupAssignmentable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignments()([]AssignedGroupable) + SetAssignments(value []AssignedGroupable)() +} diff --git a/models/windowsupdates/group_assignment.go b/models/windowsupdates/group_assignment.go new file mode 100644 index 00000000000..2766b8b9568 --- /dev/null +++ b/models/windowsupdates/group_assignment.go @@ -0,0 +1,136 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type GroupAssignment struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewGroupAssignment instantiates a new GroupAssignment and sets the default values. +func NewGroupAssignment()(*GroupAssignment) { + m := &GroupAssignment{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateGroupAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateGroupAssignmentFromDiscriminatorValue(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.windowsUpdates.excludedGroupAssignment": + return NewExcludedGroupAssignment(), nil + case "#microsoft.graph.windowsUpdates.includedGroupAssignment": + return NewIncludedGroupAssignment(), nil + } + } + } + } + return NewGroupAssignment(), 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. +// returns a map[string]any when successful +func (m *GroupAssignment) 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. +// returns a BackingStore when successful +func (m *GroupAssignment) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *GroupAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + 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 +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *GroupAssignment) 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 *GroupAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + 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 *GroupAssignment) 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 *GroupAssignment) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *GroupAssignment) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type GroupAssignmentable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/windowsupdates/included_group_assignment.go b/models/windowsupdates/included_group_assignment.go new file mode 100644 index 00000000000..96306a78bbf --- /dev/null +++ b/models/windowsupdates/included_group_assignment.go @@ -0,0 +1,93 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type IncludedGroupAssignment struct { + GroupAssignment +} +// NewIncludedGroupAssignment instantiates a new IncludedGroupAssignment and sets the default values. +func NewIncludedGroupAssignment()(*IncludedGroupAssignment) { + m := &IncludedGroupAssignment{ + GroupAssignment: *NewGroupAssignment(), + } + odataTypeValue := "#microsoft.graph.windowsUpdates.includedGroupAssignment" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateIncludedGroupAssignmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIncludedGroupAssignmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIncludedGroupAssignment(), nil +} +// GetAssignments gets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. +// returns a []AssignedGroupable when successful +func (m *IncludedGroupAssignment) GetAssignments()([]AssignedGroupable) { + val, err := m.GetBackingStore().Get("assignments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AssignedGroupable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *IncludedGroupAssignment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.GroupAssignment.GetFieldDeserializers() + res["assignments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAssignedGroupFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AssignedGroupable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AssignedGroupable) + } + } + m.SetAssignments(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *IncludedGroupAssignment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.GroupAssignment.Serialize(writer) + if err != nil { + return err + } + if m.GetAssignments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAssignments())) + for i, v := range m.GetAssignments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("assignments", cast) + if err != nil { + return err + } + } + return nil +} +// SetAssignments sets the assignments property value. A collection of entities that govern the update deployment audience, defined as a Microsoft Entra group. +func (m *IncludedGroupAssignment) SetAssignments(value []AssignedGroupable)() { + err := m.GetBackingStore().Set("assignments", value) + if err != nil { + panic(err) + } +} +type IncludedGroupAssignmentable interface { + GroupAssignmentable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAssignments()([]AssignedGroupable) + SetAssignments(value []AssignedGroupable)() +} diff --git a/models/windowsupdates/policy.go b/models/windowsupdates/policy.go new file mode 100644 index 00000000000..c39b2366fdc --- /dev/null +++ b/models/windowsupdates/policy.go @@ -0,0 +1,406 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type Policy struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewPolicy instantiates a new Policy and sets the default values. +func NewPolicy()(*Policy) { + m := &Policy{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreatePolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyFromDiscriminatorValue(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.windowsUpdates.qualityUpdatePolicy": + return NewQualityUpdatePolicy(), nil + } + } + } + } + return NewPolicy(), nil +} +// GetApplicableContent gets the applicableContent property value. Represents content applicable for offering to the related collection of devices. +// returns a []ApplicableContentable when successful +func (m *Policy) GetApplicableContent()([]ApplicableContentable) { + val, err := m.GetBackingStore().Get("applicableContent") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ApplicableContentable) + } + return nil +} +// GetApprovalRules gets the approvalRules property value. The approved rule of the policy that determines which published content matches the rule on an ongoing basis. +// returns a []ApprovalRuleable when successful +func (m *Policy) GetApprovalRules()([]ApprovalRuleable) { + val, err := m.GetBackingStore().Get("approvalRules") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ApprovalRuleable) + } + return nil +} +// GetApprovals gets the approvals property value. Represents a set of quality updates policy approval types. +// returns a []PolicyApprovalable when successful +func (m *Policy) GetApprovals()([]PolicyApprovalable) { + val, err := m.GetBackingStore().Get("approvals") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PolicyApprovalable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the policy is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *Policy) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDescription gets the description property value. The policy description. The maximum length is 1,500 characters. +// returns a *string when successful +func (m *Policy) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The policy display name. The maximum length is 200 characters. +// returns a *string when successful +func (m *Policy) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Policy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["applicableContent"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateApplicableContentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ApplicableContentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ApplicableContentable) + } + } + m.SetApplicableContent(res) + } + return nil + } + res["approvalRules"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateApprovalRuleFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ApprovalRuleable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ApprovalRuleable) + } + } + m.SetApprovalRules(res) + } + return nil + } + res["approvals"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePolicyApprovalFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PolicyApprovalable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PolicyApprovalable) + } + } + m.SetApprovals(res) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["rings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Ringable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Ringable) + } + } + m.SetRings(res) + } + return nil + } + return res +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time when the policy was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *Policy) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetRings gets the rings property value. Represents a set of deployment rings that contains update deployment settings. +// returns a []Ringable when successful +func (m *Policy) GetRings()([]Ringable) { + val, err := m.GetBackingStore().Get("rings") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Ringable) + } + return nil +} +// Serialize serializes information the current object +func (m *Policy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetApplicableContent() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetApplicableContent())) + for i, v := range m.GetApplicableContent() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("applicableContent", cast) + if err != nil { + return err + } + } + if m.GetApprovalRules() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetApprovalRules())) + for i, v := range m.GetApprovalRules() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("approvalRules", cast) + if err != nil { + return err + } + } + if m.GetApprovals() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetApprovals())) + for i, v := range m.GetApprovals() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("approvals", cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetRings() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRings())) + for i, v := range m.GetRings() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("rings", cast) + if err != nil { + return err + } + } + return nil +} +// SetApplicableContent sets the applicableContent property value. Represents content applicable for offering to the related collection of devices. +func (m *Policy) SetApplicableContent(value []ApplicableContentable)() { + err := m.GetBackingStore().Set("applicableContent", value) + if err != nil { + panic(err) + } +} +// SetApprovalRules sets the approvalRules property value. The approved rule of the policy that determines which published content matches the rule on an ongoing basis. +func (m *Policy) SetApprovalRules(value []ApprovalRuleable)() { + err := m.GetBackingStore().Set("approvalRules", value) + if err != nil { + panic(err) + } +} +// SetApprovals sets the approvals property value. Represents a set of quality updates policy approval types. +func (m *Policy) SetApprovals(value []PolicyApprovalable)() { + err := m.GetBackingStore().Set("approvals", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the policy is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *Policy) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. The policy description. The maximum length is 1,500 characters. +func (m *Policy) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The policy display name. The maximum length is 200 characters. +func (m *Policy) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time when the policy was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *Policy) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetRings sets the rings property value. Represents a set of deployment rings that contains update deployment settings. +func (m *Policy) SetRings(value []Ringable)() { + err := m.GetBackingStore().Set("rings", value) + if err != nil { + panic(err) + } +} +type Policyable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApplicableContent()([]ApplicableContentable) + GetApprovalRules()([]ApprovalRuleable) + GetApprovals()([]PolicyApprovalable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDescription()(*string) + GetDisplayName()(*string) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetRings()([]Ringable) + SetApplicableContent(value []ApplicableContentable)() + SetApprovalRules(value []ApprovalRuleable)() + SetApprovals(value []PolicyApprovalable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetRings(value []Ringable)() +} diff --git a/models/windowsupdates/policy_approval.go b/models/windowsupdates/policy_approval.go new file mode 100644 index 00000000000..039f2510662 --- /dev/null +++ b/models/windowsupdates/policy_approval.go @@ -0,0 +1,230 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type PolicyApproval struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewPolicyApproval instantiates a new PolicyApproval and sets the default values. +func NewPolicyApproval()(*PolicyApproval) { + m := &PolicyApproval{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreatePolicyApprovalFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyApprovalFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyApproval(), nil +} +// GetCatalogEntry gets the catalogEntry property value. The content that you can approve for deployment. Read-only. +// returns a CatalogEntryable when successful +func (m *PolicyApproval) GetCatalogEntry()(CatalogEntryable) { + val, err := m.GetBackingStore().Get("catalogEntry") + if err != nil { + panic(err) + } + if val != nil { + return val.(CatalogEntryable) + } + return nil +} +// GetCatalogEntryId gets the catalogEntryId property value. The catalog entry ID to approve. +// returns a *string when successful +func (m *PolicyApproval) GetCatalogEntryId()(*string) { + val, err := m.GetBackingStore().Get("catalogEntryId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time the policy approval is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *PolicyApproval) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyApproval) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["catalogEntry"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateCatalogEntryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCatalogEntry(val.(CatalogEntryable)) + } + return nil + } + res["catalogEntryId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCatalogEntryId(val) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseApprovalStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*ApprovalStatus)) + } + return nil + } + return res +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the policy approval was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *PolicyApproval) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetStatus gets the status property value. The status property +// returns a *ApprovalStatus when successful +func (m *PolicyApproval) GetStatus()(*ApprovalStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ApprovalStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyApproval) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("catalogEntry", m.GetCatalogEntry()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("catalogEntryId", m.GetCatalogEntryId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCatalogEntry sets the catalogEntry property value. The content that you can approve for deployment. Read-only. +func (m *PolicyApproval) SetCatalogEntry(value CatalogEntryable)() { + err := m.GetBackingStore().Set("catalogEntry", value) + if err != nil { + panic(err) + } +} +// SetCatalogEntryId sets the catalogEntryId property value. The catalog entry ID to approve. +func (m *PolicyApproval) SetCatalogEntryId(value *string)() { + err := m.GetBackingStore().Set("catalogEntryId", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time the policy approval is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *PolicyApproval) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the policy approval was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *PolicyApproval) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status property +func (m *PolicyApproval) SetStatus(value *ApprovalStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type PolicyApprovalable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCatalogEntry()(CatalogEntryable) + GetCatalogEntryId()(*string) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStatus()(*ApprovalStatus) + SetCatalogEntry(value CatalogEntryable)() + SetCatalogEntryId(value *string)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStatus(value *ApprovalStatus)() +} diff --git a/models/windowsupdates/policy_approval_collection_response.go b/models/windowsupdates/policy_approval_collection_response.go new file mode 100644 index 00000000000..ef7a9d3c1f7 --- /dev/null +++ b/models/windowsupdates/policy_approval_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type PolicyApprovalCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewPolicyApprovalCollectionResponse instantiates a new PolicyApprovalCollectionResponse and sets the default values. +func NewPolicyApprovalCollectionResponse()(*PolicyApprovalCollectionResponse) { + m := &PolicyApprovalCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreatePolicyApprovalCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyApprovalCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyApprovalCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyApprovalCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePolicyApprovalFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]PolicyApprovalable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(PolicyApprovalable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []PolicyApprovalable when successful +func (m *PolicyApprovalCollectionResponse) GetValue()([]PolicyApprovalable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]PolicyApprovalable) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyApprovalCollectionResponse) 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 *PolicyApprovalCollectionResponse) SetValue(value []PolicyApprovalable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type PolicyApprovalCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]PolicyApprovalable) + SetValue(value []PolicyApprovalable)() +} diff --git a/models/windowsupdates/policy_collection_response.go b/models/windowsupdates/policy_collection_response.go new file mode 100644 index 00000000000..a68b6b0d31a --- /dev/null +++ b/models/windowsupdates/policy_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type PolicyCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewPolicyCollectionResponse instantiates a new PolicyCollectionResponse and sets the default values. +func NewPolicyCollectionResponse()(*PolicyCollectionResponse) { + m := &PolicyCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreatePolicyCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePolicyCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewPolicyCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *PolicyCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreatePolicyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Policyable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Policyable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Policyable when successful +func (m *PolicyCollectionResponse) GetValue()([]Policyable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Policyable) + } + return nil +} +// Serialize serializes information the current object +func (m *PolicyCollectionResponse) 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 *PolicyCollectionResponse) SetValue(value []Policyable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type PolicyCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Policyable) + SetValue(value []Policyable)() +} diff --git a/models/windowsupdates/quality_update_approval_rule.go b/models/windowsupdates/quality_update_approval_rule.go new file mode 100644 index 00000000000..eb1a7197966 --- /dev/null +++ b/models/windowsupdates/quality_update_approval_rule.go @@ -0,0 +1,120 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type QualityUpdateApprovalRule struct { + ApprovalRule +} +// NewQualityUpdateApprovalRule instantiates a new QualityUpdateApprovalRule and sets the default values. +func NewQualityUpdateApprovalRule()(*QualityUpdateApprovalRule) { + m := &QualityUpdateApprovalRule{ + ApprovalRule: *NewApprovalRule(), + } + odataTypeValue := "#microsoft.graph.windowsUpdates.qualityUpdateApprovalRule" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateQualityUpdateApprovalRuleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQualityUpdateApprovalRuleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQualityUpdateApprovalRule(), nil +} +// GetCadence gets the cadence property value. The cadence property +// returns a *QualityUpdateCadence when successful +func (m *QualityUpdateApprovalRule) GetCadence()(*QualityUpdateCadence) { + val, err := m.GetBackingStore().Get("cadence") + if err != nil { + panic(err) + } + if val != nil { + return val.(*QualityUpdateCadence) + } + return nil +} +// GetClassification gets the classification property value. The classification property +// returns a *QualityUpdateClassification when successful +func (m *QualityUpdateApprovalRule) GetClassification()(*QualityUpdateClassification) { + val, err := m.GetBackingStore().Get("classification") + if err != nil { + panic(err) + } + if val != nil { + return val.(*QualityUpdateClassification) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QualityUpdateApprovalRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ApprovalRule.GetFieldDeserializers() + res["cadence"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseQualityUpdateCadence) + if err != nil { + return err + } + if val != nil { + m.SetCadence(val.(*QualityUpdateCadence)) + } + return nil + } + res["classification"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseQualityUpdateClassification) + if err != nil { + return err + } + if val != nil { + m.SetClassification(val.(*QualityUpdateClassification)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *QualityUpdateApprovalRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ApprovalRule.Serialize(writer) + if err != nil { + return err + } + if m.GetCadence() != nil { + cast := (*m.GetCadence()).String() + err = writer.WriteStringValue("cadence", &cast) + if err != nil { + return err + } + } + if m.GetClassification() != nil { + cast := (*m.GetClassification()).String() + err = writer.WriteStringValue("classification", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCadence sets the cadence property value. The cadence property +func (m *QualityUpdateApprovalRule) SetCadence(value *QualityUpdateCadence)() { + err := m.GetBackingStore().Set("cadence", value) + if err != nil { + panic(err) + } +} +// SetClassification sets the classification property value. The classification property +func (m *QualityUpdateApprovalRule) SetClassification(value *QualityUpdateClassification)() { + err := m.GetBackingStore().Set("classification", value) + if err != nil { + panic(err) + } +} +type QualityUpdateApprovalRuleable interface { + ApprovalRuleable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCadence()(*QualityUpdateCadence) + GetClassification()(*QualityUpdateClassification) + SetCadence(value *QualityUpdateCadence)() + SetClassification(value *QualityUpdateClassification)() +} diff --git a/models/windowsupdates/quality_update_policy.go b/models/windowsupdates/quality_update_policy.go new file mode 100644 index 00000000000..1ff4da2d0a6 --- /dev/null +++ b/models/windowsupdates/quality_update_policy.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type QualityUpdatePolicy struct { + Policy +} +// NewQualityUpdatePolicy instantiates a new QualityUpdatePolicy and sets the default values. +func NewQualityUpdatePolicy()(*QualityUpdatePolicy) { + m := &QualityUpdatePolicy{ + Policy: *NewPolicy(), + } + odataTypeValue := "#microsoft.graph.windowsUpdates.qualityUpdatePolicy" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateQualityUpdatePolicyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQualityUpdatePolicyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQualityUpdatePolicy(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QualityUpdatePolicy) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Policy.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *QualityUpdatePolicy) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Policy.Serialize(writer) + if err != nil { + return err + } + return nil +} +type QualityUpdatePolicyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Policyable +} diff --git a/models/windowsupdates/quality_update_ring.go b/models/windowsupdates/quality_update_ring.go new file mode 100644 index 00000000000..1498c689fc8 --- /dev/null +++ b/models/windowsupdates/quality_update_ring.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type QualityUpdateRing struct { + Ring +} +// NewQualityUpdateRing instantiates a new QualityUpdateRing and sets the default values. +func NewQualityUpdateRing()(*QualityUpdateRing) { + m := &QualityUpdateRing{ + Ring: *NewRing(), + } + odataTypeValue := "#microsoft.graph.windowsUpdates.qualityUpdateRing" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateQualityUpdateRingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateQualityUpdateRingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewQualityUpdateRing(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *QualityUpdateRing) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Ring.GetFieldDeserializers() + res["isHotpatchEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsHotpatchEnabled(val) + } + return nil + } + return res +} +// GetIsHotpatchEnabled gets the isHotpatchEnabled property value. Identifies whether a hotpatch update is available. +// returns a *bool when successful +func (m *QualityUpdateRing) GetIsHotpatchEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isHotpatchEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *QualityUpdateRing) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Ring.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isHotpatchEnabled", m.GetIsHotpatchEnabled()) + if err != nil { + return err + } + } + return nil +} +// SetIsHotpatchEnabled sets the isHotpatchEnabled property value. Identifies whether a hotpatch update is available. +func (m *QualityUpdateRing) SetIsHotpatchEnabled(value *bool)() { + err := m.GetBackingStore().Set("isHotpatchEnabled", value) + if err != nil { + panic(err) + } +} +type QualityUpdateRingable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Ringable + GetIsHotpatchEnabled()(*bool) + SetIsHotpatchEnabled(value *bool)() +} diff --git a/models/windowsupdates/recovery_approval_rule.go b/models/windowsupdates/recovery_approval_rule.go new file mode 100644 index 00000000000..fc8f0c97d7d --- /dev/null +++ b/models/windowsupdates/recovery_approval_rule.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RecoveryApprovalRule struct { + ApprovalRule +} +// NewRecoveryApprovalRule instantiates a new RecoveryApprovalRule and sets the default values. +func NewRecoveryApprovalRule()(*RecoveryApprovalRule) { + m := &RecoveryApprovalRule{ + ApprovalRule: *NewApprovalRule(), + } + odataTypeValue := "#microsoft.graph.windowsUpdates.recoveryApprovalRule" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRecoveryApprovalRuleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRecoveryApprovalRuleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRecoveryApprovalRule(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RecoveryApprovalRule) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ApprovalRule.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *RecoveryApprovalRule) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ApprovalRule.Serialize(writer) + if err != nil { + return err + } + return nil +} +type RecoveryApprovalRuleable interface { + ApprovalRuleable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/windowsupdates/recovery_update_catalog_entry.go b/models/windowsupdates/recovery_update_catalog_entry.go new file mode 100644 index 00000000000..95f05a228f8 --- /dev/null +++ b/models/windowsupdates/recovery_update_catalog_entry.go @@ -0,0 +1,130 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type RecoveryUpdateCatalogEntry struct { + SoftwareUpdateCatalogEntry +} +// NewRecoveryUpdateCatalogEntry instantiates a new RecoveryUpdateCatalogEntry and sets the default values. +func NewRecoveryUpdateCatalogEntry()(*RecoveryUpdateCatalogEntry) { + m := &RecoveryUpdateCatalogEntry{ + SoftwareUpdateCatalogEntry: *NewSoftwareUpdateCatalogEntry(), + } + odataTypeValue := "#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRecoveryUpdateCatalogEntryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRecoveryUpdateCatalogEntryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRecoveryUpdateCatalogEntry(), nil +} +// GetCatalogName gets the catalogName property value. The catalog name. Read-only. +// returns a *string when successful +func (m *RecoveryUpdateCatalogEntry) GetCatalogName()(*string) { + val, err := m.GetBackingStore().Get("catalogName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RecoveryUpdateCatalogEntry) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SoftwareUpdateCatalogEntry.GetFieldDeserializers() + res["catalogName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCatalogName(val) + } + return nil + } + res["productRevisions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateProductRevisionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ProductRevisionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ProductRevisionable) + } + } + m.SetProductRevisions(res) + } + return nil + } + return res +} +// GetProductRevisions gets the productRevisions property value. A collection of product revisions associated with the update. +// returns a []ProductRevisionable when successful +func (m *RecoveryUpdateCatalogEntry) GetProductRevisions()([]ProductRevisionable) { + val, err := m.GetBackingStore().Get("productRevisions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ProductRevisionable) + } + return nil +} +// Serialize serializes information the current object +func (m *RecoveryUpdateCatalogEntry) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SoftwareUpdateCatalogEntry.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("catalogName", m.GetCatalogName()) + if err != nil { + return err + } + } + if m.GetProductRevisions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProductRevisions())) + for i, v := range m.GetProductRevisions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("productRevisions", cast) + if err != nil { + return err + } + } + return nil +} +// SetCatalogName sets the catalogName property value. The catalog name. Read-only. +func (m *RecoveryUpdateCatalogEntry) SetCatalogName(value *string)() { + err := m.GetBackingStore().Set("catalogName", value) + if err != nil { + panic(err) + } +} +// SetProductRevisions sets the productRevisions property value. A collection of product revisions associated with the update. +func (m *RecoveryUpdateCatalogEntry) SetProductRevisions(value []ProductRevisionable)() { + err := m.GetBackingStore().Set("productRevisions", value) + if err != nil { + panic(err) + } +} +type RecoveryUpdateCatalogEntryable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SoftwareUpdateCatalogEntryable + GetCatalogName()(*string) + GetProductRevisions()([]ProductRevisionable) + SetCatalogName(value *string)() + SetProductRevisions(value []ProductRevisionable)() +} diff --git a/models/windowsupdates/ring.go b/models/windowsupdates/ring.go new file mode 100644 index 00000000000..678b1fe3974 --- /dev/null +++ b/models/windowsupdates/ring.go @@ -0,0 +1,358 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type Ring struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewRing instantiates a new Ring and sets the default values. +func NewRing()(*Ring) { + m := &Ring{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateRingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRingFromDiscriminatorValue(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.windowsUpdates.qualityUpdateRing": + return NewQualityUpdateRing(), nil + } + } + } + } + return NewRing(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the ring is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only +// returns a *Time when successful +func (m *Ring) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDeferralInDays gets the deferralInDays property value. The quality update deferral period in days. The value must be between 0 and 30. Optional. +// returns a *int32 when successful +func (m *Ring) GetDeferralInDays()(*int32) { + val, err := m.GetBackingStore().Get("deferralInDays") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetDescription gets the description property value. The ring description. The maximum length is 1,500 characters. Required +// returns a *string when successful +func (m *Ring) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The ring display name. The maximum length is 200 characters. Required. +// returns a *string when successful +func (m *Ring) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExcludedGroupAssignment gets the excludedGroupAssignment property value. The excludedGroupAssignment property +// returns a ExcludedGroupAssignmentable when successful +func (m *Ring) GetExcludedGroupAssignment()(ExcludedGroupAssignmentable) { + val, err := m.GetBackingStore().Get("excludedGroupAssignment") + if err != nil { + panic(err) + } + if val != nil { + return val.(ExcludedGroupAssignmentable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Ring) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["deferralInDays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetDeferralInDays(val) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["excludedGroupAssignment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateExcludedGroupAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExcludedGroupAssignment(val.(ExcludedGroupAssignmentable)) + } + return nil + } + res["includedGroupAssignment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIncludedGroupAssignmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetIncludedGroupAssignment(val.(IncludedGroupAssignmentable)) + } + return nil + } + res["isPaused"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsPaused(val) + } + return nil + } + res["lastModifiedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastModifiedDateTime(val) + } + return nil + } + return res +} +// GetIncludedGroupAssignment gets the includedGroupAssignment property value. The includedGroupAssignment property +// returns a IncludedGroupAssignmentable when successful +func (m *Ring) GetIncludedGroupAssignment()(IncludedGroupAssignmentable) { + val, err := m.GetBackingStore().Get("includedGroupAssignment") + if err != nil { + panic(err) + } + if val != nil { + return val.(IncludedGroupAssignmentable) + } + return nil +} +// GetIsPaused gets the isPaused property value. The pause action for the quality update ring policy. Required. +// returns a *bool when successful +func (m *Ring) GetIsPaused()(*bool) { + val, err := m.GetBackingStore().Get("isPaused") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time whenthe ring was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *Ring) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *Ring) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("deferralInDays", m.GetDeferralInDays()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("excludedGroupAssignment", m.GetExcludedGroupAssignment()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("includedGroupAssignment", m.GetIncludedGroupAssignment()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isPaused", m.GetIsPaused()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the ring is created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only +func (m *Ring) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetDeferralInDays sets the deferralInDays property value. The quality update deferral period in days. The value must be between 0 and 30. Optional. +func (m *Ring) SetDeferralInDays(value *int32)() { + err := m.GetBackingStore().Set("deferralInDays", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. The ring description. The maximum length is 1,500 characters. Required +func (m *Ring) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The ring display name. The maximum length is 200 characters. Required. +func (m *Ring) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetExcludedGroupAssignment sets the excludedGroupAssignment property value. The excludedGroupAssignment property +func (m *Ring) SetExcludedGroupAssignment(value ExcludedGroupAssignmentable)() { + err := m.GetBackingStore().Set("excludedGroupAssignment", value) + if err != nil { + panic(err) + } +} +// SetIncludedGroupAssignment sets the includedGroupAssignment property value. The includedGroupAssignment property +func (m *Ring) SetIncludedGroupAssignment(value IncludedGroupAssignmentable)() { + err := m.GetBackingStore().Set("includedGroupAssignment", value) + if err != nil { + panic(err) + } +} +// SetIsPaused sets the isPaused property value. The pause action for the quality update ring policy. Required. +func (m *Ring) SetIsPaused(value *bool)() { + err := m.GetBackingStore().Set("isPaused", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time whenthe ring was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *Ring) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +type Ringable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDeferralInDays()(*int32) + GetDescription()(*string) + GetDisplayName()(*string) + GetExcludedGroupAssignment()(ExcludedGroupAssignmentable) + GetIncludedGroupAssignment()(IncludedGroupAssignmentable) + GetIsPaused()(*bool) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDeferralInDays(value *int32)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetExcludedGroupAssignment(value ExcludedGroupAssignmentable)() + SetIncludedGroupAssignment(value IncludedGroupAssignmentable)() + SetIsPaused(value *bool)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/windowsupdates/ring_collection_response.go b/models/windowsupdates/ring_collection_response.go new file mode 100644 index 00000000000..1a7eeef4603 --- /dev/null +++ b/models/windowsupdates/ring_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package windowsupdates + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type RingCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewRingCollectionResponse instantiates a new RingCollectionResponse and sets the default values. +func NewRingCollectionResponse()(*RingCollectionResponse) { + m := &RingCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateRingCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRingCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRingCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *RingCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateRingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Ringable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Ringable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Ringable when successful +func (m *RingCollectionResponse) GetValue()([]Ringable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Ringable) + } + return nil +} +// Serialize serializes information the current object +func (m *RingCollectionResponse) 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 *RingCollectionResponse) SetValue(value []Ringable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type RingCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Ringable) + SetValue(value []Ringable)() +} diff --git a/models/windowsupdates/software_update_catalog_entry.go b/models/windowsupdates/software_update_catalog_entry.go index aa65a89ae74..bcbc30328ec 100644 --- a/models/windowsupdates/software_update_catalog_entry.go +++ b/models/windowsupdates/software_update_catalog_entry.go @@ -40,6 +40,8 @@ func CreateSoftwareUpdateCatalogEntryFromDiscriminatorValue(parseNode i878a80d23 return NewFeatureUpdateCatalogEntry(), nil case "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry": return NewQualityUpdateCatalogEntry(), nil + case "#microsoft.graph.windowsUpdates.recoveryUpdateCatalogEntry": + return NewRecoveryUpdateCatalogEntry(), nil } } } diff --git a/networkaccess/1d1e2d6315a917c6817970b1c4195c565b483f5f252f4368ae3cf9a7543dcfdd.go b/networkaccess/1d1e2d6315a917c6817970b1c4195c565b483f5f252f4368ae3cf9a7543dcfdd.go deleted file mode 100644 index af379aa3360..00000000000 --- a/networkaccess/1d1e2d6315a917c6817970b1c4195c565b483f5f252f4368ae3cf9a7543dcfdd.go +++ /dev/null @@ -1,30 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package networkaccess - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -// Deprecated: This class is obsolete. Use ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable instead. -type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse struct { - ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse -} -// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse and sets the default values. -func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse()(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse) { - m := &ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse{ - ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse: *NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse(), - } - return m -} -// CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponse(), nil -} -// Deprecated: This class is obsolete. Use ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable instead. -type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable -} diff --git a/networkaccess/343b229ba219615f8b31c2821581f1c7510e15189f034219594be8c3632d5219.go b/networkaccess/343b229ba219615f8b31c2821581f1c7510e15189f034219594be8c3632d5219.go new file mode 100644 index 00000000000..0eb73cf61ae --- /dev/null +++ b/networkaccess/343b229ba219615f8b31c2821581f1c7510e15189f034219594be8c3632d5219.go @@ -0,0 +1,119 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package networkaccess + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder provides operations to call the deviceReport method. +type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters invoke function deviceReport +type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Usage: discoveredApplicationSegmentId='@discoveredApplicationSegmentId' + DiscoveredApplicationSegmentId *string `uriparametername:"discoveredApplicationSegmentId"` + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` + // Skip the first n items + Skip *int32 `uriparametername:"%24skip"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` +} +// ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetQueryParameters +} +// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderInternal instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder and sets the default values. +func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) { + m := &ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime},discoveredApplicationSegmentId='@discoveredApplicationSegmentId'){?%24count,%24filter,%24search,%24skip,%24top,discoveredApplicationSegmentId*}", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = (*endDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = (*startDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) + } + return m +} +// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder and sets the default values. +func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get invoke function deviceReport +// Deprecated: This method is obsolete. Use GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse instead. +// returns a ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseable), nil +} +// GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse invoke function deviceReport +// returns a ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) GetAsDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable), nil +} +// ToGetRequestInformation invoke function deviceReport +// returns a *RequestInformation when successful +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder when successful +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) WithUrl(rawUrl string)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) { + return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/networkaccess/f953e78bd03f623f93b0ae2807361213991c2ed96349dddd02892f9c0e0e8d59.go b/networkaccess/6286a7f5ea69a726a53cf88b6370458b9105228cbd4ae7a8c5b4b77641043b7e.go similarity index 53% rename from networkaccess/f953e78bd03f623f93b0ae2807361213991c2ed96349dddd02892f9c0e0e8d59.go rename to networkaccess/6286a7f5ea69a726a53cf88b6370458b9105228cbd4ae7a8c5b4b77641043b7e.go index 07824b3ca6a..20389990ab3 100644 --- a/networkaccess/f953e78bd03f623f93b0ae2807361213991c2ed96349dddd02892f9c0e0e8d59.go +++ b/networkaccess/6286a7f5ea69a726a53cf88b6370458b9105228cbd4ae7a8c5b4b77641043b7e.go @@ -9,24 +9,24 @@ import ( i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/networkaccess" ) -type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse struct { +type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse struct { ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse } -// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. -func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse()(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse) { - m := &ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse{ +// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse and sets the default values. +func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse()(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse) { + m := &ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse{ BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), } return m } -// CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful -func CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse(), nil +func CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse(), nil } // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CreateDeviceFromDiscriminatorValue) @@ -48,7 +48,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndD } // GetValue gets the value property value. The value property // returns a []Deviceable when successful -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable) { +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse) GetValue()([]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) @@ -59,7 +59,7 @@ func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndD return nil } // Serialize serializes information the current object -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.BaseCollectionPaginationCountResponse.Serialize(writer) if err != nil { return err @@ -79,13 +79,13 @@ func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndD return nil } // SetValue sets the value property value. The value property -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable)() { +func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse) SetValue(value []i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) } } -type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable interface { +type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable interface { ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetValue()([]i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.Deviceable) diff --git a/networkaccess/da6fdfd8cc87ef7e6a9e2901e35608710b9102997c1306c892c8e13b51b340f2.go b/networkaccess/da6fdfd8cc87ef7e6a9e2901e35608710b9102997c1306c892c8e13b51b340f2.go deleted file mode 100644 index 8ee55a0c02a..00000000000 --- a/networkaccess/da6fdfd8cc87ef7e6a9e2901e35608710b9102997c1306c892c8e13b51b340f2.go +++ /dev/null @@ -1,117 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package networkaccess - -import ( - "context" - i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" - i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" -) - -// ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the deviceReport method. -type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder struct { - i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder -} -// ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function deviceReport -type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { - // Include count of items - Count *bool `uriparametername:"%24count"` - // Filter items by property values - Filter *string `uriparametername:"%24filter"` - // Search items by search phrases - Search *string `uriparametername:"%24search"` - // Skip the first n items - Skip *int32 `uriparametername:"%24skip"` - // Show only the first n items - Top *int32 `uriparametername:"%24top"` -} -// ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. -type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { - // Request headers - Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders - // Request options - Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption - // Request query parameters - QueryParameters *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters -} -// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. -func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) { - m := &ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder{ - BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/networkAccess/reports/microsoft.graph.networkaccess.deviceReport(startDateTime={startDateTime},endDateTime={endDateTime}){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters), - } - if endDateTime != nil { - m.BaseRequestBuilder.PathParameters["endDateTime"] = (*endDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) - } - if startDateTime != nil { - m.BaseRequestBuilder.PathParameters["startDateTime"] = (*startDateTime).Format(i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.RFC3339) - } - return m -} -// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. -func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) { - urlParams := make(map[string]string) - urlParams["request-raw-url"] = rawUrl - return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) -} -// Get invoke function deviceReport -// Deprecated: This method is obsolete. Use GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponse instead. -// returns a ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeResponseable), nil -} -// GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponse invoke function deviceReport -// returns a ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable when successful -// returns a ODataError error when the service returns a 4XX or 5XX status code -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsDeviceReportWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable, error) { - requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); - if err != nil { - return nil, err - } - errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { - "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, - } - res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) - if err != nil { - return nil, err - } - if res == nil { - return nil, nil - } - return res.(ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeDeviceReportWithStartDateTimeWithEndDateTimeGetResponseable), nil -} -// ToGetRequestInformation invoke function deviceReport -// returns a *RequestInformation when successful -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { - requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) - if requestConfiguration != nil { - if requestConfiguration.QueryParameters != nil { - requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) - } - requestInfo.Headers.AddAll(requestConfiguration.Headers) - requestInfo.AddRequestOptions(requestConfiguration.Options) - } - requestInfo.Headers.TryAdd("Accept", "application/json") - return 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 *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder when successful -func (m *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) { - return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); -} diff --git a/networkaccess/e8a2e1f7bd99a41a9d9fb6fcd395b8c65978e9dbc3358aace54ed4174b29c964.go b/networkaccess/e8a2e1f7bd99a41a9d9fb6fcd395b8c65978e9dbc3358aace54ed4174b29c964.go new file mode 100644 index 00000000000..a7419bdc524 --- /dev/null +++ b/networkaccess/e8a2e1f7bd99a41a9d9fb6fcd395b8c65978e9dbc3358aace54ed4174b29c964.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package networkaccess + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable instead. +type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse struct { + ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse +} +// NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse instantiates a new ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse and sets the default values. +func NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse()(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse) { + m := &ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse{ + ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse: *NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponse(), + } + return m +} +// CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponse(), nil +} +// Deprecated: This class is obsolete. Use ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable instead. +type ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdResponseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdGetResponseable +} diff --git a/networkaccess/reports_request_builder.go b/networkaccess/reports_request_builder.go index 29a91fcdc2a..01d76e0f67f 100644 --- a/networkaccess/reports_request_builder.go +++ b/networkaccess/reports_request_builder.go @@ -104,10 +104,10 @@ func (m *ReportsRequestBuilder) MicrosoftGraphNetworkaccessCrossTenantAccessRepo func (m *ReportsRequestBuilder) MicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*ReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilder) { return NewReportsMicrosoftGraphNetworkaccessDestinationReportWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } -// MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime provides operations to call the deviceReport method. -// returns a *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder when successful -func (m *ReportsRequestBuilder) MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTime(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilder) { - return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +// MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId provides operations to call the deviceReport method. +// returns a *ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder when successful +func (m *ReportsRequestBuilder) MicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentId(endDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time, startDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)(*ReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilder) { + return NewReportsMicrosoftGraphNetworkaccessDeviceReportWithStartDateTimeWithEndDateTimediscoveredApplicationSegmentIdDiscoveredApplicationSegmentIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) } // MicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTime provides operations to call the entitiesSummaries method. // returns a *ReportsMicrosoftGraphNetworkaccessEntitiesSummariesWithStartDateTimeWithEndDateTimeRequestBuilder when successful diff --git a/security/identities_settings_auto_auditing_configuration_request_builder.go b/security/identities_settings_auto_auditing_configuration_request_builder.go new file mode 100644 index 00000000000..ad8a480d4b2 --- /dev/null +++ b/security/identities_settings_auto_auditing_configuration_request_builder.go @@ -0,0 +1,163 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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" +) + +// IdentitiesSettingsAutoAuditingConfigurationRequestBuilder provides operations to manage the autoAuditingConfiguration property of the microsoft.graph.security.settingsContainer entity. +type IdentitiesSettingsAutoAuditingConfigurationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetQueryParameters get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. +type IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetQueryParameters +} +// IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesSettingsAutoAuditingConfigurationRequestBuilderInternal instantiates a new IdentitiesSettingsAutoAuditingConfigurationRequestBuilder and sets the default values. +func NewIdentitiesSettingsAutoAuditingConfigurationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) { + m := &IdentitiesSettingsAutoAuditingConfigurationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/settings/autoAuditingConfiguration{?%24expand,%24select}", pathParameters), + } + return m +} +// NewIdentitiesSettingsAutoAuditingConfigurationRequestBuilder instantiates a new IdentitiesSettingsAutoAuditingConfigurationRequestBuilder and sets the default values. +func NewIdentitiesSettingsAutoAuditingConfigurationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesSettingsAutoAuditingConfigurationRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property autoAuditingConfiguration for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. +// returns a AutoAuditingConfigurationable 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/security-autoauditingconfiguration-get?view=graph-rest-beta +func (m *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateAutoAuditingConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable), nil +} +// Patch update the navigation property autoAuditingConfiguration in security +// returns a AutoAuditingConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable, requestConfiguration *IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateAutoAuditingConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable), nil +} +// ToDeleteRequestInformation delete navigation property autoAuditingConfiguration for security +// returns a *RequestInformation when successful +func (m *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSettingsAutoAuditingConfigurationRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get the properties and relationships of an microsoft.graph.security.autoAuditingConfiguration object. +// returns a *RequestInformation when successful +func (m *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSettingsAutoAuditingConfigurationRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the navigation property autoAuditingConfiguration in security +// returns a *RequestInformation when successful +func (m *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AutoAuditingConfigurationable, requestConfiguration *IdentitiesSettingsAutoAuditingConfigurationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder when successful +func (m *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) WithUrl(rawUrl string)(*IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) { + return NewIdentitiesSettingsAutoAuditingConfigurationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_settings_request_builder.go b/security/identities_settings_request_builder.go index 19ae76b3998..d2adf7c151f 100644 --- a/security/identities_settings_request_builder.go +++ b/security/identities_settings_request_builder.go @@ -21,7 +21,7 @@ type IdentitiesSettingsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentitiesSettingsRequestBuilderGetQueryParameters get settings from security +// IdentitiesSettingsRequestBuilderGetQueryParameters represents a container for security identities settings APIs. type IdentitiesSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -44,6 +44,11 @@ type IdentitiesSettingsRequestBuilderPatchRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } +// AutoAuditingConfiguration provides operations to manage the autoAuditingConfiguration property of the microsoft.graph.security.settingsContainer entity. +// returns a *IdentitiesSettingsAutoAuditingConfigurationRequestBuilder when successful +func (m *IdentitiesSettingsRequestBuilder) AutoAuditingConfiguration()(*IdentitiesSettingsAutoAuditingConfigurationRequestBuilder) { + return NewIdentitiesSettingsAutoAuditingConfigurationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // NewIdentitiesSettingsRequestBuilderInternal instantiates a new IdentitiesSettingsRequestBuilder and sets the default values. func NewIdentitiesSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesSettingsRequestBuilder) { m := &IdentitiesSettingsRequestBuilder{ @@ -73,7 +78,7 @@ func (m *IdentitiesSettingsRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// Get get settings from security +// Get represents a container for security identities settings APIs. // returns a SettingsContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IdentitiesSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSettingsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SettingsContainerable, error) { @@ -124,7 +129,7 @@ func (m *IdentitiesSettingsRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get settings from security +// ToGetRequestInformation represents a container for security identities settings APIs. // returns a *RequestInformation when successful func (m *IdentitiesSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/security_request_builder.go b/security/security_request_builder.go index ccccc94dd0d..60e95b5cfc0 100644 --- a/security/security_request_builder.go +++ b/security/security_request_builder.go @@ -289,3 +289,8 @@ func (m *SecurityRequestBuilder) UserSecurityProfiles()(*UserSecurityProfilesReq func (m *SecurityRequestBuilder) WithUrl(rawUrl string)(*SecurityRequestBuilder) { return NewSecurityRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } +// Zones provides operations to manage the zones property of the microsoft.graph.security entity. +// returns a *ZonesRequestBuilder when successful +func (m *SecurityRequestBuilder) Zones()(*ZonesRequestBuilder) { + return NewZonesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/security/zones_count_request_builder.go b/security/zones_count_request_builder.go new file mode 100644 index 00000000000..a394a9e6d1f --- /dev/null +++ b/security/zones_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ZonesCountRequestBuilder provides operations to count the resources in the collection. +type ZonesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesCountRequestBuilderGetQueryParameters get the number of the resource +type ZonesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ZonesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesCountRequestBuilderGetQueryParameters +} +// NewZonesCountRequestBuilderInternal instantiates a new ZonesCountRequestBuilder and sets the default values. +func NewZonesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesCountRequestBuilder) { + m := &ZonesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewZonesCountRequestBuilder instantiates a new ZonesCountRequestBuilder and sets the default values. +func NewZonesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ZonesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *ZonesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *ZonesCountRequestBuilder when successful +func (m *ZonesCountRequestBuilder) WithUrl(rawUrl string)(*ZonesCountRequestBuilder) { + return NewZonesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/zones_item_aggregations_aggregated_environment_kind_item_request_builder.go b/security/zones_item_aggregations_aggregated_environment_kind_item_request_builder.go new file mode 100644 index 00000000000..7cffa0ae9e3 --- /dev/null +++ b/security/zones_item_aggregations_aggregated_environment_kind_item_request_builder.go @@ -0,0 +1,84 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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" +) + +// ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder provides operations to manage the aggregations property of the microsoft.graph.security.zone entity. +type ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetQueryParameters environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). +type ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetQueryParameters +} +// NewZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderInternal instantiates a new ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder and sets the default values. +func NewZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder) { + m := &ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations/{aggregatedEnvironment%2Dkind}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder instantiates a new ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder and sets the default values. +func NewZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). +// returns a AggregatedEnvironmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AggregatedEnvironmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateAggregatedEnvironmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.AggregatedEnvironmentable), nil +} +// ToGetRequestInformation environment count summaries by type. Read-only. Supports $filter (eq) on the kind property. For example, $filter=aggregations/any(a: a/kind eq 'azureSubscription'). +// returns a *RequestInformation when successful +func (m *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder when successful +func (m *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder) WithUrl(rawUrl string)(*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder) { + return NewZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/zones_item_aggregations_count_request_builder.go b/security/zones_item_aggregations_count_request_builder.go new file mode 100644 index 00000000000..1d1014123bd --- /dev/null +++ b/security/zones_item_aggregations_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ZonesItemAggregationsCountRequestBuilder provides operations to count the resources in the collection. +type ZonesItemAggregationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesItemAggregationsCountRequestBuilderGetQueryParameters get the number of the resource +type ZonesItemAggregationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesItemAggregationsCountRequestBuilderGetQueryParameters +} +// NewZonesItemAggregationsCountRequestBuilderInternal instantiates a new ZonesItemAggregationsCountRequestBuilder and sets the default values. +func NewZonesItemAggregationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemAggregationsCountRequestBuilder) { + m := &ZonesItemAggregationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewZonesItemAggregationsCountRequestBuilder instantiates a new ZonesItemAggregationsCountRequestBuilder and sets the default values. +func NewZonesItemAggregationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemAggregationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesItemAggregationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ZonesItemAggregationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *ZonesItemAggregationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesItemAggregationsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *ZonesItemAggregationsCountRequestBuilder when successful +func (m *ZonesItemAggregationsCountRequestBuilder) WithUrl(rawUrl string)(*ZonesItemAggregationsCountRequestBuilder) { + return NewZonesItemAggregationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/zones_item_aggregations_request_builder.go b/security/zones_item_aggregations_request_builder.go new file mode 100644 index 00000000000..cf44bdfd8c7 --- /dev/null +++ b/security/zones_item_aggregations_request_builder.go @@ -0,0 +1,43 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" +) + +// ZonesItemAggregationsRequestBuilder builds and executes requests for operations under \security\zones\{zone-id}\aggregations +type ZonesItemAggregationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ByAggregatedEnvironmentKind provides operations to manage the aggregations property of the microsoft.graph.security.zone entity. +// returns a *ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder when successful +func (m *ZonesItemAggregationsRequestBuilder) ByAggregatedEnvironmentKind(aggregatedEnvironmentKind string)(*ZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if aggregatedEnvironmentKind != "" { + urlTplParams["aggregatedEnvironment%2Dkind"] = aggregatedEnvironmentKind + } + return NewZonesItemAggregationsAggregatedEnvironmentKindItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewZonesItemAggregationsRequestBuilderInternal instantiates a new ZonesItemAggregationsRequestBuilder and sets the default values. +func NewZonesItemAggregationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemAggregationsRequestBuilder) { + m := &ZonesItemAggregationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/aggregations", pathParameters), + } + return m +} +// NewZonesItemAggregationsRequestBuilder instantiates a new ZonesItemAggregationsRequestBuilder and sets the default values. +func NewZonesItemAggregationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemAggregationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesItemAggregationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ZonesItemAggregationsCountRequestBuilder when successful +func (m *ZonesItemAggregationsRequestBuilder) Count()(*ZonesItemAggregationsCountRequestBuilder) { + return NewZonesItemAggregationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/security/zones_item_environments_count_request_builder.go b/security/zones_item_environments_count_request_builder.go new file mode 100644 index 00000000000..b8f887e36d2 --- /dev/null +++ b/security/zones_item_environments_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ZonesItemEnvironmentsCountRequestBuilder provides operations to count the resources in the collection. +type ZonesItemEnvironmentsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesItemEnvironmentsCountRequestBuilderGetQueryParameters get the number of the resource +type ZonesItemEnvironmentsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesItemEnvironmentsCountRequestBuilderGetQueryParameters +} +// NewZonesItemEnvironmentsCountRequestBuilderInternal instantiates a new ZonesItemEnvironmentsCountRequestBuilder and sets the default values. +func NewZonesItemEnvironmentsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemEnvironmentsCountRequestBuilder) { + m := &ZonesItemEnvironmentsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewZonesItemEnvironmentsCountRequestBuilder instantiates a new ZonesItemEnvironmentsCountRequestBuilder and sets the default values. +func NewZonesItemEnvironmentsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemEnvironmentsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesItemEnvironmentsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ZonesItemEnvironmentsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": 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 +// returns a *RequestInformation when successful +func (m *ZonesItemEnvironmentsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsCountRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "text/plain;q=0.9") + return 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 *ZonesItemEnvironmentsCountRequestBuilder when successful +func (m *ZonesItemEnvironmentsCountRequestBuilder) WithUrl(rawUrl string)(*ZonesItemEnvironmentsCountRequestBuilder) { + return NewZonesItemEnvironmentsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/zones_item_environments_environment_item_request_builder.go b/security/zones_item_environments_environment_item_request_builder.go new file mode 100644 index 00000000000..4283891fe29 --- /dev/null +++ b/security/zones_item_environments_environment_item_request_builder.go @@ -0,0 +1,121 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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" +) + +// ZonesItemEnvironmentsEnvironmentItemRequestBuilder provides operations to manage the environments property of the microsoft.graph.security.zone entity. +type ZonesItemEnvironmentsEnvironmentItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetQueryParameters collection of attached environments. Supports $expand. +type ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetQueryParameters +} +// NewZonesItemEnvironmentsEnvironmentItemRequestBuilderInternal instantiates a new ZonesItemEnvironmentsEnvironmentItemRequestBuilder and sets the default values. +func NewZonesItemEnvironmentsEnvironmentItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemEnvironmentsEnvironmentItemRequestBuilder) { + m := &ZonesItemEnvironmentsEnvironmentItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments/{environment%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewZonesItemEnvironmentsEnvironmentItemRequestBuilder instantiates a new ZonesItemEnvironmentsEnvironmentItemRequestBuilder and sets the default values. +func NewZonesItemEnvironmentsEnvironmentItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemEnvironmentsEnvironmentItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesItemEnvironmentsEnvironmentItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete an environment object from a zone object by providing the environment ID. The environment ID should be URL-encoded. +// 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/security-environment-delete?view=graph-rest-beta +func (m *ZonesItemEnvironmentsEnvironmentItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get collection of attached environments. Supports $expand. +// returns a Environmentable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ZonesItemEnvironmentsEnvironmentItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateEnvironmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable), nil +} +// ToDeleteRequestInformation delete an environment object from a zone object by providing the environment ID. The environment ID should be URL-encoded. +// returns a *RequestInformation when successful +func (m *ZonesItemEnvironmentsEnvironmentItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsEnvironmentItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation collection of attached environments. Supports $expand. +// returns a *RequestInformation when successful +func (m *ZonesItemEnvironmentsEnvironmentItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsEnvironmentItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return 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 *ZonesItemEnvironmentsEnvironmentItemRequestBuilder when successful +func (m *ZonesItemEnvironmentsEnvironmentItemRequestBuilder) WithUrl(rawUrl string)(*ZonesItemEnvironmentsEnvironmentItemRequestBuilder) { + return NewZonesItemEnvironmentsEnvironmentItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/zones_item_environments_request_builder.go b/security/zones_item_environments_request_builder.go new file mode 100644 index 00000000000..66a6562732b --- /dev/null +++ b/security/zones_item_environments_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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" +) + +// ZonesItemEnvironmentsRequestBuilder provides operations to manage the environments property of the microsoft.graph.security.zone entity. +type ZonesItemEnvironmentsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesItemEnvironmentsRequestBuilderGetQueryParameters get all environment objects associated with a zone object. +type ZonesItemEnvironmentsRequestBuilderGetQueryParameters 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"` +} +// ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesItemEnvironmentsRequestBuilderGetQueryParameters +} +// ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByEnvironmentId provides operations to manage the environments property of the microsoft.graph.security.zone entity. +// returns a *ZonesItemEnvironmentsEnvironmentItemRequestBuilder when successful +func (m *ZonesItemEnvironmentsRequestBuilder) ByEnvironmentId(environmentId string)(*ZonesItemEnvironmentsEnvironmentItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if environmentId != "" { + urlTplParams["environment%2Did"] = environmentId + } + return NewZonesItemEnvironmentsEnvironmentItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewZonesItemEnvironmentsRequestBuilderInternal instantiates a new ZonesItemEnvironmentsRequestBuilder and sets the default values. +func NewZonesItemEnvironmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemEnvironmentsRequestBuilder) { + m := &ZonesItemEnvironmentsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}/environments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewZonesItemEnvironmentsRequestBuilder instantiates a new ZonesItemEnvironmentsRequestBuilder and sets the default values. +func NewZonesItemEnvironmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesItemEnvironmentsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesItemEnvironmentsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ZonesItemEnvironmentsCountRequestBuilder when successful +func (m *ZonesItemEnvironmentsRequestBuilder) Count()(*ZonesItemEnvironmentsCountRequestBuilder) { + return NewZonesItemEnvironmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get all environment objects associated with a zone object. +// returns a EnvironmentCollectionResponseable 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/security-zone-list-environments?view=graph-rest-beta +func (m *ZonesItemEnvironmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EnvironmentCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateEnvironmentCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.EnvironmentCollectionResponseable), nil +} +// Post create an environment object to attach it to a zone. You can create up to 1,000 environments per zone. +// returns a Environmentable 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/security-zone-post-environments?view=graph-rest-beta +func (m *ZonesItemEnvironmentsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable, requestConfiguration *ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateEnvironmentFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable), nil +} +// ToGetRequestInformation get all environment objects associated with a zone object. +// returns a *RequestInformation when successful +func (m *ZonesItemEnvironmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesItemEnvironmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create an environment object to attach it to a zone. You can create up to 1,000 environments per zone. +// returns a *RequestInformation when successful +func (m *ZonesItemEnvironmentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Environmentable, requestConfiguration *ZonesItemEnvironmentsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *ZonesItemEnvironmentsRequestBuilder when successful +func (m *ZonesItemEnvironmentsRequestBuilder) WithUrl(rawUrl string)(*ZonesItemEnvironmentsRequestBuilder) { + return NewZonesItemEnvironmentsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/zones_request_builder.go b/security/zones_request_builder.go new file mode 100644 index 00000000000..e5184dcd02f --- /dev/null +++ b/security/zones_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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" +) + +// ZonesRequestBuilder provides operations to manage the zones property of the microsoft.graph.security entity. +type ZonesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesRequestBuilderGetQueryParameters get a list of the zone objects and their properties. +type ZonesRequestBuilderGetQueryParameters 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"` +} +// ZonesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesRequestBuilderGetQueryParameters +} +// ZonesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByZoneId provides operations to manage the zones property of the microsoft.graph.security entity. +// returns a *ZonesZoneItemRequestBuilder when successful +func (m *ZonesRequestBuilder) ByZoneId(zoneId string)(*ZonesZoneItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if zoneId != "" { + urlTplParams["zone%2Did"] = zoneId + } + return NewZonesZoneItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewZonesRequestBuilderInternal instantiates a new ZonesRequestBuilder and sets the default values. +func NewZonesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesRequestBuilder) { + m := &ZonesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewZonesRequestBuilder instantiates a new ZonesRequestBuilder and sets the default values. +func NewZonesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ZonesCountRequestBuilder when successful +func (m *ZonesRequestBuilder) Count()(*ZonesCountRequestBuilder) { + return NewZonesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the zone objects and their properties. +// returns a ZoneCollectionResponseable 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/security-security-list-zones?view=graph-rest-beta +func (m *ZonesRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ZoneCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateZoneCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.ZoneCollectionResponseable), nil +} +// Post create a new zone object. You can create up to 1,000 zones per tenant. +// returns a Zoneable 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/security-security-post-zones?view=graph-rest-beta +func (m *ZonesRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable, requestConfiguration *ZonesRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateZoneFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable), nil +} +// ToGetRequestInformation get a list of the zone objects and their properties. +// returns a *RequestInformation when successful +func (m *ZonesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPostRequestInformation create a new zone object. You can create up to 1,000 zones per tenant. +// returns a *RequestInformation when successful +func (m *ZonesRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable, requestConfiguration *ZonesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *ZonesRequestBuilder when successful +func (m *ZonesRequestBuilder) WithUrl(rawUrl string)(*ZonesRequestBuilder) { + return NewZonesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/zones_zone_item_request_builder.go b/security/zones_zone_item_request_builder.go new file mode 100644 index 00000000000..911eba2a0f7 --- /dev/null +++ b/security/zones_zone_item_request_builder.go @@ -0,0 +1,179 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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" +) + +// ZonesZoneItemRequestBuilder provides operations to manage the zones property of the microsoft.graph.security entity. +type ZonesZoneItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ZonesZoneItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesZoneItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ZonesZoneItemRequestBuilderGetQueryParameters get a zone object by a specific zoneId. +type ZonesZoneItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ZonesZoneItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesZoneItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ZonesZoneItemRequestBuilderGetQueryParameters +} +// ZonesZoneItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ZonesZoneItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// Aggregations the aggregations property +// returns a *ZonesItemAggregationsRequestBuilder when successful +func (m *ZonesZoneItemRequestBuilder) Aggregations()(*ZonesItemAggregationsRequestBuilder) { + return NewZonesItemAggregationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewZonesZoneItemRequestBuilderInternal instantiates a new ZonesZoneItemRequestBuilder and sets the default values. +func NewZonesZoneItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesZoneItemRequestBuilder) { + m := &ZonesZoneItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/zones/{zone%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewZonesZoneItemRequestBuilder instantiates a new ZonesZoneItemRequestBuilder and sets the default values. +func NewZonesZoneItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ZonesZoneItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewZonesZoneItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete a zone object by providing the zoneId. +// 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/security-zone-delete?view=graph-rest-beta +func (m *ZonesZoneItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ZonesZoneItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Environments provides operations to manage the environments property of the microsoft.graph.security.zone entity. +// returns a *ZonesItemEnvironmentsRequestBuilder when successful +func (m *ZonesZoneItemRequestBuilder) Environments()(*ZonesItemEnvironmentsRequestBuilder) { + return NewZonesItemEnvironmentsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a zone object by a specific zoneId. +// returns a Zoneable 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/security-zone-get?view=graph-rest-beta +func (m *ZonesZoneItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ZonesZoneItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateZoneFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable), nil +} +// Patch update the properties of a zone object. +// returns a Zoneable 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/security-zone-update?view=graph-rest-beta +func (m *ZonesZoneItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable, requestConfiguration *ZonesZoneItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateZoneFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable), nil +} +// ToDeleteRequestInformation delete a zone object by providing the zoneId. +// returns a *RequestInformation when successful +func (m *ZonesZoneItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ZonesZoneItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation get a zone object by a specific zoneId. +// returns a *RequestInformation when successful +func (m *ZonesZoneItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ZonesZoneItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + if requestConfiguration.QueryParameters != nil { + requestInfo.AddQueryParameters(*(requestConfiguration.QueryParameters)) + } + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToPatchRequestInformation update the properties of a zone object. +// returns a *RequestInformation when successful +func (m *ZonesZoneItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.Zoneable, requestConfiguration *ZonesZoneItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + err := requestInfo.SetContentFromParsable(ctx, m.BaseRequestBuilder.RequestAdapter, "application/json", body) + if err != nil { + return nil, err + } + return 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 *ZonesZoneItemRequestBuilder when successful +func (m *ZonesZoneItemRequestBuilder) WithUrl(rawUrl string)(*ZonesZoneItemRequestBuilder) { + return NewZonesZoneItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/sites/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go b/sites/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go index a0eed587170..c8d5c4664bd 100644 --- a/sites/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go +++ b/sites/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go @@ -44,6 +44,18 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetClassifyText gets the classifyText property value. The classifyText property +// returns a TextClassificationRequestable when successful +func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) { + val, err := m.GetBackingStore().Get("classifyText") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) + } + return nil +} // GetEvaluationInput gets the evaluationInput property value. The evaluationInput property // returns a DlpEvaluationInputable when successful func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) { @@ -60,6 +72,16 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["classifyText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateTextClassificationRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetClassifyText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)) + } + return nil + } res["evaluationInput"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDlpEvaluationInputFromDiscriminatorValue) if err != nil { @@ -118,6 +140,12 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB } // Serialize serializes information the current object func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("classifyText", m.GetClassifyText()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("evaluationInput", m.GetEvaluationInput()) if err != nil { @@ -155,6 +183,13 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetClassifyText sets the classifyText property value. The classifyText property +func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() { + err := m.GetBackingStore().Set("classifyText", value) + if err != nil { + panic(err) + } +} // SetEvaluationInput sets the evaluationInput property value. The evaluationInput property func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() { err := m.GetBackingStore().Set("evaluationInput", value) @@ -181,10 +216,12 @@ type ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) GetNotificationInfo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable) GetTarget()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() SetNotificationInfo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable)() SetTarget(value *string)() diff --git a/solutions/187b504242aa7c7af1c49e758c2ff43efb02d49d8e6039f43b4cb0e33af6da8d.go b/solutions/187b504242aa7c7af1c49e758c2ff43efb02d49d8e6039f43b4cb0e33af6da8d.go index 6866adad075..dff01e66736 100644 --- a/solutions/187b504242aa7c7af1c49e758c2ff43efb02d49d8e6039f43b4cb0e33af6da8d.go +++ b/solutions/187b504242aa7c7af1c49e758c2ff43efb02d49d8e6039f43b4cb0e33af6da8d.go @@ -21,7 +21,7 @@ type BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArti // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsGranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters get granularDriveRestoreArtifacts from solutions +// BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsGranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters a collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. type BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsGranularDriveRestoreArtifactItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestore } return nil } -// Get get granularDriveRestoreArtifacts from solutions +// Get a collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. // returns a GranularDriveRestoreArtifactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsGranularDriveRestoreArtifactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsGranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GranularDriveRestoreArtifactable, error) { @@ -124,7 +124,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestore requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get granularDriveRestoreArtifacts from solutions +// ToGetRequestInformation a collection of browse session id and item key details that can be used to restore OneDrive for work or school files and folders. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsGranularDriveRestoreArtifactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsGranularDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/6a7bf421fa45818a522575061c82e2d5087a40c65a8a36095b06efb55bcc2b34.go b/solutions/6a7bf421fa45818a522575061c82e2d5087a40c65a8a36095b06efb55bcc2b34.go index 2b7f1218cdb..8cb0b3e580a 100644 --- a/solutions/6a7bf421fa45818a522575061c82e2d5087a40c65a8a36095b06efb55bcc2b34.go +++ b/solutions/6a7bf421fa45818a522575061c82e2d5087a40c65a8a36095b06efb55bcc2b34.go @@ -21,7 +21,7 @@ type BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters get granularSiteRestoreArtifacts from solutions +// BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters a collection of browse session id and item key details that can be used to restore SharePoint files and folders. type BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranularSiteRestoreArtifactItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsG } return nil } -// Get get granularSiteRestoreArtifacts from solutions +// Get a collection of browse session id and item key details that can be used to restore SharePoint files and folders. // returns a GranularSiteRestoreArtifactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranularSiteRestoreArtifactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GranularSiteRestoreArtifactable, error) { @@ -124,7 +124,7 @@ func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsG requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get granularSiteRestoreArtifacts from solutions +// ToGetRequestInformation a collection of browse session id and item key details that can be used to restore SharePoint files and folders. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranularSiteRestoreArtifactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsGranularSiteRestoreArtifactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/7a2e19e7c9c0701a01099152b985c143c66b7f3aefd70c781e00570e0969f60e.go b/solutions/7a2e19e7c9c0701a01099152b985c143c66b7f3aefd70c781e00570e0969f60e.go index 5bd10b72e77..0ecaaddc7f5 100644 --- a/solutions/7a2e19e7c9c0701a01099152b985c143c66b7f3aefd70c781e00570e0969f60e.go +++ b/solutions/7a2e19e7c9c0701a01099152b985c143c66b7f3aefd70c781e00570e0969f60e.go @@ -14,7 +14,7 @@ import ( type BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilderGetQueryParameters get granularDriveRestoreArtifacts from solutions +// BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilderGetQueryParameters get a list of the granularDriveRestoreArtifact objects and their properties. type BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewBackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreA func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilder) Count()(*BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsCountRequestBuilder) { return NewBackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get granularDriveRestoreArtifacts from solutions +// Get get a list of the granularDriveRestoreArtifact objects and their properties. // returns a GranularDriveRestoreArtifactCollectionResponseable 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/onedriveforbusinessrestoresession-list-granulardriverestoreartifacts?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GranularDriveRestoreArtifactCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestore } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GranularDriveRestoreArtifactable), nil } -// ToGetRequestInformation get granularDriveRestoreArtifacts from solutions +// ToGetRequestInformation get a list of the granularDriveRestoreArtifact objects and their properties. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemGranularDriveRestoreArtifactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_browse_sessions_browse_session_base_item_request_builder.go b/solutions/backup_restore_browse_sessions_browse_session_base_item_request_builder.go index f7c7c12ca80..24f4e10aaf4 100644 --- a/solutions/backup_restore_browse_sessions_browse_session_base_item_request_builder.go +++ b/solutions/backup_restore_browse_sessions_browse_session_base_item_request_builder.go @@ -21,7 +21,7 @@ type BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilderDeleteRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilderGetQueryParameters get browseSessions from solutions +// BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilderGetQueryParameters the list of browse sessions in the tenant. type BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -83,7 +83,7 @@ func (m *BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilder) Delete( } return nil } -// Get get browseSessions from solutions +// Get the list of browse sessions in the tenant. // returns a BrowseSessionBaseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowseSessionBaseable, error) { @@ -134,7 +134,7 @@ func (m *BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilder) ToDelet requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get browseSessions from solutions +// ToGetRequestInformation the list of browse sessions in the tenant. // returns a *RequestInformation when successful func (m *BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreBrowseSessionsBrowseSessionBaseItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_browse_sessions_request_builder.go b/solutions/backup_restore_browse_sessions_request_builder.go index 494d4dedeb8..660881dd80d 100644 --- a/solutions/backup_restore_browse_sessions_request_builder.go +++ b/solutions/backup_restore_browse_sessions_request_builder.go @@ -14,7 +14,7 @@ import ( type BackupRestoreBrowseSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreBrowseSessionsRequestBuilderGetQueryParameters get browseSessions from solutions +// BackupRestoreBrowseSessionsRequestBuilderGetQueryParameters get a list of the browseSessionBase objects and their properties. type BackupRestoreBrowseSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewBackupRestoreBrowseSessionsRequestBuilder(rawUrl string, requestAdapter func (m *BackupRestoreBrowseSessionsRequestBuilder) Count()(*BackupRestoreBrowseSessionsCountRequestBuilder) { return NewBackupRestoreBrowseSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get browseSessions from solutions +// Get get a list of the browseSessionBase objects and their properties. // returns a BrowseSessionBaseCollectionResponseable 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/backuprestoreroot-list-browsesessions?view=graph-rest-beta func (m *BackupRestoreBrowseSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreBrowseSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowseSessionBaseCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *BackupRestoreBrowseSessionsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BrowseSessionBaseable), nil } -// ToGetRequestInformation get browseSessions from solutions +// ToGetRequestInformation get a list of the browseSessionBase objects and their properties. // returns a *RequestInformation when successful func (m *BackupRestoreBrowseSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreBrowseSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_one_drive_for_business_browse_sessions_request_builder.go b/solutions/backup_restore_one_drive_for_business_browse_sessions_request_builder.go index 01dd584b977..a3b17c63204 100644 --- a/solutions/backup_restore_one_drive_for_business_browse_sessions_request_builder.go +++ b/solutions/backup_restore_one_drive_for_business_browse_sessions_request_builder.go @@ -14,7 +14,7 @@ import ( type BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters get oneDriveForBusinessBrowseSessions from solutions +// BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters get a list of the oneDriveForBusinessBrowseSession objects and their properties. type BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewBackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder(rawUrl stri func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) Count()(*BackupRestoreOneDriveForBusinessBrowseSessionsCountRequestBuilder) { return NewBackupRestoreOneDriveForBusinessBrowseSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get oneDriveForBusinessBrowseSessions from solutions +// Get get a list of the oneDriveForBusinessBrowseSession objects and their properties. // returns a OneDriveForBusinessBrowseSessionCollectionResponseable 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/backuprestoreroot-list-onedriveforbusinessbrowsesessions?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessBrowseSessionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,9 +102,12 @@ func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) Get(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessBrowseSessionCollectionResponseable), nil } -// Post create new navigation property to oneDriveForBusinessBrowseSessions for solutions +// Post create a new oneDriveForBusinessBrowseSession object. // returns a OneDriveForBusinessBrowseSessionable 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/backuprestoreroot-post-onedriveforbusinessbrowsesessions?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessBrowseSessionable, requestConfiguration *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessBrowseSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessBrowseSessionable), nil } -// ToGetRequestInformation get oneDriveForBusinessBrowseSessions from solutions +// ToGetRequestInformation get a list of the oneDriveForBusinessBrowseSession objects and their properties. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +139,7 @@ func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) ToGetRequ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to oneDriveForBusinessBrowseSessions for solutions +// ToPostRequestInformation create a new oneDriveForBusinessBrowseSession object. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessBrowseSessionable, requestConfiguration *BackupRestoreOneDriveForBusinessBrowseSessionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_share_point_browse_sessions_request_builder.go b/solutions/backup_restore_share_point_browse_sessions_request_builder.go index 11130e642d1..885df495fb3 100644 --- a/solutions/backup_restore_share_point_browse_sessions_request_builder.go +++ b/solutions/backup_restore_share_point_browse_sessions_request_builder.go @@ -14,7 +14,7 @@ import ( type BackupRestoreSharePointBrowseSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreSharePointBrowseSessionsRequestBuilderGetQueryParameters get sharePointBrowseSessions from solutions +// BackupRestoreSharePointBrowseSessionsRequestBuilderGetQueryParameters get a list of the sharePointBrowseSession objects and their properties. type BackupRestoreSharePointBrowseSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewBackupRestoreSharePointBrowseSessionsRequestBuilder(rawUrl string, reque func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) Count()(*BackupRestoreSharePointBrowseSessionsCountRequestBuilder) { return NewBackupRestoreSharePointBrowseSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get sharePointBrowseSessions from solutions +// Get get a list of the sharePointBrowseSession objects and their properties. // returns a SharePointBrowseSessionCollectionResponseable 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/backuprestoreroot-list-sharepointbrowsesessions?view=graph-rest-beta func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreSharePointBrowseSessionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointBrowseSessionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,9 +102,12 @@ func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) Get(ctx context.Co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointBrowseSessionCollectionResponseable), nil } -// Post create new navigation property to sharePointBrowseSessions for solutions +// Post create a new sharePointBrowseSession object. // returns a SharePointBrowseSessionable 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/backuprestoreroot-post-sharepointbrowsesessions?view=graph-rest-beta func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointBrowseSessionable, requestConfiguration *BackupRestoreSharePointBrowseSessionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointBrowseSessionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointBrowseSessionable), nil } -// ToGetRequestInformation get sharePointBrowseSessions from solutions +// ToGetRequestInformation get a list of the sharePointBrowseSession objects and their properties. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreSharePointBrowseSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +139,7 @@ func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) ToGetRequestInform requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to sharePointBrowseSessions for solutions +// ToPostRequestInformation create a new sharePointBrowseSession object. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointBrowseSessionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointBrowseSessionable, requestConfiguration *BackupRestoreSharePointBrowseSessionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_share_point_browse_sessions_share_point_browse_session_item_request_builder.go b/solutions/backup_restore_share_point_browse_sessions_share_point_browse_session_item_request_builder.go index cf1e3e70f59..3c9c6d405a6 100644 --- a/solutions/backup_restore_share_point_browse_sessions_share_point_browse_session_item_request_builder.go +++ b/solutions/backup_restore_share_point_browse_sessions_share_point_browse_session_item_request_builder.go @@ -21,7 +21,7 @@ type BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuil // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuilderGetQueryParameters get sharePointBrowseSessions from solutions +// BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuilderGetQueryParameters read the properties and relationships of sharePointBrowseSession object. type BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,9 +73,12 @@ func (m *BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequest } return nil } -// Get get sharePointBrowseSessions from solutions +// Get read the properties and relationships of sharePointBrowseSession object. // returns a SharePointBrowseSessionable 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/sharepointbrowsesession-get?view=graph-rest-beta func (m *BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointBrowseSessionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +127,7 @@ func (m *BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequest requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get sharePointBrowseSessions from solutions +// ToGetRequestInformation read the properties and relationships of sharePointBrowseSession object. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreSharePointBrowseSessionsSharePointBrowseSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_share_point_restore_sessions_item_granular_site_restore_artifacts_request_builder.go b/solutions/backup_restore_share_point_restore_sessions_item_granular_site_restore_artifacts_request_builder.go index 6671dd30761..0cef136349e 100644 --- a/solutions/backup_restore_share_point_restore_sessions_item_granular_site_restore_artifacts_request_builder.go +++ b/solutions/backup_restore_share_point_restore_sessions_item_granular_site_restore_artifacts_request_builder.go @@ -14,7 +14,7 @@ import ( type BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilderGetQueryParameters get granularSiteRestoreArtifacts from solutions +// BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilderGetQueryParameters get a list of the granularSiteRestoreArtifact objects and their properties. type BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,9 +79,12 @@ func NewBackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRe func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilder) Count()(*BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsCountRequestBuilder) { return NewBackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get granularSiteRestoreArtifacts from solutions +// Get get a list of the granularSiteRestoreArtifact objects and their properties. // returns a GranularSiteRestoreArtifactCollectionResponseable 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/sharepointrestoresession-list-granularsiterestoreartifacts?view=graph-rest-beta func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GranularSiteRestoreArtifactCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +122,7 @@ func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsR } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.GranularSiteRestoreArtifactable), nil } -// ToGetRequestInformation get granularSiteRestoreArtifacts from solutions +// ToGetRequestInformation get a list of the granularSiteRestoreArtifact objects and their properties. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_share_point_restore_sessions_request_builder.go b/solutions/backup_restore_share_point_restore_sessions_request_builder.go index 6429a2407a7..641a2bf09fc 100644 --- a/solutions/backup_restore_share_point_restore_sessions_request_builder.go +++ b/solutions/backup_restore_share_point_restore_sessions_request_builder.go @@ -99,7 +99,7 @@ func (m *BackupRestoreSharePointRestoreSessionsRequestBuilder) Get(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionCollectionResponseable), nil } -// Post create a new sharePointRestoreSession object. +// Post create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. // returns a SharePointRestoreSessionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -136,7 +136,7 @@ func (m *BackupRestoreSharePointRestoreSessionsRequestBuilder) ToGetRequestInfor requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new sharePointRestoreSession object. +// ToPostRequestInformation create a new sharePointRestoreSession object. To create a granular restore session, granular site restore artifacts must be present in the payload. A request can't include both granularSiteRestoreArtifact and siteRestoreArtifact in the same create or update request. If no payload is provided when you create the restore session, the request creates an empty standard restore session by default. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, requestConfiguration *BackupRestoreSharePointRestoreSessionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/backup_restore_share_point_restore_sessions_share_point_restore_session_item_request_builder.go b/solutions/backup_restore_share_point_restore_sessions_share_point_restore_session_item_request_builder.go index bf9294b3060..2d8f7f54ac3 100644 --- a/solutions/backup_restore_share_point_restore_sessions_share_point_restore_session_item_request_builder.go +++ b/solutions/backup_restore_share_point_restore_sessions_share_point_restore_session_item_request_builder.go @@ -98,9 +98,12 @@ func (m *BackupRestoreSharePointRestoreSessionsSharePointRestoreSessionItemReque func (m *BackupRestoreSharePointRestoreSessionsSharePointRestoreSessionItemRequestBuilder) GranularSiteRestoreArtifacts()(*BackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilder) { return NewBackupRestoreSharePointRestoreSessionsItemGranularSiteRestoreArtifactsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the navigation property sharePointRestoreSessions in solutions +// Patch update the properties of a sharePointRestoreSession object. // returns a SharePointRestoreSessionable 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/sharepointrestoresession-update?view=graph-rest-beta func (m *BackupRestoreSharePointRestoreSessionsSharePointRestoreSessionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, requestConfiguration *BackupRestoreSharePointRestoreSessionsSharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -153,7 +156,7 @@ func (m *BackupRestoreSharePointRestoreSessionsSharePointRestoreSessionItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property sharePointRestoreSessions in solutions +// ToPatchRequestInformation update the properties of a sharePointRestoreSession object. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsSharePointRestoreSessionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharePointRestoreSessionable, requestConfiguration *BackupRestoreSharePointRestoreSessionsSharePointRestoreSessionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/c0ac7dc934e63a3643f67efb1c92627e4c0fe3396cd937466af9e429a9d93f29.go b/solutions/c0ac7dc934e63a3643f67efb1c92627e4c0fe3396cd937466af9e429a9d93f29.go index 4bb629a1017..7e2116200b6 100644 --- a/solutions/c0ac7dc934e63a3643f67efb1c92627e4c0fe3396cd937466af9e429a9d93f29.go +++ b/solutions/c0ac7dc934e63a3643f67efb1c92627e4c0fe3396cd937466af9e429a9d93f29.go @@ -21,7 +21,7 @@ type BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSess // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters get oneDriveForBusinessBrowseSessions from solutions +// BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters read the properties and relationships of oneDriveForBusinessBrowseSession object. type BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSessionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,9 +73,12 @@ func (m *BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowse } return nil } -// Get get oneDriveForBusinessBrowseSessions from solutions +// Get read the properties and relationships of oneDriveForBusinessBrowseSession object. // returns a OneDriveForBusinessBrowseSessionable 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/onedriveforbusinessbrowsesession-get?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSessionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.OneDriveForBusinessBrowseSessionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -124,7 +127,7 @@ func (m *BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowse requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get oneDriveForBusinessBrowseSessions from solutions +// ToGetRequestInformation read the properties and relationships of oneDriveForBusinessBrowseSession object. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSessionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessBrowseSessionsOneDriveForBusinessBrowseSessionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/delta_get_response.go b/users/delta_get_response.go index 9900b8b6c36..7177d510a04 100644 --- a/users/delta_get_response.go +++ b/users/delta_get_response.go @@ -28,15 +28,15 @@ func CreateDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d2689 func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateUserFromDiscriminatorValue) + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue) if err != nil { return err } if val != nil { - res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable, len(val)) + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, len(val)) for i, v := range val { if v != nil { - res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable) + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) } } m.SetValue(res) @@ -46,14 +46,14 @@ func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e return res } // GetValue gets the value property value. The value property -// returns a []Userable when successful -func (m *DeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable) { +// returns a []DirectoryObjectable when successful +func (m *DeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable) + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) } return nil } @@ -78,7 +78,7 @@ func (m *DeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return nil } // SetValue sets the value property value. The value property -func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable)() { +func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -87,6 +87,6 @@ func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde type DeltaGetResponseable interface { ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable) - SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Userable)() + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() } diff --git a/users/delta_request_builder.go b/users/delta_request_builder.go index cfb3b817ecc..35aa98f45da 100644 --- a/users/delta_request_builder.go +++ b/users/delta_request_builder.go @@ -13,7 +13,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,13 +54,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable 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/user-delta?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +78,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable 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/user-delta?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted users without having to perform a full read of the entire user collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go b/users/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go index 593c81ca5fc..918b5ad6619 100644 --- a/users/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go +++ b/users/item_information_protection_data_loss_prevention_policies_evaluate_post_request_body.go @@ -44,6 +44,18 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } +// GetClassifyText gets the classifyText property value. The classifyText property +// returns a TextClassificationRequestable when successful +func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) { + val, err := m.GetBackingStore().Get("classifyText") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) + } + return nil +} // GetEvaluationInput gets the evaluationInput property value. The evaluationInput property // returns a DlpEvaluationInputable when successful func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) { @@ -60,6 +72,16 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["classifyText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateTextClassificationRequestFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetClassifyText(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)) + } + return nil + } res["evaluationInput"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDlpEvaluationInputFromDiscriminatorValue) if err != nil { @@ -118,6 +140,12 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB } // Serialize serializes information the current object func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("classifyText", m.GetClassifyText()) + if err != nil { + return err + } + } { err := writer.WriteObjectValue("evaluationInput", m.GetEvaluationInput()) if err != nil { @@ -155,6 +183,13 @@ func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestB func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } +// SetClassifyText sets the classifyText property value. The classifyText property +func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() { + err := m.GetBackingStore().Set("classifyText", value) + if err != nil { + panic(err) + } +} // SetEvaluationInput sets the evaluationInput property value. The evaluationInput property func (m *ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBody) SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() { err := m.GetBackingStore().Set("evaluationInput", value) @@ -181,10 +216,12 @@ type ItemInformationProtectionDataLossPreventionPoliciesEvaluatePostRequestBodya ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetClassifyText()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable) GetEvaluationInput()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable) GetNotificationInfo()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable) GetTarget()(*string) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetClassifyText(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TextClassificationRequestable)() SetEvaluationInput(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpEvaluationInputable)() SetNotificationInfo(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DlpNotificationable)() SetTarget(value *string)()