diff --git a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go index a817c7579e1..33461843791 100644 --- a/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go +++ b/admin/windows_updates_resource_connections_resource_connection_item_request_builder.go @@ -18,7 +18,7 @@ type WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDelete // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of a resourceConnection object. +// WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters read the properties and relationships of an operationalInsightsConnection object. type WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,11 +54,11 @@ func NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder(ra urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a resourceConnection object. +// Delete delete an operationalInsightsConnection 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-resourceconnection-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,12 +73,12 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return nil } -// Get read the properties and relationships of a resourceConnection object. +// Get read the properties and relationships of an operationalInsightsConnection object. // returns a ResourceConnectionable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -116,7 +116,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable), nil } -// ToDeleteRequestInformation delete a resourceConnection object. +// ToDeleteRequestInformation delete an operationalInsightsConnection object. // returns a *RequestInformation when successful func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -127,7 +127,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a resourceConnection object. +// ToGetRequestInformation read the properties and relationships of an operationalInsightsConnection object. // returns a *RequestInformation when successful func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go index bacfe7ae77f..833655f1e96 100644 --- a/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go +++ b/admin/windows_updates_updatable_assets_updatable_asset_item_request_builder.go @@ -54,11 +54,11 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str urlParams["request-raw-url"] = rawUrl return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. +// Delete delete an updatableAsset 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-updatableassetgroup-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-beta func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct } return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil } -// ToDeleteRequestInformation delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted. +// ToDeleteRequestInformation delete an updatableAsset object. // returns a *RequestInformation when successful func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/app/calls_item_participants_invite_request_builder.go b/app/calls_item_participants_invite_request_builder.go index a741053253f..f1aca6c9e0e 100644 --- a/app/calls_item_participants_invite_request_builder.go +++ b/app/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable 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/participant-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/appcatalogs/teams_apps_request_builder.go b/appcatalogs/teams_apps_request_builder.go index cc71bfcd6e3..cf391ed61a7 100644 --- a/appcatalogs/teams_apps_request_builder.go +++ b/appcatalogs/teams_apps_request_builder.go @@ -11,7 +11,7 @@ import ( type TeamsAppsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// TeamsAppsRequestBuilderGetQueryParameters list apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// TeamsAppsRequestBuilderGetQueryParameters list apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. type TeamsAppsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewTeamsAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee2633 func (m *TeamsAppsRequestBuilder) Count()(*TeamsAppsCountRequestBuilder) { return NewTeamsAppsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// Get list apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. // returns a TeamsAppCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -122,7 +122,7 @@ func (m *TeamsAppsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamsAppable), nil } -// ToGetRequestInformation list apps from the Microsoft Teams app catalog. This includes apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. +// ToGetRequestInformation list apps from the Microsoft Teams app catalog, including apps from the Microsoft Teams store and apps from your organization's app catalog (the tenant app catalog). To get apps from your organization's app catalog only, specify organization as the distributionMethod in the request. // returns a *RequestInformation when successful func (m *TeamsAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/certificateauthorities/54651f5842075cb197b81e75484ce177c3755ef68a415f0cdbc30c050f188c8b.go b/certificateauthorities/54651f5842075cb197b81e75484ce177c3755ef68a415f0cdbc30c050f188c8b.go new file mode 100644 index 00000000000..0d905e33c6b --- /dev/null +++ b/certificateauthorities/54651f5842075cb197b81e75484ce177c3755ef68a415f0cdbc30c050f188c8b.go @@ -0,0 +1,80 @@ +package certificateauthorities + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder provides operations to count the resources in the collection. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetQueryParameters get the number of the resource +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetQueryParameters +} +// NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderInternal instantiates a new CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) { + m := &CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder instantiates a new CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderInternal(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 *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration)(*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 *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration)(*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 *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/a386505c9132010b3434ae41338d91f9cb401d7a92ab277bf187052b3ec23b30.go b/certificateauthorities/a386505c9132010b3434ae41338d91f9cb401d7a92ab277bf187052b3ec23b30.go new file mode 100644 index 00000000000..3038ca349cd --- /dev/null +++ b/certificateauthorities/a386505c9132010b3434ae41338d91f9cb401d7a92ab277bf187052b3ec23b30.go @@ -0,0 +1,157 @@ +package certificateauthorities + +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" +) + +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters collection of trusted certificate authorities. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderInternal instantiates a new CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) { + m := &CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities/{certificateAuthorityAsEntity%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder instantiates a new CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property trustedCertificateAuthorities for certificateAuthorities +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration)(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 trusted certificate authorities. +// returns a CertificateAuthorityAsEntityable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, 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.CreateCertificateAuthorityAsEntityFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable), nil +} +// Patch update the navigation property trustedCertificateAuthorities in certificateAuthorities +// returns a CertificateAuthorityAsEntityable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, 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.CreateCertificateAuthorityAsEntityFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable), nil +} +// ToDeleteRequestInformation delete navigation property trustedCertificateAuthorities for certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration)(*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 trusted certificate authorities. +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration)(*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 trustedCertificateAuthorities in certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration)(*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 *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/certificate_authorities_request_builder.go b/certificateauthorities/certificate_authorities_request_builder.go new file mode 100644 index 00000000000..23c733b4d3d --- /dev/null +++ b/certificateauthorities/certificate_authorities_request_builder.go @@ -0,0 +1,133 @@ +package certificateauthorities + +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" +) + +// CertificateAuthoritiesRequestBuilder provides operations to manage the certificateAuthorityPath singleton. +type CertificateAuthoritiesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateAuthoritiesRequestBuilderGetQueryParameters get certificateAuthorities +type CertificateAuthoritiesRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CertificateAuthoritiesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateAuthoritiesRequestBuilderGetQueryParameters +} +// CertificateAuthoritiesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CertificateBasedApplicationConfigurations provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +// returns a *CertificateBasedApplicationConfigurationsRequestBuilder when successful +func (m *CertificateAuthoritiesRequestBuilder) CertificateBasedApplicationConfigurations()(*CertificateBasedApplicationConfigurationsRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewCertificateAuthoritiesRequestBuilderInternal instantiates a new CertificateAuthoritiesRequestBuilder and sets the default values. +func NewCertificateAuthoritiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesRequestBuilder) { + m := &CertificateAuthoritiesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCertificateAuthoritiesRequestBuilder instantiates a new CertificateAuthoritiesRequestBuilder and sets the default values. +func NewCertificateAuthoritiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateAuthoritiesRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get certificateAuthorities +// returns a CertificateAuthorityPathable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateAuthoritiesRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable, 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.CreateCertificateAuthorityPathFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable), nil +} +// MutualTlsOauthConfigurations provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +// returns a *MutualTlsOauthConfigurationsRequestBuilder when successful +func (m *CertificateAuthoritiesRequestBuilder) MutualTlsOauthConfigurations()(*MutualTlsOauthConfigurationsRequestBuilder) { + return NewMutualTlsOauthConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update certificateAuthorities +// returns a CertificateAuthorityPathable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateAuthoritiesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable, requestConfiguration *CertificateAuthoritiesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable, 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.CreateCertificateAuthorityPathFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable), nil +} +// ToGetRequestInformation get certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateAuthoritiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesRequestBuilderGetRequestConfiguration)(*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 certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateAuthoritiesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable, requestConfiguration *CertificateAuthoritiesRequestBuilderPatchRequestConfiguration)(*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 *CertificateAuthoritiesRequestBuilder when successful +func (m *CertificateAuthoritiesRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesRequestBuilder) { + return NewCertificateAuthoritiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/certificate_based_application_configurations_count_request_builder.go b/certificateauthorities/certificate_based_application_configurations_count_request_builder.go new file mode 100644 index 00000000000..2e71a3dc29c --- /dev/null +++ b/certificateauthorities/certificate_based_application_configurations_count_request_builder.go @@ -0,0 +1,80 @@ +package certificateauthorities + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CertificateBasedApplicationConfigurationsCountRequestBuilder provides operations to count the resources in the collection. +type CertificateBasedApplicationConfigurationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateBasedApplicationConfigurationsCountRequestBuilderGetQueryParameters get the number of the resource +type CertificateBasedApplicationConfigurationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateBasedApplicationConfigurationsCountRequestBuilderGetQueryParameters +} +// NewCertificateBasedApplicationConfigurationsCountRequestBuilderInternal instantiates a new CertificateBasedApplicationConfigurationsCountRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsCountRequestBuilder) { + m := &CertificateBasedApplicationConfigurationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCertificateBasedApplicationConfigurationsCountRequestBuilder instantiates a new CertificateBasedApplicationConfigurationsCountRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateBasedApplicationConfigurationsCountRequestBuilderInternal(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 *CertificateBasedApplicationConfigurationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration)(*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 *CertificateBasedApplicationConfigurationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration)(*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 *CertificateBasedApplicationConfigurationsCountRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedApplicationConfigurationsCountRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go b/certificateauthorities/certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go new file mode 100644 index 00000000000..04ee56fe399 --- /dev/null +++ b/certificateauthorities/certificate_based_application_configurations_item_trusted_certificate_authorities_request_builder.go @@ -0,0 +1,152 @@ +package certificateauthorities + +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" +) + +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters collection of trusted certificate authorities. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters 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"` +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters +} +// CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCertificateAuthorityAsEntityId provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. +// returns a *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) ByCertificateAuthorityAsEntityId(certificateAuthorityAsEntityId string)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if certificateAuthorityAsEntityId != "" { + urlTplParams["certificateAuthorityAsEntity%2Did"] = certificateAuthorityAsEntityId + } + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderInternal instantiates a new CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) { + m := &CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}/trustedCertificateAuthorities{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder instantiates a new CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) Count()(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get collection of trusted certificate authorities. +// returns a CertificateAuthorityAsEntityCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityCollectionResponseable, 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.CreateCertificateAuthorityAsEntityCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityCollectionResponseable), nil +} +// Post create new navigation property to trustedCertificateAuthorities for certificateAuthorities +// returns a CertificateAuthorityAsEntityable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, 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.CreateCertificateAuthorityAsEntityFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable), nil +} +// ToGetRequestInformation collection of trusted certificate authorities. +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration)(*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 trustedCertificateAuthorities for certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable, requestConfiguration *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration)(*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 *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/certificate_based_application_configurations_request_builder.go b/certificateauthorities/certificate_based_application_configurations_request_builder.go new file mode 100644 index 00000000000..91df7841d00 --- /dev/null +++ b/certificateauthorities/certificate_based_application_configurations_request_builder.go @@ -0,0 +1,152 @@ +package certificateauthorities + +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" +) + +// CertificateBasedApplicationConfigurationsRequestBuilder provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +type CertificateBasedApplicationConfigurationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. +type CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters 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"` +} +// CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters +} +// CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCertificateBasedApplicationConfigurationId provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +// returns a *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsRequestBuilder) ByCertificateBasedApplicationConfigurationId(certificateBasedApplicationConfigurationId string)(*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if certificateBasedApplicationConfigurationId != "" { + urlTplParams["certificateBasedApplicationConfiguration%2Did"] = certificateBasedApplicationConfigurationId + } + return NewCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCertificateBasedApplicationConfigurationsRequestBuilderInternal instantiates a new CertificateBasedApplicationConfigurationsRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsRequestBuilder) { + m := &CertificateBasedApplicationConfigurationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCertificateBasedApplicationConfigurationsRequestBuilder instantiates a new CertificateBasedApplicationConfigurationsRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateBasedApplicationConfigurationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CertificateBasedApplicationConfigurationsCountRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsRequestBuilder) Count()(*CertificateBasedApplicationConfigurationsCountRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. +// returns a CertificateBasedApplicationConfigurationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationCollectionResponseable, 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.CreateCertificateBasedApplicationConfigurationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationCollectionResponseable), nil +} +// Post create new navigation property to certificateBasedApplicationConfigurations for certificateAuthorities +// returns a CertificateBasedApplicationConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, 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.CreateCertificateBasedApplicationConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil +} +// ToGetRequestInformation defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration)(*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 certificateBasedApplicationConfigurations for certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration)(*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 *CertificateBasedApplicationConfigurationsRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedApplicationConfigurationsRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/f0fd7f72211ed133ae3fc422ae73267a7c024ec02a13591b36a338ca26c5522c.go b/certificateauthorities/f0fd7f72211ed133ae3fc422ae73267a7c024ec02a13591b36a338ca26c5522c.go new file mode 100644 index 00000000000..3d70448022f --- /dev/null +++ b/certificateauthorities/f0fd7f72211ed133ae3fc422ae73267a7c024ec02a13591b36a338ca26c5522c.go @@ -0,0 +1,162 @@ +package certificateauthorities + +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" +) + +// CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder provides operations to manage the certificateBasedApplicationConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +type CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. +type CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters +} +// CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderInternal instantiates a new CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) { + m := &CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfiguration%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder instantiates a new CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder and sets the default values. +func NewCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property certificateBasedApplicationConfigurations for certificateAuthorities +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration)(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 defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. +// returns a CertificateBasedApplicationConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, 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.CreateCertificateBasedApplicationConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil +} +// Patch update the navigation property certificateBasedApplicationConfigurations in certificateAuthorities +// returns a CertificateBasedApplicationConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, 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.CreateCertificateBasedApplicationConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable), nil +} +// ToDeleteRequestInformation delete navigation property certificateBasedApplicationConfigurations for certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration)(*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 defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration)(*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 certificateBasedApplicationConfigurations in certificateAuthorities +// returns a *RequestInformation when successful +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable, requestConfiguration *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration)(*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 +} +// TrustedCertificateAuthorities provides operations to manage the trustedCertificateAuthorities property of the microsoft.graph.trustedCertificateAuthorityAsEntityBase entity. +// returns a *CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) TrustedCertificateAuthorities()(*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.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 *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder when successful +func (m *CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder) { + return NewCertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/mutual_tls_oauth_configurations_count_request_builder.go b/certificateauthorities/mutual_tls_oauth_configurations_count_request_builder.go new file mode 100644 index 00000000000..7a43fb049cf --- /dev/null +++ b/certificateauthorities/mutual_tls_oauth_configurations_count_request_builder.go @@ -0,0 +1,80 @@ +package certificateauthorities + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// MutualTlsOauthConfigurationsCountRequestBuilder provides operations to count the resources in the collection. +type MutualTlsOauthConfigurationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters get the number of the resource +type MutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters +} +// NewMutualTlsOauthConfigurationsCountRequestBuilderInternal instantiates a new MutualTlsOauthConfigurationsCountRequestBuilder and sets the default values. +func NewMutualTlsOauthConfigurationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MutualTlsOauthConfigurationsCountRequestBuilder) { + m := &MutualTlsOauthConfigurationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/mutualTlsOauthConfigurations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewMutualTlsOauthConfigurationsCountRequestBuilder instantiates a new MutualTlsOauthConfigurationsCountRequestBuilder and sets the default values. +func NewMutualTlsOauthConfigurationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MutualTlsOauthConfigurationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMutualTlsOauthConfigurationsCountRequestBuilderInternal(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 *MutualTlsOauthConfigurationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration)(*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 *MutualTlsOauthConfigurationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration)(*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 *MutualTlsOauthConfigurationsCountRequestBuilder when successful +func (m *MutualTlsOauthConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*MutualTlsOauthConfigurationsCountRequestBuilder) { + return NewMutualTlsOauthConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/mutual_tls_oauth_configurations_mutual_tls_oauth_configuration_item_request_builder.go b/certificateauthorities/mutual_tls_oauth_configurations_mutual_tls_oauth_configuration_item_request_builder.go new file mode 100644 index 00000000000..c816f45c010 --- /dev/null +++ b/certificateauthorities/mutual_tls_oauth_configurations_mutual_tls_oauth_configuration_item_request_builder.go @@ -0,0 +1,157 @@ +package certificateauthorities + +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" +) + +// MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +type MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters get mutualTlsOauthConfigurations from certificateAuthorities +type MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters +} +// MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal instantiates a new MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder and sets the default values. +func NewMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + m := &MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/mutualTlsOauthConfigurations/{mutualTlsOauthConfiguration%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder instantiates a new MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder and sets the default values. +func NewMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property mutualTlsOauthConfigurations for certificateAuthorities +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration)(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 mutualTlsOauthConfigurations from certificateAuthorities +// returns a MutualTlsOauthConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, 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.CreateMutualTlsOauthConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable), nil +} +// Patch update the navigation property mutualTlsOauthConfigurations in certificateAuthorities +// returns a MutualTlsOauthConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, 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.CreateMutualTlsOauthConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable), nil +} +// ToDeleteRequestInformation delete navigation property mutualTlsOauthConfigurations for certificateAuthorities +// returns a *RequestInformation when successful +func (m *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration)(*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 mutualTlsOauthConfigurations from certificateAuthorities +// returns a *RequestInformation when successful +func (m *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration)(*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 mutualTlsOauthConfigurations in certificateAuthorities +// returns a *RequestInformation when successful +func (m *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration)(*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 *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder when successful +func (m *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + return NewMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/certificateauthorities/mutual_tls_oauth_configurations_request_builder.go b/certificateauthorities/mutual_tls_oauth_configurations_request_builder.go new file mode 100644 index 00000000000..81b5579aac2 --- /dev/null +++ b/certificateauthorities/mutual_tls_oauth_configurations_request_builder.go @@ -0,0 +1,152 @@ +package certificateauthorities + +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" +) + +// MutualTlsOauthConfigurationsRequestBuilder provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +type MutualTlsOauthConfigurationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters get mutualTlsOauthConfigurations from certificateAuthorities +type MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters 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"` +} +// MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters +} +// MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByMutualTlsOauthConfigurationId provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +// returns a *MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder when successful +func (m *MutualTlsOauthConfigurationsRequestBuilder) ByMutualTlsOauthConfigurationId(mutualTlsOauthConfigurationId string)(*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mutualTlsOauthConfigurationId != "" { + urlTplParams["mutualTlsOauthConfiguration%2Did"] = mutualTlsOauthConfigurationId + } + return NewMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewMutualTlsOauthConfigurationsRequestBuilderInternal instantiates a new MutualTlsOauthConfigurationsRequestBuilder and sets the default values. +func NewMutualTlsOauthConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MutualTlsOauthConfigurationsRequestBuilder) { + m := &MutualTlsOauthConfigurationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/certificateAuthorities/mutualTlsOauthConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewMutualTlsOauthConfigurationsRequestBuilder instantiates a new MutualTlsOauthConfigurationsRequestBuilder and sets the default values. +func NewMutualTlsOauthConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*MutualTlsOauthConfigurationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewMutualTlsOauthConfigurationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *MutualTlsOauthConfigurationsCountRequestBuilder when successful +func (m *MutualTlsOauthConfigurationsRequestBuilder) Count()(*MutualTlsOauthConfigurationsCountRequestBuilder) { + return NewMutualTlsOauthConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get mutualTlsOauthConfigurations from certificateAuthorities +// returns a MutualTlsOauthConfigurationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MutualTlsOauthConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationCollectionResponseable, 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.CreateMutualTlsOauthConfigurationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationCollectionResponseable), nil +} +// Post create new navigation property to mutualTlsOauthConfigurations for certificateAuthorities +// returns a MutualTlsOauthConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *MutualTlsOauthConfigurationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, 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.CreateMutualTlsOauthConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable), nil +} +// ToGetRequestInformation get mutualTlsOauthConfigurations from certificateAuthorities +// returns a *RequestInformation when successful +func (m *MutualTlsOauthConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration)(*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 mutualTlsOauthConfigurations for certificateAuthorities +// returns a *RequestInformation when successful +func (m *MutualTlsOauthConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration)(*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 *MutualTlsOauthConfigurationsRequestBuilder when successful +func (m *MutualTlsOauthConfigurationsRequestBuilder) WithUrl(rawUrl string)(*MutualTlsOauthConfigurationsRequestBuilder) { + return NewMutualTlsOauthConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/chats/item_messages_request_builder.go b/chats/item_messages_request_builder.go index 3e5c3616dc8..d857f649fe1 100644 --- a/chats/item_messages_request_builder.go +++ b/chats/item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemMessagesRequestBuilder) Get(ctx context.Context, requestConfigurati } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. // returns a ChatMessageable 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/chatmessage-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta func (m *ItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemMessagesRequestBuilder) ToGetRequestInformation(ctx context.Context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. // returns a *RequestInformation when successful func (m *ItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/calls_item_participants_invite_request_builder.go b/communications/calls_item_participants_invite_request_builder.go index 8b074ef3213..705d331d1f6 100644 --- a/communications/calls_item_participants_invite_request_builder.go +++ b/communications/calls_item_participants_invite_request_builder.go @@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter urlParams["request-raw-url"] = rawUrl return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter) } -// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a InviteParticipantsOperationable 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/participant-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.InviteParticipantsOperationable), nil } -// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. +// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. // returns a *RequestInformation when successful func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go b/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go index 17c052ccfee..396b671d55a 100644 --- a/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go +++ b/deviceappmanagement/4a096bbeaf5525b931e689132e2257510f53bbb09e499d986bc8b4960b49b8a5.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go b/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go index 3baaa4e30ed..1477cf940e1 100644 --- a/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go +++ b/deviceappmanagement/7013a7c2a952246125852c3183ca085b604af07a7a928e7e585be6c7c4a5c5ee.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelati // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go b/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go index da6a6c9b256..6fc5bf80b5a 100644 --- a/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go +++ b/deviceappmanagement/8107eecaa9db8ed0dd4da814eebbd3d34154728dba8cd77caf39b6eb692c9606.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationsh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go b/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go index 5bcdfd16bdc..d0cfb066c12 100644 --- a/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go +++ b/deviceappmanagement/8893f4ca9b1c973259fe2faac1776f2c4b156b16ab3ff5c9a06baf50cdf0cf69.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRe // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipIt requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go b/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go index 457a67098ad..666db560686 100644 --- a/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go +++ b/deviceappmanagement/91e710c3638d2a448ac23a9064bfdd20ff404e54999557ca367dc73ff37fbe15.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipIte // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go b/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go index 7940c24f374..1d0336d63f4 100644 --- a/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go +++ b/deviceappmanagement/9e0f6c51745549c20f677d20b55f4cb3d0f85c52ed1b2d31689e875024b623c6.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipIt // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationsh requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go b/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go index 73c8f344528..9b4df51ef50 100644 --- a/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go +++ b/deviceappmanagement/d781743b6dc404db4222b50663ccc5b28af54b724cc1df91ed01b8af5f8bf397.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationship // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelation requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go b/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go index f4e2a48606b..a587655639d 100644 --- a/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go +++ b/deviceappmanagement/de04c52e8ec966de17ca7bae54b5786623c182097d534193f2091c381f23c420.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go index 73e11416baa..91d94aa8865 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_for_work_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder(rawUrl s func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidForWorkAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidForWorkAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) Post(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidForWorkAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 3b12aa27879..3a00945df43 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go index 7cbe154fc0b..f097e84b4f4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go index 1754a63f62c..0385bf97d13 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_managed_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder(raw func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidManagedStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidManagedStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) P } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidManagedStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go index 5fb084b5147..736af4c8666 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go index f1f784c165c..6d79454cb40 100644 --- a/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_android_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder(rawUrl str func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphAndroidStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphAndroidStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphAndroidStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 4d3c5debae9..7ee0c344847 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go index 5eb74895160..071a07d1d61 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphIosLobAppRelationshipsRequestBuilder(rawUrl string, r func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphIosLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphIosLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go index dece73473f3..dea6fa4e751 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go index 7b6f064a3f9..b5e70b4647f 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphIosStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphIosStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go index fb41ac3a083..d0541428648 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go index dc34bede80d..0c78baec05e 100644 --- a/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_ios_vpp_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphIosVppAppRelationshipsRequestBuilder(rawUrl string, r func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphIosVppAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphIosVppAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphIosVppAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go index 9a76d738e42..6fbe4218608 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go index bd2eab8ffad..bd6f6ac4bf4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_dmg_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMacOSDmgAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSDmgAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSDmgAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go index 27456812bba..0d8479b71cc 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go index f9641b2b34c..ce43c37f0a0 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMacOSLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go index 91aa2abe612..c6b0b372c2d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go index 1f79e1604fb..0c6f76fcd17 100644 --- a/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_mac_o_s_pkg_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMacOSPkgAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMacOSPkgAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMacOSPkgAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go index e0f10f56afa..f45ea1c06da 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_android_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder(rawUr func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphManagedAndroidLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphManagedAndroidLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedAndroidLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go index fdb862d5090..fafe766181d 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_i_o_s_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder(rawUrl st func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphManagedIOSLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphManagedIOSLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedIOSLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go index 9fb88f603ce..ec8f77796a8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_managed_mobile_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder(rawUrl func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphManagedMobileLobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphManagedMobileLobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphManagedMobileLobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go index 4d58a737ee9..803fce06664 100644 --- a/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_microsoft_store_for_business_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuild func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuil } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphMicrosoftStoreForBusinessAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go index c10df7ed98f..8106d98fb83 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go index 396e6132afa..d51a2ffa0f7 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win32_lob_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWin32LobAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWin32LobAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWin32LobAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go index 0815419459e..68525e095d3 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBu // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go index a449fb8d3a4..8ec9bab5750 100644 --- a/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_win_get_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWinGetAppRelationshipsRequestBuilder(rawUrl string, r func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWinGetAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWinGetAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) Post(ctx conte } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWinGetAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go index d8aec3d4193..5dd5dab3a7c 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequest // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemReq requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go index 43ea9050a5a..f9d016bdae4 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_app_x_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder(rawUrl string, func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsAppXRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsAppXRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) Post(ctx con } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsAppXRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go index a4e70b5781c..31023821c96 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_mobile_m_s_i_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder(rawUrl st func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsMobileMSIRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsMobileMSIRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) Post(ct } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsMobileMSIRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go index 867f95a5435..65fc4cb5fe8 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipIte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go index 726f73ab2cf..cec477b327a 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_store_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder(rawUrl str func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsStoreAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsStoreAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) Post(ctx } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsStoreAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go index d40cc99add4..6bcc2b012ad 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_universal_app_x_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder(rawUr func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsUniversalAppXRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsUniversalAppXRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) Pos } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsUniversalAppXRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go index 67ec4fc924c..e337a83c0e5 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemReque // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemR requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go index 3338c21cdc0..f828e778fb2 100644 --- a/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_graph_windows_web_app_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder(rawUrl strin func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) Count()(*MobileAppsItemGraphWindowsWebAppRelationshipsCountRequestBuilder) { return NewMobileAppsItemGraphWindowsWebAppRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) Post(ctx c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemGraphWindowsWebAppRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go index c50c3f38993..c735e11f2ca 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_mobile_app_relationship_item_request_builder.go @@ -18,7 +18,7 @@ type MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Del } return nil } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable, error) { @@ -121,7 +121,7 @@ func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsMobileAppRelationshipItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go index b0ebbdcbc13..93080353eaf 100644 --- a/deviceappmanagement/mobile_apps_item_relationships_request_builder.go +++ b/deviceappmanagement/mobile_apps_item_relationships_request_builder.go @@ -11,7 +11,7 @@ import ( type MobileAppsItemRelationshipsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// MobileAppsItemRelationshipsRequestBuilderGetQueryParameters list of relationships for this mobile app. +// MobileAppsItemRelationshipsRequestBuilderGetQueryParameters the set of direct relationships for this app. type MobileAppsItemRelationshipsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewMobileAppsItemRelationshipsRequestBuilder(rawUrl string, requestAdapter func (m *MobileAppsItemRelationshipsRequestBuilder) Count()(*MobileAppsItemRelationshipsCountRequestBuilder) { return NewMobileAppsItemRelationshipsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get list of relationships for this mobile app. +// Get the set of direct relationships for this app. // returns a MobileAppRelationshipCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *MobileAppsItemRelationshipsRequestBuilder) Get(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *MobileAppsItemRelationshipsRequestBuilder) Post(ctx context.Context, bo } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MobileAppRelationshipable), nil } -// ToGetRequestInformation list of relationships for this mobile app. +// ToGetRequestInformation the set of direct relationships for this app. // returns a *RequestInformation when successful func (m *MobileAppsItemRelationshipsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *MobileAppsItemRelationshipsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go b/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go index 40e13e24778..7921b384ce1 100644 --- a/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go +++ b/devicemanagement/5fe9bdcbb1022b44730c43d38d19cb7a431b6b341f7a34d0f1fadbc609f60404.go @@ -18,7 +18,7 @@ type DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSchedule // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters the list of scheduled action for this rule type DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche } return nil } -// Get the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// Get the list of scheduled action for this rule // returns a DeviceComplianceScheduledActionForRuleable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceComplianceScheduledActionForRuleable, error) { @@ -126,7 +126,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceSche requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// ToGetRequestInformation the list of scheduled action for this rule // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleDeviceComplianceScheduledActionForRuleItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go index 79c399dc2dc..0fa0442201d 100644 --- a/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go +++ b/devicemanagement/device_compliance_policies_item_scheduled_actions_for_rule_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetQueryParameters the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetQueryParameters the list of scheduled action for this rule type DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,7 +76,7 @@ func NewDeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder(rawUrl func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Count()(*DeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilder) { return NewDeviceCompliancePoliciesItemScheduledActionsForRuleCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// Get the list of scheduled action for this rule // returns a DeviceComplianceScheduledActionForRuleCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceComplianceScheduledActionForRuleCollectionResponseable, error) { @@ -116,7 +116,7 @@ func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) Post } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceComplianceScheduledActionForRuleable), nil } -// ToGetRequestInformation the list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// ToGetRequestInformation the list of scheduled action for this rule // returns a *RequestInformation when successful func (m *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceCompliancePoliciesItemScheduledActionsForRuleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go index 8c869bc4dfb..7d20efd89e2 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_cloud_pc_provisioning_policy_item_request_builder.go @@ -134,6 +134,21 @@ func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequest } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable), nil } +// RetrievePolicyApplyActionResult provides operations to call the retrievePolicyApplyActionResult method. +// returns a *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) RetrievePolicyApplyActionResult()(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// RetrievePolicyApplySchedule provides operations to call the retrievePolicyApplySchedule method. +// returns a *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) RetrievePolicyApplySchedule()(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// SchedulePolicyApplyTask provides operations to call the schedulePolicyApplyTask method. +// returns a *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) SchedulePolicyApplyTask()(*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete a cloudPcProvisioningPolicy object. You can’t delete a policy that’s in use. // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_retrieve_policy_apply_action_result_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_retrieve_policy_apply_action_result_request_builder.go new file mode 100644 index 00000000000..4460152d004 --- /dev/null +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_retrieve_policy_apply_action_result_request_builder.go @@ -0,0 +1,69 @@ +package devicemanagement + +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" +) + +// VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder provides operations to call the retrievePolicyApplyActionResult method. +type VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderInternal instantiates a new VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder) { + m := &VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyApplyActionResult()", pathParameters), + } + return m +} +// NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder instantiates a new VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function retrievePolicyApplyActionResult +// returns a CloudPcPolicyApplyActionResultable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyApplyActionResultable, 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.CreateCloudPcPolicyApplyActionResultFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyApplyActionResultable), nil +} +// ToGetRequestInformation invoke function retrievePolicyApplyActionResult +// returns a *RequestInformation when successful +func (m *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_retrieve_policy_apply_schedule_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_retrieve_policy_apply_schedule_request_builder.go new file mode 100644 index 00000000000..74f43f25dd7 --- /dev/null +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_retrieve_policy_apply_schedule_request_builder.go @@ -0,0 +1,69 @@ +package devicemanagement + +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" +) + +// VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder provides operations to call the retrievePolicyApplySchedule method. +type VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderInternal instantiates a new VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder) { + m := &VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/retrievePolicyApplySchedule()", pathParameters), + } + return m +} +// NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder instantiates a new VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function retrievePolicyApplySchedule +// returns a CloudPcPolicyScheduledApplyActionDetailable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder) Get(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable, 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.CreateCloudPcPolicyScheduledApplyActionDetailFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable), nil +} +// ToGetRequestInformation invoke function retrievePolicyApplySchedule +// returns a *RequestInformation when successful +func (m *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, 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 *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_schedule_policy_apply_task_post_request_body.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_schedule_policy_apply_task_post_request_body.go new file mode 100644 index 00000000000..52ae00881a4 --- /dev/null +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_schedule_policy_apply_task_post_request_body.go @@ -0,0 +1,114 @@ +package devicemanagement + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody instantiates a new VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody()(*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) { + m := &VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody(), 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 *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) 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 *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) 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 *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["scheduledRule"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCloudPcPolicyScheduledApplyActionDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetScheduledRule(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable)) + } + return nil + } + return res +} +// GetScheduledRule gets the scheduledRule property value. The scheduledRule property +// returns a CloudPcPolicyScheduledApplyActionDetailable when successful +func (m *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) GetScheduledRule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable) { + val, err := m.GetBackingStore().Get("scheduledRule") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("scheduledRule", m.GetScheduledRule()) + 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 *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) 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 *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetScheduledRule sets the scheduledRule property value. The scheduledRule property +func (m *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody) SetScheduledRule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable)() { + err := m.GetBackingStore().Set("scheduledRule", value) + if err != nil { + panic(err) + } +} +type VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetScheduledRule()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetScheduledRule(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable)() +} diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_schedule_policy_apply_task_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_schedule_policy_apply_task_request_builder.go new file mode 100644 index 00000000000..19405d7ec1d --- /dev/null +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_schedule_policy_apply_task_request_builder.go @@ -0,0 +1,68 @@ +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder provides operations to call the schedulePolicyApplyTask method. +type VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderInternal instantiates a new VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder) { + m := &VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy%2Did}/schedulePolicyApplyTask", pathParameters), + } + return m +} +// NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder instantiates a new VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder and sets the default values. +func NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action schedulePolicyApplyTask +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder) Post(ctx context.Context, body VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, 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 schedulePolicyApplyTask +// returns a *RequestInformation when successful +func (m *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable, requestConfiguration *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration)(*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 *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder when successful +func (m *VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder) { + return NewVirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/device_item_request_builder.go b/devices/device_item_request_builder.go index c500bd7a746..295374a1225 100644 --- a/devices/device_item_request_builder.go +++ b/devices/device_item_request_builder.go @@ -88,6 +88,11 @@ func (m *DeviceItemRequestBuilder) Delete(ctx context.Context, requestConfigurat } return nil } +// DeviceTemplate provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +// returns a *ItemDeviceTemplateRequestBuilder when successful +func (m *DeviceItemRequestBuilder) DeviceTemplate()(*ItemDeviceTemplateRequestBuilder) { + return NewItemDeviceTemplateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Extensions provides operations to manage the extensions property of the microsoft.graph.device entity. // returns a *ItemExtensionsRequestBuilder when successful func (m *DeviceItemRequestBuilder) Extensions()(*ItemExtensionsRequestBuilder) { diff --git a/devices/item_device_template_count_request_builder.go b/devices/item_device_template_count_request_builder.go new file mode 100644 index 00000000000..88ad9662364 --- /dev/null +++ b/devices/item_device_template_count_request_builder.go @@ -0,0 +1,80 @@ +package devices + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemDeviceTemplateCountRequestBuilder provides operations to count the resources in the collection. +type ItemDeviceTemplateCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDeviceTemplateCountRequestBuilderGetQueryParameters get the number of the resource +type ItemDeviceTemplateCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDeviceTemplateCountRequestBuilderGetQueryParameters +} +// NewItemDeviceTemplateCountRequestBuilderInternal instantiates a new ItemDeviceTemplateCountRequestBuilder and sets the default values. +func NewItemDeviceTemplateCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDeviceTemplateCountRequestBuilder) { + m := &ItemDeviceTemplateCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/devices/{device%2Did}/deviceTemplate/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemDeviceTemplateCountRequestBuilder instantiates a new ItemDeviceTemplateCountRequestBuilder and sets the default values. +func NewItemDeviceTemplateCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDeviceTemplateCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDeviceTemplateCountRequestBuilderInternal(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 *ItemDeviceTemplateCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration)(*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 *ItemDeviceTemplateCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration)(*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 *ItemDeviceTemplateCountRequestBuilder when successful +func (m *ItemDeviceTemplateCountRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceTemplateCountRequestBuilder) { + return NewItemDeviceTemplateCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_device_template_device_template_item_request_builder.go b/devices/item_device_template_device_template_item_request_builder.go new file mode 100644 index 00000000000..80713d65d6f --- /dev/null +++ b/devices/item_device_template_device_template_item_request_builder.go @@ -0,0 +1,81 @@ +package devices + +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" +) + +// ItemDeviceTemplateDeviceTemplateItemRequestBuilder provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +type ItemDeviceTemplateDeviceTemplateItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters get deviceTemplate from devices +type ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters +} +// NewItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal instantiates a new ItemDeviceTemplateDeviceTemplateItemRequestBuilder and sets the default values. +func NewItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + m := &ItemDeviceTemplateDeviceTemplateItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/devices/{device%2Did}/deviceTemplate/{deviceTemplate%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemDeviceTemplateDeviceTemplateItemRequestBuilder instantiates a new ItemDeviceTemplateDeviceTemplateItemRequestBuilder and sets the default values. +func NewItemDeviceTemplateDeviceTemplateItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get deviceTemplate from devices +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDeviceTemplateDeviceTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// ToGetRequestInformation get deviceTemplate from devices +// returns a *RequestInformation when successful +func (m *ItemDeviceTemplateDeviceTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration)(*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 *ItemDeviceTemplateDeviceTemplateItemRequestBuilder when successful +func (m *ItemDeviceTemplateDeviceTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + return NewItemDeviceTemplateDeviceTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/devices/item_device_template_request_builder.go b/devices/item_device_template_request_builder.go new file mode 100644 index 00000000000..71aa46c2d54 --- /dev/null +++ b/devices/item_device_template_request_builder.go @@ -0,0 +1,110 @@ +package devices + +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" +) + +// ItemDeviceTemplateRequestBuilder provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +type ItemDeviceTemplateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDeviceTemplateRequestBuilderGetQueryParameters get deviceTemplate from devices +type ItemDeviceTemplateRequestBuilderGetQueryParameters 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"` +} +// ItemDeviceTemplateRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDeviceTemplateRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDeviceTemplateRequestBuilderGetQueryParameters +} +// ByDeviceTemplateId provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +// returns a *ItemDeviceTemplateDeviceTemplateItemRequestBuilder when successful +func (m *ItemDeviceTemplateRequestBuilder) ByDeviceTemplateId(deviceTemplateId string)(*ItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if deviceTemplateId != "" { + urlTplParams["deviceTemplate%2Did"] = deviceTemplateId + } + return NewItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemDeviceTemplateRequestBuilderInternal instantiates a new ItemDeviceTemplateRequestBuilder and sets the default values. +func NewItemDeviceTemplateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDeviceTemplateRequestBuilder) { + m := &ItemDeviceTemplateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/devices/{device%2Did}/deviceTemplate{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemDeviceTemplateRequestBuilder instantiates a new ItemDeviceTemplateRequestBuilder and sets the default values. +func NewItemDeviceTemplateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDeviceTemplateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDeviceTemplateRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemDeviceTemplateCountRequestBuilder when successful +func (m *ItemDeviceTemplateRequestBuilder) Count()(*ItemDeviceTemplateCountRequestBuilder) { + return NewItemDeviceTemplateCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deviceTemplate from devices +// returns a DeviceTemplateCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDeviceTemplateRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDeviceTemplateRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable, 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.CreateDeviceTemplateCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable), nil +} +// ToGetRequestInformation get deviceTemplate from devices +// returns a *RequestInformation when successful +func (m *ItemDeviceTemplateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDeviceTemplateRequestBuilderGetRequestConfiguration)(*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 *ItemDeviceTemplateRequestBuilder when successful +func (m *ItemDeviceTemplateRequestBuilder) WithUrl(rawUrl string)(*ItemDeviceTemplateRequestBuilder) { + return NewItemDeviceTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/cb4f49580bad876ecb5a1d6670eef5a38f096ab83b36598df7a1e4cc52b0082f.go b/directory/cb4f49580bad876ecb5a1d6670eef5a38f096ab83b36598df7a1e4cc52b0082f.go new file mode 100644 index 00000000000..8dae9ddbabd --- /dev/null +++ b/directory/cb4f49580bad876ecb5a1d6670eef5a38f096ab83b36598df7a1e4cc52b0082f.go @@ -0,0 +1,157 @@ +package directory + +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" +) + +// CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +type CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters get mutualTlsOauthConfigurations from directory +type CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewCertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal instantiates a new CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder and sets the default values. +func NewCertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + m := &CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations/{mutualTlsOauthConfiguration%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewCertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder instantiates a new CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder and sets the default values. +func NewCertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property mutualTlsOauthConfigurations for directory +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration)(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 mutualTlsOauthConfigurations from directory +// returns a MutualTlsOauthConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, 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.CreateMutualTlsOauthConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable), nil +} +// Patch update the navigation property mutualTlsOauthConfigurations in directory +// returns a MutualTlsOauthConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, 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.CreateMutualTlsOauthConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable), nil +} +// ToDeleteRequestInformation delete navigation property mutualTlsOauthConfigurations for directory +// returns a *RequestInformation when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration)(*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 mutualTlsOauthConfigurations from directory +// returns a *RequestInformation when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration)(*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 mutualTlsOauthConfigurations in directory +// returns a *RequestInformation when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration)(*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 *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_mutual_tls_oauth_configurations_count_request_builder.go b/directory/certificate_authorities_mutual_tls_oauth_configurations_count_request_builder.go new file mode 100644 index 00000000000..8694470d955 --- /dev/null +++ b/directory/certificate_authorities_mutual_tls_oauth_configurations_count_request_builder.go @@ -0,0 +1,80 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder provides operations to count the resources in the collection. +type CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters get the number of the resource +type CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters +} +// NewCertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderInternal instantiates a new CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder and sets the default values. +func NewCertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder) { + m := &CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewCertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder instantiates a new CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder and sets the default values. +func NewCertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderInternal(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 *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration)(*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 *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration)(*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 *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder) { + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_mutual_tls_oauth_configurations_request_builder.go b/directory/certificate_authorities_mutual_tls_oauth_configurations_request_builder.go new file mode 100644 index 00000000000..3fa246c7008 --- /dev/null +++ b/directory/certificate_authorities_mutual_tls_oauth_configurations_request_builder.go @@ -0,0 +1,152 @@ +package directory + +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" +) + +// CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +type CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters get mutualTlsOauthConfigurations from directory +type CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters 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"` +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters +} +// CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByMutualTlsOauthConfigurationId provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +// returns a *CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) ByMutualTlsOauthConfigurationId(mutualTlsOauthConfigurationId string)(*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mutualTlsOauthConfigurationId != "" { + urlTplParams["mutualTlsOauthConfiguration%2Did"] = mutualTlsOauthConfigurationId + } + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewCertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderInternal instantiates a new CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder and sets the default values. +func NewCertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) { + m := &CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/certificateAuthorities/mutualTlsOauthConfigurations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewCertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder instantiates a new CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder and sets the default values. +func NewCertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) Count()(*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder) { + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get mutualTlsOauthConfigurations from directory +// returns a MutualTlsOauthConfigurationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) Get(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationCollectionResponseable, 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.CreateMutualTlsOauthConfigurationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationCollectionResponseable), nil +} +// Post create new navigation property to mutualTlsOauthConfigurations for directory +// returns a MutualTlsOauthConfigurationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, 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.CreateMutualTlsOauthConfigurationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable), nil +} +// ToGetRequestInformation get mutualTlsOauthConfigurations from directory +// returns a *RequestInformation when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration)(*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 mutualTlsOauthConfigurations for directory +// returns a *RequestInformation when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable, requestConfiguration *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration)(*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 *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder when successful +func (m *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) WithUrl(rawUrl string)(*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) { + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/certificate_authorities_request_builder.go b/directory/certificate_authorities_request_builder.go index 9c4b8164eb2..d175d0b38ad 100644 --- a/directory/certificate_authorities_request_builder.go +++ b/directory/certificate_authorities_request_builder.go @@ -95,6 +95,11 @@ func (m *CertificateAuthoritiesRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable), nil } +// MutualTlsOauthConfigurations provides operations to manage the mutualTlsOauthConfigurations property of the microsoft.graph.certificateAuthorityPath entity. +// returns a *CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder when successful +func (m *CertificateAuthoritiesRequestBuilder) MutualTlsOauthConfigurations()(*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder) { + return NewCertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property certificateAuthorities in directory // returns a CertificateAuthorityPathable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/directory/directory_request_builder.go b/directory/directory_request_builder.go index 195f919f1d5..eb225049dc1 100644 --- a/directory/directory_request_builder.go +++ b/directory/directory_request_builder.go @@ -192,6 +192,11 @@ func (m *DirectoryRequestBuilder) SubscriptionsWithCommerceSubscriptionId(commer func (m *DirectoryRequestBuilder) SubscriptionsWithOcpSubscriptionId(ocpSubscriptionId *string)(*SubscriptionsWithOcpSubscriptionIdRequestBuilder) { return NewSubscriptionsWithOcpSubscriptionIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, ocpSubscriptionId) } +// Templates provides operations to manage the templates property of the microsoft.graph.directory entity. +// returns a *TemplatesRequestBuilder when successful +func (m *DirectoryRequestBuilder) Templates()(*TemplatesRequestBuilder) { + return NewTemplatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get directory // returns a *RequestInformation when successful func (m *DirectoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/directory/templates_device_templates_count_request_builder.go b/directory/templates_device_templates_count_request_builder.go new file mode 100644 index 00000000000..63471eed184 --- /dev/null +++ b/directory/templates_device_templates_count_request_builder.go @@ -0,0 +1,80 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TemplatesDeviceTemplatesCountRequestBuilder provides operations to count the resources in the collection. +type TemplatesDeviceTemplatesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesCountRequestBuilderGetQueryParameters get the number of the resource +type TemplatesDeviceTemplatesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesCountRequestBuilderGetQueryParameters +} +// NewTemplatesDeviceTemplatesCountRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesCountRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesCountRequestBuilder) { + m := &TemplatesDeviceTemplatesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesCountRequestBuilder instantiates a new TemplatesDeviceTemplatesCountRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesCountRequestBuilderInternal(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 *TemplatesDeviceTemplatesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesCountRequestBuilder when successful +func (m *TemplatesDeviceTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesCountRequestBuilder) { + return NewTemplatesDeviceTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_device_template_item_request_builder.go b/directory/templates_device_templates_device_template_item_request_builder.go new file mode 100644 index 00000000000..fdaa598bf99 --- /dev/null +++ b/directory/templates_device_templates_device_template_item_request_builder.go @@ -0,0 +1,177 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +type TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters get deviceTemplates from directory +type TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters +} +// TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) { + m := &TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder instantiates a new TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderInternal(urlParams, requestAdapter) +} +// CreateDeviceFromTemplate provides operations to call the createDeviceFromTemplate method. +// returns a *TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) CreateDeviceFromTemplate()(*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + return NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property deviceTemplates for directory +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration)(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 +} +// DeviceInstances provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +// returns a *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) DeviceInstances()(*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) { + return NewTemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// DeviceInstancesWithDeviceId provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +// returns a *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) DeviceInstancesWithDeviceId(deviceId *string)(*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + return NewTemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, deviceId) +} +// Get get deviceTemplates from directory +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// Owners provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +// returns a *TemplatesDeviceTemplatesItemOwnersRequestBuilder when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) Owners()(*TemplatesDeviceTemplatesItemOwnersRequestBuilder) { + return NewTemplatesDeviceTemplatesItemOwnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property deviceTemplates in directory +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// ToDeleteRequestInformation delete navigation property deviceTemplates for directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration)(*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 deviceTemplates from directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration)(*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 deviceTemplates in directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration)(*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 *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder when successful +func (m *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) { + return NewTemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_create_device_from_template_post_request_body.go b/directory/templates_device_templates_item_create_device_from_template_post_request_body.go new file mode 100644 index 00000000000..2b4ac1110ee --- /dev/null +++ b/directory/templates_device_templates_item_create_device_from_template_post_request_body.go @@ -0,0 +1,305 @@ +package directory + +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 TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody instantiates a new TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody and sets the default values. +func NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody()(*TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) { + m := &TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody(), nil +} +// GetAccountEnabled gets the accountEnabled property value. The accountEnabled property +// returns a *bool when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetAccountEnabled()(*bool) { + val, err := m.GetBackingStore().Get("accountEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) 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) +} +// GetAlternativeNames gets the alternativeNames property value. The alternativeNames property +// returns a []string when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetAlternativeNames()([]string) { + val, err := m.GetBackingStore().Get("alternativeNames") + 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 *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExternalDeviceId gets the externalDeviceId property value. The externalDeviceId property +// returns a *string when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetExternalDeviceId()(*string) { + val, err := m.GetBackingStore().Get("externalDeviceId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExternalSourceName gets the externalSourceName property value. The externalSourceName property +// returns a *string when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetExternalSourceName()(*string) { + val, err := m.GetBackingStore().Get("externalSourceName") + 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 *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["accountEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAccountEnabled(val) + } + return nil + } + res["alternativeNames"] = 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.SetAlternativeNames(res) + } + return nil + } + res["externalDeviceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalDeviceId(val) + } + return nil + } + res["externalSourceName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalSourceName(val) + } + return nil + } + res["keyCredential"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateKeyCredentialFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetKeyCredential(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable)) + } + return nil + } + res["operatingSystemVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOperatingSystemVersion(val) + } + return nil + } + return res +} +// GetKeyCredential gets the keyCredential property value. The keyCredential property +// returns a KeyCredentialable when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetKeyCredential()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable) { + val, err := m.GetBackingStore().Get("keyCredential") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable) + } + return nil +} +// GetOperatingSystemVersion gets the operatingSystemVersion property value. The operatingSystemVersion property +// returns a *string when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetOperatingSystemVersion()(*string) { + val, err := m.GetBackingStore().Get("operatingSystemVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("accountEnabled", m.GetAccountEnabled()) + if err != nil { + return err + } + } + if m.GetAlternativeNames() != nil { + err := writer.WriteCollectionOfStringValues("alternativeNames", m.GetAlternativeNames()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalDeviceId", m.GetExternalDeviceId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalSourceName", m.GetExternalSourceName()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("keyCredential", m.GetKeyCredential()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("operatingSystemVersion", m.GetOperatingSystemVersion()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAccountEnabled sets the accountEnabled property value. The accountEnabled property +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetAccountEnabled(value *bool)() { + err := m.GetBackingStore().Set("accountEnabled", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAlternativeNames sets the alternativeNames property value. The alternativeNames property +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetAlternativeNames(value []string)() { + err := m.GetBackingStore().Set("alternativeNames", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExternalDeviceId sets the externalDeviceId property value. The externalDeviceId property +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetExternalDeviceId(value *string)() { + err := m.GetBackingStore().Set("externalDeviceId", value) + if err != nil { + panic(err) + } +} +// SetExternalSourceName sets the externalSourceName property value. The externalSourceName property +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetExternalSourceName(value *string)() { + err := m.GetBackingStore().Set("externalSourceName", value) + if err != nil { + panic(err) + } +} +// SetKeyCredential sets the keyCredential property value. The keyCredential property +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetKeyCredential(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable)() { + err := m.GetBackingStore().Set("keyCredential", value) + if err != nil { + panic(err) + } +} +// SetOperatingSystemVersion sets the operatingSystemVersion property value. The operatingSystemVersion property +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetOperatingSystemVersion(value *string)() { + err := m.GetBackingStore().Set("operatingSystemVersion", value) + if err != nil { + panic(err) + } +} +type TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccountEnabled()(*bool) + GetAlternativeNames()([]string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExternalDeviceId()(*string) + GetExternalSourceName()(*string) + GetKeyCredential()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable) + GetOperatingSystemVersion()(*string) + SetAccountEnabled(value *bool)() + SetAlternativeNames(value []string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExternalDeviceId(value *string)() + SetExternalSourceName(value *string)() + SetKeyCredential(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable)() + SetOperatingSystemVersion(value *string)() +} diff --git a/directory/templates_device_templates_item_create_device_from_template_request_builder.go b/directory/templates_device_templates_item_create_device_from_template_request_builder.go new file mode 100644 index 00000000000..d3ce9e7d343 --- /dev/null +++ b/directory/templates_device_templates_item_create_device_from_template_request_builder.go @@ -0,0 +1,73 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder provides operations to call the createDeviceFromTemplate method. +type TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + m := &TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/createDeviceFromTemplate", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder instantiates a new TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action createDeviceFromTemplate +// returns a Deviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) Post(ctx context.Context, body TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable, requestConfiguration *TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, 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.CreateDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable), nil +} +// ToPostRequestInformation invoke action createDeviceFromTemplate +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) ToPostRequestInformation(ctx context.Context, body TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable, requestConfiguration *TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + return NewTemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_device_instances_count_request_builder.go b/directory/templates_device_templates_item_device_instances_count_request_builder.go new file mode 100644 index 00000000000..e41afa882d9 --- /dev/null +++ b/directory/templates_device_templates_item_device_instances_count_request_builder.go @@ -0,0 +1,80 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder provides operations to count the resources in the collection. +type TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters get the number of the resource +type TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + m := &TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal(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 *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + return NewTemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_device_instances_device_item_request_builder.go b/directory/templates_device_templates_item_device_instances_device_item_request_builder.go new file mode 100644 index 00000000000..b7a24e6d3e6 --- /dev/null +++ b/directory/templates_device_templates_item_device_instances_device_item_request_builder.go @@ -0,0 +1,81 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +type TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters get deviceInstances from directory +type TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + m := &TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/{device%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get deviceInstances from directory +// returns a Deviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, 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.CreateDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable), nil +} +// ToGetRequestInformation get deviceInstances from directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + return NewTemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_device_instances_request_builder.go b/directory/templates_device_templates_item_device_instances_request_builder.go new file mode 100644 index 00000000000..fcac656b58a --- /dev/null +++ b/directory/templates_device_templates_item_device_instances_request_builder.go @@ -0,0 +1,110 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +type TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters get deviceInstances from directory +type TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters 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"` +} +// TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters +} +// ByDeviceId provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +// returns a *TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) ByDeviceId(deviceId string)(*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if deviceId != "" { + urlTplParams["device%2Did"] = deviceId + } + return NewTemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) { + m := &TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) Count()(*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + return NewTemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deviceInstances from directory +// returns a DeviceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceCollectionResponseable, 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.CreateDeviceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceCollectionResponseable), nil +} +// ToGetRequestInformation get deviceInstances from directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder) { + return NewTemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_device_instances_with_device_id_request_builder.go b/directory/templates_device_templates_item_device_instances_with_device_id_request_builder.go new file mode 100644 index 00000000000..b2e17ceb97d --- /dev/null +++ b/directory/templates_device_templates_item_device_instances_with_device_id_request_builder.go @@ -0,0 +1,84 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +type TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters get deviceInstances from directory +type TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, deviceId *string)(*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + m := &TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances(deviceId='{deviceId}'){?%24expand,%24select}", pathParameters), + } + if deviceId != nil { + m.BaseRequestBuilder.PathParameters["deviceId"] = *deviceId + } + return m +} +// NewTemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder instantiates a new TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get get deviceInstances from directory +// returns a Deviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, 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.CreateDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable), nil +} +// ToGetRequestInformation get deviceInstances from directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + return NewTemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_owners_count_request_builder.go b/directory/templates_device_templates_item_owners_count_request_builder.go new file mode 100644 index 00000000000..f8b5fff8ddd --- /dev/null +++ b/directory/templates_device_templates_item_owners_count_request_builder.go @@ -0,0 +1,80 @@ +package directory + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TemplatesDeviceTemplatesItemOwnersCountRequestBuilder provides operations to count the resources in the collection. +type TemplatesDeviceTemplatesItemOwnersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters get the number of the resource +type TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters +} +// NewTemplatesDeviceTemplatesItemOwnersCountRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemOwnersCountRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemOwnersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemOwnersCountRequestBuilder) { + m := &TemplatesDeviceTemplatesItemOwnersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesItemOwnersCountRequestBuilder instantiates a new TemplatesDeviceTemplatesItemOwnersCountRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemOwnersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemOwnersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemOwnersCountRequestBuilderInternal(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 *TemplatesDeviceTemplatesItemOwnersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemOwnersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemOwnersCountRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemOwnersCountRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemOwnersCountRequestBuilder) { + return NewTemplatesDeviceTemplatesItemOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_owners_directory_object_item_request_builder.go b/directory/templates_device_templates_item_owners_directory_object_item_request_builder.go new file mode 100644 index 00000000000..1528989b8b6 --- /dev/null +++ b/directory/templates_device_templates_item_owners_directory_object_item_request_builder.go @@ -0,0 +1,81 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +type TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters get owners from directory +type TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters +} +// NewTemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + m := &TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners/{directoryObject%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder instantiates a new TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get owners from directory +// returns a DirectoryObjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration)(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 owners from directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + return NewTemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_item_owners_request_builder.go b/directory/templates_device_templates_item_owners_request_builder.go new file mode 100644 index 00000000000..eb1684f5b55 --- /dev/null +++ b/directory/templates_device_templates_item_owners_request_builder.go @@ -0,0 +1,110 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesItemOwnersRequestBuilder provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +type TemplatesDeviceTemplatesItemOwnersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters get owners from directory +type TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters 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"` +} +// TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters +} +// ByDirectoryObjectId provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +// returns a *TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemOwnersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if directoryObjectId != "" { + urlTplParams["directoryObject%2Did"] = directoryObjectId + } + return NewTemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTemplatesDeviceTemplatesItemOwnersRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesItemOwnersRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemOwnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemOwnersRequestBuilder) { + m := &TemplatesDeviceTemplatesItemOwnersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates/{deviceTemplate%2Did}/owners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesItemOwnersRequestBuilder instantiates a new TemplatesDeviceTemplatesItemOwnersRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesItemOwnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesItemOwnersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesItemOwnersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TemplatesDeviceTemplatesItemOwnersCountRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemOwnersRequestBuilder) Count()(*TemplatesDeviceTemplatesItemOwnersCountRequestBuilder) { + return NewTemplatesDeviceTemplatesItemOwnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get owners from directory +// returns a DirectoryObjectCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesItemOwnersRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, 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.CreateDirectoryObjectCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil +} +// ToGetRequestInformation get owners from directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration)(*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 *TemplatesDeviceTemplatesItemOwnersRequestBuilder when successful +func (m *TemplatesDeviceTemplatesItemOwnersRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesItemOwnersRequestBuilder) { + return NewTemplatesDeviceTemplatesItemOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_device_templates_request_builder.go b/directory/templates_device_templates_request_builder.go new file mode 100644 index 00000000000..333528461ce --- /dev/null +++ b/directory/templates_device_templates_request_builder.go @@ -0,0 +1,152 @@ +package directory + +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" +) + +// TemplatesDeviceTemplatesRequestBuilder provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +type TemplatesDeviceTemplatesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesDeviceTemplatesRequestBuilderGetQueryParameters get deviceTemplates from directory +type TemplatesDeviceTemplatesRequestBuilderGetQueryParameters 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"` +} +// TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesDeviceTemplatesRequestBuilderGetQueryParameters +} +// TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDeviceTemplateId provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +// returns a *TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder when successful +func (m *TemplatesDeviceTemplatesRequestBuilder) ByDeviceTemplateId(deviceTemplateId string)(*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if deviceTemplateId != "" { + urlTplParams["deviceTemplate%2Did"] = deviceTemplateId + } + return NewTemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewTemplatesDeviceTemplatesRequestBuilderInternal instantiates a new TemplatesDeviceTemplatesRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesRequestBuilder) { + m := &TemplatesDeviceTemplatesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates/deviceTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewTemplatesDeviceTemplatesRequestBuilder instantiates a new TemplatesDeviceTemplatesRequestBuilder and sets the default values. +func NewTemplatesDeviceTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesDeviceTemplatesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesDeviceTemplatesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *TemplatesDeviceTemplatesCountRequestBuilder when successful +func (m *TemplatesDeviceTemplatesRequestBuilder) Count()(*TemplatesDeviceTemplatesCountRequestBuilder) { + return NewTemplatesDeviceTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deviceTemplates from directory +// returns a DeviceTemplateCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable, 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.CreateDeviceTemplateCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable), nil +} +// Post create new navigation property to deviceTemplates for directory +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesDeviceTemplatesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// ToGetRequestInformation get deviceTemplates from directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration)(*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 deviceTemplates for directory +// returns a *RequestInformation when successful +func (m *TemplatesDeviceTemplatesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration)(*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 *TemplatesDeviceTemplatesRequestBuilder when successful +func (m *TemplatesDeviceTemplatesRequestBuilder) WithUrl(rawUrl string)(*TemplatesDeviceTemplatesRequestBuilder) { + return NewTemplatesDeviceTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/directory/templates_request_builder.go b/directory/templates_request_builder.go new file mode 100644 index 00000000000..a90375bc004 --- /dev/null +++ b/directory/templates_request_builder.go @@ -0,0 +1,162 @@ +package directory + +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" +) + +// TemplatesRequestBuilder provides operations to manage the templates property of the microsoft.graph.directory entity. +type TemplatesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// TemplatesRequestBuilderGetQueryParameters get templates from directory +type TemplatesRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TemplatesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesRequestBuilderGetQueryParameters +} +// TemplatesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTemplatesRequestBuilderInternal instantiates a new TemplatesRequestBuilder and sets the default values. +func NewTemplatesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesRequestBuilder) { + m := &TemplatesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/directory/templates{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTemplatesRequestBuilder instantiates a new TemplatesRequestBuilder and sets the default values. +func NewTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property templates for directory +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesRequestBuilder) Delete(ctx context.Context, requestConfiguration *TemplatesRequestBuilderDeleteRequestConfiguration)(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 +} +// DeviceTemplates provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +// returns a *TemplatesDeviceTemplatesRequestBuilder when successful +func (m *TemplatesRequestBuilder) DeviceTemplates()(*TemplatesDeviceTemplatesRequestBuilder) { + return NewTemplatesDeviceTemplatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get templates from directory +// returns a Templateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, 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.CreateTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable), nil +} +// Patch update the navigation property templates in directory +// returns a Templateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, requestConfiguration *TemplatesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, 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.CreateTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable), nil +} +// ToDeleteRequestInformation delete navigation property templates for directory +// returns a *RequestInformation when successful +func (m *TemplatesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TemplatesRequestBuilderDeleteRequestConfiguration)(*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 templates from directory +// returns a *RequestInformation when successful +func (m *TemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesRequestBuilderGetRequestConfiguration)(*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 templates in directory +// returns a *RequestInformation when successful +func (m *TemplatesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, requestConfiguration *TemplatesRequestBuilderPatchRequestConfiguration)(*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 *TemplatesRequestBuilder when successful +func (m *TemplatesRequestBuilder) WithUrl(rawUrl string)(*TemplatesRequestBuilder) { + return NewTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 8eff23647db..8381d121be7 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -93,12 +93,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, req } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable), nil } -// Patch lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// Patch apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a ItemRetentionLabelable 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/driveitem-lockorunlockrecord?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-setretentionlabel?view=graph-rest-beta func (m *ItemItemsItemRetentionLabelRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. +// ToPatchRequestInformation apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ItemRetentionLabelable, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_tables_add_request_builder.go b/drives/item_items_item_workbook_tables_add_request_builder.go index ee3f7ca3d60..e66bdebf683 100644 --- a/drives/item_items_item_workbook_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookTablesAddRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post use this API to create a new Table. +// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. // returns a WorkbookTableable 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/workbook-post-tables?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation use this API to create a new Table. +// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go index b4928b95cc4..8e37047a043 100644 --- a/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go +++ b/drives/item_items_item_workbook_worksheets_item_tables_add_request_builder.go @@ -31,12 +31,12 @@ func NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderInternal(urlParams, requestAdapter) } -// Post use this API to create a new Table. +// Post create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. // returns a WorkbookTableable 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/workbook-post-tables?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/tablecollection-add?view=graph-rest-beta func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +54,7 @@ func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) Post(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkbookTableable), nil } -// ToPostRequestInformation use this API to create a new Table. +// ToPostRequestInformation create a new table. The range source address determines the worksheet under which the table will be added. If the table can't be added (for example, because the address is invalid, or the table would overlap with another table), an error is thrown. // returns a *RequestInformation when successful func (m *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemsItemWorkbookWorksheetsItemTablesAddPostRequestBodyable, requestConfiguration *ItemItemsItemWorkbookWorksheetsItemTablesAddRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/education/users_education_user_item_request_builder.go b/education/users_education_user_item_request_builder.go index 1a56771a724..626528b21d0 100644 --- a/education/users_education_user_item_request_builder.go +++ b/education/users_education_user_item_request_builder.go @@ -106,12 +106,12 @@ func (m *UsersEducationUserItemRequestBuilder) Get(ctx context.Context, requestC } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable), nil } -// Patch update the properties of an educationuser object. +// Patch update the relatedContact collection of an educationUser object. // returns a EducationUserable 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/educationuser-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/relatedcontact-update?view=graph-rest-beta func (m *UsersEducationUserItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -169,7 +169,7 @@ func (m *UsersEducationUserItemRequestBuilder) ToGetRequestInformation(ctx conte requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an educationuser object. +// ToPatchRequestInformation update the relatedContact collection of an educationUser object. // returns a *RequestInformation when successful func (m *UsersEducationUserItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.EducationUserable, requestConfiguration *UsersEducationUserItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/connections_item_items_external_item_item_request_builder.go b/external/connections_item_items_external_item_item_request_builder.go index 396c46f4137..0b12b66ecf8 100644 --- a/external/connections_item_items_external_item_item_request_builder.go +++ b/external/connections_item_items_external_item_item_request_builder.go @@ -106,12 +106,12 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Get(ctx context.Con func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) MicrosoftGraphExternalConnectorsAddActivities()(*ConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilder) { return NewConnectionsItemItemsItemMicrosoftGraphExternalConnectorsAddActivitiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Put create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. +// Put update the properties of an externalitem. // returns a ExternalItemable 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/externalconnectors-externalconnection-put-items?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/externalconnectors-externalitem-update?view=graph-rest-beta func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) Put(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToGetRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. +// ToPutRequestInformation update the properties of an externalitem. // returns a *RequestInformation when successful func (m *ConnectionsItemItemsExternalItemItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie98116770ca9f5eee835504331ccb9976e822c2f776cca356ee95c843b4cce86.ExternalItemable, requestConfiguration *ConnectionsItemItemsExternalItemItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go index 5443cb01966..5a0310a980b 100644 --- a/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go +++ b/external/industry_data_data_connectors_industry_data_connector_item_request_builder.go @@ -101,12 +101,12 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Get( func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) MicrosoftGraphIndustryDataValidate()(*IndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilder) { return NewIndustryDataDataConnectorsItemMicrosoftGraphIndustryDataValidateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the properties of an azureDataLakeConnector object. +// Patch update the properties of a oneRosterApiDataConnector object. // returns a IndustryDataConnectorable 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/industrydata-azuredatalakeconnector-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-onerosterapidataconnector-update?view=graph-rest-beta func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) Patch(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -154,7 +154,7 @@ func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToGe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an azureDataLakeConnector object. +// ToPatchRequestInformation update the properties of a oneRosterApiDataConnector object. // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsIndustryDataConnectorItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_data_connectors_request_builder.go b/external/industry_data_data_connectors_request_builder.go index 0538bf366f7..2b65a79e107 100644 --- a/external/industry_data_data_connectors_request_builder.go +++ b/external/industry_data_data_connectors_request_builder.go @@ -99,12 +99,12 @@ func (m *IndustryDataDataConnectorsRequestBuilder) Get(ctx context.Context, requ } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorCollectionResponseable), nil } -// Post create a new oneRosterApiDataConnector object. +// Post create a new azureDataLakeConnector object. // returns a IndustryDataConnectorable 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/industrydata-onerosterapidataconnector-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-azuredatalakeconnector-post?view=graph-rest-beta func (m *IndustryDataDataConnectorsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *IndustryDataDataConnectorsRequestBuilder) ToGetRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new oneRosterApiDataConnector object. +// ToPostRequestInformation create a new azureDataLakeConnector object. // returns a *RequestInformation when successful func (m *IndustryDataDataConnectorsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.IndustryDataConnectorable, requestConfiguration *IndustryDataDataConnectorsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/external/industry_data_inbound_flows_request_builder.go b/external/industry_data_inbound_flows_request_builder.go index 18a16d2941e..00470f9d106 100644 --- a/external/industry_data_inbound_flows_request_builder.go +++ b/external/industry_data_inbound_flows_request_builder.go @@ -99,12 +99,12 @@ func (m *IndustryDataInboundFlowsRequestBuilder) Get(ctx context.Context, reques } return res.(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowCollectionResponseable), nil } -// Post create a new inboundApiFlow object. +// Post create a new inboundFileFlow object. // returns a InboundFlowable 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/industrydata-inboundapiflow-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/industrydata-inboundfileflow-post?view=graph-rest-beta func (m *IndustryDataInboundFlowsRequestBuilder) Post(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -136,7 +136,7 @@ func (m *IndustryDataInboundFlowsRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new inboundApiFlow object. +// ToPostRequestInformation create a new inboundFileFlow object. // returns a *RequestInformation when successful func (m *IndustryDataInboundFlowsRequestBuilder) ToPostRequestInformation(ctx context.Context, body id2b46acaed365d10a0a4cc89e0aa6f2f76ad54e2147428aee709d25e554da66a.InboundFlowable, requestConfiguration *IndustryDataInboundFlowsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/graph_base_service_client.go b/graph_base_service_client.go index 6122deff62b..2b55bc5ebab 100644 --- a/graph_base_service_client.go +++ b/graph_base_service_client.go @@ -66,6 +66,7 @@ import ( i65ec2d26e2745c20b2909e217069fc9c66fc5d6b449f4f50e1f705a550f3e781 "github.com/microsoftgraph/msgraph-beta-sdk-go/filteringpolicies" i65ed27543dee9887d3df7d7d883303dfead48cba6be4e357fa7d5c21332b4626 "github.com/microsoftgraph/msgraph-beta-sdk-go/admin" i66f18ccab4e34309d26d1056f0e7dd8b563a5f8ee6f8d9c6e8e77c5fac50f8b5 "github.com/microsoftgraph/msgraph-beta-sdk-go/teamstemplates" + i685cd6feb816a252c2833ae74ca6928f7c1b72065e4425fb081f3f898dd5cb56 "github.com/microsoftgraph/msgraph-beta-sdk-go/certificateauthorities" i6878457452f8bce5904d31522016d9cbd75b82042526e5ae91637c530b8658e8 "github.com/microsoftgraph/msgraph-beta-sdk-go/authenticationmethoddevices" i6b96a96c52bbdff1731b8a5490cd5f342e33866e0931912944d323bc79f663e4 "github.com/microsoftgraph/msgraph-beta-sdk-go/privilegedsignupstatus" i6c3f8c4b4b571cf0fbb7c7c8791ae736e28cc3f4bb62262698b6291c13e127b9 "github.com/microsoftgraph/msgraph-beta-sdk-go/auditlogs" @@ -110,6 +111,7 @@ import ( ic21cf429efd6fc3199e67b5b4288a3193ff5e9cfb4e97a5e442e02ccd7748ec1 "github.com/microsoftgraph/msgraph-beta-sdk-go/places" icb4f253cb1cd35435f5752b611229032c618bbcfeb3be80ee4d6a06d404114fc "github.com/microsoftgraph/msgraph-beta-sdk-go/teamwork" icd01c84a90833c55ac2309fd7034cb1962c60f59eb1ee2b2cf7b04c708402b6a "github.com/microsoftgraph/msgraph-beta-sdk-go/users" + iceb786ac5ddc912df815a8d082165101d7e95dbcf2a94981f8fb37db8c5a4422 "github.com/microsoftgraph/msgraph-beta-sdk-go/templates" id14bafb4ee71e1257662cacab67dd479e54eba65ce10c6816ee4676804caf821 "github.com/microsoftgraph/msgraph-beta-sdk-go/storage" id53bdaa191b823f3e2f4009f4cc095b46d1c7a433bde3b6d09ef0bd8df3514c2 "github.com/microsoftgraph/msgraph-beta-sdk-go/certificatebasedauthconfiguration" id5c2ef977a00dd1757d258dbbbfb4080031771e62e6c6b3b1339a0f03fc1c1f1 "github.com/microsoftgraph/msgraph-beta-sdk-go/tenantrelationships" @@ -253,6 +255,11 @@ func (m *GraphBaseServiceClient) BookingCurrencies()(*ie573fcc25112f624100d67f5c func (m *GraphBaseServiceClient) BusinessFlowTemplates()(*i97c9750160852aa25d52a4c6fa196b644ce728c6645ca520427ff4d85c76afa0.BusinessFlowTemplatesRequestBuilder) { return i97c9750160852aa25d52a4c6fa196b644ce728c6645ca520427ff4d85c76afa0.NewBusinessFlowTemplatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// CertificateAuthorities provides operations to manage the certificateAuthorityPath singleton. +// returns a *CertificateAuthoritiesRequestBuilder when successful +func (m *GraphBaseServiceClient) CertificateAuthorities()(*i685cd6feb816a252c2833ae74ca6928f7c1b72065e4425fb081f3f898dd5cb56.CertificateAuthoritiesRequestBuilder) { + return i685cd6feb816a252c2833ae74ca6928f7c1b72065e4425fb081f3f898dd5cb56.NewCertificateAuthoritiesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // CertificateBasedAuthConfiguration provides operations to manage the collection of certificateBasedAuthConfiguration entities. // returns a *CertificateBasedAuthConfigurationRequestBuilder when successful func (m *GraphBaseServiceClient) CertificateBasedAuthConfiguration()(*id53bdaa191b823f3e2f4009f4cc095b46d1c7a433bde3b6d09ef0bd8df3514c2.CertificateBasedAuthConfigurationRequestBuilder) { @@ -742,6 +749,11 @@ func (m *GraphBaseServiceClient) TeamTemplateDefinition()(*i1c7e7a5d0708841f8c98 func (m *GraphBaseServiceClient) Teamwork()(*icb4f253cb1cd35435f5752b611229032c618bbcfeb3be80ee4d6a06d404114fc.TeamworkRequestBuilder) { return icb4f253cb1cd35435f5752b611229032c618bbcfeb3be80ee4d6a06d404114fc.NewTeamworkRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Templates provides operations to manage the template singleton. +// returns a *TemplatesRequestBuilder when successful +func (m *GraphBaseServiceClient) Templates()(*iceb786ac5ddc912df815a8d082165101d7e95dbcf2a94981f8fb37db8c5a4422.TemplatesRequestBuilder) { + return iceb786ac5ddc912df815a8d082165101d7e95dbcf2a94981f8fb37db8c5a4422.NewTemplatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // TenantRelationships provides operations to manage the tenantRelationship singleton. // returns a *TenantRelationshipsRequestBuilder when successful func (m *GraphBaseServiceClient) TenantRelationships()(*id5c2ef977a00dd1757d258dbbbfb4080031771e62e6c6b3b1339a0f03fc1c1f1.TenantRelationshipsRequestBuilder) { diff --git a/groups/groups_request_builder.go b/groups/groups_request_builder.go index 857edf5fd9d..cf52f10a649 100644 --- a/groups/groups_request_builder.go +++ b/groups/groups_request_builder.go @@ -119,12 +119,12 @@ func (m *GroupsRequestBuilder) GetByIds()(*GetByIdsRequestBuilder) { func (m *GroupsRequestBuilder) GetUserOwnedObjects()(*GetUserOwnedObjectsRequestBuilder) { return NewGetUserOwnedObjectsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Post create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. +// Post create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a Groupable 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/group-post-groups?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-upsert?view=graph-rest-beta func (m *GroupsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -156,7 +156,7 @@ func (m *GroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requ requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. +// ToPostRequestInformation create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. // returns a *RequestInformation when successful func (m *GroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Groupable, requestConfiguration *GroupsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_conversation_item_request_builder.go b/groups/item_conversations_conversation_item_request_builder.go index 037b3ca73c4..4d1fa05aed0 100644 --- a/groups/item_conversations_conversation_item_request_builder.go +++ b/groups/item_conversations_conversation_item_request_builder.go @@ -18,7 +18,7 @@ type ItemConversationsConversationItemRequestBuilderDeleteRequestConfiguration s // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemConversationsConversationItemRequestBuilderGetQueryParameters get a group's conversation object. +// ItemConversationsConversationItemRequestBuilderGetQueryParameters retrieve the properties and relationships of conversation object. type ItemConversationsConversationItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -66,12 +66,12 @@ func (m *ItemConversationsConversationItemRequestBuilder) Delete(ctx context.Con } return nil } -// Get get a group's conversation object. +// Get retrieve the properties and relationships of conversation object. // returns a Conversationable 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/group-get-conversation?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/conversation-get?view=graph-rest-beta func (m *ItemConversationsConversationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Conversationable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -105,7 +105,7 @@ func (m *ItemConversationsConversationItemRequestBuilder) ToDeleteRequestInforma requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a group's conversation object. +// ToGetRequestInformation retrieve the properties and relationships of conversation object. // returns a *RequestInformation when successful func (m *ItemConversationsConversationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemConversationsConversationItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_conversations_item_threads_item_reply_request_builder.go b/groups/item_conversations_item_threads_item_reply_request_builder.go index 7bc4e302787..96976918e32 100644 --- a/groups/item_conversations_item_threads_item_reply_request_builder.go +++ b/groups/item_conversations_item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemConversationsItemThreadsItemReplyRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemConversationsItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // 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/post-reply?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) Post(ctx context.C } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemConversationsItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemConversationsItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemConversationsItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_conversation_thread_item_request_builder.go b/groups/item_threads_conversation_thread_item_request_builder.go index 2ba042535d2..ea038e24747 100644 --- a/groups/item_threads_conversation_thread_item_request_builder.go +++ b/groups/item_threads_conversation_thread_item_request_builder.go @@ -54,11 +54,11 @@ func NewItemThreadsConversationThreadItemRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewItemThreadsConversationThreadItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete conversationThread. +// Delete delete a thread 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/conversationthread-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/group-delete-thread?view=graph-rest-beta func (m *ItemThreadsConversationThreadItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *ItemThreadsConversationThreadItemRequestBuilder) Posts()(*ItemThreadsIt func (m *ItemThreadsConversationThreadItemRequestBuilder) Reply()(*ItemThreadsItemReplyRequestBuilder) { return NewItemThreadsItemReplyRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToDeleteRequestInformation delete conversationThread. +// ToDeleteRequestInformation delete a thread object. // returns a *RequestInformation when successful func (m *ItemThreadsConversationThreadItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemThreadsConversationThreadItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/groups/item_threads_item_reply_request_builder.go b/groups/item_threads_item_reply_request_builder.go index 1dbeda4b96d..83df9bbbfae 100644 --- a/groups/item_threads_item_reply_request_builder.go +++ b/groups/item_threads_item_reply_request_builder.go @@ -30,11 +30,11 @@ func NewItemThreadsItemReplyRequestBuilder(rawUrl string, requestAdapter i2ae418 urlParams["request-raw-url"] = rawUrl return NewItemThreadsItemReplyRequestBuilderInternal(urlParams, requestAdapter) } -// Post reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// Post create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // 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/post-reply?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/opentypeextension-post-opentypeextension?view=graph-rest-beta func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -49,7 +49,7 @@ func (m *ItemThreadsItemReplyRequestBuilder) Post(ctx context.Context, body Item } return nil } -// ToPostRequestInformation reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. +// ToPostRequestInformation create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. // returns a *RequestInformation when successful func (m *ItemThreadsItemReplyRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemThreadsItemReplyPostRequestBodyable, requestConfiguration *ItemThreadsItemReplyRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/conditional_access_evaluate_request_builder.go b/identity/conditional_access_evaluate_request_builder.go index 6d2241c82ff..7ef624d2fa4 100644 --- a/identity/conditional_access_evaluate_request_builder.go +++ b/identity/conditional_access_evaluate_request_builder.go @@ -52,6 +52,7 @@ func (m *ConditionalAccessEvaluateRequestBuilder) Post(ctx context.Context, body return res.(ConditionalAccessEvaluateResponseable), nil } // PostAsEvaluatePostResponse invoke action evaluate +// Deprecated: Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation // returns a ConditionalAccessEvaluatePostResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ConditionalAccessEvaluateRequestBuilder) PostAsEvaluatePostResponse(ctx context.Context, body ConditionalAccessEvaluatePostRequestBodyable, requestConfiguration *ConditionalAccessEvaluateRequestBuilderPostRequestConfiguration)(ConditionalAccessEvaluatePostResponseable, error) { @@ -72,6 +73,7 @@ func (m *ConditionalAccessEvaluateRequestBuilder) PostAsEvaluatePostResponse(ctx return res.(ConditionalAccessEvaluatePostResponseable), nil } // ToPostRequestInformation invoke action evaluate +// Deprecated: Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation // returns a *RequestInformation when successful func (m *ConditionalAccessEvaluateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ConditionalAccessEvaluatePostRequestBodyable, requestConfiguration *ConditionalAccessEvaluateRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -87,6 +89,7 @@ func (m *ConditionalAccessEvaluateRequestBuilder) ToPostRequestInformation(ctx c return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: Private preview for conditional access what If API as of 2024-07/PrivatePreview:WhatIfEvaluation // returns a *ConditionalAccessEvaluateRequestBuilder when successful func (m *ConditionalAccessEvaluateRequestBuilder) WithUrl(rawUrl string)(*ConditionalAccessEvaluateRequestBuilder) { return NewConditionalAccessEvaluateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/identity/conditional_access_named_locations_named_location_item_request_builder.go b/identity/conditional_access_named_locations_named_location_item_request_builder.go index 7966b6dfb54..cc51da043a3 100644 --- a/identity/conditional_access_named_locations_named_location_item_request_builder.go +++ b/identity/conditional_access_named_locations_named_location_item_request_builder.go @@ -54,11 +54,11 @@ func NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilder(rawUrl st urlParams["request-raw-url"] = rawUrl return NewConditionalAccessNamedLocationsNamedLocationItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete an ipNamedLocation object. +// Delete delete a namedLocation 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/ipnamedlocation-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/namedlocation-delete?view=graph-rest-beta func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -119,7 +119,7 @@ func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) Patch(c } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NamedLocationable), nil } -// ToDeleteRequestInformation delete an ipNamedLocation object. +// ToDeleteRequestInformation delete a namedLocation object. // returns a *RequestInformation when successful func (m *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ConditionalAccessNamedLocationsNamedLocationItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go index 48e93eba19b..a5055e7ba1d 100644 --- a/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go +++ b/identity/custom_authentication_extensions_custom_authentication_extension_item_request_builder.go @@ -18,7 +18,7 @@ type CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuild // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. +// CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. type CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,12 +73,12 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB } return nil } -// Get read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. +// Get read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. // returns a CustomAuthenticationExtensionable 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/authenticationeventlistener-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/customauthenticationextension-get?view=graph-rest-beta func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAuthenticationExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestB requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. +// ToGetRequestInformation read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. // returns a *RequestInformation when successful func (m *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CustomAuthenticationExtensionsCustomAuthenticationExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identity/identity_request_builder.go b/identity/identity_request_builder.go index de8652ebafa..a21242ca498 100644 --- a/identity/identity_request_builder.go +++ b/identity/identity_request_builder.go @@ -132,6 +132,11 @@ func (m *IdentityRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityContainerable), nil } +// ProductChanges provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. +// returns a *ProductChangesRequestBuilder when successful +func (m *IdentityRequestBuilder) ProductChanges()(*ProductChangesRequestBuilder) { + return NewProductChangesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToGetRequestInformation get identity // returns a *RequestInformation when successful func (m *IdentityRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentityRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identity/product_changes_change_item_base_item_request_builder.go b/identity/product_changes_change_item_base_item_request_builder.go new file mode 100644 index 00000000000..d802b7cf467 --- /dev/null +++ b/identity/product_changes_change_item_base_item_request_builder.go @@ -0,0 +1,157 @@ +package identity + +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" +) + +// ProductChangesChangeItemBaseItemRequestBuilder provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. +type ProductChangesChangeItemBaseItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ProductChangesChangeItemBaseItemRequestBuilderGetQueryParameters represents entry point for Microsoft Entra product changes and planned new features. +type ProductChangesChangeItemBaseItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ProductChangesChangeItemBaseItemRequestBuilderGetQueryParameters +} +// ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewProductChangesChangeItemBaseItemRequestBuilderInternal instantiates a new ProductChangesChangeItemBaseItemRequestBuilder and sets the default values. +func NewProductChangesChangeItemBaseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ProductChangesChangeItemBaseItemRequestBuilder) { + m := &ProductChangesChangeItemBaseItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/productChanges/{changeItemBase%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewProductChangesChangeItemBaseItemRequestBuilder instantiates a new ProductChangesChangeItemBaseItemRequestBuilder and sets the default values. +func NewProductChangesChangeItemBaseItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ProductChangesChangeItemBaseItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewProductChangesChangeItemBaseItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property productChanges for identity +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ProductChangesChangeItemBaseItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration)(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 entry point for Microsoft Entra product changes and planned new features. +// returns a ChangeItemBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ProductChangesChangeItemBaseItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable, 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.CreateChangeItemBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable), nil +} +// Patch update the navigation property productChanges in identity +// returns a ChangeItemBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ProductChangesChangeItemBaseItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable, requestConfiguration *ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable, 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.CreateChangeItemBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable), nil +} +// ToDeleteRequestInformation delete navigation property productChanges for identity +// returns a *RequestInformation when successful +func (m *ProductChangesChangeItemBaseItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration)(*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 entry point for Microsoft Entra product changes and planned new features. +// returns a *RequestInformation when successful +func (m *ProductChangesChangeItemBaseItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration)(*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 productChanges in identity +// returns a *RequestInformation when successful +func (m *ProductChangesChangeItemBaseItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable, requestConfiguration *ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration)(*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 *ProductChangesChangeItemBaseItemRequestBuilder when successful +func (m *ProductChangesChangeItemBaseItemRequestBuilder) WithUrl(rawUrl string)(*ProductChangesChangeItemBaseItemRequestBuilder) { + return NewProductChangesChangeItemBaseItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/product_changes_count_request_builder.go b/identity/product_changes_count_request_builder.go new file mode 100644 index 00000000000..40d5d00bfcf --- /dev/null +++ b/identity/product_changes_count_request_builder.go @@ -0,0 +1,80 @@ +package identity + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ProductChangesCountRequestBuilder provides operations to count the resources in the collection. +type ProductChangesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ProductChangesCountRequestBuilderGetQueryParameters get the number of the resource +type ProductChangesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ProductChangesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ProductChangesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ProductChangesCountRequestBuilderGetQueryParameters +} +// NewProductChangesCountRequestBuilderInternal instantiates a new ProductChangesCountRequestBuilder and sets the default values. +func NewProductChangesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ProductChangesCountRequestBuilder) { + m := &ProductChangesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/productChanges/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewProductChangesCountRequestBuilder instantiates a new ProductChangesCountRequestBuilder and sets the default values. +func NewProductChangesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ProductChangesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewProductChangesCountRequestBuilderInternal(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 *ProductChangesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ProductChangesCountRequestBuilderGetRequestConfiguration)(*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 *ProductChangesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ProductChangesCountRequestBuilderGetRequestConfiguration)(*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 *ProductChangesCountRequestBuilder when successful +func (m *ProductChangesCountRequestBuilder) WithUrl(rawUrl string)(*ProductChangesCountRequestBuilder) { + return NewProductChangesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identity/product_changes_request_builder.go b/identity/product_changes_request_builder.go new file mode 100644 index 00000000000..e43f5d3a741 --- /dev/null +++ b/identity/product_changes_request_builder.go @@ -0,0 +1,155 @@ +package identity + +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" +) + +// ProductChangesRequestBuilder provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. +type ProductChangesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ProductChangesRequestBuilderGetQueryParameters get a list of the changeItemBase objects and their properties. +type ProductChangesRequestBuilderGetQueryParameters 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"` +} +// ProductChangesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ProductChangesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ProductChangesRequestBuilderGetQueryParameters +} +// ProductChangesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ProductChangesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByChangeItemBaseId provides operations to manage the productChanges property of the microsoft.graph.identityContainer entity. +// returns a *ProductChangesChangeItemBaseItemRequestBuilder when successful +func (m *ProductChangesRequestBuilder) ByChangeItemBaseId(changeItemBaseId string)(*ProductChangesChangeItemBaseItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if changeItemBaseId != "" { + urlTplParams["changeItemBase%2Did"] = changeItemBaseId + } + return NewProductChangesChangeItemBaseItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewProductChangesRequestBuilderInternal instantiates a new ProductChangesRequestBuilder and sets the default values. +func NewProductChangesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ProductChangesRequestBuilder) { + m := &ProductChangesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/identity/productChanges{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewProductChangesRequestBuilder instantiates a new ProductChangesRequestBuilder and sets the default values. +func NewProductChangesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ProductChangesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewProductChangesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ProductChangesCountRequestBuilder when successful +func (m *ProductChangesRequestBuilder) Count()(*ProductChangesCountRequestBuilder) { + return NewProductChangesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the changeItemBase objects and their properties. +// returns a ChangeItemBaseCollectionResponseable 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/identitycontainer-list-productchanges?view=graph-rest-beta +func (m *ProductChangesRequestBuilder) Get(ctx context.Context, requestConfiguration *ProductChangesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseCollectionResponseable, 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.CreateChangeItemBaseCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseCollectionResponseable), nil +} +// Post create new navigation property to productChanges for identity +// returns a ChangeItemBaseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ProductChangesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable, requestConfiguration *ProductChangesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable, 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.CreateChangeItemBaseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable), nil +} +// ToGetRequestInformation get a list of the changeItemBase objects and their properties. +// returns a *RequestInformation when successful +func (m *ProductChangesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ProductChangesRequestBuilderGetRequestConfiguration)(*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 productChanges for identity +// returns a *RequestInformation when successful +func (m *ProductChangesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable, requestConfiguration *ProductChangesRequestBuilderPostRequestConfiguration)(*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 *ProductChangesRequestBuilder when successful +func (m *ProductChangesRequestBuilder) WithUrl(rawUrl string)(*ProductChangesRequestBuilder) { + return NewProductChangesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go b/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go index 7e8834c1772..0f976f3ea9b 100644 --- a/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go +++ b/identitygovernance/7963c24a5c9e81bae2eeeeb22d4317223d2433026f9e33f625565c436a769617.go @@ -54,12 +54,12 @@ func NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflo urlParams["request-raw-url"] = rawUrl return NewEntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. +// Delete delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // 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/customaccesspackageworkflowextension-delete?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-delete?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomAccessPackageWorkflowExtensionable), nil } -// ToDeleteRequestInformation delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. +// ToDeleteRequestInformation delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemCustomAccessPackageWorkflowExtensionsCustomAccessPackageWorkflowExtensionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/b1f501e5898eadd7ddfc4e30ba2294367e9d7c7c6230dd90735fb8df0a184096.go b/identitygovernance/b1f501e5898eadd7ddfc4e30ba2294367e9d7c7c6230dd90735fb8df0a184096.go index cf320530a18..597ff086939 100644 --- a/identitygovernance/b1f501e5898eadd7ddfc4e30ba2294367e9d7c7c6230dd90735fb8df0a184096.go +++ b/identitygovernance/b1f501e5898eadd7ddfc4e30ba2294367e9d7c7c6230dd90735fb8df0a184096.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowEx // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. type EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -71,13 +71,13 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return nil } -// Get read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// Get read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomCalloutExtensionable 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/accesspackageassignmentrequestworkflowextension-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-get?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -95,13 +95,13 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable), nil } -// Patch update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// Patch update the properties of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a CustomCalloutExtensionable 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/accesspackageassignmentrequestworkflowextension-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackageassignmentworkflowextension-update?view=graph-rest-beta func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -131,7 +131,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentRequestWorkflowExtension object. +// ToGetRequestInformation read the properties and relationships of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { @@ -146,7 +146,7 @@ func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkfl requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the properties of an accessPackageAssignmentRequestWorkflowExtension object. +// ToPatchRequestInformation update the properties of an accessPackageAssignmentWorkflowExtension object. // Deprecated: as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomCalloutExtensionable, requestConfiguration *EntitlementManagementAccessPackageCatalogsItemAccessPackageCustomWorkflowExtensionsCustomCalloutExtensionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go index 9f2b3614ced..16e9d298152 100644 --- a/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_access_package_item_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. +// EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. type EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -98,12 +98,12 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Del } return nil } -// Get retrieve the properties and relationships of an accessPackage object. +// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a AccessPackageable 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/accesspackage-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -175,7 +175,7 @@ func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. +// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesAccessPackageItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go b/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go index a405e544244..a5633f75b09 100644 --- a/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go +++ b/identitygovernance/entitlement_management_access_packages_with_unique_name_request_builder.go @@ -18,7 +18,7 @@ type EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderDeleteReques // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters retrieve the properties and relationships of an accessPackage object. +// EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. type EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,12 +76,12 @@ func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) Delete } return nil } -// Get retrieve the properties and relationships of an accessPackage object. +// Get retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a AccessPackageable 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/accesspackage-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/accesspackage-list-accesspackageresourcerolescopes?view=graph-rest-beta func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) Get(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessPackageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -143,7 +143,7 @@ func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) ToDele requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation retrieve the properties and relationships of an accessPackage object. +// ToGetRequestInformation retrieve an access package with a list of accessPackageResourceRoleScope objects. These objects represent the resource roles that an access package assigns to each subject. Each object links to an accessPackageResourceRole and an accessPackageResourceScope. // returns a *RequestInformation when successful func (m *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *EntitlementManagementAccessPackagesWithUniqueNameRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/identityprotection/risky_users_request_builder.go b/identityprotection/risky_users_request_builder.go index 2907469e6b6..1073ad678eb 100644 --- a/identityprotection/risky_users_request_builder.go +++ b/identityprotection/risky_users_request_builder.go @@ -11,7 +11,7 @@ import ( type RiskyUsersRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a collection of riskyUser objects. +// RiskyUsersRequestBuilderGetQueryParameters retrieve the properties and relationships of a riskyUser object. type RiskyUsersRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -86,12 +86,12 @@ func (m *RiskyUsersRequestBuilder) Count()(*RiskyUsersCountRequestBuilder) { func (m *RiskyUsersRequestBuilder) Dismiss()(*RiskyUsersDismissRequestBuilder) { return NewRiskyUsersDismissRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get retrieve the properties and relationships of a collection of riskyUser objects. +// Get retrieve the properties and relationships of a riskyUser object. // returns a RiskyUserCollectionResponseable 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/riskyusers-list?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/riskyusers-get?view=graph-rest-beta func (m *RiskyUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -129,7 +129,7 @@ func (m *RiskyUsersRequestBuilder) Post(ctx context.Context, body ie233ee762e29b } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.RiskyUserable), nil } -// ToGetRequestInformation retrieve the properties and relationships of a collection of riskyUser objects. +// ToGetRequestInformation retrieve the properties and relationships of a riskyUser object. // returns a *RequestInformation when successful func (m *RiskyUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *RiskyUsersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 6c565632321..5160b18977f 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -14188,6 +14188,213 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.businessflowtemplates.CountReques github.com/microsoftgraph/msgraph-beta-sdk-go/.businessflowtemplates.CountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.businessflowtemplates.CountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.businessflowtemplates.CountRequestBuilder::|public|WithUrl(rawUrl:string):*CountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateAuthoritiesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|certificateBasedApplicationConfigurations():*CertificateBasedApplicationConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|mutualTlsOauthConfigurations():*MutualTlsOauthConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.certificateAuthoritiesRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateAuthoritiesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|trustedCertificateAuthorities():*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder.CertificateBasedApplicationConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder.CertificateBasedApplicationConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder.CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder.CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder.CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateBasedApplicationConfigurationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateBasedApplicationConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|ByCertificateAuthorityAsEntityId(certificateAuthorityAsEntityId:string):*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCertificateAuthorityAsEntityItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|Count():*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityAsEntityable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateBasedApplicationConfigurationsItemTrustedCertificateAuthoritiesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateBasedApplicationConfigurationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder.CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|ByCertificateBasedApplicationConfigurationId(certificateBasedApplicationConfigurationId:string):*CertificateBasedApplicationConfigurationsCertificateBasedApplicationConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|Count():*CertificateBasedApplicationConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.CertificateBasedApplicationConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateBasedApplicationConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder.MutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder.MutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder.MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder.MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder.MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*MutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*MutualTlsOauthConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*MutualTlsOauthConfigurationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder.MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|ByMutualTlsOauthConfigurationId(mutualTlsOauthConfigurationId:string):*MutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|Count():*MutualTlsOauthConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*MutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.certificateauthorities.MutualTlsOauthConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):*MutualTlsOauthConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.certificatebasedauthconfiguration.CertificateBasedAuthConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.certificatebasedauthconfiguration.CertificateBasedAuthConfigurationItemRequestBuilder.CertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.certificatebasedauthconfiguration.CertificateBasedAuthConfigurationItemRequestBuilder.CertificateBasedAuthConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -68933,6 +69140,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointP github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|retrievePolicyApplyActionResult():*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|retrievePolicyApplySchedule():*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|schedulePolicyApplyTask():*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcProvisioningPolicyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesCloudPcProvisioningPolicyItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -69193,6 +69403,55 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointP github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder::|public|ToPostRequestInformation(body:VirtualEndpointProvisioningPoliciesItemAssignPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemAssignRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointProvisioningPoliciesItemAssignRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyApplyActionResultable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyActionResultRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointProvisioningPoliciesItemRetrievePolicyApplyScheduleRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|GetScheduledRule():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|public|SetScheduledRule(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable::|public|GetScheduledRule():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable::|public|SetScheduledRule(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcPolicyScheduledApplyActionDetailable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBody~~>VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|Post(body:VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|ToPostRequestInformation(body:VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointProvisioningPoliciesItemSchedulePolicyApplyTaskRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesRequestBuilder.VirtualEndpointProvisioningPoliciesRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointProvisioningPoliciesRequestBuilder.VirtualEndpointProvisioningPoliciesRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -72763,6 +73022,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder: github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DeviceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder::|public|deviceTemplate():*ItemDeviceTemplateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder::|public|extensions():*ItemExtensionsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.DeviceItemRequestBuilder::|public|getMemberGroups():*ItemGetMemberGroupsRequestBuilder @@ -73049,6 +73309,56 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemCommandsRequestBuilde github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemCommandsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Commandable; ctx:context.Context; requestConfiguration?:*ItemCommandsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemCommandsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemCommandsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCommandsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder.ItemDeviceTemplateCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder.ItemDeviceTemplateCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder.ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder.ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder.ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDeviceTemplateCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDeviceTemplateCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDeviceTemplateCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDeviceTemplateDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder.ItemDeviceTemplateRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDeviceTemplateRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|ByDeviceTemplateId(deviceTemplateId:string):*ItemDeviceTemplateDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|Count():*ItemDeviceTemplateCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDeviceTemplateRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDeviceTemplateRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemDeviceTemplateRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDeviceTemplateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemExtensionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemExtensionsCountRequestBuilder.ItemExtensionsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.devices.ItemExtensionsCountRequestBuilder.ItemExtensionsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -75116,6 +75426,68 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesC github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateBasedApplicationConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateAuthoritiesCertificateBasedApplicationConfigurationsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|ByMutualTlsOauthConfigurationId(mutualTlsOauthConfigurationId:string):*CertificateAuthoritiesMutualTlsOauthConfigurationsMutualTlsOauthConfigurationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|Count():*CertificateAuthoritiesMutualTlsOauthConfigurationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MutualTlsOauthConfigurationable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder::|public|WithUrl(rawUrl:string):*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder.CertificateAuthoritiesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -75131,6 +75503,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesR github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder::|public|mutualTlsOauthConfigurations():*CertificateAuthoritiesMutualTlsOauthConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable; ctx:context.Context; requestConfiguration?:*CertificateAuthoritiesRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CertificateAuthorityPathable github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.CertificateAuthoritiesRequestBuilder::|public|requestAdapter:RequestAdapter @@ -75992,6 +76365,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|subscriptions():*SubscriptionsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|subscriptionsWithCommerceSubscriptionId(commerceSubscriptionId:*string):*SubscriptionsWithCommerceSubscriptionIdRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|subscriptionsWithOcpSubscriptionId(ocpSubscriptionId:*string):*SubscriptionsWithOcpSubscriptionIdRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|templates():*TemplatesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DirectoryRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Directoryable; ctx:context.Context; requestConfiguration?:*DirectoryRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.directoryRequestBuilder::|public|urlTemplate:string @@ -77441,6 +77815,256 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.SubscriptionsWithOcpSub github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.SubscriptionsWithOcpSubscriptionIdRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CompanySubscriptionable; ctx:context.Context; requestConfiguration?:*SubscriptionsWithOcpSubscriptionIdRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.SubscriptionsWithOcpSubscriptionIdRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.SubscriptionsWithOcpSubscriptionIdRequestBuilder::|public|WithUrl(rawUrl:string):*SubscriptionsWithOcpSubscriptionIdRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder.TemplatesDeviceTemplatesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder.TemplatesDeviceTemplatesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder.TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder.TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder.TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesCountRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|createDeviceFromTemplate():*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|deviceInstances():*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|deviceInstancesWithDeviceId(deviceId:*string):*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|owners():*TemplatesDeviceTemplatesItemOwnersRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetAccountEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetAlternativeNames():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetExternalDeviceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetExternalSourceName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetKeyCredential():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetOperatingSystemVersion():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetAccountEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetAlternativeNames(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetExternalDeviceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetExternalSourceName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetKeyCredential(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetOperatingSystemVersion(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetAccountEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetAlternativeNames():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetExternalDeviceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetExternalSourceName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetKeyCredential():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetOperatingSystemVersion():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetAccountEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetAlternativeNames(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetExternalDeviceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetExternalSourceName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetKeyCredential(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetOperatingSystemVersion(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody~~>TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|Post(body:TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|ToPostRequestInformation(body:TemplatesDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|ByDeviceId(deviceId:string):*TemplatesDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|Count():*TemplatesDeviceTemplatesItemDeviceInstancesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemDeviceInstancesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; deviceId?:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder.TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder.TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder.TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder.TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder.TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersCountRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemOwnersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder.TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesItemOwnersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|ByDirectoryObjectId(directoryObjectId:string):*TemplatesDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|Count():*TemplatesDeviceTemplatesItemOwnersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesItemOwnersRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesItemOwnersRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesDeviceTemplatesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder.TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|ByDeviceTemplateId(deviceTemplateId:string):*TemplatesDeviceTemplatesDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|Count():*TemplatesDeviceTemplatesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*TemplatesDeviceTemplatesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesDeviceTemplatesRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesDeviceTemplatesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder.TemplatesRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|deviceTemplates():*TemplatesDeviceTemplatesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable; ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable; ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.directory.TemplatesRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directoryobjects.CountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.directoryobjects.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.directoryobjects.CountRequestBuilder.CountRequestBuilderGetQueryParameters::|public|Search:*string @@ -130804,6 +131428,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|a github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|bookingBusinesses():*ibf9394d7c54feda53ca523241dde659e8725041c25384ede68e72731d68d5abe.BookingBusinessesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|bookingCurrencies():*ie573fcc25112f624100d67f5c4380ef23bdf060e2876e90cec1bf404deffc3dd.BookingCurrenciesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|businessFlowTemplates():*i97c9750160852aa25d52a4c6fa196b644ce728c6645ca520427ff4d85c76afa0.BusinessFlowTemplatesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|certificateAuthorities():*i685cd6feb816a252c2833ae74ca6928f7c1b72065e4425fb081f3f898dd5cb56.CertificateAuthoritiesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|certificateBasedAuthConfiguration():*id53bdaa191b823f3e2f4009f4cc095b46d1c7a433bde3b6d09ef0bd8df3514c2.CertificateBasedAuthConfigurationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|chats():*i2bd7b88e5d2b5a20231449a09cd2703774075c53c19dc28ca3829e91d51dfd73.ChatsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|commands():*i81513db44a7796569414887f1110e1d158078cb199b3565d960425af9c2904ba.CommandsRequestBuilder @@ -130901,6 +131526,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|t github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|teamsTemplates():*i66f18ccab4e34309d26d1056f0e7dd8b563a5f8ee6f8d9c6e8e77c5fac50f8b5.TeamsTemplatesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|teamTemplateDefinition():*i1c7e7a5d0708841f8c98ec910d583f348cbffaad386ef9a24d3ee4eba285ea21.TeamTemplateDefinitionRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|teamwork():*icb4f253cb1cd35435f5752b611229032c618bbcfeb3be80ee4d6a06d404114fc.TeamworkRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|templates():*iceb786ac5ddc912df815a8d082165101d7e95dbcf2a94981f8fb37db8c5a4422.TemplatesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|tenantRelationships():*id5c2ef977a00dd1757d258dbbbfb4080031771e62e6c6b3b1339a0f03fc1c1f1.TenantRelationshipsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|termStore():*i98a1471d41b15330865bc87691830281af9ecf479bfc797e54f02448790b1e4e.TermStoreRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.GraphBaseServiceClient::|public|threatSubmission():*i231953b44a7f4aace0800ccf375537d423e6f60e82f2a6552d9613626e39aba5.ThreatSubmissionRequestBuilder @@ -168819,6 +169445,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder:: github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|identityProviders():*IdentityProvidersRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentityRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityContainerable github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|productChanges():*ProductChangesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentityRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentityRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -168826,6 +169453,68 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder:: github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|userFlowAttributes():*UserFlowAttributesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|userFlows():*UserFlowsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.identityRequestBuilder::|public|WithUrl(rawUrl:string):*IdentityRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ProductChangesChangeItemBaseItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder.ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable; ctx:context.Context; requestConfiguration?:*ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ProductChangesChangeItemBaseItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ProductChangesChangeItemBaseItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable; ctx:context.Context; requestConfiguration?:*ProductChangesChangeItemBaseItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesChangeItemBaseItemRequestBuilder::|public|WithUrl(rawUrl:string):*ProductChangesChangeItemBaseItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder.ProductChangesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder.ProductChangesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder.ProductChangesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder.ProductChangesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder.ProductChangesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ProductChangesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ProductChangesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ProductChangesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ProductChangesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ProductChangesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder.ProductChangesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|ByChangeItemBaseId(changeItemBaseId:string):*ProductChangesChangeItemBaseItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|Count():*ProductChangesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ProductChangesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable; ctx:context.Context; requestConfiguration?:*ProductChangesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ProductChangesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChangeItemBaseable; ctx:context.Context; requestConfiguration?:*ProductChangesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.ProductChangesRequestBuilder::|public|WithUrl(rawUrl:string):*ProductChangesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.UserFlowAttributesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.UserFlowAttributesCountRequestBuilder.UserFlowAttributesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.identity.UserFlowAttributesCountRequestBuilder.UserFlowAttributesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -195634,6 +196323,182 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agreementFileVersionCollec github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agreementFileVersionCollectionResponseable::|public|GetValue():[]AgreementFileVersionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agreementFileVersionCollectionResponseable::|public|SetValue(value:[]AgreementFileVersionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agreementFileVersionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetAppClass():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetAttachments():[]AiInteractionAttachmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetBody():ItemBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetContexts():[]AiInteractionContextable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetConversationType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetEtag():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetFrom():IdentitySetable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetInteractionType():*AiInteractionType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetLinks():[]AiInteractionLinkable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetLocale():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetMentions():[]AiInteractionMentionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetRequestId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|GetSessionId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetAppClass(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetAttachments(value:[]AiInteractionAttachmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetBody(value:ItemBodyable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetContexts(value:[]AiInteractionContextable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetConversationType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetEtag(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetFrom(value:IdentitySetable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetInteractionType(value:*AiInteractionType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetLinks(value:[]AiInteractionLinkable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetLocale(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetMentions(value:[]AiInteractionMentionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetRequestId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|public|SetSessionId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteraction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetAppClass():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetAttachments():[]AiInteractionAttachmentable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetBody():ItemBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetContexts():[]AiInteractionContextable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetConversationType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetEtag():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetFrom():IdentitySetable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetInteractionType():*AiInteractionType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetLinks():[]AiInteractionLinkable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetLocale():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetMentions():[]AiInteractionMentionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetRequestId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|GetSessionId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetAppClass(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetAttachments(value:[]AiInteractionAttachmentable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetBody(value:ItemBodyable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetContexts(value:[]AiInteractionContextable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetConversationType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetEtag(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetFrom(value:IdentitySetable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetInteractionType(value:*AiInteractionType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetLinks(value:[]AiInteractionLinkable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetLocale(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetMentions(value:[]AiInteractionMentionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetRequestId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable::|public|SetSessionId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|GetAttachmentId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|GetContent():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|GetContentType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|GetContentUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|GetName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|SetAttachmentId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|SetContent(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|SetContentType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|SetContentUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachment::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|GetAttachmentId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|GetContent():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|GetContentType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|GetContentUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|GetName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|SetAttachmentId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|SetContent(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|SetContentType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|SetContentUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionAttachmentable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|GetContextReference():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|GetContextType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|SetContextReference(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|SetContextType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContext::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContextable::|public|GetContextReference():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContextable::|public|GetContextType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContextable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContextable::|public|SetContextReference(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContextable::|public|SetContextType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContextable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionContextable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory::|public|GetInteractions():[]AiInteractionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory::|public|SetInteractions(value:[]AiInteractionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistory::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistoryable::|public|GetInteractions():[]AiInteractionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistoryable::|public|SetInteractions(value:[]AiInteractionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionHistoryable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|GetLinkType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|GetLinkUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|SetLinkType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|public|SetLinkUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLink::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLinkable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLinkable::|public|GetLinkType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLinkable::|public|GetLinkUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLinkable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLinkable::|public|SetLinkType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLinkable::|public|SetLinkUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionLinkable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|GetMentioned():AiInteractionMentionedIdentitySetable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|GetMentionId():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|GetMentionText():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|SetMentioned(value:AiInteractionMentionedIdentitySetable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|SetMentionId(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|public|SetMentionText(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMention::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionable::|public|GetMentioned():AiInteractionMentionedIdentitySetable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionable::|public|GetMentionId():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionable::|public|GetMentionText():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionable::|public|SetMentioned(value:AiInteractionMentionedIdentitySetable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionable::|public|SetMentionId(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionable::|public|SetMentionText(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet-->*IdentitySet +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|GetConversation():TeamworkConversationIdentityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|GetTag():TeamworkTagIdentityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|SetConversation(value:TeamworkConversationIdentityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|public|SetTag(value:TeamworkTagIdentityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySet::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySetable::|public|GetConversation():TeamworkConversationIdentityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySetable::|public|GetTag():TeamworkTagIdentityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySetable::|public|SetConversation(value:TeamworkConversationIdentityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySetable::|public|SetTag(value:TeamworkTagIdentityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionMentionedIdentitySetable~~>IdentitySetable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionType::0000-userPrompt +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionType::0001-aiResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiInteractionType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.airPrintDestination::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.airPrintDestination::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.airPrintDestination::|public|GetBackingStore():BackingStore @@ -195686,6 +196551,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.airPrintSettingsable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.airPrintSettingsable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.airPrintSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.airPrintSettings~~>AirPrintSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser::|public|GetInteractionHistory():AiInteractionHistoryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser::|public|SetInteractionHistory(value:AiInteractionHistoryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUserable::|public|GetInteractionHistory():AiInteractionHistoryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUserable::|public|SetInteractionHistory(value:AiInteractionHistoryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.aiUserable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.album::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.album::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.album::|public|GetBackingStore():BackingStore @@ -200903,6 +201779,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.androidWorkProfileWiFiConf github.com/microsoftgraph/msgraph-beta-sdk-go/.models.androidWorkProfileWiFiConfigurationable::|public|SetSsid(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.androidWorkProfileWiFiConfigurationable::|public|SetWiFiSecurityType(value:*AndroidWiFiSecurityType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.androidWorkProfileWiFiConfigurationable~~>DeviceConfigurationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement-->*ChangeItemBase +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|GetAnnouncementDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|GetChangeType():*ChangeAnnouncementChangeType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|GetImpactLink():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|GetIsCustomerActionRequired():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|GetTargetDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|SetAnnouncementDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|SetChangeType(value:*ChangeAnnouncementChangeType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|SetImpactLink(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|SetIsCustomerActionRequired(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|public|SetTargetDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcement::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|GetAnnouncementDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|GetChangeType():*ChangeAnnouncementChangeType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|GetImpactLink():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|GetIsCustomerActionRequired():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|GetTargetDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|SetAnnouncementDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|SetChangeType(value:*ChangeAnnouncementChangeType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|SetImpactLink(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|SetIsCustomerActionRequired(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable::|public|SetTargetDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.announcementable~~>ChangeItemBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.anonymousGuestConversationMember-->*ConversationMember github.com/microsoftgraph/msgraph-beta-sdk-go/.models.anonymousGuestConversationMember::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.anonymousGuestConversationMember::|public|GetAnonymousGuestId():*string @@ -204407,6 +205310,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|GetAttendanceIntervals():[]AttendanceIntervalable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|GetExternalRegistrationInformation():VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|GetIdentity():Identityable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|GetRegistrantId():*string @@ -204417,6 +205321,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|SetAttendanceIntervals(value:[]AttendanceIntervalable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|SetExternalRegistrationInformation(value:VirtualEventExternalRegistrationInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|SetIdentity(value:Identityable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|SetRegistrantId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public|SetRegistrationId(value:*string):void @@ -204425,6 +205330,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|GetAttendanceIntervals():[]AttendanceIntervalable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|GetExternalRegistrationInformation():VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|GetIdentity():Identityable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|GetRegistrantId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|GetRegistrationId():*string @@ -204432,6 +205338,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|GetTotalAttendanceInSeconds():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|SetAttendanceIntervals(value:[]AttendanceIntervalable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|SetExternalRegistrationInformation(value:VirtualEventExternalRegistrationInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|SetIdentity(value:Identityable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|SetRegistrantId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.attendanceRecordable::|public|SetRegistrationId(value:*string):void @@ -212326,6 +213233,21 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callRouteable::|public|Set github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callRouteable::|public|SetRoutingType(value:*RoutingType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callRouteable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callRoute~~>CallRouteable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|GetDelegates():[]DelegationSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|GetDelegators():[]DelegationSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|SetDelegates(value:[]DelegationSettingsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|public|SetDelegators(value:[]DelegationSettingsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettingsable::|public|GetDelegates():[]DelegationSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettingsable::|public|GetDelegators():[]DelegationSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettingsable::|public|SetDelegates(value:[]DelegationSettingsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettingsable::|public|SetDelegators(value:[]DelegationSettingsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callSettingsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callStartedEventMessageDetail-->*EventMessageDetail github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callStartedEventMessageDetail::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.callStartedEventMessageDetail::|public|GetCallEventType():*TeamworkCallEventType @@ -212724,12 +213646,16 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath-- github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|GetCertificateBasedApplicationConfigurations():[]CertificateBasedApplicationConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|GetMutualTlsOauthConfigurations():[]MutualTlsOauthConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|SetCertificateBasedApplicationConfigurations(value:[]CertificateBasedApplicationConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|public|SetMutualTlsOauthConfigurations(value:[]MutualTlsOauthConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPath::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPathable::|public|GetCertificateBasedApplicationConfigurations():[]CertificateBasedApplicationConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPathable::|public|GetMutualTlsOauthConfigurations():[]MutualTlsOauthConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPathable::|public|SetCertificateBasedApplicationConfigurations(value:[]CertificateBasedApplicationConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPathable::|public|SetMutualTlsOauthConfigurations(value:[]MutualTlsOauthConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityPathable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityType::0000-root github.com/microsoftgraph/msgraph-beta-sdk-go/.models.certificateAuthorityType::0001-intermediate @@ -213045,6 +213971,15 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.challengingWordable::|publ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.challengingWordable::|public|SetWord(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.challengingWordable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.challengingWord~~>ChallengingWordable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0000-breakingChange +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0001-deprecation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0002-endOfSupport +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0003-featureChange +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0004-other +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0005-retirement +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0006-securityIncident +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0007-uxChange +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAnnouncementChangeType::0008-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAssignmentsActionResult-->*DeviceActionResult github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAssignmentsActionResult::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAssignmentsActionResult::|public|GetDeviceAssignmentItems():[]DeviceAssignmentItemable @@ -213056,6 +213991,54 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAssignmentsActionRes github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAssignmentsActionResultable::|public|GetDeviceAssignmentItems():[]DeviceAssignmentItemable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAssignmentsActionResultable::|public|SetDeviceAssignmentItems(value:[]DeviceAssignmentItemable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeAssignmentsActionResultable~~>DeviceActionResultable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|GetChangeItemService():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|GetDocumentationUrls():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|GetShortDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|GetSystemTags():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|GetTags():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|SetChangeItemService(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|SetDocumentationUrls(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|SetShortDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|SetSystemTags(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|SetTags(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|GetChangeItemService():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|GetDocumentationUrls():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|GetShortDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|GetSystemTags():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|GetTags():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|GetTitle():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|SetChangeItemService(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|SetDocumentationUrls(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|SetShortDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|SetSystemTags(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|SetTags(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable::|public|SetTitle(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponse::|public|GetValue():[]ChangeItemBaseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponse::|public|SetValue(value:[]ChangeItemBaseable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponseable::|public|GetValue():[]ChangeItemBaseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponseable::|public|SetValue(value:[]ChangeItemBaseable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemBaseCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemState::0000-available +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemState::0001-comingSoon +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeItemState::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeTrackedEntity-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeTrackedEntity::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.changeTrackedEntity::|public|GetCreatedBy():IdentitySetable @@ -216811,6 +217794,62 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPartnerAgentName::0 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPartnerAgentName::0003-hp github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPCPerformanceReportName::0000-performanceTrendReport github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPCPerformanceReportName::0001-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|GetFinishDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|GetStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|GetStatus():*CloudPcPolicyApplyActionStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|SetFinishDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|SetStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|public|SetStatus(value:*CloudPcPolicyApplyActionStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|GetFinishDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|GetStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|GetStatus():*CloudPcPolicyApplyActionStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|SetFinishDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|SetStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable::|public|SetStatus(value:*CloudPcPolicyApplyActionStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionResult~~>CloudPcPolicyApplyActionResultable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionStatus::0000-processing +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionStatus::0001-succeeded +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionStatus::0002-failed +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyApplyActionStatus::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|GetCronScheduleExpression():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|GetReservePercentage():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|SetCronScheduleExpression(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|public|SetReservePercentage(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|GetCronScheduleExpression():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|GetReservePercentage():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|SetCronScheduleExpression(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable::|public|SetReservePercentage(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetailable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicyScheduledApplyActionDetail~~>CloudPcPolicyScheduledApplyActionDetailable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicySettingType::0000-region github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicySettingType::0001-singleSignOn github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcPolicySettingType::0002-unknownFutureValue @@ -224504,6 +225543,42 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.defenderThreatAction::0003 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.defenderThreatAction::0004-allow github.com/microsoftgraph/msgraph-beta-sdk-go/.models.defenderThreatAction::0005-userDefined github.com/microsoftgraph/msgraph-beta-sdk-go/.models.defenderThreatAction::0006-block +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetJoinActiveCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetMakeCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetManageCallAndDelegateSettings():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetPickUpHeldCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|GetReceiveCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetJoinActiveCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetMakeCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetManageCallAndDelegateSettings(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetPickUpHeldCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|public|SetReceiveCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|GetJoinActiveCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|GetMakeCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|GetManageCallAndDelegateSettings():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|GetPickUpHeldCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|GetReceiveCalls():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|SetJoinActiveCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|SetMakeCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|SetManageCallAndDelegateSettings(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|SetPickUpHeldCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable::|public|SetReceiveCalls(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActionsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateAllowedActions~~>DelegateAllowedActionsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegatedAdminAccessAssignment-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegatedAdminAccessAssignment::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegatedAdminAccessAssignment::|public|GetAccessContainer():DelegatedAdminAccessContainerable @@ -224866,6 +225941,25 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegatedPermissionClassif github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateMeetingMessageDeliveryOptions::0000-sendToDelegateAndInformationToPrincipal github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateMeetingMessageDeliveryOptions::0001-sendToDelegateAndPrincipal github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegateMeetingMessageDeliveryOptions::0002-sendToDelegateOnly +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|GetAllowedActions():DelegateAllowedActionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|GetIsActive():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|SetAllowedActions(value:DelegateAllowedActionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|public|SetIsActive(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettingsable::|public|GetAllowedActions():DelegateAllowedActionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettingsable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettingsable::|public|GetIsActive():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettingsable::|public|SetAllowedActions(value:DelegateAllowedActionsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettingsable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettingsable::|public|SetIsActive(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.delegationSettingsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deleteAction::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deleteAction::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deleteAction::|public|GetBackingStore():BackingStore @@ -225820,6 +226914,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.detectedSensitiveContentWr github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device-->*DirectoryObject github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetAccountEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetAlternativeNames():[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetAlternativeSecurityIds():[]AlternativeSecurityIdable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetApproximateLastSignInDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetCommands():[]Commandable @@ -225828,6 +226923,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDeviceC github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDeviceId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDeviceMetadata():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDeviceOwnership():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDeviceTemplate():[]DeviceTemplateable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDeviceVersion():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetDomainName():*string @@ -225867,6 +226963,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|GetUsageRi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetAccountEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetAlternativeNames(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetAlternativeSecurityIds(value:[]AlternativeSecurityIdable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetApproximateLastSignInDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetCommands(value:[]Commandable):void @@ -225875,6 +226972,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDeviceC github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDeviceId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDeviceMetadata(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDeviceOwnership(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDeviceTemplate(value:[]DeviceTemplateable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDeviceVersion(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetDomainName(value:*string):void @@ -225912,6 +227010,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetTrustTy github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|public|SetUsageRights(value:[]UsageRightable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.device::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetAccountEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetAlternativeNames():[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetAlternativeSecurityIds():[]AlternativeSecurityIdable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetApproximateLastSignInDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetCommands():[]Commandable @@ -225920,6 +227019,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDev github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDeviceId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDeviceMetadata():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDeviceOwnership():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDeviceTemplate():[]DeviceTemplateable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDeviceVersion():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetDomainName():*string @@ -225956,6 +227056,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetTra github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetTrustType():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|GetUsageRights():[]UsageRightable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetAccountEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetAlternativeNames(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetAlternativeSecurityIds(value:[]AlternativeSecurityIdable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetApproximateLastSignInDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetCommands(value:[]Commandable):void @@ -225964,6 +227065,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDev github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDeviceId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDeviceMetadata(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDeviceOwnership(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDeviceTemplate(value:[]DeviceTemplateable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDeviceVersion(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceable::|public|SetDomainName(value:*string):void @@ -235292,6 +236394,55 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceShellScriptCollectio github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceShellScriptCollectionResponseable::|public|GetValue():[]DeviceShellScriptable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceShellScriptCollectionResponseable::|public|SetValue(value:[]DeviceShellScriptable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceShellScriptCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate-->*DirectoryObject +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetDeviceAuthority():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetDeviceInstances():[]Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetManufacturer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetModel():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetMutualTlsOauthConfigurationId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetMutualTlsOauthConfigurationTenantId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetOperatingSystem():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|GetOwners():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetDeviceAuthority(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetDeviceInstances(value:[]Deviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetManufacturer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetModel(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetMutualTlsOauthConfigurationId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetMutualTlsOauthConfigurationTenantId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetOperatingSystem(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|public|SetOwners(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplate::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetDeviceAuthority():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetDeviceInstances():[]Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetManufacturer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetModel():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetMutualTlsOauthConfigurationId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetMutualTlsOauthConfigurationTenantId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetOperatingSystem():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|GetOwners():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetDeviceAuthority(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetDeviceInstances(value:[]Deviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetManufacturer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetModel(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetMutualTlsOauthConfigurationId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetMutualTlsOauthConfigurationTenantId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetOperatingSystem(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable::|public|SetOwners(value:[]DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponse::|public|GetValue():[]DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponse::|public|SetValue(value:[]DeviceTemplateable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponseable::|public|GetValue():[]DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponseable::|public|SetValue(value:[]DeviceTemplateable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceTemplateCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceThreatProtectionLevel::0000-unavailable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceThreatProtectionLevel::0001-secured github.com/microsoftgraph/msgraph-beta-sdk-go/.models.deviceThreatProtectionLevel::0002-low @@ -235490,6 +236641,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetPubl github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetRecommendations():[]Recommendationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetSharedEmailDomains():[]SharedEmailDomainable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetSubscriptions():[]CompanySubscriptionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|GetTemplates():Templateable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetAdministrativeUnits(value:[]AdministrativeUnitable):void @@ -235511,6 +236663,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetPubl github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetRecommendations(value:[]Recommendationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetSharedEmailDomains(value:[]SharedEmailDomainable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetSubscriptions(value:[]CompanySubscriptionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|public|SetTemplates(value:Templateable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directory::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetAdministrativeUnits():[]AdministrativeUnitable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetAttributeSets():[]AttributeSetable @@ -235531,6 +236684,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|Get github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetRecommendations():[]Recommendationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetSharedEmailDomains():[]SharedEmailDomainable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetSubscriptions():[]CompanySubscriptionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|GetTemplates():Templateable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetAdministrativeUnits(value:[]AdministrativeUnitable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetAttributeSets(value:[]AttributeSetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetAuthenticationMethodDevices(value:AuthenticationMethodDeviceable):void @@ -235550,6 +236704,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|Set github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetRecommendations(value:[]Recommendationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetSharedEmailDomains(value:[]SharedEmailDomainable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetSubscriptions(value:[]CompanySubscriptionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable::|public|SetTemplates(value:Templateable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryAudit-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.directoryAudit::|public|constructor():void @@ -244495,6 +245650,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.featureType::0002-unknownF github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|GetAudiences():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|GetClaimsMatchingExpression():FederatedIdentityExpressionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|GetDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|GetIssuer():*string @@ -244503,17 +245659,20 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentia github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|SetAudiences(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|SetClaimsMatchingExpression(value:FederatedIdentityExpressionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|SetIssuer(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|SetName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|public|SetSubject(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredential::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|GetAudiences():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|GetClaimsMatchingExpression():FederatedIdentityExpressionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|GetIssuer():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|GetName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|GetSubject():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|SetAudiences(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|SetClaimsMatchingExpression(value:FederatedIdentityExpressionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|SetIssuer(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialable::|public|SetName(value:*string):void @@ -244529,6 +245688,30 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentia github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialCollectionResponseable::|public|GetValue():[]FederatedIdentityCredentialable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialCollectionResponseable::|public|SetValue(value:[]FederatedIdentityCredentialable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityCredentialCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|GetLanguageVersion():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|GetValue():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|SetLanguageVersion(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|GetLanguageVersion():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|GetValue():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|SetLanguageVersion(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpressionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdentityExpression~~>FederatedIdentityExpressionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdpMfaBehavior::0000-acceptIfMfaDoneByFederatedIdp github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdpMfaBehavior::0001-enforceMfaByFederatedIdp github.com/microsoftgraph/msgraph-beta-sdk-go/.models.federatedIdpMfaBehavior::0002-rejectMfaByFederatedIdp @@ -249344,6 +250527,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|GetIdentityProviders():[]IdentityProviderBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|GetProductChanges():[]ChangeItemBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|GetUserFlowAttributes():[]IdentityUserFlowAttributeable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|GetUserFlows():[]IdentityUserFlowable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|Serialize(writer:SerializationWriter):void @@ -249359,6 +250543,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|SetCustomAuthenticationExtensions(value:[]CustomAuthenticationExtensionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|SetIdentityProviders(value:[]IdentityProviderBaseable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|SetProductChanges(value:[]ChangeItemBaseable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|SetUserFlowAttributes(value:[]IdentityUserFlowAttributeable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|public|SetUserFlows(value:[]IdentityUserFlowable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable @@ -249373,6 +250558,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|GetCustomAuthenticationExtensions():[]CustomAuthenticationExtensionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|GetIdentityProviders():[]IdentityProviderBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|GetProductChanges():[]ChangeItemBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|GetUserFlowAttributes():[]IdentityUserFlowAttributeable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|GetUserFlows():[]IdentityUserFlowable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|SetApiConnectors(value:[]IdentityApiConnectorable):void @@ -249386,6 +250572,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|SetCustomAuthenticationExtensions(value:[]CustomAuthenticationExtensionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|SetIdentityProviders(value:[]IdentityProviderBaseable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|SetProductChanges(value:[]ChangeItemBaseable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|SetUserFlowAttributes(value:[]IdentityUserFlowAttributeable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable::|public|SetUserFlows(value:[]IdentityUserFlowable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.identityContainerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -259475,6 +260662,26 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.listItemVersionCollectionR github.com/microsoftgraph/msgraph-beta-sdk-go/.models.listItemVersionCollectionResponseable::|public|GetValue():[]ListItemVersionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.listItemVersionCollectionResponseable::|public|SetValue(value:[]ListItemVersionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.listItemVersionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|GetStreamUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|public|SetStreamUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptionsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptionsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptionsable::|public|GetStreamUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptionsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptionsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptionsable::|public|SetStreamUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptionsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.liveCaptionOptions~~>LiveCaptionOptionsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.lobbyBypassScope::0000-organizer github.com/microsoftgraph/msgraph-beta-sdk-go/.models.lobbyBypassScope::0001-organization github.com/microsoftgraph/msgraph-beta-sdk-go/.models.lobbyBypassScope::0002-organizationAndFederated @@ -262635,6 +263842,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetIsH github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetMessageRules():[]MessageRuleable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetMessages():[]Messageable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetMultiValueExtendedProperties():[]MultiValueLegacyExtendedPropertyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetOperations():[]MailFolderOperationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetParentFolderId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetSingleValueExtendedProperties():[]SingleValueLegacyExtendedPropertyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|GetTotalItemCount():*int32 @@ -262650,6 +263858,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetIsH github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetMessageRules(value:[]MessageRuleable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetMessages(value:[]Messageable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetMultiValueExtendedProperties(value:[]MultiValueLegacyExtendedPropertyable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetOperations(value:[]MailFolderOperationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetParentFolderId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetSingleValueExtendedProperties(value:[]SingleValueLegacyExtendedPropertyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolder::|public|SetTotalItemCount(value:*int32):void @@ -262664,6 +263873,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|Ge github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|GetMessageRules():[]MessageRuleable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|GetMessages():[]Messageable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|GetMultiValueExtendedProperties():[]MultiValueLegacyExtendedPropertyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|GetOperations():[]MailFolderOperationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|GetParentFolderId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|GetSingleValueExtendedProperties():[]SingleValueLegacyExtendedPropertyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|GetTotalItemCount():*int32 @@ -262677,6 +263887,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|Se github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|SetMessageRules(value:[]MessageRuleable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|SetMessages(value:[]Messageable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|SetMultiValueExtendedProperties(value:[]MultiValueLegacyExtendedPropertyable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|SetOperations(value:[]MailFolderOperationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|SetParentFolderId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|SetSingleValueExtendedProperties(value:[]SingleValueLegacyExtendedPropertyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderable::|public|SetTotalItemCount(value:*int32):void @@ -262694,6 +263905,36 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderCollectionRespon github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderCollectionResponseable::|public|GetValue():[]MailFolderable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderCollectionResponseable::|public|SetValue(value:[]MailFolderable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|GetResourceLocation():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|GetStatus():*MailFolderOperationStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|SetResourceLocation(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|public|SetStatus(value:*MailFolderOperationStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationable::|public|GetResourceLocation():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationable::|public|GetStatus():*MailFolderOperationStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationable::|public|SetResourceLocation(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationable::|public|SetStatus(value:*MailFolderOperationStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponse::|public|GetValue():[]MailFolderOperationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponse::|public|SetValue(value:[]MailFolderOperationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponseable::|public|GetValue():[]MailFolderOperationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponseable::|public|SetValue(value:[]MailFolderOperationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationStatus::0000-notStarted +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationStatus::0001-running +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationStatus::0002-succeeded +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationStatus::0003-failed +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailFolderOperationStatus::0004-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailSearchFolder-->*MailFolder github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailSearchFolder::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mailSearchFolder::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -269033,6 +270274,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingActivityStatisticsa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|GetAttendanceRecords():[]AttendanceRecordable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|GetExternalEventInformation():[]VirtualEventExternalInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|GetMeetingEndDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|GetMeetingStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -269040,15 +270282,18 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|SetAttendanceRecords(value:[]AttendanceRecordable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|SetExternalEventInformation(value:[]VirtualEventExternalInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|SetMeetingEndDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|SetMeetingStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|public|SetTotalParticipantCount(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReport::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|GetAttendanceRecords():[]AttendanceRecordable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|GetExternalEventInformation():[]VirtualEventExternalInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|GetMeetingEndDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|GetMeetingStartDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|GetTotalParticipantCount():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|SetAttendanceRecords(value:[]AttendanceRecordable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|SetExternalEventInformation(value:[]VirtualEventExternalInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|SetMeetingEndDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|SetMeetingStartDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.meetingAttendanceReportable::|public|SetTotalParticipantCount(value:*int32):void @@ -272774,6 +274019,31 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.muteParticipantsOperation: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.muteParticipantsOperationable::|public|GetParticipants():[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.muteParticipantsOperationable::|public|SetParticipants(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.muteParticipantsOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration-->*TrustedCertificateAuthorityBase +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|GetTlsClientAuthParameter():*TlsClientRegistrationMetadata +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|public|SetTlsClientAuthParameter(value:*TlsClientRegistrationMetadata):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationable::|public|GetTlsClientAuthParameter():*TlsClientRegistrationMetadata +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationable::|public|SetTlsClientAuthParameter(value:*TlsClientRegistrationMetadata):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; TrustedCertificateAuthorityBaseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponse::|public|GetValue():[]MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponse::|public|SetValue(value:[]MutualTlsOauthConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponseable::|public|GetValue():[]MutualTlsOauthConfigurationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponseable::|public|SetValue(value:[]MutualTlsOauthConfigurationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mutualTlsOauthConfigurationCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.namedLocation-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.namedLocation::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.namedLocation::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -273056,6 +274326,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0006-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0007-webContentBlocked github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0008-malware +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0009-patientZero +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.alertType::0010-dlp github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.algorithm::0000-md5 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.algorithm::0001-sha1 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.algorithm::0002-sha256 @@ -274908,21 +276180,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedMalwa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedMalwareable::|public|SetName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedMalwareable::|public|SetSeverity(value:*ThreatSeverity):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedMalwareable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; RelatedResourceable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess-->*RelatedResource -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|constructor():void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|GetIsSuspicious():*bool -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|GetProcessName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|OdataType:*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|SetIsSuspicious(value:*bool):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|public|SetProcessName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcess::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcessable::|public|GetIsSuspicious():*bool -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcessable::|public|GetProcessName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcessable::|public|SetIsSuspicious(value:*bool):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcessable::|public|SetProcessName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedProcessable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; RelatedResourceable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedRemoteNetwork-->*RelatedResource github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedRemoteNetwork::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.networkaccess.relatedRemoteNetwork::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -277043,6 +278300,167 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.officeUpdateChannel::0002- github.com/microsoftgraph/msgraph-beta-sdk-go/.models.officeUpdateChannel::0003-firstReleaseCurrent github.com/microsoftgraph/msgraph-beta-sdk-go/.models.officeUpdateChannel::0004-firstReleaseDeferred github.com/microsoftgraph/msgraph-beta-sdk-go/.models.officeUpdateChannel::0005-monthlyEnterprise +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetCountry():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetLocality():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetPostalCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetRegion():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|GetStreetAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetCountry(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetLocality(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetPostalCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetRegion(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|public|SetStreetAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetCountry():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetLocality():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetPostalCode():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetRegion():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|GetStreetAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetCountry(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetLocality(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetPostalCode(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetRegion(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable::|public|SetStreetAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaimsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcAddressInboundClaims~~>OidcAddressInboundClaimsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthenticationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthenticationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthenticationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthenticationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthenticationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientAuthentication~~>OidcClientAuthenticationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication-->*OidcClientAuthentication +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication::|public|GetClientSecret():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication::|public|SetClientSecret(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthenticationable::|public|GetClientSecret():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthenticationable::|public|SetClientSecret(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcClientSecretAuthenticationable~~>OidcClientAuthenticationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider-->*IdentityProviderBase +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|GetClientAuthentication():OidcClientAuthenticationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|GetClientId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|GetInboundClaimMapping():OidcInboundClaimMappingOverrideable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|GetIssuer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|GetResponseType():*OidcResponseType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|GetScope():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|GetWellKnownEndpoint():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|SetClientAuthentication(value:OidcClientAuthenticationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|SetClientId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|SetInboundClaimMapping(value:OidcInboundClaimMappingOverrideable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|SetIssuer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|SetResponseType(value:*OidcResponseType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|SetScope(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|public|SetWellKnownEndpoint(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProvider::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|GetClientAuthentication():OidcClientAuthenticationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|GetClientId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|GetInboundClaimMapping():OidcInboundClaimMappingOverrideable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|GetIssuer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|GetResponseType():*OidcResponseType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|GetScope():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|GetWellKnownEndpoint():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|SetClientAuthentication(value:OidcClientAuthenticationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|SetClientId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|SetInboundClaimMapping(value:OidcInboundClaimMappingOverrideable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|SetIssuer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|SetResponseType(value:*OidcResponseType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|SetScope(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable::|public|SetWellKnownEndpoint(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcIdentityProviderable~~>IdentityProviderBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetAddress():OidcAddressInboundClaimsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetEmailVerified():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetFamilyName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetGivenName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetPhoneNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetPhoneNumberVerified():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|GetSub():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetAddress(value:OidcAddressInboundClaimsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetEmailVerified(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetFamilyName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetGivenName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetPhoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetPhoneNumberVerified(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|public|SetSub(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetAddress():OidcAddressInboundClaimsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetEmailVerified():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetFamilyName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetGivenName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetPhoneNumber():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetPhoneNumberVerified():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|GetSub():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetAddress(value:OidcAddressInboundClaimsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetEmailVerified(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetFamilyName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetGivenName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetPhoneNumber(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetPhoneNumberVerified(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable::|public|SetSub(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverrideable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcInboundClaimMappingOverride~~>OidcInboundClaimMappingOverrideable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication-->*OidcClientAuthentication +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcPrivateJwtKeyClientAuthentication::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcPrivateJwtKeyClientAuthenticationable~~>OidcClientAuthenticationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcResponseType::0000-code +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcResponseType::0001-id_token +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcResponseType::0002-token +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.oidcResponseType::0003-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.omaSetting::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.omaSetting::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.omaSetting::|public|GetBackingStore():BackingStore @@ -278602,6 +280020,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|GetVerifiedCustomDomainCertificatesMetadata():VerifiedCustomDomainCertificatesMetadataable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|GetVerifiedCustomDomainKeyCredential():KeyCredentialable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|GetVerifiedCustomDomainPasswordCredential():PasswordCredentialable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|GetWafAllowedHeaders():WafAllowedHeadersDictionaryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|GetWafIpRanges():[]IpRangeable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|GetWafProvider():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetAdditionalData(value:map[string]any):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetAlternateUrl(value:*string):void @@ -278629,6 +280050,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetVerifiedCustomDomainCertificatesMetadata(value:VerifiedCustomDomainCertificatesMetadataable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetVerifiedCustomDomainKeyCredential(value:KeyCredentialable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetVerifiedCustomDomainPasswordCredential(value:PasswordCredentialable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetWafAllowedHeaders(value:WafAllowedHeadersDictionaryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetWafIpRanges(value:[]IpRangeable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|public|SetWafProvider(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishing::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetAlternateUrl():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetApplicationServerTimeout():*string @@ -278655,6 +280079,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetVerifiedCustomDomainCertificatesMetadata():VerifiedCustomDomainCertificatesMetadataable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetVerifiedCustomDomainKeyCredential():KeyCredentialable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetVerifiedCustomDomainPasswordCredential():PasswordCredentialable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetWafAllowedHeaders():WafAllowedHeadersDictionaryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetWafIpRanges():[]IpRangeable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|GetWafProvider():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetAlternateUrl(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetApplicationServerTimeout(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetApplicationType(value:*string):void @@ -278680,6 +280107,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetVerifiedCustomDomainCertificatesMetadata(value:VerifiedCustomDomainCertificatesMetadataable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetVerifiedCustomDomainKeyCredential(value:KeyCredentialable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetVerifiedCustomDomainPasswordCredential(value:PasswordCredentialable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetWafAllowedHeaders(value:WafAllowedHeadersDictionaryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetWafIpRanges(value:[]IpRangeable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable::|public|SetWafProvider(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingProfile-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.onPremisesPublishingProfile::|public|constructor():void @@ -295420,6 +296850,37 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyUserHistoryItemCollec github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyUserHistoryItemCollectionResponseable::|public|GetValue():[]RiskyUserHistoryItemable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyUserHistoryItemCollectionResponseable::|public|SetValue(value:[]RiskyUserHistoryItemable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskyUserHistoryItemCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap-->*ChangeItemBase +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|GetCategory():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|GetChangeItemState():*ChangeItemState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|GetDeliveryStage():*RoadmapItemDeliveryStage +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|GetGotoLink():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|GetPublishedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|SetCategory(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|SetChangeItemState(value:*ChangeItemState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|SetDeliveryStage(value:*RoadmapItemDeliveryStage):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|SetGotoLink(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|public|SetPublishedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|GetCategory():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|GetChangeItemState():*ChangeItemState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|GetDeliveryStage():*RoadmapItemDeliveryStage +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|GetGotoLink():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|GetPublishedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|SetCategory(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|SetChangeItemState(value:*ChangeItemState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|SetDeliveryStage(value:*RoadmapItemDeliveryStage):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|SetGotoLink(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable::|public|SetPublishedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapable~~>ChangeItemBaseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapItemDeliveryStage::0000-privatePreview +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapItemDeliveryStage::0001-publicPreview +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapItemDeliveryStage::0002-ga +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roadmapItemDeliveryStage::0003-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roleAssignment-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roleAssignment::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.roleAssignment::|public|GetDescription():*string @@ -299712,6 +301173,113 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.antispamDirection github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.antispamDirectionality::0002-outbound github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.antispamDirectionality::0003-intraOrg github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.antispamDirectionality::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0000-security +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0001-collaboration +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0002-hostingServices +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0003-onlineMeetings +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0004-newsAndEntertainment +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0005-eCommerce +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0006-education +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0007-cloudStorage +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0008-marketing +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0009-operationsManagement +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0010-health +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0011-advertising +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0012-productivity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0013-accountingAndFinance +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0014-contentManagement +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0015-contentSharing +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0016-businessManagement +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0017-communications +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0018-dataAnalytics +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0019-businessIntelligence +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0020-webemail +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0021-codeHosting +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0022-webAnalytics +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0023-socialNetwork +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0024-crm +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0025-forums +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0026-humanResourceManagement +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0027-transportationAndTravel +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0028-productDesign +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0029-sales +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0030-cloudComputingPlatform +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0031-projectManagement +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0032-personalInstantMessaging +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0033-developmentTools +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0034-itServices +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0035-supplyChainAndLogistics +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0036-propertyManagement +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0037-customerSupport +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0038-internetOfThings +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0039-vendorManagementSystems +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0040-websiteMonitoring +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0041-generativeAi +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0042-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appCategory::0043-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoCsaStarLevel::0000-selfAssessment +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoCsaStarLevel::0001-certification +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoCsaStarLevel::0002-attestation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoCsaStarLevel::0003-cStarAssessment +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoCsaStarLevel::0004-continuousMonitoring +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoCsaStarLevel::0005-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoCsaStarLevel::0006-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0000-aes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0001-bitLocker +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0002-blowfish +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0003-des3 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0004-des +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0005-rc4 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0006-rsA +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0007-notSupported +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0008-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataAtRestEncryptionMethod::0009-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0000-dataRetained +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0001-deletedImmediately +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0002-deletedWithinTwoWeeks +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0003-deletedWithinOneMonth +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0004-deletedWithinThreeMonths +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0005-deletedWithinMoreThanThreeMonths +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0006-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoDataRetentionPolicy::0007-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0000-tls1_0 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0001-tls1_1 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0002-tls1_2 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0003-tls1_3 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0004-notApplicable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0005-notSupported +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0006-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0007-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoEncryptionProtocol::0008-ssl3 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoFedRampLevel::0000-high +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoFedRampLevel::0001-moderate +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoFedRampLevel::0002-low +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoFedRampLevel::0003-liSaaS +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoFedRampLevel::0004-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoFedRampLevel::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoFedRampLevel::0006-notSupported +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoHolding::0000-private +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoHolding::0001-public +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoHolding::0002-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoHolding::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0000-v1 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0001-v2 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0002-v3 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0003-v3_1 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0004-v3_2 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0005-v3_2_1 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0006-notSupported +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0007-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0008-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoPciDssVersion::0009-v4 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0000-documents +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0001-mediaFiles +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0002-codingFiles +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0003-creditCards +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0004-databaseFiles +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0005-none +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0006-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.appInfoUploadedDataTypes::0007-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.applyLabelAction-->*InformationProtectionAction github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.applyLabelAction::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.applyLabelAction::|public|GetActions():[]InformationProtectionActionable @@ -300770,6 +302338,79 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.classificationRes github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.classificationResultable::|public|SetSensitiveTypeId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.classificationResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.classificationResult~~>ClassificationResultable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetAnonymizeMachineData():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetAnonymizeUserData():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetIsSnapshotReport():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetLastDataReceivedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetLogDataProvider():*LogDataProvider +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetLogFileCount():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetReceiverProtocol():*ReceiverProtocol +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetSupportedEntityTypes():[]EntityType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|GetSupportedTrafficTypes():[]TrafficType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetAnonymizeMachineData(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetAnonymizeUserData(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetIsSnapshotReport(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetLastDataReceivedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetLogDataProvider(value:*LogDataProvider):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetLogFileCount(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetReceiverProtocol(value:*ReceiverProtocol):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetSupportedEntityTypes(value:[]EntityType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|public|SetSupportedTrafficTypes(value:[]TrafficType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReport::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetAnonymizeMachineData():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetAnonymizeUserData():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetIsSnapshotReport():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetLastDataReceivedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetLogDataProvider():*LogDataProvider +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetLogFileCount():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetReceiverProtocol():*ReceiverProtocol +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetSupportedEntityTypes():[]EntityType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|GetSupportedTrafficTypes():[]TrafficType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetAnonymizeMachineData(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetAnonymizeUserData(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetIsSnapshotReport(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetLastDataReceivedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetLogDataProvider(value:*LogDataProvider):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetLogFileCount(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetReceiverProtocol(value:*ReceiverProtocol):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetSupportedEntityTypes(value:[]EntityType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable::|public|SetSupportedTrafficTypes(value:[]TrafficType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponse::|public|GetValue():[]CloudAppDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponse::|public|SetValue(value:[]CloudAppDiscoveryReportable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponseable::|public|GetValue():[]CloudAppDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponseable::|public|SetValue(value:[]CloudAppDiscoveryReportable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppDiscoveryReportCollectionResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppInfoState::0000-true +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppInfoState::0001-false +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppInfoState::0002-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudAppInfoState::0003-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudApplicationEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudApplicationEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.cloudApplicationEvidence::|public|GetAppId():*int64 @@ -301276,6 +302917,28 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataCenterSecurit github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataCenterSecurityCmdletAuditRecord::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataCenterSecurityCmdletAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataCenterSecurityCmdletAuditRecordable~~>AuditDataable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport::|public|GetUploadedStreams():[]CloudAppDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport::|public|SetUploadedStreams(value:[]CloudAppDiscoveryReportable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReport::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReportable::|public|GetUploadedStreams():[]CloudAppDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReportable::|public|SetUploadedStreams(value:[]CloudAppDiscoveryReportable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryReportable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot::|public|GetCloudAppDiscovery():DataDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot::|public|SetCloudAppDiscovery(value:DataDiscoveryReportable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRootable::|public|GetCloudAppDiscovery():DataDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRootable::|public|SetCloudAppDiscovery(value:DataDiscoveryReportable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataDiscoveryRootable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataGovernanceAuditRecord-->*AuditData github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataGovernanceAuditRecord::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.dataGovernanceAuditRecord::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -301844,6 +303507,476 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.disableUserRespon github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.disableUserResponseActionable::|public|GetIdentifier():*DisableUserEntityIdentifier github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.disableUserResponseActionable::|public|SetIdentifier(value:*DisableUserEntityIdentifier):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.disableUserResponseActionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ResponseActionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetAppInfo():DiscoveredCloudAppInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetCategory():*AppCategory +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetDownloadNetworkTrafficInBytes():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetFirstSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetIpAddressCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetIpAddresses():[]DiscoveredCloudAppIPAddressable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetLastSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetRiskScore():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetTags():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetTransactionCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetUploadNetworkTrafficInBytes():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetUserCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|GetUsers():[]DiscoveredCloudAppUserable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetAppInfo(value:DiscoveredCloudAppInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetCategory(value:*AppCategory):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetDownloadNetworkTrafficInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetFirstSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetIpAddressCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetIpAddresses(value:[]DiscoveredCloudAppIPAddressable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetLastSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetRiskScore(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetTags(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetTransactionCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetUploadNetworkTrafficInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetUserCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|public|SetUsers(value:[]DiscoveredCloudAppUserable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetAppInfo():DiscoveredCloudAppInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetCategory():*AppCategory +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetDomains():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetDownloadNetworkTrafficInBytes():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetFirstSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetIpAddressCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetIpAddresses():[]DiscoveredCloudAppIPAddressable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetLastSeenDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetRiskScore():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetTags():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetTransactionCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetUploadNetworkTrafficInBytes():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetUserCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|GetUsers():[]DiscoveredCloudAppUserable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetAppInfo(value:DiscoveredCloudAppInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetCategory(value:*AppCategory):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetDomains(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetDownloadNetworkTrafficInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetFirstSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetIpAddressCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetIpAddresses(value:[]DiscoveredCloudAppIPAddressable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetLastSeenDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetRiskScore(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetTags(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetTransactionCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetUploadNetworkTrafficInBytes(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetUserCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable::|public|SetUsers(value:[]DiscoveredCloudAppUserable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDetailable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|GetName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDeviceable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDeviceable::|public|GetName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDeviceable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDeviceable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDeviceable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDeviceable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDeviceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppDevice~~>DiscoveredCloudAppDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetCsaStarLevel():*AppInfoCsaStarLevel +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetDataAtRestEncryptionMethod():*AppInfoDataAtRestEncryptionMethod +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetDataCenter():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetDataRetentionPolicy():*AppInfoDataRetentionPolicy +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetDataTypes():*AppInfoUploadedDataTypes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetDomainRegistrationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetEncryptionProtocol():*AppInfoEncryptionProtocol +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetFedRampLevel():*AppInfoFedRampLevel +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetFounded():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetGdprReadinessStatement():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetHeadquarters():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetHolding():*AppInfoHolding +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetHostingCompany():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsAdminAuditTrail():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsCobitCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsCoppaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsDataAuditTrail():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsDataClassification():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsDataOwnership():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsDisasterRecoveryPlan():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsDmca():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsFerpaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsFfiecCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsFileSharing():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsFinraCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsFismaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGaapCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprDataProtectionImpactAssessment():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprDataProtectionOfficer():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprDataProtectionSecureCrossBorderDataTransfer():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprImpactAssessment():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprLawfulBasisForProcessing():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprReportDataBreaches():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightsRelatedToAutomatedDecisionMaking():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightToAccess():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightToBeInformed():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightToDataPortablility():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightToErasure():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightToObject():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightToRectification():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprRightToRestrictionOfProcessing():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGdprSecureCrossBorderDataControl():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsGlbaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsHipaaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsHitrustCsfCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsHttpSecurityHeadersContentSecurityPolicy():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsHttpSecurityHeadersStrictTransportSecurity():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsHttpSecurityHeadersXContentTypeOptions():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsHttpSecurityHeadersXFrameOptions():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsHttpSecurityHeadersXXssProtection():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsIpAddressRestriction():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsIsae3402Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsIso27001Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsIso27017Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsIso27018Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsItarCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsMultiFactorAuthentication():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPasswordPolicy():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPasswordPolicyChangePasswordPeriod():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPasswordPolicyCharacterCombination():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPasswordPolicyPasswordHistoryAndReuse():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPasswordPolicyPasswordLengthLimit():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPasswordPolicyPersonalInformationUse():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPenetrationTesting():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsPrivacyShieldCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsRememberPassword():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsRequiresUserAuthentication():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsSoc1Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsSoc2Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsSoc3Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsSoxCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsSp80053Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsSsae16Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsSupportsSaml():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsTrustedCertificate():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsUserAuditTrail():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsUserCanUploadData():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsUserRolesSupport():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetIsValidCertificateName():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetLatestBreachDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetLogonUrls():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetPciDssVersion():*AppInfoPciDssVersion +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|GetVendorEscaped():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetCsaStarLevel(value:*AppInfoCsaStarLevel):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetDataAtRestEncryptionMethod(value:*AppInfoDataAtRestEncryptionMethod):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetDataCenter(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetDataRetentionPolicy(value:*AppInfoDataRetentionPolicy):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetDataTypes(value:*AppInfoUploadedDataTypes):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetDomainRegistrationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetEncryptionProtocol(value:*AppInfoEncryptionProtocol):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetFedRampLevel(value:*AppInfoFedRampLevel):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetFounded(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetGdprReadinessStatement(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetHeadquarters(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetHolding(value:*AppInfoHolding):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetHostingCompany(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsAdminAuditTrail(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsCobitCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsCoppaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsDataAuditTrail(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsDataClassification(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsDataOwnership(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsDisasterRecoveryPlan(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsDmca(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsFerpaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsFfiecCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsFileSharing(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsFinraCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsFismaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGaapCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprDataProtectionImpactAssessment(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprDataProtectionOfficer(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprDataProtectionSecureCrossBorderDataTransfer(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprImpactAssessment(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprLawfulBasisForProcessing(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprReportDataBreaches(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightsRelatedToAutomatedDecisionMaking(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightToAccess(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightToBeInformed(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightToDataPortablility(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightToErasure(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightToObject(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightToRectification(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprRightToRestrictionOfProcessing(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGdprSecureCrossBorderDataControl(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsGlbaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsHipaaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsHitrustCsfCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsHttpSecurityHeadersContentSecurityPolicy(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsHttpSecurityHeadersStrictTransportSecurity(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsHttpSecurityHeadersXContentTypeOptions(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsHttpSecurityHeadersXFrameOptions(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsHttpSecurityHeadersXXssProtection(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsIpAddressRestriction(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsIsae3402Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsIso27001Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsIso27017Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsIso27018Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsItarCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsMultiFactorAuthentication(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPasswordPolicy(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPasswordPolicyChangePasswordPeriod(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPasswordPolicyCharacterCombination(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPasswordPolicyPasswordHistoryAndReuse(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPasswordPolicyPasswordLengthLimit(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPasswordPolicyPersonalInformationUse(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPenetrationTesting(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsPrivacyShieldCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsRememberPassword(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsRequiresUserAuthentication(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsSoc1Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsSoc2Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsSoc3Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsSoxCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsSp80053Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsSsae16Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsSupportsSaml(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsTrustedCertificate(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsUserAuditTrail(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsUserCanUploadData(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsUserRolesSupport(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetIsValidCertificateName(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetLatestBreachDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetLogonUrls(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetPciDssVersion(value:*AppInfoPciDssVersion):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|public|SetVendorEscaped(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetCsaStarLevel():*AppInfoCsaStarLevel +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetDataAtRestEncryptionMethod():*AppInfoDataAtRestEncryptionMethod +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetDataCenter():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetDataRetentionPolicy():*AppInfoDataRetentionPolicy +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetDataTypes():*AppInfoUploadedDataTypes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetDomainRegistrationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetEncryptionProtocol():*AppInfoEncryptionProtocol +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetFedRampLevel():*AppInfoFedRampLevel +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetFounded():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetGdprReadinessStatement():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetHeadquarters():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetHolding():*AppInfoHolding +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetHostingCompany():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsAdminAuditTrail():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsCobitCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsCoppaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsDataAuditTrail():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsDataClassification():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsDataOwnership():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsDisasterRecoveryPlan():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsDmca():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsFerpaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsFfiecCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsFileSharing():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsFinraCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsFismaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGaapCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprDataProtectionImpactAssessment():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprDataProtectionOfficer():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprDataProtectionSecureCrossBorderDataTransfer():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprImpactAssessment():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprLawfulBasisForProcessing():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprReportDataBreaches():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightsRelatedToAutomatedDecisionMaking():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightToAccess():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightToBeInformed():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightToDataPortablility():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightToErasure():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightToObject():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightToRectification():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprRightToRestrictionOfProcessing():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGdprSecureCrossBorderDataControl():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsGlbaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsHipaaCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsHitrustCsfCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsHttpSecurityHeadersContentSecurityPolicy():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsHttpSecurityHeadersStrictTransportSecurity():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsHttpSecurityHeadersXContentTypeOptions():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsHttpSecurityHeadersXFrameOptions():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsHttpSecurityHeadersXXssProtection():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsIpAddressRestriction():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsIsae3402Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsIso27001Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsIso27017Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsIso27018Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsItarCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsMultiFactorAuthentication():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPasswordPolicy():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPasswordPolicyChangePasswordPeriod():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPasswordPolicyCharacterCombination():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPasswordPolicyPasswordHistoryAndReuse():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPasswordPolicyPasswordLengthLimit():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPasswordPolicyPersonalInformationUse():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPenetrationTesting():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsPrivacyShieldCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsRememberPassword():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsRequiresUserAuthentication():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsSoc1Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsSoc2Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsSoc3Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsSoxCompliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsSp80053Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsSsae16Compliant():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsSupportsSaml():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsTrustedCertificate():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsUserAuditTrail():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsUserCanUploadData():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsUserRolesSupport():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetIsValidCertificateName():*CloudAppInfoState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetLatestBreachDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetLogonUrls():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetPciDssVersion():*AppInfoPciDssVersion +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|GetVendorEscaped():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetCsaStarLevel(value:*AppInfoCsaStarLevel):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetDataAtRestEncryptionMethod(value:*AppInfoDataAtRestEncryptionMethod):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetDataCenter(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetDataRetentionPolicy(value:*AppInfoDataRetentionPolicy):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetDataTypes(value:*AppInfoUploadedDataTypes):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetDomainRegistrationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetEncryptionProtocol(value:*AppInfoEncryptionProtocol):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetFedRampLevel(value:*AppInfoFedRampLevel):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetFounded(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetGdprReadinessStatement(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetHeadquarters(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetHolding(value:*AppInfoHolding):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetHostingCompany(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsAdminAuditTrail(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsCobitCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsCoppaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsDataAuditTrail(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsDataClassification(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsDataOwnership(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsDisasterRecoveryPlan(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsDmca(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsFerpaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsFfiecCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsFileSharing(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsFinraCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsFismaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGaapCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprDataProtectionImpactAssessment(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprDataProtectionOfficer(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprDataProtectionSecureCrossBorderDataTransfer(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprImpactAssessment(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprLawfulBasisForProcessing(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprReportDataBreaches(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightsRelatedToAutomatedDecisionMaking(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightToAccess(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightToBeInformed(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightToDataPortablility(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightToErasure(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightToObject(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightToRectification(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprRightToRestrictionOfProcessing(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGdprSecureCrossBorderDataControl(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsGlbaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsHipaaCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsHitrustCsfCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsHttpSecurityHeadersContentSecurityPolicy(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsHttpSecurityHeadersStrictTransportSecurity(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsHttpSecurityHeadersXContentTypeOptions(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsHttpSecurityHeadersXFrameOptions(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsHttpSecurityHeadersXXssProtection(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsIpAddressRestriction(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsIsae3402Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsIso27001Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsIso27017Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsIso27018Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsItarCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsMultiFactorAuthentication(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPasswordPolicy(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPasswordPolicyChangePasswordPeriod(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPasswordPolicyCharacterCombination(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPasswordPolicyPasswordHistoryAndReuse(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPasswordPolicyPasswordLengthLimit(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPasswordPolicyPersonalInformationUse(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPenetrationTesting(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsPrivacyShieldCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsRememberPassword(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsRequiresUserAuthentication(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsSoc1Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsSoc2Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsSoc3Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsSoxCompliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsSp80053Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsSsae16Compliant(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsSupportsSaml(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsTrustedCertificate(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsUserAuditTrail(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsUserCanUploadData(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsUserRolesSupport(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetIsValidCertificateName(value:*CloudAppInfoState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetLatestBreachDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetLogonUrls(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetPciDssVersion(value:*AppInfoPciDssVersion):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable::|public|SetVendorEscaped(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppInfoable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|GetIpAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|SetIpAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddressable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddressable::|public|GetIpAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddressable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddressable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddressable::|public|SetIpAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddressable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddressable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppIPAddress~~>DiscoveredCloudAppIPAddressable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|GetUserIdentifier():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|public|SetUserIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUserable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUserable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUserable::|public|GetUserIdentifier():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUserable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUserable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUserable::|public|SetUserIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUserable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveredCloudAppUser~~>DiscoveredCloudAppUserable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveryAuditRecord-->*AuditData github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveryAuditRecord::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.discoveryAuditRecord::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -302632,6 +304765,27 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.enableConsentReco github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.enableConsentRecord::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.enableConsentRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.enableConsentRecordable~~>AuditDataable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail-->*DiscoveredCloudAppDetail +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|GetDeviceCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|GetDevices():[]DiscoveredCloudAppDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|SetDeviceCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|public|SetDevices(value:[]DiscoveredCloudAppDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetailable::|public|GetDeviceCount():*int64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetailable::|public|GetDevices():[]DiscoveredCloudAppDeviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetailable::|public|SetDeviceCount(value:*int64):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetailable::|public|SetDevices(value:[]DiscoveredCloudAppDeviceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.endpointDiscoveredCloudAppDetailable~~>DiscoveredCloudAppDetailable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.entityType::0000-userName +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.entityType::0001-ipAddress +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.entityType::0002-machineName +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.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) @@ -305138,6 +307292,63 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.largeContentMetad github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.largeContentMetadataAuditRecord::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.largeContentMetadataAuditRecord::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.largeContentMetadataAuditRecordable~~>AuditDataable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0000-barracuda +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0001-bluecoat +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0002-checkpoint +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0003-ciscoAsa +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0004-ciscoIronportProxy +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0005-fortigate +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0006-paloAlto +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0007-squid +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0008-zscaler +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0009-mcafeeSwg +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0010-ciscoScanSafe +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0011-juniperSrx +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0012-sophosSg +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0013-websenseV75 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0014-websenseSiemCef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0015-machineZoneMeraki +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0016-squidNative +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0017-ciscoFwsm +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0018-microsoftIsaW3C +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0019-sonicwall +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0020-sophosCyberoam +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0021-clavister +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0022-customParser +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0023-juniperSsg +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0024-zscalerQradar +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0025-juniperSrxSd +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0026-juniperSrxWelf +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0027-microsoftConditionalAppAccess +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0028-ciscoAsaFirepower +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0029-genericCef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0030-genericLeef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0031-genericW3C +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0032-iFilter +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0033-checkpointXml +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0034-checkpointSmartViewTracker +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0035-barracudaNextGenFw +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0036-barracudaNextGenFwWeblog +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0037-microsoftDefenderForEndpoint +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0038-zscalerCef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0039-sophosXg +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0040-iboss +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0041-forcepoint +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0042-fortios +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0043-ciscoIronportWsaIi +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0044-paloAltoLeef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0045-forcepointLeef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0046-stormshield +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0047-contentkeeper +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0048-ciscoIronportWsaIii +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0049-checkpointCef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0050-corrata +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0051-ciscoFirepowerV6 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0052-menloSecurityCef +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0053-watchguardXtm +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0054-openSystemsSecureWebGateway +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0055-wandera +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.logDataProvider::0056-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.loggedOnUser::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.loggedOnUser::|public|GetAccountName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.loggedOnUser::|public|GetAdditionalData():map[string]any @@ -306468,6 +308679,12 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.queryCondition~~> github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.queryType::0000-files github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.queryType::0001-messages github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.queryType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.receiverProtocol::0000-ftp +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.receiverProtocol::0001-ftps +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.receiverProtocol::0002-syslogUdp +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.receiverProtocol::0003-syslogTcp +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.receiverProtocol::0004-syslogTls +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.receiverProtocol::0005-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.recommendedHuntingQuery::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.recommendedHuntingQuery::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.recommendedHuntingQuery::|public|GetBackingStore():BackingStore @@ -308397,6 +310614,10 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.topicModelingSett github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.topicModelingSettingsable::|public|SetTopicCount(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.topicModelingSettingsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.topicModelingSettings~~>TopicModelingSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.trafficType::0000-downloadedBytes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.trafficType::0001-uploadedBytes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.trafficType::0002-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.trafficType::0003-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.triggersRoot-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.triggersRoot::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.triggersRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -310433,12 +312654,16 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHealthStatus::0017- github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig-->*MediaConfig github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|GetLiveCaptionOptions():LiveCaptionOptionsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|GetPreFetchMedia():[]MediaInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|SetLiveCaptionOptions(value:LiveCaptionOptionsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|public|SetPreFetchMedia(value:[]MediaInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfig::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfigable::|public|GetLiveCaptionOptions():LiveCaptionOptionsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfigable::|public|GetPreFetchMedia():[]MediaInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfigable::|public|SetLiveCaptionOptions(value:LiveCaptionOptionsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfigable::|public|SetPreFetchMedia(value:[]MediaInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceHostedMediaConfigable~~>MediaConfigable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.serviceInformation::|public|constructor():void @@ -319683,6 +321908,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.teleconferenceDeviceVideoQ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.teleconferenceDeviceVideoQualityable::|public|SetAverageOutboundBitRate(value:*float64):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.teleconferenceDeviceVideoQualityable::|public|SetAverageOutboundFrameRate(value:*float64):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.teleconferenceDeviceVideoQualityable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; TeleconferenceDeviceMediaQualityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template::|public|GetDeviceTemplates():[]DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template::|public|SetDeviceTemplates(value:[]DeviceTemplateable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.template::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.templateable::|public|GetDeviceTemplates():[]DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.templateable::|public|SetDeviceTemplates(value:[]DeviceTemplateable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.templateable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.templateApplicationLevel::0000-none github.com/microsoftgraph/msgraph-beta-sdk-go/.models.templateApplicationLevel::0001-newPartners github.com/microsoftgraph/msgraph-beta-sdk-go/.models.templateApplicationLevel::0002-existingPartners @@ -321507,6 +323743,12 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlpLevel::0002-green github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlpLevel::0003-amber github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlpLevel::0004-red github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlpLevel::0005-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlsClientRegistrationMetadata::0000-tls_client_auth_subject_dn +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlsClientRegistrationMetadata::0001-tls_client_auth_san_dns +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlsClientRegistrationMetadata::0002-tls_client_auth_san_uri +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlsClientRegistrationMetadata::0003-tls_client_auth_san_ip +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlsClientRegistrationMetadata::0004-tls_client_auth_san_email +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tlsClientRegistrationMetadata::0005-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.todo-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.todo::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.todo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -322405,6 +324647,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorit github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityAsEntityBaseable::|public|GetTrustedCertificateAuthorities():[]CertificateAuthorityAsEntityable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityAsEntityBaseable::|public|SetTrustedCertificateAuthorities(value:[]CertificateAuthorityAsEntityable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityAsEntityBaseable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase-->*DirectoryObject +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase::|public|GetCertificateAuthorities():[]CertificateAuthorityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase::|public|SetCertificateAuthorities(value:[]CertificateAuthorityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBaseable::|public|GetCertificateAuthorities():[]CertificateAuthorityable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBaseable::|public|SetCertificateAuthorities(value:[]CertificateAuthorityable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustedCertificateAuthorityBaseable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustFramework::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustFramework::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.trustFramework::|public|GetBackingStore():BackingStore @@ -324063,6 +326316,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unsupportedGroupPolicyExte github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unsupportedGroupPolicyExtensionCollectionResponseable::|public|GetValue():[]UnsupportedGroupPolicyExtensionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unsupportedGroupPolicyExtensionCollectionResponseable::|public|SetValue(value:[]UnsupportedGroupPolicyExtensionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unsupportedGroupPolicyExtensionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllMessagesReadStateOperation-->*MailFolderOperation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllMessagesReadStateOperation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllMessagesReadStateOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllMessagesReadStateOperation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllMessagesReadStateOperation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllMessagesReadStateOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllMessagesReadStateOperationable~~>MailFolderOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllowedCombinationsResult::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllowedCombinationsResult::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.updateAllowedCombinationsResult::|public|GetAdditionalInformation():*string @@ -329749,6 +332009,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|GetC github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|GetDescription():ItemBodyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|GetEndDateTime():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|GetExternalEventInformation():[]VirtualEventExternalInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|GetPresenters():[]VirtualEventPresenterable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|GetSessions():[]VirtualEventSessionable @@ -329761,6 +332022,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetC github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetDescription(value:ItemBodyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetEndDateTime(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetExternalEventInformation(value:[]VirtualEventExternalInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetPresenters(value:[]VirtualEventPresenterable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetSessions(value:[]VirtualEventSessionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEvent::|public|SetSettings(value:VirtualEventSettingsable):void @@ -329771,6 +332033,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|GetDescription():ItemBodyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|GetEndDateTime():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|GetExternalEventInformation():[]VirtualEventExternalInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|GetPresenters():[]VirtualEventPresenterable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|GetSessions():[]VirtualEventSessionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|GetSettings():VirtualEventSettingsable @@ -329780,6 +332043,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|SetDescription(value:ItemBodyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|SetEndDateTime(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|SetExternalEventInformation(value:[]VirtualEventExternalInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|SetPresenters(value:[]VirtualEventPresenterable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|SetSessions(value:[]VirtualEventSessionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventable::|public|SetSettings(value:VirtualEventSettingsable):void @@ -329802,6 +332066,54 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventCollectionResp github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventCollectionResponseable::|public|GetValue():[]VirtualEventable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventCollectionResponseable::|public|SetValue(value:[]VirtualEventable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|GetApplicationId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|SetApplicationId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|GetApplicationId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|SetApplicationId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalInformation~~>VirtualEventExternalInformationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetReferrer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|GetRegistrationId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetReferrer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|public|SetRegistrationId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetReferrer():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|GetRegistrationId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetReferrer(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable::|public|SetRegistrationId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventExternalRegistrationInformation~~>VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventPresenter-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventPresenter::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventPresenter::|public|GetEmail():*string @@ -329894,6 +332206,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration-- github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|GetCancelationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|GetExternalRegistrationInformation():VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|GetFirstName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|GetLastName():*string @@ -329908,6 +332221,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|SetCancelationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|SetExternalRegistrationInformation(value:VirtualEventExternalRegistrationInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|SetFirstName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|SetLastName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|public|SetPreferredLanguage(value:*string):void @@ -329920,6 +332234,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|GetCancelationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|GetExternalRegistrationInformation():VirtualEventExternalRegistrationInformationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|GetFirstName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|GetLastName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|GetPreferredLanguage():*string @@ -329931,6 +332246,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationab github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|GetUserId():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|SetCancelationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|SetEmail(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|SetExternalRegistrationInformation(value:VirtualEventExternalRegistrationInformationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|SetFirstName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|SetLastName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.virtualEventRegistrationable::|public|SetPreferredLanguage(value:*string):void @@ -330940,6 +333256,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.vulnerableManagedDeviceabl github.com/microsoftgraph/msgraph-beta-sdk-go/.models.vulnerableManagedDeviceable::|public|SetLastSyncDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.vulnerableManagedDeviceable::|public|SetManagedDeviceId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.vulnerableManagedDeviceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.wafAllowedHeadersDictionary-->*Dictionary +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.wafAllowedHeadersDictionary::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.wafAllowedHeadersDictionary::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.wafAllowedHeadersDictionary::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.wafAllowedHeadersDictionary::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.wafAllowedHeadersDictionary::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.wafAllowedHeadersDictionaryable~~>Dictionaryable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.watermarkLayout::0000-horizontal github.com/microsoftgraph/msgraph-beta-sdk-go/.models.watermarkLayout::0001-diagonal github.com/microsoftgraph/msgraph-beta-sdk-go/.models.watermarkProtectionValues::|public|constructor():void @@ -379245,6 +381568,150 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.security.CollaborationRequestBuil github.com/microsoftgraph/msgraph-beta-sdk-go/.security.CollaborationRequestBuilder::|public|ToPatchRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CollaborationRootable; ctx:context.Context; requestConfiguration?:*CollaborationRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.security.CollaborationRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.security.CollaborationRequestBuilder::|public|WithUrl(rawUrl:string):*CollaborationRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataDiscoveryCloudAppDiscoveryRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder.DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|Patch(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable; ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|ToPatchRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable; ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|uploadedStreams():*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryRequestBuilder::|public|WithUrl(rawUrl:string):*DataDiscoveryCloudAppDiscoveryRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|microsoftGraphSecurityAggregatedAppsDetailsWithPeriod(period:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|Patch(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable; ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|ToPatchRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable; ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder::|public|WithUrl(rawUrl:string):*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder::|public|WithUrl(rawUrl:string):*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse::|public|GetValue():[]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse::|public|SetValue(value:[]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable::|public|GetValue():[]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable::|public|SetValue(value:[]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse-->*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseable~~>DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; period?:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration):DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|GetAsAggregatedAppsDetailsWithPeriodGetResponse(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration):DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder::|public|WithUrl(rawUrl:string):*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|ByCloudAppDiscoveryReportId(cloudAppDiscoveryReportId:string):*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|Count():*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|Post(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable; ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|ToPostRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable; ctx:context.Context; requestConfiguration?:*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder::|public|WithUrl(rawUrl:string):*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderGetRequestConfiguration::|public|queryParameters:*DataDiscoveryRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder.DataDiscoveryRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|cloudAppDiscovery():*DataDiscoveryCloudAppDiscoveryRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DataDiscoveryRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DataDiscoveryRequestBuilderGetRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|Patch(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable; ctx:context.Context; requestConfiguration?:*DataDiscoveryRequestBuilderPatchRequestConfiguration):i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DataDiscoveryRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|ToPatchRequestInformation(body:i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable; ctx:context.Context; requestConfiguration?:*DataDiscoveryRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DataDiscoveryRequestBuilder::|public|WithUrl(rawUrl:string):*DataDiscoveryRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DomainSecurityProfilesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DomainSecurityProfilesCountRequestBuilder.DomainSecurityProfilesCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.security.DomainSecurityProfilesCountRequestBuilder.DomainSecurityProfilesCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -381497,6 +383964,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder:: github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|collaboration():*CollaborationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|dataDiscovery():*DataDiscoveryRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|domainSecurityProfiles():*DomainSecurityProfilesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|fileSecurityProfiles():*FileSecurityProfilesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.security.securityRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*SecurityRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Securityable @@ -407631,6 +410099,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItem github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventSessionable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|GetExternalEventId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable::|public|SetExternalEventId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationPostRequestBody~~>VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder.VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder.VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|Post(body:VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|ToPostRequestInformation(body:VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsItemSetExternalEventInformationRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsRequestBuilder.VirtualEventsEventsRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsRequestBuilder.VirtualEventsEventsRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -407679,6 +410174,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirt github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|sessions():*VirtualEventsEventsItemSessionsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|sessionsWithJoinWebUrl(joinWebUrl:*string):*VirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|setExternalEventInformation():*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEventsEventsVirtualEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEventsEventsVirtualEventItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.solutions.VirtualEventsEventsVirtualEventItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.VirtualEventable; ctx:context.Context; requestConfiguration?:*VirtualEventsEventsVirtualEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation @@ -409251,6 +411747,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFile github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageContainersItemDriveRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageContainersItemLockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageContainersItemPermanentDeleteRequestBuilder @@ -409261,6 +411758,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFile github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|unlock():*FileStorageContainersItemUnlockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersFileStorageContainerItemRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemActivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder @@ -409365,6 +411863,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItem github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemDriveRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemDriveRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemDriveRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemDriveRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemDriveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|GetLockState():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|public|SetLockState(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|GetLockState():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable::|public|SetLockState(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockPostRequestBody~~>FileStorageContainersItemLockPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder.FileStorageContainersItemLockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder.FileStorageContainersItemLockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|Post(body:FileStorageContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemLockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemLockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -409889,6 +412414,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItem github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder.FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder.FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersItemUnlockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemUnlockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersRequestBuilder.FileStorageContainersRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageContainersRequestBuilder.FileStorageContainersRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -409946,6 +412482,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContain github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageDeletedContainersItemDriveRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageDeletedContainersItemLockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder @@ -409956,6 +412493,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContain github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|unlock():*FileStorageDeletedContainersItemUnlockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemActivateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder @@ -410060,6 +412598,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContain github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemDriveRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemDriveRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemDriveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|GetLockState():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|public|SetLockState(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|GetLockState():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable::|public|SetLockState(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockPostRequestBody~~>FileStorageDeletedContainersItemLockPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder.FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder.FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|Post(body:FileStorageDeletedContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageDeletedContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemLockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -410584,6 +413149,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContain github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemRestoreRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemRestoreRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemRestoreRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder.FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder.FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersItemUnlockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemUnlockRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Count:*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.storage.FileStorageDeletedContainersRequestBuilder.FileStorageDeletedContainersRequestBuilderGetQueryParameters::|public|Expand:[]string @@ -427065,6 +429641,252 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.WorkforceIntegrationsWor github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkforceIntegrationable; ctx:context.Context; requestConfiguration?:*WorkforceIntegrationsWorkforceIntegrationItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder::|public|WithUrl(rawUrl:string):*WorkforceIntegrationsWorkforceIntegrationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder.DeviceTemplatesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder.DeviceTemplatesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder.DeviceTemplatesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder.DeviceTemplatesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder.DeviceTemplatesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesCountRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder.DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|createDeviceFromTemplate():*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|deviceInstances():*DeviceTemplatesItemDeviceInstancesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|deviceInstancesWithDeviceId(deviceId:*string):*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|owners():*DeviceTemplatesItemOwnersRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesDeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetAccountEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetAlternativeNames():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetExternalDeviceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetExternalSourceName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetKeyCredential():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|GetOperatingSystemVersion():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetAccountEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetAlternativeNames(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetExternalDeviceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetExternalSourceName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetKeyCredential(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|public|SetOperatingSystemVersion(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetAccountEnabled():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetAlternativeNames():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetExternalDeviceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetExternalSourceName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetKeyCredential():ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|GetOperatingSystemVersion():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetAccountEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetAlternativeNames(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetExternalDeviceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetExternalSourceName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetKeyCredential(value:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable::|public|SetOperatingSystemVersion(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody~~>DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|Post(body:DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|ToPostRequestInformation(body:DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder.DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder.DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder.DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder.DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder.DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesCountRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemDeviceInstancesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder.DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|ByDeviceId(deviceId:string):*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|Count():*DeviceTemplatesItemDeviceInstancesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemDeviceInstancesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; deviceId?:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder.DeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder.DeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder.DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder.DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder.DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersCountRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemOwnersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder.DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|ByDirectoryObjectId(directoryObjectId:string):*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|Count():*DeviceTemplatesItemOwnersCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesItemOwnersRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesItemOwnersRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderGetRequestConfiguration::|public|queryParameters:*DeviceTemplatesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder.DeviceTemplatesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|ByDeviceTemplateId(deviceTemplateId:string):*DeviceTemplatesDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|Count():*DeviceTemplatesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*DeviceTemplatesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*DeviceTemplatesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeviceTemplatesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable; ctx:context.Context; requestConfiguration?:*DeviceTemplatesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.DeviceTemplatesRequestBuilder::|public|WithUrl(rawUrl:string):*DeviceTemplatesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder.TemplatesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder.TemplatesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder.TemplatesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder.TemplatesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder.TemplatesRequestBuilderGetRequestConfiguration::|public|queryParameters:*TemplatesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder.TemplatesRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder.TemplatesRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|deviceTemplates():*DeviceTemplatesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable; ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable; ctx:context.Context; requestConfiguration?:*TemplatesRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.templates.templatesRequestBuilder::|public|WithUrl(rawUrl:string):*TemplatesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.tenantrelationships.DelegatedAdminCustomersCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.tenantrelationships.DelegatedAdminCustomersCountRequestBuilder.DelegatedAdminCustomersCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.tenantrelationships.DelegatedAdminCustomersCountRequestBuilder.DelegatedAdminCustomersCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -457760,6 +460582,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemReques github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemDevicesDeviceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemRequestBuilder::|public|deviceTemplate():*ItemDevicesItemDeviceTemplateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemRequestBuilder::|public|extensions():*ItemDevicesItemExtensionsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDevicesDeviceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesDeviceItemRequestBuilder::|public|memberOf():*ItemDevicesItemMemberOfRequestBuilder @@ -457852,6 +460675,56 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemCommandsRequ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemCommandsRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Commandable; ctx:context.Context; requestConfiguration?:*ItemDevicesItemCommandsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemCommandsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemCommandsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDevicesItemCommandsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder.ItemDevicesItemDeviceTemplateCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder.ItemDevicesItemDeviceTemplateCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder.ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder.ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder.ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDevicesItemDeviceTemplateCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDevicesItemDeviceTemplateCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder.ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|ByDeviceTemplateId(deviceTemplateId:string):*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|Count():*ItemDevicesItemDeviceTemplateCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemDeviceTemplateRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDevicesItemDeviceTemplateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemExtensionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemExtensionsCountRequestBuilder.ItemDevicesItemExtensionsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemDevicesItemExtensionsCountRequestBuilder.ItemDevicesItemExtensionsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -464688,6 +467561,56 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFol github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemMoveRequestBuilder::|public|ToPostRequestInformation(body:ItemMailFoldersItemChildFoldersItemMovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemMoveRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemMoveRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemMoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemChildFoldersItemMoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|ByMailFolderOperationId(mailFolderOperationId:string):*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|Count():*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -464699,6 +467622,37 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFol github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetIsRead():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetSuppressReadReceipts():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetIsRead(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetSuppressReadReceipts(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|GetIsRead():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|GetSuppressReadReceipts():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|SetIsRead(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|SetSuppressReadReceipts(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody~~>ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|Post(body:ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|ToPostRequestInformation(body:ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilder.ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilder.ItemMailFoldersItemChildFoldersItemUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -464768,6 +467722,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFol github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|messageRules():*ItemMailFoldersItemChildFoldersItemMessageRulesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|messages():*ItemMailFoldersItemChildFoldersItemMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|move():*ItemMailFoldersItemChildFoldersItemMoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|operations():*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|permanentDelete():*ItemMailFoldersItemChildFoldersItemPermanentDeleteRequestBuilder @@ -464775,6 +467730,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFol github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|updateAllMessagesReadState():*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|userConfigurations():*ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder @@ -465598,6 +468554,56 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemMoveRequ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemMoveRequestBuilder::|public|ToPostRequestInformation(body:ItemMailFoldersItemMovePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemMoveRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemMoveRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemMoveRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemMoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemOperationsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemOperationsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder.ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemMailFoldersItemOperationsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemOperationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder.ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|ByMailFolderOperationId(mailFolderOperationId:string):*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|Count():*ItemMailFoldersItemOperationsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemOperationsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemOperationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemPermanentDeleteRequestBuilder.ItemMailFoldersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemPermanentDeleteRequestBuilder.ItemMailFoldersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -465609,6 +468615,37 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemPermanen github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemPermanentDeleteRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemPermanentDeleteRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemPermanentDeleteRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemPermanentDeleteRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemPermanentDeleteRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetIsRead():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|GetSuppressReadReceipts():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetIsRead(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|public|SetSuppressReadReceipts(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|GetIsRead():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|GetSuppressReadReceipts():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|SetIsRead(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable::|public|SetSuppressReadReceipts(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody~~>ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|Post(body:ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|ToPostRequestInformation(body:ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUserConfigurationsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUserConfigurationsCountRequestBuilder.ItemMailFoldersItemUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersItemUserConfigurationsCountRequestBuilder.ItemMailFoldersItemUserConfigurationsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -465679,6 +468716,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderIt github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|messageRules():*ItemMailFoldersItemMessageRulesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|messages():*ItemMailFoldersItemMessagesRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|move():*ItemMailFoldersItemMoveRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|operations():*ItemMailFoldersItemOperationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersMailFolderItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|permanentDelete():*ItemMailFoldersItemPermanentDeleteRequestBuilder @@ -465686,6 +468724,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderIt github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersMailFolderItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemMailFoldersMailFolderItemRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderable; ctx:context.Context; requestConfiguration?:*ItemMailFoldersMailFolderItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|updateAllMessagesReadState():*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|userConfigurations():*ItemMailFoldersItemUserConfigurationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemMailFoldersMailFolderItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemMailFoldersMailFolderItemRequestBuilder diff --git a/kiota-lock.json b/kiota-lock.json index 02d45ec14a9..ea42366a7f0 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "77254B0BD52910D9C305EC3E0405E2EB4BED8A7AEB257E670B2B233A135FD5BE50E8EE45E035F226EF613845E0E2616DBF0B7526EE9B02CD6A66C0DBF1D0605C", + "descriptionHash": "389B5C77C936B32EA945A733C0933AC649224EA7FB04E55A6032281A24175E9A679DA20FBE59464B18F10E0EBCCD6E8884FAEC3CB49F98FF98346965A27F54C9", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.22.0", diff --git a/models/ai_interaction.go b/models/ai_interaction.go new file mode 100644 index 00000000000..a00d1063303 --- /dev/null +++ b/models/ai_interaction.go @@ -0,0 +1,607 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiInteraction struct { + Entity +} +// NewAiInteraction instantiates a new AiInteraction and sets the default values. +func NewAiInteraction()(*AiInteraction) { + m := &AiInteraction{ + Entity: *NewEntity(), + } + return m +} +// CreateAiInteractionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteraction(), nil +} +// GetAppClass gets the appClass property value. The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop. +// returns a *string when successful +func (m *AiInteraction) GetAppClass()(*string) { + val, err := m.GetBackingStore().Get("appClass") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAttachments gets the attachments property value. The collection of documents attached to the interaction, such as cards and images. +// returns a []AiInteractionAttachmentable when successful +func (m *AiInteraction) GetAttachments()([]AiInteractionAttachmentable) { + val, err := m.GetBackingStore().Get("attachments") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiInteractionAttachmentable) + } + return nil +} +// GetBody gets the body property value. The body of the message, including the text of the body and its body type. +// returns a ItemBodyable when successful +func (m *AiInteraction) GetBody()(ItemBodyable) { + val, err := m.GetBackingStore().Get("body") + if err != nil { + panic(err) + } + if val != nil { + return val.(ItemBodyable) + } + return nil +} +// GetContexts gets the contexts property value. The identifer that maps to all contexts associated with an interaction. +// returns a []AiInteractionContextable when successful +func (m *AiInteraction) GetContexts()([]AiInteractionContextable) { + val, err := m.GetBackingStore().Get("contexts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiInteractionContextable) + } + return nil +} +// GetConversationType gets the conversationType property value. The type of the conversation. For example, appchat or bizchat. +// returns a *string when successful +func (m *AiInteraction) GetConversationType()(*string) { + val, err := m.GetBackingStore().Get("conversationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The time when the interaction was created. +// returns a *Time when successful +func (m *AiInteraction) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetEtag gets the etag property value. The timestamp of when the interaction was last modified. +// returns a *string when successful +func (m *AiInteraction) GetEtag()(*string) { + val, err := m.GetBackingStore().Get("etag") + 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 *AiInteraction) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["appClass"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAppClass(val) + } + return nil + } + res["attachments"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiInteractionAttachmentFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiInteractionAttachmentable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiInteractionAttachmentable) + } + } + m.SetAttachments(res) + } + return nil + } + res["body"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateItemBodyFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetBody(val.(ItemBodyable)) + } + return nil + } + res["contexts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiInteractionContextFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiInteractionContextable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiInteractionContextable) + } + } + m.SetContexts(res) + } + return nil + } + res["conversationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationType(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["etag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEtag(val) + } + return nil + } + res["from"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetFrom(val.(IdentitySetable)) + } + return nil + } + res["interactionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAiInteractionType) + if err != nil { + return err + } + if val != nil { + m.SetInteractionType(val.(*AiInteractionType)) + } + return nil + } + res["links"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiInteractionLinkFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiInteractionLinkable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiInteractionLinkable) + } + } + m.SetLinks(res) + } + return nil + } + res["locale"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLocale(val) + } + return nil + } + res["mentions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiInteractionMentionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiInteractionMentionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiInteractionMentionable) + } + } + m.SetMentions(res) + } + return nil + } + res["requestId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRequestId(val) + } + return nil + } + res["sessionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSessionId(val) + } + return nil + } + return res +} +// GetFrom gets the from property value. The from property +// returns a IdentitySetable when successful +func (m *AiInteraction) GetFrom()(IdentitySetable) { + val, err := m.GetBackingStore().Get("from") + if err != nil { + panic(err) + } + if val != nil { + return val.(IdentitySetable) + } + return nil +} +// GetInteractionType gets the interactionType property value. The interactionType property +// returns a *AiInteractionType when successful +func (m *AiInteraction) GetInteractionType()(*AiInteractionType) { + val, err := m.GetBackingStore().Get("interactionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AiInteractionType) + } + return nil +} +// GetLinks gets the links property value. The collection of links that appear in the interaction. +// returns a []AiInteractionLinkable when successful +func (m *AiInteraction) GetLinks()([]AiInteractionLinkable) { + val, err := m.GetBackingStore().Get("links") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiInteractionLinkable) + } + return nil +} +// GetLocale gets the locale property value. The locale of the sender. +// returns a *string when successful +func (m *AiInteraction) GetLocale()(*string) { + val, err := m.GetBackingStore().Get("locale") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMentions gets the mentions property value. The collection of the entities that were mentioned in the interaction, including users, bots, and so on. +// returns a []AiInteractionMentionable when successful +func (m *AiInteraction) GetMentions()([]AiInteractionMentionable) { + val, err := m.GetBackingStore().Get("mentions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiInteractionMentionable) + } + return nil +} +// GetRequestId gets the requestId property value. The identifier that groups a user prompt with its Copilot response. +// returns a *string when successful +func (m *AiInteraction) GetRequestId()(*string) { + val, err := m.GetBackingStore().Get("requestId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSessionId gets the sessionId property value. The thread ID or conversation identifier that maps to all Copilot sessions for the user. +// returns a *string when successful +func (m *AiInteraction) GetSessionId()(*string) { + val, err := m.GetBackingStore().Get("sessionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteraction) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("appClass", m.GetAppClass()) + if err != nil { + return err + } + } + if m.GetAttachments() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAttachments())) + for i, v := range m.GetAttachments() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("attachments", cast) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("body", m.GetBody()) + if err != nil { + return err + } + } + if m.GetContexts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetContexts())) + for i, v := range m.GetContexts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("contexts", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("conversationType", m.GetConversationType()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("etag", m.GetEtag()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("from", m.GetFrom()) + if err != nil { + return err + } + } + if m.GetInteractionType() != nil { + cast := (*m.GetInteractionType()).String() + err = writer.WriteStringValue("interactionType", &cast) + if err != nil { + return err + } + } + if m.GetLinks() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLinks())) + for i, v := range m.GetLinks() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("links", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("locale", m.GetLocale()) + if err != nil { + return err + } + } + if m.GetMentions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMentions())) + for i, v := range m.GetMentions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("mentions", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("requestId", m.GetRequestId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("sessionId", m.GetSessionId()) + if err != nil { + return err + } + } + return nil +} +// SetAppClass sets the appClass property value. The data source for Copilot data. For example, IPM.SkypeTeams.Message.Copilot.Excel or IPM.SkypeTeams.Message.Copilot.Loop. +func (m *AiInteraction) SetAppClass(value *string)() { + err := m.GetBackingStore().Set("appClass", value) + if err != nil { + panic(err) + } +} +// SetAttachments sets the attachments property value. The collection of documents attached to the interaction, such as cards and images. +func (m *AiInteraction) SetAttachments(value []AiInteractionAttachmentable)() { + err := m.GetBackingStore().Set("attachments", value) + if err != nil { + panic(err) + } +} +// SetBody sets the body property value. The body of the message, including the text of the body and its body type. +func (m *AiInteraction) SetBody(value ItemBodyable)() { + err := m.GetBackingStore().Set("body", value) + if err != nil { + panic(err) + } +} +// SetContexts sets the contexts property value. The identifer that maps to all contexts associated with an interaction. +func (m *AiInteraction) SetContexts(value []AiInteractionContextable)() { + err := m.GetBackingStore().Set("contexts", value) + if err != nil { + panic(err) + } +} +// SetConversationType sets the conversationType property value. The type of the conversation. For example, appchat or bizchat. +func (m *AiInteraction) SetConversationType(value *string)() { + err := m.GetBackingStore().Set("conversationType", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The time when the interaction was created. +func (m *AiInteraction) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetEtag sets the etag property value. The timestamp of when the interaction was last modified. +func (m *AiInteraction) SetEtag(value *string)() { + err := m.GetBackingStore().Set("etag", value) + if err != nil { + panic(err) + } +} +// SetFrom sets the from property value. The from property +func (m *AiInteraction) SetFrom(value IdentitySetable)() { + err := m.GetBackingStore().Set("from", value) + if err != nil { + panic(err) + } +} +// SetInteractionType sets the interactionType property value. The interactionType property +func (m *AiInteraction) SetInteractionType(value *AiInteractionType)() { + err := m.GetBackingStore().Set("interactionType", value) + if err != nil { + panic(err) + } +} +// SetLinks sets the links property value. The collection of links that appear in the interaction. +func (m *AiInteraction) SetLinks(value []AiInteractionLinkable)() { + err := m.GetBackingStore().Set("links", value) + if err != nil { + panic(err) + } +} +// SetLocale sets the locale property value. The locale of the sender. +func (m *AiInteraction) SetLocale(value *string)() { + err := m.GetBackingStore().Set("locale", value) + if err != nil { + panic(err) + } +} +// SetMentions sets the mentions property value. The collection of the entities that were mentioned in the interaction, including users, bots, and so on. +func (m *AiInteraction) SetMentions(value []AiInteractionMentionable)() { + err := m.GetBackingStore().Set("mentions", value) + if err != nil { + panic(err) + } +} +// SetRequestId sets the requestId property value. The identifier that groups a user prompt with its Copilot response. +func (m *AiInteraction) SetRequestId(value *string)() { + err := m.GetBackingStore().Set("requestId", value) + if err != nil { + panic(err) + } +} +// SetSessionId sets the sessionId property value. The thread ID or conversation identifier that maps to all Copilot sessions for the user. +func (m *AiInteraction) SetSessionId(value *string)() { + err := m.GetBackingStore().Set("sessionId", value) + if err != nil { + panic(err) + } +} +type AiInteractionable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAppClass()(*string) + GetAttachments()([]AiInteractionAttachmentable) + GetBody()(ItemBodyable) + GetContexts()([]AiInteractionContextable) + GetConversationType()(*string) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetEtag()(*string) + GetFrom()(IdentitySetable) + GetInteractionType()(*AiInteractionType) + GetLinks()([]AiInteractionLinkable) + GetLocale()(*string) + GetMentions()([]AiInteractionMentionable) + GetRequestId()(*string) + GetSessionId()(*string) + SetAppClass(value *string)() + SetAttachments(value []AiInteractionAttachmentable)() + SetBody(value ItemBodyable)() + SetContexts(value []AiInteractionContextable)() + SetConversationType(value *string)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetEtag(value *string)() + SetFrom(value IdentitySetable)() + SetInteractionType(value *AiInteractionType)() + SetLinks(value []AiInteractionLinkable)() + SetLocale(value *string)() + SetMentions(value []AiInteractionMentionable)() + SetRequestId(value *string)() + SetSessionId(value *string)() +} diff --git a/models/ai_interaction_attachment.go b/models/ai_interaction_attachment.go new file mode 100644 index 00000000000..c400d149856 --- /dev/null +++ b/models/ai_interaction_attachment.go @@ -0,0 +1,224 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiInteractionAttachment struct { + Entity +} +// NewAiInteractionAttachment instantiates a new AiInteractionAttachment and sets the default values. +func NewAiInteractionAttachment()(*AiInteractionAttachment) { + m := &AiInteractionAttachment{ + Entity: *NewEntity(), + } + return m +} +// CreateAiInteractionAttachmentFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionAttachmentFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteractionAttachment(), nil +} +// GetAttachmentId gets the attachmentId property value. The identifier for the attachment. This identifier is only unique within the message scope. +// returns a *string when successful +func (m *AiInteractionAttachment) GetAttachmentId()(*string) { + val, err := m.GetBackingStore().Get("attachmentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetContent gets the content property value. The content of the attachment. +// returns a *string when successful +func (m *AiInteractionAttachment) GetContent()(*string) { + val, err := m.GetBackingStore().Get("content") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetContentType gets the contentType property value. The type of the content. For example, reference, file, and image/imageType. +// returns a *string when successful +func (m *AiInteractionAttachment) GetContentType()(*string) { + val, err := m.GetBackingStore().Get("contentType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetContentUrl gets the contentUrl property value. The URL of the content. +// returns a *string when successful +func (m *AiInteractionAttachment) GetContentUrl()(*string) { + val, err := m.GetBackingStore().Get("contentUrl") + 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 *AiInteractionAttachment) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["attachmentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAttachmentId(val) + } + return nil + } + res["content"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetContent(val) + } + return nil + } + res["contentType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetContentType(val) + } + return nil + } + res["contentUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetContentUrl(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + return res +} +// GetName gets the name property value. The name of the attachment. +// returns a *string when successful +func (m *AiInteractionAttachment) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteractionAttachment) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("attachmentId", m.GetAttachmentId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("content", m.GetContent()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("contentType", m.GetContentType()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("contentUrl", m.GetContentUrl()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + return nil +} +// SetAttachmentId sets the attachmentId property value. The identifier for the attachment. This identifier is only unique within the message scope. +func (m *AiInteractionAttachment) SetAttachmentId(value *string)() { + err := m.GetBackingStore().Set("attachmentId", value) + if err != nil { + panic(err) + } +} +// SetContent sets the content property value. The content of the attachment. +func (m *AiInteractionAttachment) SetContent(value *string)() { + err := m.GetBackingStore().Set("content", value) + if err != nil { + panic(err) + } +} +// SetContentType sets the contentType property value. The type of the content. For example, reference, file, and image/imageType. +func (m *AiInteractionAttachment) SetContentType(value *string)() { + err := m.GetBackingStore().Set("contentType", value) + if err != nil { + panic(err) + } +} +// SetContentUrl sets the contentUrl property value. The URL of the content. +func (m *AiInteractionAttachment) SetContentUrl(value *string)() { + err := m.GetBackingStore().Set("contentUrl", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name of the attachment. +func (m *AiInteractionAttachment) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +type AiInteractionAttachmentable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAttachmentId()(*string) + GetContent()(*string) + GetContentType()(*string) + GetContentUrl()(*string) + GetName()(*string) + SetAttachmentId(value *string)() + SetContent(value *string)() + SetContentType(value *string)() + SetContentUrl(value *string)() + SetName(value *string)() +} diff --git a/models/ai_interaction_context.go b/models/ai_interaction_context.go new file mode 100644 index 00000000000..6836d9a88f1 --- /dev/null +++ b/models/ai_interaction_context.go @@ -0,0 +1,150 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiInteractionContext struct { + Entity +} +// NewAiInteractionContext instantiates a new AiInteractionContext and sets the default values. +func NewAiInteractionContext()(*AiInteractionContext) { + m := &AiInteractionContext{ + Entity: *NewEntity(), + } + return m +} +// CreateAiInteractionContextFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionContextFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteractionContext(), nil +} +// GetContextReference gets the contextReference property value. The full file URL where the interaction happened. +// returns a *string when successful +func (m *AiInteractionContext) GetContextReference()(*string) { + val, err := m.GetBackingStore().Get("contextReference") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetContextType gets the contextType property value. The type of the file. +// returns a *string when successful +func (m *AiInteractionContext) GetContextType()(*string) { + val, err := m.GetBackingStore().Get("contextType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The name of the file. +// returns a *string when successful +func (m *AiInteractionContext) 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 *AiInteractionContext) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["contextReference"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetContextReference(val) + } + return nil + } + res["contextType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetContextType(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 + } + return res +} +// Serialize serializes information the current object +func (m *AiInteractionContext) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("contextReference", m.GetContextReference()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("contextType", m.GetContextType()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + return nil +} +// SetContextReference sets the contextReference property value. The full file URL where the interaction happened. +func (m *AiInteractionContext) SetContextReference(value *string)() { + err := m.GetBackingStore().Set("contextReference", value) + if err != nil { + panic(err) + } +} +// SetContextType sets the contextType property value. The type of the file. +func (m *AiInteractionContext) SetContextType(value *string)() { + err := m.GetBackingStore().Set("contextType", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The name of the file. +func (m *AiInteractionContext) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +type AiInteractionContextable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetContextReference()(*string) + GetContextType()(*string) + GetDisplayName()(*string) + SetContextReference(value *string)() + SetContextType(value *string)() + SetDisplayName(value *string)() +} diff --git a/models/ai_interaction_history.go b/models/ai_interaction_history.go new file mode 100644 index 00000000000..2bcfebb596e --- /dev/null +++ b/models/ai_interaction_history.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiInteractionHistory struct { + Entity +} +// NewAiInteractionHistory instantiates a new AiInteractionHistory and sets the default values. +func NewAiInteractionHistory()(*AiInteractionHistory) { + m := &AiInteractionHistory{ + Entity: *NewEntity(), + } + return m +} +// CreateAiInteractionHistoryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionHistoryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteractionHistory(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AiInteractionHistory) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["interactions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAiInteractionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]AiInteractionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(AiInteractionable) + } + } + m.SetInteractions(res) + } + return nil + } + return res +} +// GetInteractions gets the interactions property value. The list of AI interactions. +// returns a []AiInteractionable when successful +func (m *AiInteractionHistory) GetInteractions()([]AiInteractionable) { + val, err := m.GetBackingStore().Get("interactions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]AiInteractionable) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteractionHistory) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetInteractions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetInteractions())) + for i, v := range m.GetInteractions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("interactions", cast) + if err != nil { + return err + } + } + return nil +} +// SetInteractions sets the interactions property value. The list of AI interactions. +func (m *AiInteractionHistory) SetInteractions(value []AiInteractionable)() { + err := m.GetBackingStore().Set("interactions", value) + if err != nil { + panic(err) + } +} +type AiInteractionHistoryable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetInteractions()([]AiInteractionable) + SetInteractions(value []AiInteractionable)() +} diff --git a/models/ai_interaction_link.go b/models/ai_interaction_link.go new file mode 100644 index 00000000000..56286361119 --- /dev/null +++ b/models/ai_interaction_link.go @@ -0,0 +1,150 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiInteractionLink struct { + Entity +} +// NewAiInteractionLink instantiates a new AiInteractionLink and sets the default values. +func NewAiInteractionLink()(*AiInteractionLink) { + m := &AiInteractionLink{ + Entity: *NewEntity(), + } + return m +} +// CreateAiInteractionLinkFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionLinkFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteractionLink(), nil +} +// GetDisplayName gets the displayName property value. The name of the link. +// returns a *string when successful +func (m *AiInteractionLink) 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 *AiInteractionLink) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + 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["linkType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLinkType(val) + } + return nil + } + res["linkUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLinkUrl(val) + } + return nil + } + return res +} +// GetLinkType gets the linkType property value. Information about a link in an app chat or Business Chat (BizChat) interaction. +// returns a *string when successful +func (m *AiInteractionLink) GetLinkType()(*string) { + val, err := m.GetBackingStore().Get("linkType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetLinkUrl gets the linkUrl property value. The URL of the link. +// returns a *string when successful +func (m *AiInteractionLink) GetLinkUrl()(*string) { + val, err := m.GetBackingStore().Get("linkUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteractionLink) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("linkType", m.GetLinkType()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("linkUrl", m.GetLinkUrl()) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. The name of the link. +func (m *AiInteractionLink) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetLinkType sets the linkType property value. Information about a link in an app chat or Business Chat (BizChat) interaction. +func (m *AiInteractionLink) SetLinkType(value *string)() { + err := m.GetBackingStore().Set("linkType", value) + if err != nil { + panic(err) + } +} +// SetLinkUrl sets the linkUrl property value. The URL of the link. +func (m *AiInteractionLink) SetLinkUrl(value *string)() { + err := m.GetBackingStore().Set("linkUrl", value) + if err != nil { + panic(err) + } +} +type AiInteractionLinkable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDisplayName()(*string) + GetLinkType()(*string) + GetLinkUrl()(*string) + SetDisplayName(value *string)() + SetLinkType(value *string)() + SetLinkUrl(value *string)() +} diff --git a/models/ai_interaction_mention.go b/models/ai_interaction_mention.go new file mode 100644 index 00000000000..a37b25852f1 --- /dev/null +++ b/models/ai_interaction_mention.go @@ -0,0 +1,150 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiInteractionMention struct { + Entity +} +// NewAiInteractionMention instantiates a new AiInteractionMention and sets the default values. +func NewAiInteractionMention()(*AiInteractionMention) { + m := &AiInteractionMention{ + Entity: *NewEntity(), + } + return m +} +// CreateAiInteractionMentionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionMentionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteractionMention(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AiInteractionMention) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["mentioned"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAiInteractionMentionedIdentitySetFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMentioned(val.(AiInteractionMentionedIdentitySetable)) + } + return nil + } + res["mentionId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetMentionId(val) + } + return nil + } + res["mentionText"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMentionText(val) + } + return nil + } + return res +} +// GetMentioned gets the mentioned property value. The entity mentioned in the message. +// returns a AiInteractionMentionedIdentitySetable when successful +func (m *AiInteractionMention) GetMentioned()(AiInteractionMentionedIdentitySetable) { + val, err := m.GetBackingStore().Get("mentioned") + if err != nil { + panic(err) + } + if val != nil { + return val.(AiInteractionMentionedIdentitySetable) + } + return nil +} +// GetMentionId gets the mentionId property value. The identifier for the mention. +// returns a *int32 when successful +func (m *AiInteractionMention) GetMentionId()(*int32) { + val, err := m.GetBackingStore().Get("mentionId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetMentionText gets the mentionText property value. The text mentioned in the message. +// returns a *string when successful +func (m *AiInteractionMention) GetMentionText()(*string) { + val, err := m.GetBackingStore().Get("mentionText") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteractionMention) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("mentioned", m.GetMentioned()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("mentionId", m.GetMentionId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("mentionText", m.GetMentionText()) + if err != nil { + return err + } + } + return nil +} +// SetMentioned sets the mentioned property value. The entity mentioned in the message. +func (m *AiInteractionMention) SetMentioned(value AiInteractionMentionedIdentitySetable)() { + err := m.GetBackingStore().Set("mentioned", value) + if err != nil { + panic(err) + } +} +// SetMentionId sets the mentionId property value. The identifier for the mention. +func (m *AiInteractionMention) SetMentionId(value *int32)() { + err := m.GetBackingStore().Set("mentionId", value) + if err != nil { + panic(err) + } +} +// SetMentionText sets the mentionText property value. The text mentioned in the message. +func (m *AiInteractionMention) SetMentionText(value *string)() { + err := m.GetBackingStore().Set("mentionText", value) + if err != nil { + panic(err) + } +} +type AiInteractionMentionable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetMentioned()(AiInteractionMentionedIdentitySetable) + GetMentionId()(*int32) + GetMentionText()(*string) + SetMentioned(value AiInteractionMentionedIdentitySetable)() + SetMentionId(value *int32)() + SetMentionText(value *string)() +} diff --git a/models/ai_interaction_mentioned_identity_set.go b/models/ai_interaction_mentioned_identity_set.go new file mode 100644 index 00000000000..36b45021582 --- /dev/null +++ b/models/ai_interaction_mentioned_identity_set.go @@ -0,0 +1,115 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiInteractionMentionedIdentitySet struct { + IdentitySet +} +// NewAiInteractionMentionedIdentitySet instantiates a new AiInteractionMentionedIdentitySet and sets the default values. +func NewAiInteractionMentionedIdentitySet()(*AiInteractionMentionedIdentitySet) { + m := &AiInteractionMentionedIdentitySet{ + IdentitySet: *NewIdentitySet(), + } + odataTypeValue := "#microsoft.graph.aiInteractionMentionedIdentitySet" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAiInteractionMentionedIdentitySetFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiInteractionMentionedIdentitySetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiInteractionMentionedIdentitySet(), nil +} +// GetConversation gets the conversation property value. The conversation details. +// returns a TeamworkConversationIdentityable when successful +func (m *AiInteractionMentionedIdentitySet) GetConversation()(TeamworkConversationIdentityable) { + val, err := m.GetBackingStore().Get("conversation") + if err != nil { + panic(err) + } + if val != nil { + return val.(TeamworkConversationIdentityable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AiInteractionMentionedIdentitySet) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.IdentitySet.GetFieldDeserializers() + res["conversation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTeamworkConversationIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetConversation(val.(TeamworkConversationIdentityable)) + } + return nil + } + res["tag"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTeamworkTagIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTag(val.(TeamworkTagIdentityable)) + } + return nil + } + return res +} +// GetTag gets the tag property value. The tag details. +// returns a TeamworkTagIdentityable when successful +func (m *AiInteractionMentionedIdentitySet) GetTag()(TeamworkTagIdentityable) { + val, err := m.GetBackingStore().Get("tag") + if err != nil { + panic(err) + } + if val != nil { + return val.(TeamworkTagIdentityable) + } + return nil +} +// Serialize serializes information the current object +func (m *AiInteractionMentionedIdentitySet) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.IdentitySet.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("conversation", m.GetConversation()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("tag", m.GetTag()) + if err != nil { + return err + } + } + return nil +} +// SetConversation sets the conversation property value. The conversation details. +func (m *AiInteractionMentionedIdentitySet) SetConversation(value TeamworkConversationIdentityable)() { + err := m.GetBackingStore().Set("conversation", value) + if err != nil { + panic(err) + } +} +// SetTag sets the tag property value. The tag details. +func (m *AiInteractionMentionedIdentitySet) SetTag(value TeamworkTagIdentityable)() { + err := m.GetBackingStore().Set("tag", value) + if err != nil { + panic(err) + } +} +type AiInteractionMentionedIdentitySetable interface { + IdentitySetable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetConversation()(TeamworkConversationIdentityable) + GetTag()(TeamworkTagIdentityable) + SetConversation(value TeamworkConversationIdentityable)() + SetTag(value TeamworkTagIdentityable)() +} diff --git a/models/ai_interaction_type.go b/models/ai_interaction_type.go new file mode 100644 index 00000000000..cdfaca3a551 --- /dev/null +++ b/models/ai_interaction_type.go @@ -0,0 +1,36 @@ +package models +type AiInteractionType int + +const ( + USERPROMPT_AIINTERACTIONTYPE AiInteractionType = iota + AIRESPONSE_AIINTERACTIONTYPE + UNKNOWNFUTUREVALUE_AIINTERACTIONTYPE +) + +func (i AiInteractionType) String() string { + return []string{"userPrompt", "aiResponse", "unknownFutureValue"}[i] +} +func ParseAiInteractionType(v string) (any, error) { + result := USERPROMPT_AIINTERACTIONTYPE + switch v { + case "userPrompt": + result = USERPROMPT_AIINTERACTIONTYPE + case "aiResponse": + result = AIRESPONSE_AIINTERACTIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_AIINTERACTIONTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeAiInteractionType(values []AiInteractionType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AiInteractionType) isMultiValue() bool { + return false +} diff --git a/models/ai_user.go b/models/ai_user.go new file mode 100644 index 00000000000..55ec2b2135c --- /dev/null +++ b/models/ai_user.go @@ -0,0 +1,76 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiUser struct { + Entity +} +// NewAiUser instantiates a new AiUser and sets the default values. +func NewAiUser()(*AiUser) { + m := &AiUser{ + Entity: *NewEntity(), + } + return m +} +// CreateAiUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiUser(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AiUser) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["interactionHistory"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateAiInteractionHistoryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInteractionHistory(val.(AiInteractionHistoryable)) + } + return nil + } + return res +} +// GetInteractionHistory gets the interactionHistory property value. The history of interactions between AI agents and users. +// returns a AiInteractionHistoryable when successful +func (m *AiUser) GetInteractionHistory()(AiInteractionHistoryable) { + val, err := m.GetBackingStore().Get("interactionHistory") + if err != nil { + panic(err) + } + if val != nil { + return val.(AiInteractionHistoryable) + } + return nil +} +// Serialize serializes information the current object +func (m *AiUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("interactionHistory", m.GetInteractionHistory()) + if err != nil { + return err + } + } + return nil +} +// SetInteractionHistory sets the interactionHistory property value. The history of interactions between AI agents and users. +func (m *AiUser) SetInteractionHistory(value AiInteractionHistoryable)() { + err := m.GetBackingStore().Set("interactionHistory", value) + if err != nil { + panic(err) + } +} +type AiUserable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetInteractionHistory()(AiInteractionHistoryable) + SetInteractionHistory(value AiInteractionHistoryable)() +} diff --git a/models/announcement.go b/models/announcement.go new file mode 100644 index 00000000000..5cf73add69b --- /dev/null +++ b/models/announcement.go @@ -0,0 +1,228 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Announcement struct { + ChangeItemBase +} +// NewAnnouncement instantiates a new Announcement and sets the default values. +func NewAnnouncement()(*Announcement) { + m := &Announcement{ + ChangeItemBase: *NewChangeItemBase(), + } + odataTypeValue := "#microsoft.graph.announcement" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAnnouncementFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAnnouncementFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAnnouncement(), nil +} +// GetAnnouncementDateTime gets the announcementDateTime property value. Change announcement date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. +// returns a *Time when successful +func (m *Announcement) GetAnnouncementDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("announcementDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetChangeType gets the changeType property value. The changeType property +// returns a *ChangeAnnouncementChangeType when successful +func (m *Announcement) GetChangeType()(*ChangeAnnouncementChangeType) { + val, err := m.GetBackingStore().Get("changeType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ChangeAnnouncementChangeType) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Announcement) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ChangeItemBase.GetFieldDeserializers() + res["announcementDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetAnnouncementDateTime(val) + } + return nil + } + res["changeType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseChangeAnnouncementChangeType) + if err != nil { + return err + } + if val != nil { + m.SetChangeType(val.(*ChangeAnnouncementChangeType)) + } + return nil + } + res["impactLink"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetImpactLink(val) + } + return nil + } + res["isCustomerActionRequired"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCustomerActionRequired(val) + } + return nil + } + res["targetDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetTargetDateTime(val) + } + return nil + } + return res +} +// GetImpactLink gets the impactLink property value. Change impact URL. Supports $filter (eq, ne, in) and $orderby. +// returns a *string when successful +func (m *Announcement) GetImpactLink()(*string) { + val, err := m.GetBackingStore().Get("impactLink") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetIsCustomerActionRequired gets the isCustomerActionRequired property value. Indicates whether the customer needs to take any action for this change. Supports $filter (eq, ne). +// returns a *bool when successful +func (m *Announcement) GetIsCustomerActionRequired()(*bool) { + val, err := m.GetBackingStore().Get("isCustomerActionRequired") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetTargetDateTime gets the targetDateTime property value. Date on which the change rolls out. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. +// returns a *Time when successful +func (m *Announcement) GetTargetDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("targetDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *Announcement) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ChangeItemBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteTimeValue("announcementDateTime", m.GetAnnouncementDateTime()) + if err != nil { + return err + } + } + if m.GetChangeType() != nil { + cast := (*m.GetChangeType()).String() + err = writer.WriteStringValue("changeType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("impactLink", m.GetImpactLink()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isCustomerActionRequired", m.GetIsCustomerActionRequired()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("targetDateTime", m.GetTargetDateTime()) + if err != nil { + return err + } + } + return nil +} +// SetAnnouncementDateTime sets the announcementDateTime property value. Change announcement date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. +func (m *Announcement) SetAnnouncementDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("announcementDateTime", value) + if err != nil { + panic(err) + } +} +// SetChangeType sets the changeType property value. The changeType property +func (m *Announcement) SetChangeType(value *ChangeAnnouncementChangeType)() { + err := m.GetBackingStore().Set("changeType", value) + if err != nil { + panic(err) + } +} +// SetImpactLink sets the impactLink property value. Change impact URL. Supports $filter (eq, ne, in) and $orderby. +func (m *Announcement) SetImpactLink(value *string)() { + err := m.GetBackingStore().Set("impactLink", value) + if err != nil { + panic(err) + } +} +// SetIsCustomerActionRequired sets the isCustomerActionRequired property value. Indicates whether the customer needs to take any action for this change. Supports $filter (eq, ne). +func (m *Announcement) SetIsCustomerActionRequired(value *bool)() { + err := m.GetBackingStore().Set("isCustomerActionRequired", value) + if err != nil { + panic(err) + } +} +// SetTargetDateTime sets the targetDateTime property value. Date on which the change rolls out. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. +func (m *Announcement) SetTargetDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("targetDateTime", value) + if err != nil { + panic(err) + } +} +type Announcementable interface { + ChangeItemBaseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAnnouncementDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetChangeType()(*ChangeAnnouncementChangeType) + GetImpactLink()(*string) + GetIsCustomerActionRequired()(*bool) + GetTargetDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetAnnouncementDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetChangeType(value *ChangeAnnouncementChangeType)() + SetImpactLink(value *string)() + SetIsCustomerActionRequired(value *bool)() + SetTargetDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/attendance_record.go b/models/attendance_record.go index cd823b5694b..defd98c1bc4 100644 --- a/models/attendance_record.go +++ b/models/attendance_record.go @@ -43,6 +43,18 @@ func (m *AttendanceRecord) GetEmailAddress()(*string) { } return nil } +// GetExternalRegistrationInformation gets the externalRegistrationInformation property value. The externalRegistrationInformation property +// returns a VirtualEventExternalRegistrationInformationable when successful +func (m *AttendanceRecord) GetExternalRegistrationInformation()(VirtualEventExternalRegistrationInformationable) { + val, err := m.GetBackingStore().Get("externalRegistrationInformation") + if err != nil { + panic(err) + } + if val != nil { + return val.(VirtualEventExternalRegistrationInformationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *AttendanceRecord) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -73,6 +85,16 @@ func (m *AttendanceRecord) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["externalRegistrationInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateVirtualEventExternalRegistrationInformationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExternalRegistrationInformation(val.(VirtualEventExternalRegistrationInformationable)) + } + return nil + } res["identity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateIdentityFromDiscriminatorValue) if err != nil { @@ -209,6 +231,12 @@ func (m *AttendanceRecord) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + { + err = writer.WriteObjectValue("externalRegistrationInformation", m.GetExternalRegistrationInformation()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("identity", m.GetIdentity()) if err != nil { @@ -255,6 +283,13 @@ func (m *AttendanceRecord) SetEmailAddress(value *string)() { panic(err) } } +// SetExternalRegistrationInformation sets the externalRegistrationInformation property value. The externalRegistrationInformation property +func (m *AttendanceRecord) SetExternalRegistrationInformation(value VirtualEventExternalRegistrationInformationable)() { + err := m.GetBackingStore().Set("externalRegistrationInformation", value) + if err != nil { + panic(err) + } +} // SetIdentity sets the identity property value. Identity of the user associated with this attendance record. The specific type will be one of the following derived types of identity, depending on the type of the user: communicationsUserIdentity, azureCommunicationServicesUserIdentity. func (m *AttendanceRecord) SetIdentity(value Identityable)() { err := m.GetBackingStore().Set("identity", value) @@ -295,6 +330,7 @@ type AttendanceRecordable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAttendanceIntervals()([]AttendanceIntervalable) GetEmailAddress()(*string) + GetExternalRegistrationInformation()(VirtualEventExternalRegistrationInformationable) GetIdentity()(Identityable) GetRegistrantId()(*string) GetRegistrationId()(*string) @@ -302,6 +338,7 @@ type AttendanceRecordable interface { GetTotalAttendanceInSeconds()(*int32) SetAttendanceIntervals(value []AttendanceIntervalable)() SetEmailAddress(value *string)() + SetExternalRegistrationInformation(value VirtualEventExternalRegistrationInformationable)() SetIdentity(value Identityable)() SetRegistrantId(value *string)() SetRegistrationId(value *string)() diff --git a/models/call_settings.go b/models/call_settings.go new file mode 100644 index 00000000000..7927a362f09 --- /dev/null +++ b/models/call_settings.go @@ -0,0 +1,137 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CallSettings struct { + Entity +} +// NewCallSettings instantiates a new CallSettings and sets the default values. +func NewCallSettings()(*CallSettings) { + m := &CallSettings{ + Entity: *NewEntity(), + } + return m +} +// CreateCallSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCallSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCallSettings(), nil +} +// GetDelegates gets the delegates property value. The delegates property +// returns a []DelegationSettingsable when successful +func (m *CallSettings) GetDelegates()([]DelegationSettingsable) { + val, err := m.GetBackingStore().Get("delegates") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DelegationSettingsable) + } + return nil +} +// GetDelegators gets the delegators property value. The delegators property +// returns a []DelegationSettingsable when successful +func (m *CallSettings) GetDelegators()([]DelegationSettingsable) { + val, err := m.GetBackingStore().Get("delegators") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DelegationSettingsable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CallSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["delegates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDelegationSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DelegationSettingsable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DelegationSettingsable) + } + } + m.SetDelegates(res) + } + return nil + } + res["delegators"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDelegationSettingsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DelegationSettingsable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DelegationSettingsable) + } + } + m.SetDelegators(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *CallSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetDelegates() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDelegates())) + for i, v := range m.GetDelegates() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("delegates", cast) + if err != nil { + return err + } + } + if m.GetDelegators() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDelegators())) + for i, v := range m.GetDelegators() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("delegators", cast) + if err != nil { + return err + } + } + return nil +} +// SetDelegates sets the delegates property value. The delegates property +func (m *CallSettings) SetDelegates(value []DelegationSettingsable)() { + err := m.GetBackingStore().Set("delegates", value) + if err != nil { + panic(err) + } +} +// SetDelegators sets the delegators property value. The delegators property +func (m *CallSettings) SetDelegators(value []DelegationSettingsable)() { + err := m.GetBackingStore().Set("delegators", value) + if err != nil { + panic(err) + } +} +type CallSettingsable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDelegates()([]DelegationSettingsable) + GetDelegators()([]DelegationSettingsable) + SetDelegates(value []DelegationSettingsable)() + SetDelegators(value []DelegationSettingsable)() +} diff --git a/models/certificate_authority_path.go b/models/certificate_authority_path.go index 48c91a85d46..1388da0c869 100644 --- a/models/certificate_authority_path.go +++ b/models/certificate_authority_path.go @@ -51,8 +51,36 @@ func (m *CertificateAuthorityPath) GetFieldDeserializers()(map[string]func(i878a } return nil } + res["mutualTlsOauthConfigurations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMutualTlsOauthConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MutualTlsOauthConfigurationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MutualTlsOauthConfigurationable) + } + } + m.SetMutualTlsOauthConfigurations(res) + } + return nil + } return res } +// GetMutualTlsOauthConfigurations gets the mutualTlsOauthConfigurations property value. The mutualTlsOauthConfigurations property +// returns a []MutualTlsOauthConfigurationable when successful +func (m *CertificateAuthorityPath) GetMutualTlsOauthConfigurations()([]MutualTlsOauthConfigurationable) { + val, err := m.GetBackingStore().Get("mutualTlsOauthConfigurations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MutualTlsOauthConfigurationable) + } + return nil +} // Serialize serializes information the current object func (m *CertificateAuthorityPath) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -71,6 +99,18 @@ func (m *CertificateAuthorityPath) Serialize(writer i878a80d2330e89d26896388a3f4 return err } } + if m.GetMutualTlsOauthConfigurations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMutualTlsOauthConfigurations())) + for i, v := range m.GetMutualTlsOauthConfigurations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("mutualTlsOauthConfigurations", cast) + if err != nil { + return err + } + } return nil } // SetCertificateBasedApplicationConfigurations sets the certificateBasedApplicationConfigurations property value. Defines the trusted certificate authorities for certificates that can be added to apps and service principals in the tenant. @@ -80,9 +120,18 @@ func (m *CertificateAuthorityPath) SetCertificateBasedApplicationConfigurations( panic(err) } } +// SetMutualTlsOauthConfigurations sets the mutualTlsOauthConfigurations property value. The mutualTlsOauthConfigurations property +func (m *CertificateAuthorityPath) SetMutualTlsOauthConfigurations(value []MutualTlsOauthConfigurationable)() { + err := m.GetBackingStore().Set("mutualTlsOauthConfigurations", value) + if err != nil { + panic(err) + } +} type CertificateAuthorityPathable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCertificateBasedApplicationConfigurations()([]CertificateBasedApplicationConfigurationable) + GetMutualTlsOauthConfigurations()([]MutualTlsOauthConfigurationable) SetCertificateBasedApplicationConfigurations(value []CertificateBasedApplicationConfigurationable)() + SetMutualTlsOauthConfigurations(value []MutualTlsOauthConfigurationable)() } diff --git a/models/change_announcement_change_type.go b/models/change_announcement_change_type.go new file mode 100644 index 00000000000..98fec65224c --- /dev/null +++ b/models/change_announcement_change_type.go @@ -0,0 +1,54 @@ +package models +type ChangeAnnouncementChangeType int + +const ( + BREAKINGCHANGE_CHANGEANNOUNCEMENTCHANGETYPE ChangeAnnouncementChangeType = iota + DEPRECATION_CHANGEANNOUNCEMENTCHANGETYPE + ENDOFSUPPORT_CHANGEANNOUNCEMENTCHANGETYPE + FEATURECHANGE_CHANGEANNOUNCEMENTCHANGETYPE + OTHER_CHANGEANNOUNCEMENTCHANGETYPE + RETIREMENT_CHANGEANNOUNCEMENTCHANGETYPE + SECURITYINCIDENT_CHANGEANNOUNCEMENTCHANGETYPE + UXCHANGE_CHANGEANNOUNCEMENTCHANGETYPE + UNKNOWNFUTUREVALUE_CHANGEANNOUNCEMENTCHANGETYPE +) + +func (i ChangeAnnouncementChangeType) String() string { + return []string{"breakingChange", "deprecation", "endOfSupport", "featureChange", "other", "retirement", "securityIncident", "uxChange", "unknownFutureValue"}[i] +} +func ParseChangeAnnouncementChangeType(v string) (any, error) { + result := BREAKINGCHANGE_CHANGEANNOUNCEMENTCHANGETYPE + switch v { + case "breakingChange": + result = BREAKINGCHANGE_CHANGEANNOUNCEMENTCHANGETYPE + case "deprecation": + result = DEPRECATION_CHANGEANNOUNCEMENTCHANGETYPE + case "endOfSupport": + result = ENDOFSUPPORT_CHANGEANNOUNCEMENTCHANGETYPE + case "featureChange": + result = FEATURECHANGE_CHANGEANNOUNCEMENTCHANGETYPE + case "other": + result = OTHER_CHANGEANNOUNCEMENTCHANGETYPE + case "retirement": + result = RETIREMENT_CHANGEANNOUNCEMENTCHANGETYPE + case "securityIncident": + result = SECURITYINCIDENT_CHANGEANNOUNCEMENTCHANGETYPE + case "uxChange": + result = UXCHANGE_CHANGEANNOUNCEMENTCHANGETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CHANGEANNOUNCEMENTCHANGETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeChangeAnnouncementChangeType(values []ChangeAnnouncementChangeType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ChangeAnnouncementChangeType) isMultiValue() bool { + return false +} diff --git a/models/change_item_base.go b/models/change_item_base.go new file mode 100644 index 00000000000..d1f96f4b1b7 --- /dev/null +++ b/models/change_item_base.go @@ -0,0 +1,336 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ChangeItemBase struct { + Entity +} +// NewChangeItemBase instantiates a new ChangeItemBase and sets the default values. +func NewChangeItemBase()(*ChangeItemBase) { + m := &ChangeItemBase{ + Entity: *NewEntity(), + } + return m +} +// CreateChangeItemBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateChangeItemBaseFromDiscriminatorValue(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.announcement": + return NewAnnouncement(), nil + case "#microsoft.graph.roadmap": + return NewRoadmap(), nil + } + } + } + } + return NewChangeItemBase(), nil +} +// GetChangeItemService gets the changeItemService property value. Specifies the Microsoft Entra service name to which this item belongs. Supports $filter (eq, ne, in) and $orderby. +// returns a *string when successful +func (m *ChangeItemBase) GetChangeItemService()(*string) { + val, err := m.GetBackingStore().Get("changeItemService") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDescription gets the description property value. Description of the new feature or change announcement. Supports $filter (eq, ne, in, startswith) and $orderby. +// returns a *string when successful +func (m *ChangeItemBase) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDocumentationUrls gets the documentationUrls property value. Link to the feature or change documentation. Supports $filter (any with eq). +// returns a []string when successful +func (m *ChangeItemBase) GetDocumentationUrls()([]string) { + val, err := m.GetBackingStore().Get("documentationUrls") + 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 *ChangeItemBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["changeItemService"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetChangeItemService(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["documentationUrls"] = 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.SetDocumentationUrls(res) + } + return nil + } + res["shortDescription"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetShortDescription(val) + } + return nil + } + res["systemTags"] = 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.SetSystemTags(res) + } + return nil + } + res["tags"] = 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.SetTags(res) + } + return nil + } + res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTitle(val) + } + return nil + } + return res +} +// GetShortDescription gets the shortDescription property value. A short description of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. +// returns a *string when successful +func (m *ChangeItemBase) GetShortDescription()(*string) { + val, err := m.GetBackingStore().Get("shortDescription") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSystemTags gets the systemTags property value. Microsoft Entra-specific tags. Example values: Top announcement - entraroadmaphighlightproductnews, New release highlight - entraroadmaphighlightnewfeature. Supports $filter (any with eq). +// returns a []string when successful +func (m *ChangeItemBase) GetSystemTags()([]string) { + val, err := m.GetBackingStore().Get("systemTags") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTags gets the tags property value. Identity and Access Management (IAM) related tags. Example values: External Identities, Reliability and Resilience. Supports $filter (any with eq). +// returns a []string when successful +func (m *ChangeItemBase) GetTags()([]string) { + val, err := m.GetBackingStore().Get("tags") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTitle gets the title property value. Title of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. +// returns a *string when successful +func (m *ChangeItemBase) GetTitle()(*string) { + val, err := m.GetBackingStore().Get("title") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ChangeItemBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("changeItemService", m.GetChangeItemService()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + if m.GetDocumentationUrls() != nil { + err = writer.WriteCollectionOfStringValues("documentationUrls", m.GetDocumentationUrls()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("shortDescription", m.GetShortDescription()) + if err != nil { + return err + } + } + if m.GetSystemTags() != nil { + err = writer.WriteCollectionOfStringValues("systemTags", m.GetSystemTags()) + if err != nil { + return err + } + } + if m.GetTags() != nil { + err = writer.WriteCollectionOfStringValues("tags", m.GetTags()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("title", m.GetTitle()) + if err != nil { + return err + } + } + return nil +} +// SetChangeItemService sets the changeItemService property value. Specifies the Microsoft Entra service name to which this item belongs. Supports $filter (eq, ne, in) and $orderby. +func (m *ChangeItemBase) SetChangeItemService(value *string)() { + err := m.GetBackingStore().Set("changeItemService", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. Description of the new feature or change announcement. Supports $filter (eq, ne, in, startswith) and $orderby. +func (m *ChangeItemBase) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDocumentationUrls sets the documentationUrls property value. Link to the feature or change documentation. Supports $filter (any with eq). +func (m *ChangeItemBase) SetDocumentationUrls(value []string)() { + err := m.GetBackingStore().Set("documentationUrls", value) + if err != nil { + panic(err) + } +} +// SetShortDescription sets the shortDescription property value. A short description of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. +func (m *ChangeItemBase) SetShortDescription(value *string)() { + err := m.GetBackingStore().Set("shortDescription", value) + if err != nil { + panic(err) + } +} +// SetSystemTags sets the systemTags property value. Microsoft Entra-specific tags. Example values: Top announcement - entraroadmaphighlightproductnews, New release highlight - entraroadmaphighlightnewfeature. Supports $filter (any with eq). +func (m *ChangeItemBase) SetSystemTags(value []string)() { + err := m.GetBackingStore().Set("systemTags", value) + if err != nil { + panic(err) + } +} +// SetTags sets the tags property value. Identity and Access Management (IAM) related tags. Example values: External Identities, Reliability and Resilience. Supports $filter (any with eq). +func (m *ChangeItemBase) SetTags(value []string)() { + err := m.GetBackingStore().Set("tags", value) + if err != nil { + panic(err) + } +} +// SetTitle sets the title property value. Title of the feature or change. Supports $filter (eq, ne, in, startswith) and $orderby. +func (m *ChangeItemBase) SetTitle(value *string)() { + err := m.GetBackingStore().Set("title", value) + if err != nil { + panic(err) + } +} +type ChangeItemBaseable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetChangeItemService()(*string) + GetDescription()(*string) + GetDocumentationUrls()([]string) + GetShortDescription()(*string) + GetSystemTags()([]string) + GetTags()([]string) + GetTitle()(*string) + SetChangeItemService(value *string)() + SetDescription(value *string)() + SetDocumentationUrls(value []string)() + SetShortDescription(value *string)() + SetSystemTags(value []string)() + SetTags(value []string)() + SetTitle(value *string)() +} diff --git a/models/change_item_base_collection_response.go b/models/change_item_base_collection_response.go new file mode 100644 index 00000000000..a566c916bb2 --- /dev/null +++ b/models/change_item_base_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ChangeItemBaseCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewChangeItemBaseCollectionResponse instantiates a new ChangeItemBaseCollectionResponse and sets the default values. +func NewChangeItemBaseCollectionResponse()(*ChangeItemBaseCollectionResponse) { + m := &ChangeItemBaseCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateChangeItemBaseCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateChangeItemBaseCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewChangeItemBaseCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ChangeItemBaseCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateChangeItemBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ChangeItemBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ChangeItemBaseable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ChangeItemBaseable when successful +func (m *ChangeItemBaseCollectionResponse) GetValue()([]ChangeItemBaseable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ChangeItemBaseable) + } + return nil +} +// Serialize serializes information the current object +func (m *ChangeItemBaseCollectionResponse) 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 *ChangeItemBaseCollectionResponse) SetValue(value []ChangeItemBaseable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ChangeItemBaseCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ChangeItemBaseable) + SetValue(value []ChangeItemBaseable)() +} diff --git a/models/change_item_state.go b/models/change_item_state.go new file mode 100644 index 00000000000..760884ef162 --- /dev/null +++ b/models/change_item_state.go @@ -0,0 +1,36 @@ +package models +type ChangeItemState int + +const ( + AVAILABLE_CHANGEITEMSTATE ChangeItemState = iota + COMINGSOON_CHANGEITEMSTATE + UNKNOWNFUTUREVALUE_CHANGEITEMSTATE +) + +func (i ChangeItemState) String() string { + return []string{"available", "comingSoon", "unknownFutureValue"}[i] +} +func ParseChangeItemState(v string) (any, error) { + result := AVAILABLE_CHANGEITEMSTATE + switch v { + case "available": + result = AVAILABLE_CHANGEITEMSTATE + case "comingSoon": + result = COMINGSOON_CHANGEITEMSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CHANGEITEMSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeChangeItemState(values []ChangeItemState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ChangeItemState) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_bulk_create_snapshot.go b/models/cloud_pc_bulk_create_snapshot.go index 84e8332254d..2a051ce41f3 100644 --- a/models/cloud_pc_bulk_create_snapshot.go +++ b/models/cloud_pc_bulk_create_snapshot.go @@ -21,7 +21,7 @@ func NewCloudPcBulkCreateSnapshot()(*CloudPcBulkCreateSnapshot) { func CreateCloudPcBulkCreateSnapshotFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCloudPcBulkCreateSnapshot(), nil } -// GetAccessTier gets the accessTier property value. The accessTier property +// GetAccessTier gets the accessTier property value. Indicates the access tier of the blob file that the snapshot is copied to. Possible values are hot, cool, cold, archive, and unknownFutureValue. The default value is hot. Read-Only. // returns a *CloudPcBlobAccessTier when successful func (m *CloudPcBulkCreateSnapshot) GetAccessTier()(*CloudPcBlobAccessTier) { val, err := m.GetBackingStore().Get("accessTier") @@ -59,7 +59,7 @@ func (m *CloudPcBulkCreateSnapshot) GetFieldDeserializers()(map[string]func(i878 } return res } -// GetStorageAccountId gets the storageAccountId property value. The storageAccountId property +// GetStorageAccountId gets the storageAccountId property value. The unique identifier for Secure Azure Storage Account, which receives the restore points (snapshots). The value can't be modified after it's created. For example, '/subscriptions/06199b73-30a1-4922-8734-93feca64cdf6/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125'. Read-Only. // returns a *string when successful func (m *CloudPcBulkCreateSnapshot) GetStorageAccountId()(*string) { val, err := m.GetBackingStore().Get("storageAccountId") @@ -92,14 +92,14 @@ func (m *CloudPcBulkCreateSnapshot) Serialize(writer i878a80d2330e89d26896388a3f } return nil } -// SetAccessTier sets the accessTier property value. The accessTier property +// SetAccessTier sets the accessTier property value. Indicates the access tier of the blob file that the snapshot is copied to. Possible values are hot, cool, cold, archive, and unknownFutureValue. The default value is hot. Read-Only. func (m *CloudPcBulkCreateSnapshot) SetAccessTier(value *CloudPcBlobAccessTier)() { err := m.GetBackingStore().Set("accessTier", value) if err != nil { panic(err) } } -// SetStorageAccountId sets the storageAccountId property value. The storageAccountId property +// SetStorageAccountId sets the storageAccountId property value. The unique identifier for Secure Azure Storage Account, which receives the restore points (snapshots). The value can't be modified after it's created. For example, '/subscriptions/06199b73-30a1-4922-8734-93feca64cdf6/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125'. Read-Only. func (m *CloudPcBulkCreateSnapshot) SetStorageAccountId(value *string)() { err := m.GetBackingStore().Set("storageAccountId", value) if err != nil { diff --git a/models/cloud_pc_policy_apply_action_result.go b/models/cloud_pc_policy_apply_action_result.go new file mode 100644 index 00000000000..7a912f02eb7 --- /dev/null +++ b/models/cloud_pc_policy_apply_action_result.go @@ -0,0 +1,226 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CloudPcPolicyApplyActionResult struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudPcPolicyApplyActionResult instantiates a new CloudPcPolicyApplyActionResult and sets the default values. +func NewCloudPcPolicyApplyActionResult()(*CloudPcPolicyApplyActionResult) { + m := &CloudPcPolicyApplyActionResult{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudPcPolicyApplyActionResultFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudPcPolicyApplyActionResultFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudPcPolicyApplyActionResult(), 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 *CloudPcPolicyApplyActionResult) 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 *CloudPcPolicyApplyActionResult) 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 *CloudPcPolicyApplyActionResult) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["finishDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetFinishDateTime(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["startDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetStartDateTime(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudPcPolicyApplyActionStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*CloudPcPolicyApplyActionStatus)) + } + return nil + } + return res +} +// GetFinishDateTime gets the finishDateTime property value. The finishDateTime property +// returns a *Time when successful +func (m *CloudPcPolicyApplyActionResult) GetFinishDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("finishDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CloudPcPolicyApplyActionResult) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStartDateTime gets the startDateTime property value. The startDateTime property +// returns a *Time when successful +func (m *CloudPcPolicyApplyActionResult) GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("startDateTime") + 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 *CloudPcPolicyApplyActionStatus when successful +func (m *CloudPcPolicyApplyActionResult) GetStatus()(*CloudPcPolicyApplyActionStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudPcPolicyApplyActionStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudPcPolicyApplyActionResult) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("finishDateTime", m.GetFinishDateTime()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteTimeValue("startDateTime", m.GetStartDateTime()) + 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.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 *CloudPcPolicyApplyActionResult) 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 *CloudPcPolicyApplyActionResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFinishDateTime sets the finishDateTime property value. The finishDateTime property +func (m *CloudPcPolicyApplyActionResult) SetFinishDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("finishDateTime", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudPcPolicyApplyActionResult) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetStartDateTime sets the startDateTime property value. The startDateTime property +func (m *CloudPcPolicyApplyActionResult) SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("startDateTime", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status property +func (m *CloudPcPolicyApplyActionResult) SetStatus(value *CloudPcPolicyApplyActionStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type CloudPcPolicyApplyActionResultable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFinishDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetOdataType()(*string) + GetStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetStatus()(*CloudPcPolicyApplyActionStatus) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFinishDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetOdataType(value *string)() + SetStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetStatus(value *CloudPcPolicyApplyActionStatus)() +} diff --git a/models/cloud_pc_policy_apply_action_status.go b/models/cloud_pc_policy_apply_action_status.go new file mode 100644 index 00000000000..66e15c18e23 --- /dev/null +++ b/models/cloud_pc_policy_apply_action_status.go @@ -0,0 +1,39 @@ +package models +type CloudPcPolicyApplyActionStatus int + +const ( + PROCESSING_CLOUDPCPOLICYAPPLYACTIONSTATUS CloudPcPolicyApplyActionStatus = iota + SUCCEEDED_CLOUDPCPOLICYAPPLYACTIONSTATUS + FAILED_CLOUDPCPOLICYAPPLYACTIONSTATUS + UNKNOWNFUTUREVALUE_CLOUDPCPOLICYAPPLYACTIONSTATUS +) + +func (i CloudPcPolicyApplyActionStatus) String() string { + return []string{"processing", "succeeded", "failed", "unknownFutureValue"}[i] +} +func ParseCloudPcPolicyApplyActionStatus(v string) (any, error) { + result := PROCESSING_CLOUDPCPOLICYAPPLYACTIONSTATUS + switch v { + case "processing": + result = PROCESSING_CLOUDPCPOLICYAPPLYACTIONSTATUS + case "succeeded": + result = SUCCEEDED_CLOUDPCPOLICYAPPLYACTIONSTATUS + case "failed": + result = FAILED_CLOUDPCPOLICYAPPLYACTIONSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDPCPOLICYAPPLYACTIONSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeCloudPcPolicyApplyActionStatus(values []CloudPcPolicyApplyActionStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudPcPolicyApplyActionStatus) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_policy_scheduled_apply_action_detail.go b/models/cloud_pc_policy_scheduled_apply_action_detail.go new file mode 100644 index 00000000000..960b6b4a64b --- /dev/null +++ b/models/cloud_pc_policy_scheduled_apply_action_detail.go @@ -0,0 +1,187 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CloudPcPolicyScheduledApplyActionDetail struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCloudPcPolicyScheduledApplyActionDetail instantiates a new CloudPcPolicyScheduledApplyActionDetail and sets the default values. +func NewCloudPcPolicyScheduledApplyActionDetail()(*CloudPcPolicyScheduledApplyActionDetail) { + m := &CloudPcPolicyScheduledApplyActionDetail{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCloudPcPolicyScheduledApplyActionDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudPcPolicyScheduledApplyActionDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudPcPolicyScheduledApplyActionDetail(), 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 *CloudPcPolicyScheduledApplyActionDetail) 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 *CloudPcPolicyScheduledApplyActionDetail) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCronScheduleExpression gets the cronScheduleExpression property value. The cronScheduleExpression property +// returns a *string when successful +func (m *CloudPcPolicyScheduledApplyActionDetail) GetCronScheduleExpression()(*string) { + val, err := m.GetBackingStore().Get("cronScheduleExpression") + 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 *CloudPcPolicyScheduledApplyActionDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["cronScheduleExpression"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCronScheduleExpression(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["reservePercentage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetReservePercentage(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *CloudPcPolicyScheduledApplyActionDetail) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReservePercentage gets the reservePercentage property value. The reservePercentage property +// returns a *int32 when successful +func (m *CloudPcPolicyScheduledApplyActionDetail) GetReservePercentage()(*int32) { + val, err := m.GetBackingStore().Get("reservePercentage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudPcPolicyScheduledApplyActionDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("cronScheduleExpression", m.GetCronScheduleExpression()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("reservePercentage", m.GetReservePercentage()) + 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 *CloudPcPolicyScheduledApplyActionDetail) 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 *CloudPcPolicyScheduledApplyActionDetail) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCronScheduleExpression sets the cronScheduleExpression property value. The cronScheduleExpression property +func (m *CloudPcPolicyScheduledApplyActionDetail) SetCronScheduleExpression(value *string)() { + err := m.GetBackingStore().Set("cronScheduleExpression", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CloudPcPolicyScheduledApplyActionDetail) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetReservePercentage sets the reservePercentage property value. The reservePercentage property +func (m *CloudPcPolicyScheduledApplyActionDetail) SetReservePercentage(value *int32)() { + err := m.GetBackingStore().Set("reservePercentage", value) + if err != nil { + panic(err) + } +} +type CloudPcPolicyScheduledApplyActionDetailable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCronScheduleExpression()(*string) + GetOdataType()(*string) + GetReservePercentage()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCronScheduleExpression(value *string)() + SetOdataType(value *string)() + SetReservePercentage(value *int32)() +} diff --git a/models/cloud_pc_review_status.go b/models/cloud_pc_review_status.go index 44af9785a5e..955b6673bce 100644 --- a/models/cloud_pc_review_status.go +++ b/models/cloud_pc_review_status.go @@ -23,7 +23,7 @@ func NewCloudPcReviewStatus()(*CloudPcReviewStatus) { func CreateCloudPcReviewStatusFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCloudPcReviewStatus(), nil } -// GetAccessTier gets the accessTier property value. The accessTier property +// GetAccessTier gets the accessTier property value. The blob access tier of the Azure Storage account in which the Cloud PC snapshot is saved with. Possible values are hot, cool, cold, and archive, default value is hot. // returns a *CloudPcBlobAccessTier when successful func (m *CloudPcReviewStatus) GetAccessTier()(*CloudPcBlobAccessTier) { val, err := m.GetBackingStore().Get("accessTier") @@ -367,7 +367,7 @@ func (m *CloudPcReviewStatus) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetAccessTier sets the accessTier property value. The accessTier property +// SetAccessTier sets the accessTier property value. The blob access tier of the Azure Storage account in which the Cloud PC snapshot is saved with. Possible values are hot, cool, cold, and archive, default value is hot. func (m *CloudPcReviewStatus) SetAccessTier(value *CloudPcBlobAccessTier)() { err := m.GetBackingStore().Set("accessTier", value) if err != nil { diff --git a/models/delegate_allowed_actions.go b/models/delegate_allowed_actions.go new file mode 100644 index 00000000000..49d3fa239aa --- /dev/null +++ b/models/delegate_allowed_actions.go @@ -0,0 +1,298 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DelegateAllowedActions struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDelegateAllowedActions instantiates a new DelegateAllowedActions and sets the default values. +func NewDelegateAllowedActions()(*DelegateAllowedActions) { + m := &DelegateAllowedActions{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDelegateAllowedActionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDelegateAllowedActionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDelegateAllowedActions(), 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 *DelegateAllowedActions) 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 *DelegateAllowedActions) 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 *DelegateAllowedActions) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["joinActiveCalls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetJoinActiveCalls(val) + } + return nil + } + res["makeCalls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetMakeCalls(val) + } + return nil + } + res["manageCallAndDelegateSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetManageCallAndDelegateSettings(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["pickUpHeldCalls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetPickUpHeldCalls(val) + } + return nil + } + res["receiveCalls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetReceiveCalls(val) + } + return nil + } + return res +} +// GetJoinActiveCalls gets the joinActiveCalls property value. The joinActiveCalls property +// returns a *bool when successful +func (m *DelegateAllowedActions) GetJoinActiveCalls()(*bool) { + val, err := m.GetBackingStore().Get("joinActiveCalls") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetMakeCalls gets the makeCalls property value. The makeCalls property +// returns a *bool when successful +func (m *DelegateAllowedActions) GetMakeCalls()(*bool) { + val, err := m.GetBackingStore().Get("makeCalls") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetManageCallAndDelegateSettings gets the manageCallAndDelegateSettings property value. The manageCallAndDelegateSettings property +// returns a *bool when successful +func (m *DelegateAllowedActions) GetManageCallAndDelegateSettings()(*bool) { + val, err := m.GetBackingStore().Get("manageCallAndDelegateSettings") + 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 *DelegateAllowedActions) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPickUpHeldCalls gets the pickUpHeldCalls property value. The pickUpHeldCalls property +// returns a *bool when successful +func (m *DelegateAllowedActions) GetPickUpHeldCalls()(*bool) { + val, err := m.GetBackingStore().Get("pickUpHeldCalls") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetReceiveCalls gets the receiveCalls property value. The receiveCalls property +// returns a *bool when successful +func (m *DelegateAllowedActions) GetReceiveCalls()(*bool) { + val, err := m.GetBackingStore().Get("receiveCalls") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *DelegateAllowedActions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("joinActiveCalls", m.GetJoinActiveCalls()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("makeCalls", m.GetMakeCalls()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("manageCallAndDelegateSettings", m.GetManageCallAndDelegateSettings()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("pickUpHeldCalls", m.GetPickUpHeldCalls()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("receiveCalls", m.GetReceiveCalls()) + 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 *DelegateAllowedActions) 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 *DelegateAllowedActions) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetJoinActiveCalls sets the joinActiveCalls property value. The joinActiveCalls property +func (m *DelegateAllowedActions) SetJoinActiveCalls(value *bool)() { + err := m.GetBackingStore().Set("joinActiveCalls", value) + if err != nil { + panic(err) + } +} +// SetMakeCalls sets the makeCalls property value. The makeCalls property +func (m *DelegateAllowedActions) SetMakeCalls(value *bool)() { + err := m.GetBackingStore().Set("makeCalls", value) + if err != nil { + panic(err) + } +} +// SetManageCallAndDelegateSettings sets the manageCallAndDelegateSettings property value. The manageCallAndDelegateSettings property +func (m *DelegateAllowedActions) SetManageCallAndDelegateSettings(value *bool)() { + err := m.GetBackingStore().Set("manageCallAndDelegateSettings", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DelegateAllowedActions) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPickUpHeldCalls sets the pickUpHeldCalls property value. The pickUpHeldCalls property +func (m *DelegateAllowedActions) SetPickUpHeldCalls(value *bool)() { + err := m.GetBackingStore().Set("pickUpHeldCalls", value) + if err != nil { + panic(err) + } +} +// SetReceiveCalls sets the receiveCalls property value. The receiveCalls property +func (m *DelegateAllowedActions) SetReceiveCalls(value *bool)() { + err := m.GetBackingStore().Set("receiveCalls", value) + if err != nil { + panic(err) + } +} +type DelegateAllowedActionsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetJoinActiveCalls()(*bool) + GetMakeCalls()(*bool) + GetManageCallAndDelegateSettings()(*bool) + GetOdataType()(*string) + GetPickUpHeldCalls()(*bool) + GetReceiveCalls()(*bool) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetJoinActiveCalls(value *bool)() + SetMakeCalls(value *bool)() + SetManageCallAndDelegateSettings(value *bool)() + SetOdataType(value *string)() + SetPickUpHeldCalls(value *bool)() + SetReceiveCalls(value *bool)() +} diff --git a/models/delegation_settings.go b/models/delegation_settings.go new file mode 100644 index 00000000000..08ff40ab64a --- /dev/null +++ b/models/delegation_settings.go @@ -0,0 +1,151 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DelegationSettings struct { + Entity +} +// NewDelegationSettings instantiates a new DelegationSettings and sets the default values. +func NewDelegationSettings()(*DelegationSettings) { + m := &DelegationSettings{ + Entity: *NewEntity(), + } + return m +} +// CreateDelegationSettingsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDelegationSettingsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDelegationSettings(), nil +} +// GetAllowedActions gets the allowedActions property value. The allowedActions property +// returns a DelegateAllowedActionsable when successful +func (m *DelegationSettings) GetAllowedActions()(DelegateAllowedActionsable) { + val, err := m.GetBackingStore().Get("allowedActions") + if err != nil { + panic(err) + } + if val != nil { + return val.(DelegateAllowedActionsable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// returns a *Time when successful +func (m *DelegationSettings) 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 *DelegationSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["allowedActions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDelegateAllowedActionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAllowedActions(val.(DelegateAllowedActionsable)) + } + 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["isActive"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsActive(val) + } + return nil + } + return res +} +// GetIsActive gets the isActive property value. The isActive property +// returns a *bool when successful +func (m *DelegationSettings) GetIsActive()(*bool) { + val, err := m.GetBackingStore().Get("isActive") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *DelegationSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("allowedActions", m.GetAllowedActions()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("createdDateTime", m.GetCreatedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isActive", m.GetIsActive()) + if err != nil { + return err + } + } + return nil +} +// SetAllowedActions sets the allowedActions property value. The allowedActions property +func (m *DelegationSettings) SetAllowedActions(value DelegateAllowedActionsable)() { + err := m.GetBackingStore().Set("allowedActions", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +func (m *DelegationSettings) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetIsActive sets the isActive property value. The isActive property +func (m *DelegationSettings) SetIsActive(value *bool)() { + err := m.GetBackingStore().Set("isActive", value) + if err != nil { + panic(err) + } +} +type DelegationSettingsable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAllowedActions()(DelegateAllowedActionsable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetIsActive()(*bool) + SetAllowedActions(value DelegateAllowedActionsable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetIsActive(value *bool)() +} diff --git a/models/device.go b/models/device.go index 6184af15058..fd90f6c4ec7 100644 --- a/models/device.go +++ b/models/device.go @@ -34,6 +34,18 @@ func (m *Device) GetAccountEnabled()(*bool) { } return nil } +// GetAlternativeNames gets the alternativeNames property value. The alternativeNames property +// returns a []string when successful +func (m *Device) GetAlternativeNames()([]string) { + val, err := m.GetBackingStore().Get("alternativeNames") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // GetAlternativeSecurityIds gets the alternativeSecurityIds property value. For internal use only. Not nullable. Supports $filter (eq, not, ge, le). // returns a []AlternativeSecurityIdable when successful func (m *Device) GetAlternativeSecurityIds()([]AlternativeSecurityIdable) { @@ -130,6 +142,18 @@ func (m *Device) GetDeviceOwnership()(*string) { } return nil } +// GetDeviceTemplate gets the deviceTemplate property value. The deviceTemplate property +// returns a []DeviceTemplateable when successful +func (m *Device) GetDeviceTemplate()([]DeviceTemplateable) { + val, err := m.GetBackingStore().Get("deviceTemplate") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DeviceTemplateable) + } + return nil +} // GetDeviceVersion gets the deviceVersion property value. For internal use only. // returns a *int32 when successful func (m *Device) GetDeviceVersion()(*int32) { @@ -228,6 +252,22 @@ func (m *Device) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["alternativeNames"] = 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.SetAlternativeNames(res) + } + return nil + } res["alternativeSecurityIds"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateAlternativeSecurityIdFromDiscriminatorValue) if err != nil { @@ -320,6 +360,22 @@ func (m *Device) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689638 } return nil } + res["deviceTemplate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDeviceTemplateFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DeviceTemplateable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DeviceTemplateable) + } + } + m.SetDeviceTemplate(res) + } + return nil + } res["deviceVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetInt32Value() if err != nil { @@ -1074,6 +1130,12 @@ func (m *Device) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + if m.GetAlternativeNames() != nil { + err = writer.WriteCollectionOfStringValues("alternativeNames", m.GetAlternativeNames()) + if err != nil { + return err + } + } if m.GetAlternativeSecurityIds() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAlternativeSecurityIds())) for i, v := range m.GetAlternativeSecurityIds() { @@ -1134,6 +1196,18 @@ func (m *Device) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c return err } } + if m.GetDeviceTemplate() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDeviceTemplate())) + for i, v := range m.GetDeviceTemplate() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("deviceTemplate", cast) + if err != nil { + return err + } + } { err = writer.WriteInt32Value("deviceVersion", m.GetDeviceVersion()) if err != nil { @@ -1389,6 +1463,13 @@ func (m *Device) SetAccountEnabled(value *bool)() { panic(err) } } +// SetAlternativeNames sets the alternativeNames property value. The alternativeNames property +func (m *Device) SetAlternativeNames(value []string)() { + err := m.GetBackingStore().Set("alternativeNames", value) + if err != nil { + panic(err) + } +} // SetAlternativeSecurityIds sets the alternativeSecurityIds property value. For internal use only. Not nullable. Supports $filter (eq, not, ge, le). func (m *Device) SetAlternativeSecurityIds(value []AlternativeSecurityIdable)() { err := m.GetBackingStore().Set("alternativeSecurityIds", value) @@ -1445,6 +1526,13 @@ func (m *Device) SetDeviceOwnership(value *string)() { panic(err) } } +// SetDeviceTemplate sets the deviceTemplate property value. The deviceTemplate property +func (m *Device) SetDeviceTemplate(value []DeviceTemplateable)() { + err := m.GetBackingStore().Set("deviceTemplate", value) + if err != nil { + panic(err) + } +} // SetDeviceVersion sets the deviceVersion property value. For internal use only. func (m *Device) SetDeviceVersion(value *int32)() { err := m.GetBackingStore().Set("deviceVersion", value) @@ -1694,6 +1782,7 @@ type Deviceable interface { DirectoryObjectable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAccountEnabled()(*bool) + GetAlternativeNames()([]string) GetAlternativeSecurityIds()([]AlternativeSecurityIdable) GetApproximateLastSignInDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetCommands()([]Commandable) @@ -1702,6 +1791,7 @@ type Deviceable interface { GetDeviceId()(*string) GetDeviceMetadata()(*string) GetDeviceOwnership()(*string) + GetDeviceTemplate()([]DeviceTemplateable) GetDeviceVersion()(*int32) GetDisplayName()(*string) GetDomainName()(*string) @@ -1738,6 +1828,7 @@ type Deviceable interface { GetTrustType()(*string) GetUsageRights()([]UsageRightable) SetAccountEnabled(value *bool)() + SetAlternativeNames(value []string)() SetAlternativeSecurityIds(value []AlternativeSecurityIdable)() SetApproximateLastSignInDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetCommands(value []Commandable)() @@ -1746,6 +1837,7 @@ type Deviceable interface { SetDeviceId(value *string)() SetDeviceMetadata(value *string)() SetDeviceOwnership(value *string)() + SetDeviceTemplate(value []DeviceTemplateable)() SetDeviceVersion(value *int32)() SetDisplayName(value *string)() SetDomainName(value *string)() diff --git a/models/device_compliance_policy.go b/models/device_compliance_policy.go index 79acc594d7c..0fbecee2804 100644 --- a/models/device_compliance_policy.go +++ b/models/device_compliance_policy.go @@ -341,7 +341,7 @@ func (m *DeviceCompliancePolicy) GetRoleScopeTagIds()([]string) { } return nil } -// GetScheduledActionsForRule gets the scheduledActionsForRule property value. The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// GetScheduledActionsForRule gets the scheduledActionsForRule property value. The list of scheduled action for this rule // returns a []DeviceComplianceScheduledActionForRuleable when successful func (m *DeviceCompliancePolicy) GetScheduledActionsForRule()([]DeviceComplianceScheduledActionForRuleable) { val, err := m.GetBackingStore().Get("scheduledActionsForRule") @@ -568,7 +568,7 @@ func (m *DeviceCompliancePolicy) SetRoleScopeTagIds(value []string)() { panic(err) } } -// SetScheduledActionsForRule sets the scheduledActionsForRule property value. The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. +// SetScheduledActionsForRule sets the scheduledActionsForRule property value. The list of scheduled action for this rule func (m *DeviceCompliancePolicy) SetScheduledActionsForRule(value []DeviceComplianceScheduledActionForRuleable)() { err := m.GetBackingStore().Set("scheduledActionsForRule", value) if err != nil { diff --git a/models/device_management_configuration_referred_setting_information.go b/models/device_management_configuration_referred_setting_information.go index 16fe9c74a9a..8f0d294486c 100644 --- a/models/device_management_configuration_referred_setting_information.go +++ b/models/device_management_configuration_referred_setting_information.go @@ -79,7 +79,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) GetOdataType() } return nil } -// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// GetSettingDefinitionId gets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. // returns a *string when successful func (m *DeviceManagementConfigurationReferredSettingInformation) GetSettingDefinitionId()(*string) { val, err := m.GetBackingStore().Get("settingDefinitionId") @@ -131,7 +131,7 @@ func (m *DeviceManagementConfigurationReferredSettingInformation) SetOdataType(v panic(err) } } -// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting +// SetSettingDefinitionId sets the settingDefinitionId property value. Setting definition id that is being referred to a setting. Applicable for reusable setting. func (m *DeviceManagementConfigurationReferredSettingInformation) SetSettingDefinitionId(value *string)() { err := m.GetBackingStore().Set("settingDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_definition.go b/models/device_management_configuration_setting_definition.go index 6587253802f..c011e5384f7 100644 --- a/models/device_management_configuration_setting_definition.go +++ b/models/device_management_configuration_setting_definition.go @@ -61,7 +61,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetAccessTypes()(*Devic } return nil } -// GetApplicability gets the applicability property value. Details which device setting is applicable on. Supports: $filters. +// GetApplicability gets the applicability property value. Details which device setting is applicable on // returns a DeviceManagementConfigurationSettingApplicabilityable when successful func (m *DeviceManagementConfigurationSettingDefinition) GetApplicability()(DeviceManagementConfigurationSettingApplicabilityable) { val, err := m.GetBackingStore().Get("applicability") @@ -85,7 +85,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetBaseUri()(*string) { } return nil } -// GetCategoryId gets the categoryId property value. Specify category in which the setting is under. Support $filters. +// GetCategoryId gets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string) { val, err := m.GetBackingStore().Get("categoryId") @@ -97,7 +97,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetCategoryId()(*string } return nil } -// GetDescription gets the description property value. Description of the setting. +// GetDescription gets the description property value. Description of the item // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*string) { val, err := m.GetBackingStore().Get("description") @@ -109,7 +109,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetDescription()(*strin } return nil } -// GetDisplayName gets the displayName property value. Name of the setting. For example: Allow Toast. +// GetDisplayName gets the displayName property value. Display name of the item // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -325,7 +325,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetFieldDeserializers() } return res } -// GetHelpText gets the helpText property value. Help text of the setting. Give more details of the setting. +// GetHelpText gets the helpText property value. Help text of the item // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) { val, err := m.GetBackingStore().Get("helpText") @@ -337,7 +337,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetHelpText()(*string) } return nil } -// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at. +// GetInfoUrls gets the infoUrls property value. List of links more info for the setting can be found at // returns a []string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetInfoUrls()([]string) { val, err := m.GetBackingStore().Get("infoUrls") @@ -409,7 +409,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) GetReferredSettingInfor } return nil } -// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. +// GetRootDefinitionId gets the rootDefinitionId property value. Root setting definition if the setting is a child setting. // returns a *string when successful func (m *DeviceManagementConfigurationSettingDefinition) GetRootDefinitionId()(*string) { val, err := m.GetBackingStore().Get("rootDefinitionId") @@ -602,7 +602,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetAccessTypes(value *D panic(err) } } -// SetApplicability sets the applicability property value. Details which device setting is applicable on. Supports: $filters. +// SetApplicability sets the applicability property value. Details which device setting is applicable on func (m *DeviceManagementConfigurationSettingDefinition) SetApplicability(value DeviceManagementConfigurationSettingApplicabilityable)() { err := m.GetBackingStore().Set("applicability", value) if err != nil { @@ -616,35 +616,35 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetBaseUri(value *strin panic(err) } } -// SetCategoryId sets the categoryId property value. Specify category in which the setting is under. Support $filters. +// SetCategoryId sets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) func (m *DeviceManagementConfigurationSettingDefinition) SetCategoryId(value *string)() { err := m.GetBackingStore().Set("categoryId", value) if err != nil { panic(err) } } -// SetDescription sets the description property value. Description of the setting. +// SetDescription sets the description property value. Description of the item func (m *DeviceManagementConfigurationSettingDefinition) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. Name of the setting. For example: Allow Toast. +// SetDisplayName sets the displayName property value. Display name of the item func (m *DeviceManagementConfigurationSettingDefinition) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetHelpText sets the helpText property value. Help text of the setting. Give more details of the setting. +// SetHelpText sets the helpText property value. Help text of the item func (m *DeviceManagementConfigurationSettingDefinition) SetHelpText(value *string)() { err := m.GetBackingStore().Set("helpText", value) if err != nil { panic(err) } } -// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at. +// SetInfoUrls sets the infoUrls property value. List of links more info for the setting can be found at func (m *DeviceManagementConfigurationSettingDefinition) SetInfoUrls(value []string)() { err := m.GetBackingStore().Set("infoUrls", value) if err != nil { @@ -686,7 +686,7 @@ func (m *DeviceManagementConfigurationSettingDefinition) SetReferredSettingInfor panic(err) } } -// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. +// SetRootDefinitionId sets the rootDefinitionId property value. Root setting definition if the setting is a child setting. func (m *DeviceManagementConfigurationSettingDefinition) SetRootDefinitionId(value *string)() { err := m.GetBackingStore().Set("rootDefinitionId", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_collection_definition.go b/models/device_management_configuration_setting_group_collection_definition.go index 72e7bfbc56a..5d493903800 100644 --- a/models/device_management_configuration_setting_group_collection_definition.go +++ b/models/device_management_configuration_setting_group_collection_definition.go @@ -45,7 +45,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetField } return res } -// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection +// GetMaximumCount gets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 // returns a *int32 when successful func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaximumCount()(*int32) { val, err := m.GetBackingStore().Get("maximumCount") @@ -57,7 +57,7 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMaxim } return nil } -// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection +// GetMinimumCount gets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 // returns a *int32 when successful func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) GetMinimumCount()(*int32) { val, err := m.GetBackingStore().Get("minimumCount") @@ -89,14 +89,14 @@ func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) Serializ } return nil } -// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection +// SetMaximumCount sets the maximumCount property value. Maximum number of setting group count in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMaximumCount(value *int32)() { err := m.GetBackingStore().Set("maximumCount", value) if err != nil { panic(err) } } -// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection +// SetMinimumCount sets the minimumCount property value. Minimum number of setting group count in the collection. Valid values 1 to 100 func (m *DeviceManagementConfigurationSettingGroupCollectionDefinition) SetMinimumCount(value *int32)() { err := m.GetBackingStore().Set("minimumCount", value) if err != nil { diff --git a/models/device_management_configuration_setting_group_definition.go b/models/device_management_configuration_setting_group_definition.go index fa23ec1955c..7e000516f27 100644 --- a/models/device_management_configuration_setting_group_definition.go +++ b/models/device_management_configuration_setting_group_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationSettingGroupDefinitionFromDiscriminatorV } return NewDeviceManagementConfigurationSettingGroupDefinition(), nil } -// GetChildIds gets the childIds property value. Dependent child settings to this group of settings. +// GetChildIds gets the childIds property value. Dependent child settings to this group of settings // returns a []string when successful func (m *DeviceManagementConfigurationSettingGroupDefinition) GetChildIds()([]string) { val, err := m.GetBackingStore().Get("childIds") @@ -165,7 +165,7 @@ func (m *DeviceManagementConfigurationSettingGroupDefinition) Serialize(writer i } return nil } -// SetChildIds sets the childIds property value. Dependent child settings to this group of settings. +// SetChildIds sets the childIds property value. Dependent child settings to this group of settings func (m *DeviceManagementConfigurationSettingGroupDefinition) SetChildIds(value []string)() { err := m.GetBackingStore().Set("childIds", value) if err != nil { diff --git a/models/device_management_configuration_simple_setting_definition.go b/models/device_management_configuration_simple_setting_definition.go index acf2724ebd6..20e692fcff0 100644 --- a/models/device_management_configuration_simple_setting_definition.go +++ b/models/device_management_configuration_simple_setting_definition.go @@ -37,7 +37,7 @@ func CreateDeviceManagementConfigurationSimpleSettingDefinitionFromDiscriminator } return NewDeviceManagementConfigurationSimpleSettingDefinition(), nil } -// GetDefaultValue gets the defaultValue property value. Default setting value for this setting +// GetDefaultValue gets the defaultValue property value. Default setting value for this setting. // returns a DeviceManagementConfigurationSettingValueable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue()(DeviceManagementConfigurationSettingValueable) { val, err := m.GetBackingStore().Get("defaultValue") @@ -49,7 +49,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDefaultValue() } return nil } -// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting +// GetDependedOnBy gets the dependedOnBy property value. list of child settings that depend on this setting. // returns a []DeviceManagementConfigurationSettingDependedOnByable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy()([]DeviceManagementConfigurationSettingDependedOnByable) { val, err := m.GetBackingStore().Get("dependedOnBy") @@ -61,7 +61,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependedOnBy() } return nil } -// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on +// GetDependentOn gets the dependentOn property value. list of parent settings this setting is dependent on. // returns a []DeviceManagementConfigurationDependentOnable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetDependentOn()([]DeviceManagementConfigurationDependentOnable) { val, err := m.GetBackingStore().Get("dependentOn") @@ -131,7 +131,7 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetFieldDeseriali } return res } -// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting +// GetValueDefinition gets the valueDefinition property value. Definition of the value for this setting. // returns a DeviceManagementConfigurationSettingValueDefinitionable when successful func (m *DeviceManagementConfigurationSimpleSettingDefinition) GetValueDefinition()(DeviceManagementConfigurationSettingValueDefinitionable) { val, err := m.GetBackingStore().Get("valueDefinition") @@ -187,28 +187,28 @@ func (m *DeviceManagementConfigurationSimpleSettingDefinition) Serialize(writer } return nil } -// SetDefaultValue sets the defaultValue property value. Default setting value for this setting +// SetDefaultValue sets the defaultValue property value. Default setting value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDefaultValue(value DeviceManagementConfigurationSettingValueable)() { err := m.GetBackingStore().Set("defaultValue", value) if err != nil { panic(err) } } -// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting +// SetDependedOnBy sets the dependedOnBy property value. list of child settings that depend on this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependedOnBy(value []DeviceManagementConfigurationSettingDependedOnByable)() { err := m.GetBackingStore().Set("dependedOnBy", value) if err != nil { panic(err) } } -// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on +// SetDependentOn sets the dependentOn property value. list of parent settings this setting is dependent on. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetDependentOn(value []DeviceManagementConfigurationDependentOnable)() { err := m.GetBackingStore().Set("dependentOn", value) if err != nil { panic(err) } } -// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting +// SetValueDefinition sets the valueDefinition property value. Definition of the value for this setting. func (m *DeviceManagementConfigurationSimpleSettingDefinition) SetValueDefinition(value DeviceManagementConfigurationSettingValueDefinitionable)() { err := m.GetBackingStore().Set("valueDefinition", value) if err != nil { diff --git a/models/device_template.go b/models/device_template.go new file mode 100644 index 00000000000..efd966da2b3 --- /dev/null +++ b/models/device_template.go @@ -0,0 +1,361 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DeviceTemplate struct { + DirectoryObject +} +// NewDeviceTemplate instantiates a new DeviceTemplate and sets the default values. +func NewDeviceTemplate()(*DeviceTemplate) { + m := &DeviceTemplate{ + DirectoryObject: *NewDirectoryObject(), + } + odataTypeValue := "#microsoft.graph.deviceTemplate" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDeviceTemplateFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeviceTemplateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeviceTemplate(), nil +} +// GetDeviceAuthority gets the deviceAuthority property value. The deviceAuthority property +// returns a *string when successful +func (m *DeviceTemplate) GetDeviceAuthority()(*string) { + val, err := m.GetBackingStore().Get("deviceAuthority") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDeviceInstances gets the deviceInstances property value. The deviceInstances property +// returns a []Deviceable when successful +func (m *DeviceTemplate) GetDeviceInstances()([]Deviceable) { + val, err := m.GetBackingStore().Get("deviceInstances") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Deviceable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeviceTemplate) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DirectoryObject.GetFieldDeserializers() + res["deviceAuthority"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDeviceAuthority(val) + } + return nil + } + res["deviceInstances"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Deviceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Deviceable) + } + } + m.SetDeviceInstances(res) + } + return nil + } + res["manufacturer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetManufacturer(val) + } + return nil + } + res["model"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetModel(val) + } + return nil + } + res["mutualTlsOauthConfigurationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMutualTlsOauthConfigurationId(val) + } + return nil + } + res["mutualTlsOauthConfigurationTenantId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMutualTlsOauthConfigurationTenantId(val) + } + return nil + } + res["operatingSystem"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOperatingSystem(val) + } + return nil + } + res["owners"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDirectoryObjectFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DirectoryObjectable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DirectoryObjectable) + } + } + m.SetOwners(res) + } + return nil + } + return res +} +// GetManufacturer gets the manufacturer property value. The manufacturer property +// returns a *string when successful +func (m *DeviceTemplate) GetManufacturer()(*string) { + val, err := m.GetBackingStore().Get("manufacturer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetModel gets the model property value. The model property +// returns a *string when successful +func (m *DeviceTemplate) GetModel()(*string) { + val, err := m.GetBackingStore().Get("model") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMutualTlsOauthConfigurationId gets the mutualTlsOauthConfigurationId property value. The mutualTlsOauthConfigurationId property +// returns a *string when successful +func (m *DeviceTemplate) GetMutualTlsOauthConfigurationId()(*string) { + val, err := m.GetBackingStore().Get("mutualTlsOauthConfigurationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMutualTlsOauthConfigurationTenantId gets the mutualTlsOauthConfigurationTenantId property value. The mutualTlsOauthConfigurationTenantId property +// returns a *string when successful +func (m *DeviceTemplate) GetMutualTlsOauthConfigurationTenantId()(*string) { + val, err := m.GetBackingStore().Get("mutualTlsOauthConfigurationTenantId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOperatingSystem gets the operatingSystem property value. The operatingSystem property +// returns a *string when successful +func (m *DeviceTemplate) GetOperatingSystem()(*string) { + val, err := m.GetBackingStore().Get("operatingSystem") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOwners gets the owners property value. The owners property +// returns a []DirectoryObjectable when successful +func (m *DeviceTemplate) GetOwners()([]DirectoryObjectable) { + val, err := m.GetBackingStore().Get("owners") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DirectoryObjectable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeviceTemplate) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DirectoryObject.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("deviceAuthority", m.GetDeviceAuthority()) + if err != nil { + return err + } + } + if m.GetDeviceInstances() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDeviceInstances())) + for i, v := range m.GetDeviceInstances() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("deviceInstances", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("manufacturer", m.GetManufacturer()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("model", m.GetModel()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("mutualTlsOauthConfigurationId", m.GetMutualTlsOauthConfigurationId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("mutualTlsOauthConfigurationTenantId", m.GetMutualTlsOauthConfigurationTenantId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("operatingSystem", m.GetOperatingSystem()) + if err != nil { + return err + } + } + if m.GetOwners() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOwners())) + for i, v := range m.GetOwners() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("owners", cast) + if err != nil { + return err + } + } + return nil +} +// SetDeviceAuthority sets the deviceAuthority property value. The deviceAuthority property +func (m *DeviceTemplate) SetDeviceAuthority(value *string)() { + err := m.GetBackingStore().Set("deviceAuthority", value) + if err != nil { + panic(err) + } +} +// SetDeviceInstances sets the deviceInstances property value. The deviceInstances property +func (m *DeviceTemplate) SetDeviceInstances(value []Deviceable)() { + err := m.GetBackingStore().Set("deviceInstances", value) + if err != nil { + panic(err) + } +} +// SetManufacturer sets the manufacturer property value. The manufacturer property +func (m *DeviceTemplate) SetManufacturer(value *string)() { + err := m.GetBackingStore().Set("manufacturer", value) + if err != nil { + panic(err) + } +} +// SetModel sets the model property value. The model property +func (m *DeviceTemplate) SetModel(value *string)() { + err := m.GetBackingStore().Set("model", value) + if err != nil { + panic(err) + } +} +// SetMutualTlsOauthConfigurationId sets the mutualTlsOauthConfigurationId property value. The mutualTlsOauthConfigurationId property +func (m *DeviceTemplate) SetMutualTlsOauthConfigurationId(value *string)() { + err := m.GetBackingStore().Set("mutualTlsOauthConfigurationId", value) + if err != nil { + panic(err) + } +} +// SetMutualTlsOauthConfigurationTenantId sets the mutualTlsOauthConfigurationTenantId property value. The mutualTlsOauthConfigurationTenantId property +func (m *DeviceTemplate) SetMutualTlsOauthConfigurationTenantId(value *string)() { + err := m.GetBackingStore().Set("mutualTlsOauthConfigurationTenantId", value) + if err != nil { + panic(err) + } +} +// SetOperatingSystem sets the operatingSystem property value. The operatingSystem property +func (m *DeviceTemplate) SetOperatingSystem(value *string)() { + err := m.GetBackingStore().Set("operatingSystem", value) + if err != nil { + panic(err) + } +} +// SetOwners sets the owners property value. The owners property +func (m *DeviceTemplate) SetOwners(value []DirectoryObjectable)() { + err := m.GetBackingStore().Set("owners", value) + if err != nil { + panic(err) + } +} +type DeviceTemplateable interface { + DirectoryObjectable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDeviceAuthority()(*string) + GetDeviceInstances()([]Deviceable) + GetManufacturer()(*string) + GetModel()(*string) + GetMutualTlsOauthConfigurationId()(*string) + GetMutualTlsOauthConfigurationTenantId()(*string) + GetOperatingSystem()(*string) + GetOwners()([]DirectoryObjectable) + SetDeviceAuthority(value *string)() + SetDeviceInstances(value []Deviceable)() + SetManufacturer(value *string)() + SetModel(value *string)() + SetMutualTlsOauthConfigurationId(value *string)() + SetMutualTlsOauthConfigurationTenantId(value *string)() + SetOperatingSystem(value *string)() + SetOwners(value []DirectoryObjectable)() +} diff --git a/models/device_template_collection_response.go b/models/device_template_collection_response.go new file mode 100644 index 00000000000..ac551c729df --- /dev/null +++ b/models/device_template_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type DeviceTemplateCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewDeviceTemplateCollectionResponse instantiates a new DeviceTemplateCollectionResponse and sets the default values. +func NewDeviceTemplateCollectionResponse()(*DeviceTemplateCollectionResponse) { + m := &DeviceTemplateCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDeviceTemplateCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeviceTemplateCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeviceTemplateCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeviceTemplateCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDeviceTemplateFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DeviceTemplateable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DeviceTemplateable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []DeviceTemplateable when successful +func (m *DeviceTemplateCollectionResponse) GetValue()([]DeviceTemplateable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DeviceTemplateable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeviceTemplateCollectionResponse) 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 *DeviceTemplateCollectionResponse) SetValue(value []DeviceTemplateable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DeviceTemplateCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]DeviceTemplateable) + SetValue(value []DeviceTemplateable)() +} diff --git a/models/dictionary.go b/models/dictionary.go index 3e052b70a6d..d60b0af0501 100644 --- a/models/dictionary.go +++ b/models/dictionary.go @@ -40,6 +40,8 @@ func CreateDictionaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3 return NewPlannerFormsDictionary(), nil case "#microsoft.graph.resultTemplateDictionary": return NewResultTemplateDictionary(), nil + case "#microsoft.graph.wafAllowedHeadersDictionary": + return NewWafAllowedHeadersDictionary(), nil } } } diff --git a/models/directory.go b/models/directory.go index bcbc3b9cb08..9bb0bd84a77 100644 --- a/models/directory.go +++ b/models/directory.go @@ -429,6 +429,16 @@ func (m *Directory) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2689 } return nil } + res["templates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTemplateFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTemplates(val.(Templateable)) + } + return nil + } return res } // GetImpactedResources gets the impactedResources property value. The impactedResources property @@ -539,6 +549,18 @@ func (m *Directory) GetSubscriptions()([]CompanySubscriptionable) { } return nil } +// GetTemplates gets the templates property value. The templates property +// returns a Templateable when successful +func (m *Directory) GetTemplates()(Templateable) { + val, err := m.GetBackingStore().Get("templates") + if err != nil { + panic(err) + } + if val != nil { + return val.(Templateable) + } + return nil +} // Serialize serializes information the current object func (m *Directory) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -755,6 +777,12 @@ func (m *Directory) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c0 return err } } + { + err = writer.WriteObjectValue("templates", m.GetTemplates()) + if err != nil { + return err + } + } return nil } // SetAdministrativeUnits sets the administrativeUnits property value. Conceptual container for user and group directory objects. @@ -890,6 +918,13 @@ func (m *Directory) SetSubscriptions(value []CompanySubscriptionable)() { panic(err) } } +// SetTemplates sets the templates property value. The templates property +func (m *Directory) SetTemplates(value Templateable)() { + err := m.GetBackingStore().Set("templates", value) + if err != nil { + panic(err) + } +} type Directoryable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -912,6 +947,7 @@ type Directoryable interface { GetRecommendations()([]Recommendationable) GetSharedEmailDomains()([]SharedEmailDomainable) GetSubscriptions()([]CompanySubscriptionable) + GetTemplates()(Templateable) SetAdministrativeUnits(value []AdministrativeUnitable)() SetAttributeSets(value []AttributeSetable)() SetAuthenticationMethodDevices(value AuthenticationMethodDeviceable)() @@ -931,4 +967,5 @@ type Directoryable interface { SetRecommendations(value []Recommendationable)() SetSharedEmailDomains(value []SharedEmailDomainable)() SetSubscriptions(value []CompanySubscriptionable)() + SetTemplates(value Templateable)() } diff --git a/models/directory_object.go b/models/directory_object.go index 1507eeba1b1..44bd745648f 100644 --- a/models/directory_object.go +++ b/models/directory_object.go @@ -54,6 +54,8 @@ func CreateDirectoryObjectFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewCrossTenantAccessPolicy(), nil case "#microsoft.graph.device": return NewDevice(), nil + case "#microsoft.graph.deviceTemplate": + return NewDeviceTemplate(), nil case "#microsoft.graph.directoryObjectPartnerReference": return NewDirectoryObjectPartnerReference(), nil case "#microsoft.graph.directoryRole": @@ -82,6 +84,8 @@ func CreateDirectoryObjectFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewIdentitySecurityDefaultsEnforcementPolicy(), nil case "#microsoft.graph.multiTenantOrganizationMember": return NewMultiTenantOrganizationMember(), nil + case "#microsoft.graph.mutualTlsOauthConfiguration": + return NewMutualTlsOauthConfiguration(), nil case "#microsoft.graph.organization": return NewOrganization(), nil case "#microsoft.graph.orgContact": @@ -112,6 +116,8 @@ func CreateDirectoryObjectFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewTokenLifetimePolicy(), nil case "#microsoft.graph.trustedCertificateAuthorityAsEntityBase": return NewTrustedCertificateAuthorityAsEntityBase(), nil + case "#microsoft.graph.trustedCertificateAuthorityBase": + return NewTrustedCertificateAuthorityBase(), nil case "#microsoft.graph.user": return NewUser(), nil } diff --git a/models/drive_restore_artifacts_bulk_addition_request.go b/models/drive_restore_artifacts_bulk_addition_request.go index aa4f2a37c0b..d11ed9890a7 100644 --- a/models/drive_restore_artifacts_bulk_addition_request.go +++ b/models/drive_restore_artifacts_bulk_addition_request.go @@ -19,7 +19,7 @@ func NewDriveRestoreArtifactsBulkAdditionRequest()(*DriveRestoreArtifactsBulkAdd func CreateDriveRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewDriveRestoreArtifactsBulkAdditionRequest(), nil } -// GetDirectoryObjectIds gets the directoryObjectIds property value. The directoryObjectIds property +// GetDirectoryObjectIds gets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. // returns a []string when successful func (m *DriveRestoreArtifactsBulkAdditionRequest) GetDirectoryObjectIds()([]string) { val, err := m.GetBackingStore().Get("directoryObjectIds") @@ -31,7 +31,7 @@ func (m *DriveRestoreArtifactsBulkAdditionRequest) GetDirectoryObjectIds()([]str } return nil } -// GetDrives gets the drives property value. The drives property +// GetDrives gets the drives property value. The list of email addresses that are added to the corresponding OneDrive for work or school restore session in a bulk operation. // returns a []string when successful func (m *DriveRestoreArtifactsBulkAdditionRequest) GetDrives()([]string) { val, err := m.GetBackingStore().Get("drives") @@ -101,14 +101,14 @@ func (m *DriveRestoreArtifactsBulkAdditionRequest) Serialize(writer i878a80d2330 } return nil } -// SetDirectoryObjectIds sets the directoryObjectIds property value. The directoryObjectIds property +// SetDirectoryObjectIds sets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding OneDrive for work or school restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. func (m *DriveRestoreArtifactsBulkAdditionRequest) SetDirectoryObjectIds(value []string)() { err := m.GetBackingStore().Set("directoryObjectIds", value) if err != nil { panic(err) } } -// SetDrives sets the drives property value. The drives property +// SetDrives sets the drives property value. The list of email addresses that are added to the corresponding OneDrive for work or school restore session in a bulk operation. func (m *DriveRestoreArtifactsBulkAdditionRequest) SetDrives(value []string)() { err := m.GetBackingStore().Set("drives", value) if err != nil { diff --git a/models/entity.go b/models/entity.go index 3b63ac95aeb..c0b057ecd12 100644 --- a/models/entity.go +++ b/models/entity.go @@ -134,6 +134,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAgreementFileProperties(), nil case "#microsoft.graph.agreementFileVersion": return NewAgreementFileVersion(), nil + case "#microsoft.graph.aiInteraction": + return NewAiInteraction(), nil + case "#microsoft.graph.aiInteractionHistory": + return NewAiInteractionHistory(), nil + case "#microsoft.graph.aiUser": + return NewAiUser(), nil case "#microsoft.graph.alert": return NewAlert(), nil case "#microsoft.graph.allowedDataLocation": @@ -278,6 +284,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewAndroidWorkProfileVpnConfiguration(), nil case "#microsoft.graph.androidWorkProfileWiFiConfiguration": return NewAndroidWorkProfileWiFiConfiguration(), nil + case "#microsoft.graph.announcement": + return NewAnnouncement(), nil case "#microsoft.graph.anonymousGuestConversationMember": return NewAnonymousGuestConversationMember(), nil case "#microsoft.graph.aospDeviceOwnerCertificateProfileBase": @@ -572,6 +580,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCallEvent(), nil case "#microsoft.graph.callRecording": return NewCallRecording(), nil + case "#microsoft.graph.callSettings": + return NewCallSettings(), nil case "#microsoft.graph.callTranscript": return NewCallTranscript(), nil case "#microsoft.graph.cancelMediaProcessingOperation": @@ -594,6 +604,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCertificateBasedAuthPki(), nil case "#microsoft.graph.certificateConnectorDetails": return NewCertificateConnectorDetails(), nil + case "#microsoft.graph.changeItemBase": + return NewChangeItemBase(), nil case "#microsoft.graph.changeTrackedEntity": return NewChangeTrackedEntity(), nil case "#microsoft.graph.channel": @@ -830,6 +842,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewDelegatedAdminServiceManagementDetail(), nil case "#microsoft.graph.delegatedPermissionClassification": return NewDelegatedPermissionClassification(), nil + case "#microsoft.graph.delegationSettings": + return NewDelegationSettings(), nil case "#microsoft.graph.deletedChat": return NewDeletedChat(), nil case "#microsoft.graph.deletedItemContainer": @@ -1084,6 +1098,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewDeviceSetupConfiguration(), nil case "#microsoft.graph.deviceShellScript": return NewDeviceShellScript(), nil + case "#microsoft.graph.deviceTemplate": + return NewDeviceTemplate(), nil case "#microsoft.graph.directory": return NewDirectory(), nil case "#microsoft.graph.directoryAudit": @@ -1778,6 +1794,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewMailboxRestoreArtifactsBulkAdditionRequest(), nil case "#microsoft.graph.mailFolder": return NewMailFolder(), nil + case "#microsoft.graph.mailFolderOperation": + return NewMailFolderOperation(), nil case "#microsoft.graph.mailSearchFolder": return NewMailSearchFolder(), nil case "#microsoft.graph.malwareStateForWindowsDevice": @@ -1976,6 +1994,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewMuteParticipantOperation(), nil case "#microsoft.graph.muteParticipantsOperation": return NewMuteParticipantsOperation(), nil + case "#microsoft.graph.mutualTlsOauthConfiguration": + return NewMutualTlsOauthConfiguration(), nil case "#microsoft.graph.namedLocation": return NewNamedLocation(), nil case "#microsoft.graph.ndesConnector": @@ -2018,6 +2038,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewOfficeGraphInsights(), nil case "#microsoft.graph.officeSuiteApp": return NewOfficeSuiteApp(), nil + case "#microsoft.graph.oidcIdentityProvider": + return NewOidcIdentityProvider(), nil case "#microsoft.graph.onAttributeCollectionListener": return NewOnAttributeCollectionListener(), nil case "#microsoft.graph.onAttributeCollectionStartCustomExtension": @@ -2456,6 +2478,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewRiskyUser(), nil case "#microsoft.graph.riskyUserHistoryItem": return NewRiskyUserHistoryItem(), nil + case "#microsoft.graph.roadmap": + return NewRoadmap(), nil case "#microsoft.graph.roleAssignment": return NewRoleAssignment(), nil case "#microsoft.graph.roleDefinition": @@ -2780,6 +2804,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewTeamworkTagMember(), nil case "#microsoft.graph.telecomExpenseManagementPartner": return NewTelecomExpenseManagementPartner(), nil + case "#microsoft.graph.template": + return NewTemplate(), nil case "#microsoft.graph.temporaryAccessPassAuthenticationMethod": return NewTemporaryAccessPassAuthenticationMethod(), nil case "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration": @@ -2846,6 +2872,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewTrending(), nil case "#microsoft.graph.trustedCertificateAuthorityAsEntityBase": return NewTrustedCertificateAuthorityAsEntityBase(), nil + case "#microsoft.graph.trustedCertificateAuthorityBase": + return NewTrustedCertificateAuthorityBase(), nil case "#microsoft.graph.trustFrameworkKeySet": return NewTrustFrameworkKeySet(), nil case "#microsoft.graph.trustFrameworkPolicy": @@ -2916,6 +2944,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewUnsupportedDeviceConfiguration(), nil case "#microsoft.graph.unsupportedGroupPolicyExtension": return NewUnsupportedGroupPolicyExtension(), nil + case "#microsoft.graph.updateAllMessagesReadStateOperation": + return NewUpdateAllMessagesReadStateOperation(), nil case "#microsoft.graph.updateRecordingStatusOperation": return NewUpdateRecordingStatusOperation(), nil case "#microsoft.graph.urlAssessmentRequest": diff --git a/models/exchange_restore_session.go b/models/exchange_restore_session.go index 4ccc5f60b54..0cb1bd62fc9 100644 --- a/models/exchange_restore_session.go +++ b/models/exchange_restore_session.go @@ -99,7 +99,7 @@ func (m *ExchangeRestoreSession) GetMailboxRestoreArtifacts()([]MailboxRestoreAr } return nil } -// GetMailboxRestoreArtifactsBulkAdditionRequests gets the mailboxRestoreArtifactsBulkAdditionRequests property value. The mailboxRestoreArtifactsBulkAdditionRequests property +// GetMailboxRestoreArtifactsBulkAdditionRequests gets the mailboxRestoreArtifactsBulkAdditionRequests property value. A collection of user mailboxes and destination details that can be used to restore Exchange mailboxes. // returns a []MailboxRestoreArtifactsBulkAdditionRequestable when successful func (m *ExchangeRestoreSession) GetMailboxRestoreArtifactsBulkAdditionRequests()([]MailboxRestoreArtifactsBulkAdditionRequestable) { val, err := m.GetBackingStore().Get("mailboxRestoreArtifactsBulkAdditionRequests") @@ -169,7 +169,7 @@ func (m *ExchangeRestoreSession) SetMailboxRestoreArtifacts(value []MailboxResto panic(err) } } -// SetMailboxRestoreArtifactsBulkAdditionRequests sets the mailboxRestoreArtifactsBulkAdditionRequests property value. The mailboxRestoreArtifactsBulkAdditionRequests property +// SetMailboxRestoreArtifactsBulkAdditionRequests sets the mailboxRestoreArtifactsBulkAdditionRequests property value. A collection of user mailboxes and destination details that can be used to restore Exchange mailboxes. func (m *ExchangeRestoreSession) SetMailboxRestoreArtifactsBulkAdditionRequests(value []MailboxRestoreArtifactsBulkAdditionRequestable)() { err := m.GetBackingStore().Set("mailboxRestoreArtifactsBulkAdditionRequests", value) if err != nil { diff --git a/models/extended_key_usage.go b/models/extended_key_usage.go index 60199777ad0..f668da9895c 100644 --- a/models/extended_key_usage.go +++ b/models/extended_key_usage.go @@ -77,7 +77,7 @@ func (m *ExtendedKeyUsage) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } -// GetName gets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. +// GetName gets the name property value. Extended Key Usage Name // returns a *string when successful func (m *ExtendedKeyUsage) GetName()(*string) { val, err := m.GetBackingStore().Get("name") @@ -89,7 +89,7 @@ func (m *ExtendedKeyUsage) GetName()(*string) { } return nil } -// GetObjectIdentifier gets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. +// GetObjectIdentifier gets the objectIdentifier property value. Extended Key Usage Object Identifier // returns a *string when successful func (m *ExtendedKeyUsage) GetObjectIdentifier()(*string) { val, err := m.GetBackingStore().Get("objectIdentifier") @@ -152,14 +152,14 @@ func (m *ExtendedKeyUsage) SetAdditionalData(value map[string]any)() { func (m *ExtendedKeyUsage) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetName sets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. +// SetName sets the name property value. Extended Key Usage Name func (m *ExtendedKeyUsage) SetName(value *string)() { err := m.GetBackingStore().Set("name", value) if err != nil { panic(err) } } -// SetObjectIdentifier sets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. +// SetObjectIdentifier sets the objectIdentifier property value. Extended Key Usage Object Identifier func (m *ExtendedKeyUsage) SetObjectIdentifier(value *string)() { err := m.GetBackingStore().Set("objectIdentifier", value) if err != nil { diff --git a/models/federated_identity_credential.go b/models/federated_identity_credential.go index e6f1179d070..86da554e267 100644 --- a/models/federated_identity_credential.go +++ b/models/federated_identity_credential.go @@ -31,6 +31,18 @@ func (m *FederatedIdentityCredential) GetAudiences()([]string) { } return nil } +// GetClaimsMatchingExpression gets the claimsMatchingExpression property value. Enables the use of claims matching expressions against specified claims. For the list of supported expression syntax and claims, visit the Flexible FIC reference. +// returns a FederatedIdentityExpressionable when successful +func (m *FederatedIdentityCredential) GetClaimsMatchingExpression()(FederatedIdentityExpressionable) { + val, err := m.GetBackingStore().Get("claimsMatchingExpression") + if err != nil { + panic(err) + } + if val != nil { + return val.(FederatedIdentityExpressionable) + } + return nil +} // GetDescription gets the description property value. The un-validated, user-provided description of the federated identity credential. It has a limit of 600 characters. Optional. // returns a *string when successful func (m *FederatedIdentityCredential) GetDescription()(*string) { @@ -63,6 +75,16 @@ func (m *FederatedIdentityCredential) GetFieldDeserializers()(map[string]func(i8 } return nil } + res["claimsMatchingExpression"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateFederatedIdentityExpressionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetClaimsMatchingExpression(val.(FederatedIdentityExpressionable)) + } + return nil + } res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -153,6 +175,12 @@ func (m *FederatedIdentityCredential) Serialize(writer i878a80d2330e89d26896388a return err } } + { + err = writer.WriteObjectValue("claimsMatchingExpression", m.GetClaimsMatchingExpression()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("description", m.GetDescription()) if err != nil { @@ -186,6 +214,13 @@ func (m *FederatedIdentityCredential) SetAudiences(value []string)() { panic(err) } } +// SetClaimsMatchingExpression sets the claimsMatchingExpression property value. Enables the use of claims matching expressions against specified claims. For the list of supported expression syntax and claims, visit the Flexible FIC reference. +func (m *FederatedIdentityCredential) SetClaimsMatchingExpression(value FederatedIdentityExpressionable)() { + err := m.GetBackingStore().Set("claimsMatchingExpression", value) + if err != nil { + panic(err) + } +} // SetDescription sets the description property value. The un-validated, user-provided description of the federated identity credential. It has a limit of 600 characters. Optional. func (m *FederatedIdentityCredential) SetDescription(value *string)() { err := m.GetBackingStore().Set("description", value) @@ -218,11 +253,13 @@ type FederatedIdentityCredentialable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAudiences()([]string) + GetClaimsMatchingExpression()(FederatedIdentityExpressionable) GetDescription()(*string) GetIssuer()(*string) GetName()(*string) GetSubject()(*string) SetAudiences(value []string)() + SetClaimsMatchingExpression(value FederatedIdentityExpressionable)() SetDescription(value *string)() SetIssuer(value *string)() SetName(value *string)() diff --git a/models/federated_identity_expression.go b/models/federated_identity_expression.go new file mode 100644 index 00000000000..1dac604e370 --- /dev/null +++ b/models/federated_identity_expression.go @@ -0,0 +1,187 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type FederatedIdentityExpression struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFederatedIdentityExpression instantiates a new FederatedIdentityExpression and sets the default values. +func NewFederatedIdentityExpression()(*FederatedIdentityExpression) { + m := &FederatedIdentityExpression{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFederatedIdentityExpressionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFederatedIdentityExpressionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFederatedIdentityExpression(), 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 *FederatedIdentityExpression) 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 *FederatedIdentityExpression) 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 *FederatedIdentityExpression) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["languageVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetLanguageVersion(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["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetValue(val) + } + return nil + } + return res +} +// GetLanguageVersion gets the languageVersion property value. Indicated the language version to be used. Should always be set to 1. Required. +// returns a *int32 when successful +func (m *FederatedIdentityExpression) GetLanguageVersion()(*int32) { + val, err := m.GetBackingStore().Get("languageVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *FederatedIdentityExpression) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValue gets the value property value. Indicates the configured expression. Required. +// returns a *string when successful +func (m *FederatedIdentityExpression) GetValue()(*string) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FederatedIdentityExpression) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteInt32Value("languageVersion", m.GetLanguageVersion()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("value", m.GetValue()) + 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 *FederatedIdentityExpression) 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 *FederatedIdentityExpression) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLanguageVersion sets the languageVersion property value. Indicated the language version to be used. Should always be set to 1. Required. +func (m *FederatedIdentityExpression) SetLanguageVersion(value *int32)() { + err := m.GetBackingStore().Set("languageVersion", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *FederatedIdentityExpression) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetValue sets the value property value. Indicates the configured expression. Required. +func (m *FederatedIdentityExpression) SetValue(value *string)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FederatedIdentityExpressionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLanguageVersion()(*int32) + GetOdataType()(*string) + GetValue()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLanguageVersion(value *int32)() + SetOdataType(value *string)() + SetValue(value *string)() +} diff --git a/models/i_pv4_cidr_range.go b/models/i_pv4_cidr_range.go index ff9952ea7e0..7a5643b9f26 100644 --- a/models/i_pv4_cidr_range.go +++ b/models/i_pv4_cidr_range.go @@ -4,6 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// IPv4CidrRange iP range base class for representing IPV4, IPV6 address ranges type IPv4CidrRange struct { IpRange } diff --git a/models/i_pv6_cidr_range.go b/models/i_pv6_cidr_range.go index 14983813131..69bdf24ad40 100644 --- a/models/i_pv6_cidr_range.go +++ b/models/i_pv6_cidr_range.go @@ -4,6 +4,7 @@ import ( i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" ) +// IPv6CidrRange iP range base class for representing IPV4, IPV6 address ranges type IPv6CidrRange struct { IpRange } diff --git a/models/identity_container.go b/models/identity_container.go index 53ea63a9753..bb5de82e415 100644 --- a/models/identity_container.go +++ b/models/identity_container.go @@ -282,6 +282,22 @@ func (m *IdentityContainer) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["productChanges"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateChangeItemBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ChangeItemBaseable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ChangeItemBaseable) + } + } + m.SetProductChanges(res) + } + return nil + } res["userFlowAttributes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateIdentityUserFlowAttributeFromDiscriminatorValue) if err != nil { @@ -340,6 +356,18 @@ func (m *IdentityContainer) GetOdataType()(*string) { } return nil } +// GetProductChanges gets the productChanges property value. Represents entry point for Microsoft Entra product changes and planned new features. +// returns a []ChangeItemBaseable when successful +func (m *IdentityContainer) GetProductChanges()([]ChangeItemBaseable) { + val, err := m.GetBackingStore().Get("productChanges") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ChangeItemBaseable) + } + return nil +} // GetUserFlowAttributes gets the userFlowAttributes property value. Represents entry point for identity userflow attributes. // returns a []IdentityUserFlowAttributeable when successful func (m *IdentityContainer) GetUserFlowAttributes()([]IdentityUserFlowAttributeable) { @@ -468,6 +496,18 @@ func (m *IdentityContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + if m.GetProductChanges() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProductChanges())) + for i, v := range m.GetProductChanges() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("productChanges", cast) + if err != nil { + return err + } + } if m.GetUserFlowAttributes() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUserFlowAttributes())) for i, v := range m.GetUserFlowAttributes() { @@ -581,6 +621,13 @@ func (m *IdentityContainer) SetOdataType(value *string)() { panic(err) } } +// SetProductChanges sets the productChanges property value. Represents entry point for Microsoft Entra product changes and planned new features. +func (m *IdentityContainer) SetProductChanges(value []ChangeItemBaseable)() { + err := m.GetBackingStore().Set("productChanges", value) + if err != nil { + panic(err) + } +} // SetUserFlowAttributes sets the userFlowAttributes property value. Represents entry point for identity userflow attributes. func (m *IdentityContainer) SetUserFlowAttributes(value []IdentityUserFlowAttributeable)() { err := m.GetBackingStore().Set("userFlowAttributes", value) @@ -610,6 +657,7 @@ type IdentityContainerable interface { GetCustomAuthenticationExtensions()([]CustomAuthenticationExtensionable) GetIdentityProviders()([]IdentityProviderBaseable) GetOdataType()(*string) + GetProductChanges()([]ChangeItemBaseable) GetUserFlowAttributes()([]IdentityUserFlowAttributeable) GetUserFlows()([]IdentityUserFlowable) SetApiConnectors(value []IdentityApiConnectorable)() @@ -623,6 +671,7 @@ type IdentityContainerable interface { SetCustomAuthenticationExtensions(value []CustomAuthenticationExtensionable)() SetIdentityProviders(value []IdentityProviderBaseable)() SetOdataType(value *string)() + SetProductChanges(value []ChangeItemBaseable)() SetUserFlowAttributes(value []IdentityUserFlowAttributeable)() SetUserFlows(value []IdentityUserFlowable)() } diff --git a/models/identity_provider_base.go b/models/identity_provider_base.go index f51aa272535..365d3687c43 100644 --- a/models/identity_provider_base.go +++ b/models/identity_provider_base.go @@ -35,6 +35,8 @@ func CreateIdentityProviderBaseFromDiscriminatorValue(parseNode i878a80d2330e89d return NewBuiltInIdentityProvider(), nil case "#microsoft.graph.internalDomainFederation": return NewInternalDomainFederation(), nil + case "#microsoft.graph.oidcIdentityProvider": + return NewOidcIdentityProvider(), nil case "#microsoft.graph.openIdConnectIdentityProvider": return NewOpenIdConnectIdentityProvider(), nil case "#microsoft.graph.samlOrWsFedExternalDomainFederation": diff --git a/models/identity_set.go b/models/identity_set.go index 1069fcfc94e..8aa493cddaf 100644 --- a/models/identity_set.go +++ b/models/identity_set.go @@ -32,6 +32,8 @@ func CreateIdentitySetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a } if mappingValue != nil { switch *mappingValue { + case "#microsoft.graph.aiInteractionMentionedIdentitySet": + return NewAiInteractionMentionedIdentitySet(), nil case "#microsoft.graph.approvalIdentitySet": return NewApprovalIdentitySet(), nil case "#microsoft.graph.chatMessageFromIdentitySet": @@ -63,7 +65,7 @@ func (m *IdentitySet) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetApplication gets the application property value. Optional. The application associated with this action. +// GetApplication gets the application property value. The Identity of the Application. This property is read-only. // returns a Identityable when successful func (m *IdentitySet) GetApplication()(Identityable) { val, err := m.GetBackingStore().Get("application") @@ -80,7 +82,7 @@ func (m *IdentitySet) GetApplication()(Identityable) { func (m *IdentitySet) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDevice gets the device property value. Optional. The device associated with this action. +// GetDevice gets the device property value. The Identity of the Device. This property is read-only. // returns a Identityable when successful func (m *IdentitySet) GetDevice()(Identityable) { val, err := m.GetBackingStore().Get("device") @@ -150,7 +152,7 @@ func (m *IdentitySet) GetOdataType()(*string) { } return nil } -// GetUser gets the user property value. Optional. The user associated with this action. +// GetUser gets the user property value. The Identity of the User. This property is read-only. // returns a Identityable when successful func (m *IdentitySet) GetUser()(Identityable) { val, err := m.GetBackingStore().Get("user") @@ -203,7 +205,7 @@ func (m *IdentitySet) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetApplication sets the application property value. Optional. The application associated with this action. +// SetApplication sets the application property value. The Identity of the Application. This property is read-only. func (m *IdentitySet) SetApplication(value Identityable)() { err := m.GetBackingStore().Set("application", value) if err != nil { @@ -214,7 +216,7 @@ func (m *IdentitySet) SetApplication(value Identityable)() { func (m *IdentitySet) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDevice sets the device property value. Optional. The device associated with this action. +// SetDevice sets the device property value. The Identity of the Device. This property is read-only. func (m *IdentitySet) SetDevice(value Identityable)() { err := m.GetBackingStore().Set("device", value) if err != nil { @@ -228,7 +230,7 @@ func (m *IdentitySet) SetOdataType(value *string)() { panic(err) } } -// SetUser sets the user property value. Optional. The user associated with this action. +// SetUser sets the user property value. The Identity of the User. This property is read-only. func (m *IdentitySet) SetUser(value Identityable)() { err := m.GetBackingStore().Set("user", value) if err != nil { diff --git a/models/ip_range.go b/models/ip_range.go index 50dd7371bb5..9240cf9534e 100644 --- a/models/ip_range.go +++ b/models/ip_range.go @@ -5,6 +5,7 @@ import ( ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" ) +// IpRange iP range base class for representing IPV4, IPV6 address ranges type IpRange struct { // Stores model information. backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore diff --git a/models/live_caption_options.go b/models/live_caption_options.go new file mode 100644 index 00000000000..711cdbf7198 --- /dev/null +++ b/models/live_caption_options.go @@ -0,0 +1,150 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type LiveCaptionOptions struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewLiveCaptionOptions instantiates a new LiveCaptionOptions and sets the default values. +func NewLiveCaptionOptions()(*LiveCaptionOptions) { + m := &LiveCaptionOptions{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateLiveCaptionOptionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLiveCaptionOptionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLiveCaptionOptions(), 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 *LiveCaptionOptions) 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 *LiveCaptionOptions) 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 *LiveCaptionOptions) 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["streamUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStreamUrl(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *LiveCaptionOptions) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStreamUrl gets the streamUrl property value. The streamUrl property +// returns a *string when successful +func (m *LiveCaptionOptions) GetStreamUrl()(*string) { + val, err := m.GetBackingStore().Get("streamUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *LiveCaptionOptions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("streamUrl", m.GetStreamUrl()) + 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 *LiveCaptionOptions) 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 *LiveCaptionOptions) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *LiveCaptionOptions) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetStreamUrl sets the streamUrl property value. The streamUrl property +func (m *LiveCaptionOptions) SetStreamUrl(value *string)() { + err := m.GetBackingStore().Set("streamUrl", value) + if err != nil { + panic(err) + } +} +type LiveCaptionOptionsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetStreamUrl()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetStreamUrl(value *string)() +} diff --git a/models/mail_folder.go b/models/mail_folder.go index fd505f9ba12..1eda84ee59c 100644 --- a/models/mail_folder.go +++ b/models/mail_folder.go @@ -171,6 +171,22 @@ func (m *MailFolder) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268 } return nil } + res["operations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailFolderOperationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailFolderOperationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailFolderOperationable) + } + } + m.SetOperations(res) + } + return nil + } res["parentFolderId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -293,6 +309,18 @@ func (m *MailFolder) GetMultiValueExtendedProperties()([]MultiValueLegacyExtende } return nil } +// GetOperations gets the operations property value. The operations property +// returns a []MailFolderOperationable when successful +func (m *MailFolder) GetOperations()([]MailFolderOperationable) { + val, err := m.GetBackingStore().Get("operations") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailFolderOperationable) + } + return nil +} // GetParentFolderId gets the parentFolderId property value. The unique identifier for the mailFolder's parent mailFolder. // returns a *string when successful func (m *MailFolder) GetParentFolderId()(*string) { @@ -437,6 +465,18 @@ func (m *MailFolder) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c return err } } + if m.GetOperations() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOperations())) + for i, v := range m.GetOperations() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("operations", cast) + if err != nil { + return err + } + } { err = writer.WriteStringValue("parentFolderId", m.GetParentFolderId()) if err != nil { @@ -536,6 +576,13 @@ func (m *MailFolder) SetMultiValueExtendedProperties(value []MultiValueLegacyExt panic(err) } } +// SetOperations sets the operations property value. The operations property +func (m *MailFolder) SetOperations(value []MailFolderOperationable)() { + err := m.GetBackingStore().Set("operations", value) + if err != nil { + panic(err) + } +} // SetParentFolderId sets the parentFolderId property value. The unique identifier for the mailFolder's parent mailFolder. func (m *MailFolder) SetParentFolderId(value *string)() { err := m.GetBackingStore().Set("parentFolderId", value) @@ -588,6 +635,7 @@ type MailFolderable interface { GetMessageRules()([]MessageRuleable) GetMessages()([]Messageable) GetMultiValueExtendedProperties()([]MultiValueLegacyExtendedPropertyable) + GetOperations()([]MailFolderOperationable) GetParentFolderId()(*string) GetSingleValueExtendedProperties()([]SingleValueLegacyExtendedPropertyable) GetTotalItemCount()(*int32) @@ -601,6 +649,7 @@ type MailFolderable interface { SetMessageRules(value []MessageRuleable)() SetMessages(value []Messageable)() SetMultiValueExtendedProperties(value []MultiValueLegacyExtendedPropertyable)() + SetOperations(value []MailFolderOperationable)() SetParentFolderId(value *string)() SetSingleValueExtendedProperties(value []SingleValueLegacyExtendedPropertyable)() SetTotalItemCount(value *int32)() diff --git a/models/mail_folder_operation.go b/models/mail_folder_operation.go new file mode 100644 index 00000000000..25e013004e2 --- /dev/null +++ b/models/mail_folder_operation.go @@ -0,0 +1,132 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailFolderOperation struct { + Entity +} +// NewMailFolderOperation instantiates a new MailFolderOperation and sets the default values. +func NewMailFolderOperation()(*MailFolderOperation) { + m := &MailFolderOperation{ + Entity: *NewEntity(), + } + return m +} +// CreateMailFolderOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailFolderOperationFromDiscriminatorValue(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.updateAllMessagesReadStateOperation": + return NewUpdateAllMessagesReadStateOperation(), nil + } + } + } + } + return NewMailFolderOperation(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailFolderOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + 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(ParseMailFolderOperationStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*MailFolderOperationStatus)) + } + return nil + } + return res +} +// GetResourceLocation gets the resourceLocation property value. The resourceLocation property +// returns a *string when successful +func (m *MailFolderOperation) 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 *MailFolderOperationStatus when successful +func (m *MailFolderOperation) GetStatus()(*MailFolderOperationStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MailFolderOperationStatus) + } + return nil +} +// Serialize serializes information the current object +func (m *MailFolderOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + 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 + } + } + return nil +} +// SetResourceLocation sets the resourceLocation property value. The resourceLocation property +func (m *MailFolderOperation) 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 *MailFolderOperation) SetStatus(value *MailFolderOperationStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +type MailFolderOperationable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetResourceLocation()(*string) + GetStatus()(*MailFolderOperationStatus) + SetResourceLocation(value *string)() + SetStatus(value *MailFolderOperationStatus)() +} diff --git a/models/mail_folder_operation_collection_response.go b/models/mail_folder_operation_collection_response.go new file mode 100644 index 00000000000..e2fec079e21 --- /dev/null +++ b/models/mail_folder_operation_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MailFolderOperationCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMailFolderOperationCollectionResponse instantiates a new MailFolderOperationCollectionResponse and sets the default values. +func NewMailFolderOperationCollectionResponse()(*MailFolderOperationCollectionResponse) { + m := &MailFolderOperationCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMailFolderOperationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailFolderOperationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailFolderOperationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MailFolderOperationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMailFolderOperationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MailFolderOperationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MailFolderOperationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []MailFolderOperationable when successful +func (m *MailFolderOperationCollectionResponse) GetValue()([]MailFolderOperationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MailFolderOperationable) + } + return nil +} +// Serialize serializes information the current object +func (m *MailFolderOperationCollectionResponse) 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 *MailFolderOperationCollectionResponse) SetValue(value []MailFolderOperationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type MailFolderOperationCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MailFolderOperationable) + SetValue(value []MailFolderOperationable)() +} diff --git a/models/mail_folder_operation_status.go b/models/mail_folder_operation_status.go new file mode 100644 index 00000000000..948577cb5c5 --- /dev/null +++ b/models/mail_folder_operation_status.go @@ -0,0 +1,42 @@ +package models +type MailFolderOperationStatus int + +const ( + NOTSTARTED_MAILFOLDEROPERATIONSTATUS MailFolderOperationStatus = iota + RUNNING_MAILFOLDEROPERATIONSTATUS + SUCCEEDED_MAILFOLDEROPERATIONSTATUS + FAILED_MAILFOLDEROPERATIONSTATUS + UNKNOWNFUTUREVALUE_MAILFOLDEROPERATIONSTATUS +) + +func (i MailFolderOperationStatus) String() string { + return []string{"notStarted", "running", "succeeded", "failed", "unknownFutureValue"}[i] +} +func ParseMailFolderOperationStatus(v string) (any, error) { + result := NOTSTARTED_MAILFOLDEROPERATIONSTATUS + switch v { + case "notStarted": + result = NOTSTARTED_MAILFOLDEROPERATIONSTATUS + case "running": + result = RUNNING_MAILFOLDEROPERATIONSTATUS + case "succeeded": + result = SUCCEEDED_MAILFOLDEROPERATIONSTATUS + case "failed": + result = FAILED_MAILFOLDEROPERATIONSTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MAILFOLDEROPERATIONSTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeMailFolderOperationStatus(values []MailFolderOperationStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i MailFolderOperationStatus) isMultiValue() bool { + return false +} diff --git a/models/mailbox_restore_artifacts_bulk_addition_request.go b/models/mailbox_restore_artifacts_bulk_addition_request.go index 879dbe2bf1d..6897119772b 100644 --- a/models/mailbox_restore_artifacts_bulk_addition_request.go +++ b/models/mailbox_restore_artifacts_bulk_addition_request.go @@ -19,7 +19,7 @@ func NewMailboxRestoreArtifactsBulkAdditionRequest()(*MailboxRestoreArtifactsBul func CreateMailboxRestoreArtifactsBulkAdditionRequestFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMailboxRestoreArtifactsBulkAdditionRequest(), nil } -// GetDirectoryObjectIds gets the directoryObjectIds property value. The directoryObjectIds property +// GetDirectoryObjectIds gets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. // returns a []string when successful func (m *MailboxRestoreArtifactsBulkAdditionRequest) GetDirectoryObjectIds()([]string) { val, err := m.GetBackingStore().Get("directoryObjectIds") @@ -69,7 +69,7 @@ func (m *MailboxRestoreArtifactsBulkAdditionRequest) GetFieldDeserializers()(map } return res } -// GetMailboxes gets the mailboxes property value. The mailboxes property +// GetMailboxes gets the mailboxes property value. The list of email addresses that are added to the corresponding Exchange restore session in a bulk operation. // returns a []string when successful func (m *MailboxRestoreArtifactsBulkAdditionRequest) GetMailboxes()([]string) { val, err := m.GetBackingStore().Get("mailboxes") @@ -101,14 +101,14 @@ func (m *MailboxRestoreArtifactsBulkAdditionRequest) Serialize(writer i878a80d23 } return nil } -// SetDirectoryObjectIds sets the directoryObjectIds property value. The directoryObjectIds property +// SetDirectoryObjectIds sets the directoryObjectIds property value. The list of directory object IDs that are added to the corresponding Exchange restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. func (m *MailboxRestoreArtifactsBulkAdditionRequest) SetDirectoryObjectIds(value []string)() { err := m.GetBackingStore().Set("directoryObjectIds", value) if err != nil { panic(err) } } -// SetMailboxes sets the mailboxes property value. The mailboxes property +// SetMailboxes sets the mailboxes property value. The list of email addresses that are added to the corresponding Exchange restore session in a bulk operation. func (m *MailboxRestoreArtifactsBulkAdditionRequest) SetMailboxes(value []string)() { err := m.GetBackingStore().Set("mailboxes", value) if err != nil { diff --git a/models/meeting_attendance_report.go b/models/meeting_attendance_report.go index 1fb5277c710..3d1addfd7ca 100644 --- a/models/meeting_attendance_report.go +++ b/models/meeting_attendance_report.go @@ -32,6 +32,18 @@ func (m *MeetingAttendanceReport) GetAttendanceRecords()([]AttendanceRecordable) } return nil } +// GetExternalEventInformation gets the externalEventInformation property value. The externalEventInformation property +// returns a []VirtualEventExternalInformationable when successful +func (m *MeetingAttendanceReport) GetExternalEventInformation()([]VirtualEventExternalInformationable) { + val, err := m.GetBackingStore().Get("externalEventInformation") + if err != nil { + panic(err) + } + if val != nil { + return val.([]VirtualEventExternalInformationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *MeetingAttendanceReport) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -52,6 +64,22 @@ func (m *MeetingAttendanceReport) GetFieldDeserializers()(map[string]func(i878a8 } return nil } + res["externalEventInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateVirtualEventExternalInformationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]VirtualEventExternalInformationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(VirtualEventExternalInformationable) + } + } + m.SetExternalEventInformation(res) + } + return nil + } res["meetingEndDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetTimeValue() if err != nil { @@ -138,6 +166,18 @@ func (m *MeetingAttendanceReport) Serialize(writer i878a80d2330e89d26896388a3f48 return err } } + if m.GetExternalEventInformation() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExternalEventInformation())) + for i, v := range m.GetExternalEventInformation() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("externalEventInformation", cast) + if err != nil { + return err + } + } { err = writer.WriteTimeValue("meetingEndDateTime", m.GetMeetingEndDateTime()) if err != nil { @@ -165,6 +205,13 @@ func (m *MeetingAttendanceReport) SetAttendanceRecords(value []AttendanceRecorda panic(err) } } +// SetExternalEventInformation sets the externalEventInformation property value. The externalEventInformation property +func (m *MeetingAttendanceReport) SetExternalEventInformation(value []VirtualEventExternalInformationable)() { + err := m.GetBackingStore().Set("externalEventInformation", value) + if err != nil { + panic(err) + } +} // SetMeetingEndDateTime sets the meetingEndDateTime property value. UTC time when the meeting ended. Read-only. func (m *MeetingAttendanceReport) SetMeetingEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("meetingEndDateTime", value) @@ -190,10 +237,12 @@ type MeetingAttendanceReportable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAttendanceRecords()([]AttendanceRecordable) + GetExternalEventInformation()([]VirtualEventExternalInformationable) GetMeetingEndDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetMeetingStartDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetTotalParticipantCount()(*int32) SetAttendanceRecords(value []AttendanceRecordable)() + SetExternalEventInformation(value []VirtualEventExternalInformationable)() SetMeetingEndDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetMeetingStartDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetTotalParticipantCount(value *int32)() diff --git a/models/mobile_app.go b/models/mobile_app.go index 9d4b6d04b34..8e1ccc1f51c 100644 --- a/models/mobile_app.go +++ b/models/mobile_app.go @@ -141,7 +141,7 @@ func (m *MobileApp) GetCategories()([]MobileAppCategoryable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. +// GetCreatedDateTime gets the createdDateTime property value. The date and time the app was created. This property is read-only. // returns a *Time when successful func (m *MobileApp) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -153,7 +153,7 @@ func (m *MobileApp) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f30 } return nil } -// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. +// GetDependentAppCount gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. // returns a *int32 when successful func (m *MobileApp) GetDependentAppCount()(*int32) { val, err := m.GetBackingStore().Get("dependentAppCount") @@ -463,7 +463,7 @@ func (m *MobileApp) GetInformationUrl()(*string) { } return nil } -// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. +// GetIsAssigned gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. // returns a *bool when successful func (m *MobileApp) GetIsAssigned()(*bool) { val, err := m.GetBackingStore().Get("isAssigned") @@ -499,7 +499,7 @@ func (m *MobileApp) GetLargeIcon()(MimeContentable) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. // returns a *Time when successful func (m *MobileApp) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -571,7 +571,7 @@ func (m *MobileApp) GetPublishingState()(*MobileAppPublishingState) { } return nil } -// GetRelationships gets the relationships property value. List of relationships for this mobile app. +// GetRelationships gets the relationships property value. The set of direct relationships for this app. // returns a []MobileAppRelationshipable when successful func (m *MobileApp) GetRelationships()([]MobileAppRelationshipable) { val, err := m.GetBackingStore().Get("relationships") @@ -619,7 +619,7 @@ func (m *MobileApp) GetSupersedingAppCount()(*int32) { } return nil } -// GetUploadState gets the uploadState property value. The upload state. +// GetUploadState gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. // returns a *int32 when successful func (m *MobileApp) GetUploadState()(*int32) { val, err := m.GetBackingStore().Get("uploadState") @@ -762,14 +762,14 @@ func (m *MobileApp) SetCategories(value []MobileAppCategoryable)() { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. +// SetCreatedDateTime sets the createdDateTime property value. The date and time the app was created. This property is read-only. func (m *MobileApp) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. +// SetDependentAppCount sets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. func (m *MobileApp) SetDependentAppCount(value *int32)() { err := m.GetBackingStore().Set("dependentAppCount", value) if err != nil { @@ -804,7 +804,7 @@ func (m *MobileApp) SetInformationUrl(value *string)() { panic(err) } } -// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. +// SetIsAssigned sets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. func (m *MobileApp) SetIsAssigned(value *bool)() { err := m.GetBackingStore().Set("isAssigned", value) if err != nil { @@ -825,7 +825,7 @@ func (m *MobileApp) SetLargeIcon(value MimeContentable)() { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. func (m *MobileApp) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { @@ -867,7 +867,7 @@ func (m *MobileApp) SetPublishingState(value *MobileAppPublishingState)() { panic(err) } } -// SetRelationships sets the relationships property value. List of relationships for this mobile app. +// SetRelationships sets the relationships property value. The set of direct relationships for this app. func (m *MobileApp) SetRelationships(value []MobileAppRelationshipable)() { err := m.GetBackingStore().Set("relationships", value) if err != nil { @@ -895,7 +895,7 @@ func (m *MobileApp) SetSupersedingAppCount(value *int32)() { panic(err) } } -// SetUploadState sets the uploadState property value. The upload state. +// SetUploadState sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. func (m *MobileApp) SetUploadState(value *int32)() { err := m.GetBackingStore().Set("uploadState", value) if err != nil { diff --git a/models/mutual_tls_oauth_configuration.go b/models/mutual_tls_oauth_configuration.go new file mode 100644 index 00000000000..6064a76825f --- /dev/null +++ b/models/mutual_tls_oauth_configuration.go @@ -0,0 +1,116 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MutualTlsOauthConfiguration struct { + TrustedCertificateAuthorityBase +} +// NewMutualTlsOauthConfiguration instantiates a new MutualTlsOauthConfiguration and sets the default values. +func NewMutualTlsOauthConfiguration()(*MutualTlsOauthConfiguration) { + m := &MutualTlsOauthConfiguration{ + TrustedCertificateAuthorityBase: *NewTrustedCertificateAuthorityBase(), + } + odataTypeValue := "#microsoft.graph.mutualTlsOauthConfiguration" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateMutualTlsOauthConfigurationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMutualTlsOauthConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMutualTlsOauthConfiguration(), nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *MutualTlsOauthConfiguration) 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 *MutualTlsOauthConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.TrustedCertificateAuthorityBase.GetFieldDeserializers() + 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["tlsClientAuthParameter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseTlsClientRegistrationMetadata) + if err != nil { + return err + } + if val != nil { + m.SetTlsClientAuthParameter(val.(*TlsClientRegistrationMetadata)) + } + return nil + } + return res +} +// GetTlsClientAuthParameter gets the tlsClientAuthParameter property value. The tlsClientAuthParameter property +// returns a *TlsClientRegistrationMetadata when successful +func (m *MutualTlsOauthConfiguration) GetTlsClientAuthParameter()(*TlsClientRegistrationMetadata) { + val, err := m.GetBackingStore().Get("tlsClientAuthParameter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*TlsClientRegistrationMetadata) + } + return nil +} +// Serialize serializes information the current object +func (m *MutualTlsOauthConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.TrustedCertificateAuthorityBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + if m.GetTlsClientAuthParameter() != nil { + cast := (*m.GetTlsClientAuthParameter()).String() + err = writer.WriteStringValue("tlsClientAuthParameter", &cast) + if err != nil { + return err + } + } + return nil +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *MutualTlsOauthConfiguration) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetTlsClientAuthParameter sets the tlsClientAuthParameter property value. The tlsClientAuthParameter property +func (m *MutualTlsOauthConfiguration) SetTlsClientAuthParameter(value *TlsClientRegistrationMetadata)() { + err := m.GetBackingStore().Set("tlsClientAuthParameter", value) + if err != nil { + panic(err) + } +} +type MutualTlsOauthConfigurationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + TrustedCertificateAuthorityBaseable + GetDisplayName()(*string) + GetTlsClientAuthParameter()(*TlsClientRegistrationMetadata) + SetDisplayName(value *string)() + SetTlsClientAuthParameter(value *TlsClientRegistrationMetadata)() +} diff --git a/models/mutual_tls_oauth_configuration_collection_response.go b/models/mutual_tls_oauth_configuration_collection_response.go new file mode 100644 index 00000000000..87086e0c5e9 --- /dev/null +++ b/models/mutual_tls_oauth_configuration_collection_response.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MutualTlsOauthConfigurationCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewMutualTlsOauthConfigurationCollectionResponse instantiates a new MutualTlsOauthConfigurationCollectionResponse and sets the default values. +func NewMutualTlsOauthConfigurationCollectionResponse()(*MutualTlsOauthConfigurationCollectionResponse) { + m := &MutualTlsOauthConfigurationCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateMutualTlsOauthConfigurationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMutualTlsOauthConfigurationCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMutualTlsOauthConfigurationCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MutualTlsOauthConfigurationCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateMutualTlsOauthConfigurationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]MutualTlsOauthConfigurationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(MutualTlsOauthConfigurationable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []MutualTlsOauthConfigurationable when successful +func (m *MutualTlsOauthConfigurationCollectionResponse) GetValue()([]MutualTlsOauthConfigurationable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]MutualTlsOauthConfigurationable) + } + return nil +} +// Serialize serializes information the current object +func (m *MutualTlsOauthConfigurationCollectionResponse) 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 *MutualTlsOauthConfigurationCollectionResponse) SetValue(value []MutualTlsOauthConfigurationable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type MutualTlsOauthConfigurationCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]MutualTlsOauthConfigurationable) + SetValue(value []MutualTlsOauthConfigurationable)() +} diff --git a/models/networkaccess/alert_type.go b/models/networkaccess/alert_type.go index c3c2f426919..c7b81d65ad0 100644 --- a/models/networkaccess/alert_type.go +++ b/models/networkaccess/alert_type.go @@ -11,10 +11,12 @@ const ( UNKNOWNFUTUREVALUE_ALERTTYPE WEBCONTENTBLOCKED_ALERTTYPE MALWARE_ALERTTYPE + PATIENTZERO_ALERTTYPE + DLP_ALERTTYPE ) func (i AlertType) String() string { - return []string{"unhealthyRemoteNetworks", "unhealthyConnectors", "deviceTokenInconsistency", "crossTenantAnomaly", "suspiciousProcess", "threatIntelligenceTransactions", "unknownFutureValue", "webContentBlocked", "malware"}[i] + return []string{"unhealthyRemoteNetworks", "unhealthyConnectors", "deviceTokenInconsistency", "crossTenantAnomaly", "suspiciousProcess", "threatIntelligenceTransactions", "unknownFutureValue", "webContentBlocked", "malware", "patientZero", "dlp"}[i] } func ParseAlertType(v string) (any, error) { result := UNHEALTHYREMOTENETWORKS_ALERTTYPE @@ -37,6 +39,10 @@ func ParseAlertType(v string) (any, error) { result = WEBCONTENTBLOCKED_ALERTTYPE case "malware": result = MALWARE_ALERTTYPE + case "patientZero": + result = PATIENTZERO_ALERTTYPE + case "dlp": + result = DLP_ALERTTYPE default: return nil, nil } diff --git a/models/networkaccess/related_process.go b/models/networkaccess/related_process.go deleted file mode 100644 index 72080c11e67..00000000000 --- a/models/networkaccess/related_process.go +++ /dev/null @@ -1,115 +0,0 @@ -package networkaccess - -import ( - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" -) - -type RelatedProcess struct { - RelatedResource -} -// NewRelatedProcess instantiates a new RelatedProcess and sets the default values. -func NewRelatedProcess()(*RelatedProcess) { - m := &RelatedProcess{ - RelatedResource: *NewRelatedResource(), - } - odataTypeValue := "#microsoft.graph.networkaccess.relatedProcess" - m.SetOdataType(&odataTypeValue) - return m -} -// CreateRelatedProcessFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value -// returns a Parsable when successful -func CreateRelatedProcessFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { - return NewRelatedProcess(), nil -} -// GetFieldDeserializers the deserialization information for the current model -// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful -func (m *RelatedProcess) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { - res := m.RelatedResource.GetFieldDeserializers() - res["isSuspicious"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsSuspicious(val) - } - return nil - } - res["processName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetProcessName(val) - } - return nil - } - return res -} -// GetIsSuspicious gets the isSuspicious property value. The isSuspicious property -// returns a *bool when successful -func (m *RelatedProcess) GetIsSuspicious()(*bool) { - val, err := m.GetBackingStore().Get("isSuspicious") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetProcessName gets the processName property value. The processName property -// returns a *string when successful -func (m *RelatedProcess) GetProcessName()(*string) { - val, err := m.GetBackingStore().Get("processName") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} -// Serialize serializes information the current object -func (m *RelatedProcess) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { - err := m.RelatedResource.Serialize(writer) - if err != nil { - return err - } - { - err = writer.WriteBoolValue("isSuspicious", m.GetIsSuspicious()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("processName", m.GetProcessName()) - if err != nil { - return err - } - } - return nil -} -// SetIsSuspicious sets the isSuspicious property value. The isSuspicious property -func (m *RelatedProcess) SetIsSuspicious(value *bool)() { - err := m.GetBackingStore().Set("isSuspicious", value) - if err != nil { - panic(err) - } -} -// SetProcessName sets the processName property value. The processName property -func (m *RelatedProcess) SetProcessName(value *string)() { - err := m.GetBackingStore().Set("processName", value) - if err != nil { - panic(err) - } -} -type RelatedProcessable interface { - i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - RelatedResourceable - GetIsSuspicious()(*bool) - GetProcessName()(*string) - SetIsSuspicious(value *bool)() - SetProcessName(value *string)() -} diff --git a/models/networkaccess/related_resource.go b/models/networkaccess/related_resource.go index d9c96f30a6a..aff04076396 100644 --- a/models/networkaccess/related_resource.go +++ b/models/networkaccess/related_resource.go @@ -42,8 +42,6 @@ func CreateRelatedResourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896 return NewRelatedFileHash(), nil case "#microsoft.graph.networkaccess.relatedMalware": return NewRelatedMalware(), nil - case "#microsoft.graph.networkaccess.relatedProcess": - return NewRelatedProcess(), nil case "#microsoft.graph.networkaccess.relatedRemoteNetwork": return NewRelatedRemoteNetwork(), nil case "#microsoft.graph.networkaccess.relatedTenant": diff --git a/models/oidc_address_inbound_claims.go b/models/oidc_address_inbound_claims.go new file mode 100644 index 00000000000..7d9d582fbcb --- /dev/null +++ b/models/oidc_address_inbound_claims.go @@ -0,0 +1,298 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OidcAddressInboundClaims struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOidcAddressInboundClaims instantiates a new OidcAddressInboundClaims and sets the default values. +func NewOidcAddressInboundClaims()(*OidcAddressInboundClaims) { + m := &OidcAddressInboundClaims{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOidcAddressInboundClaimsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcAddressInboundClaimsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcAddressInboundClaims(), 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 *OidcAddressInboundClaims) 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 *OidcAddressInboundClaims) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCountry gets the country property value. Country name. +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetCountry()(*string) { + val, err := m.GetBackingStore().Get("country") + 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 *OidcAddressInboundClaims) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["country"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCountry(val) + } + return nil + } + res["locality"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLocality(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["postal_code"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPostalCode(val) + } + return nil + } + res["region"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRegion(val) + } + return nil + } + res["street_address"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetStreetAddress(val) + } + return nil + } + return res +} +// GetLocality gets the locality property value. City or locality. +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetLocality()(*string) { + val, err := m.GetBackingStore().Get("locality") + 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 *OidcAddressInboundClaims) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPostalCode gets the postal_code property value. Zip code or postal code. +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetPostalCode()(*string) { + val, err := m.GetBackingStore().Get("postal_code") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRegion gets the region property value. Country name. +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetRegion()(*string) { + val, err := m.GetBackingStore().Get("region") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStreetAddress gets the street_address property value. Full mailing address, formatted for display or use on a mailing label. This field MAY contain multiple lines, separated by newlines. Newlines can be represented either as a carriage return/line feed pair ('/r/n') or as a single line feed character ('/n'). +// returns a *string when successful +func (m *OidcAddressInboundClaims) GetStreetAddress()(*string) { + val, err := m.GetBackingStore().Get("street_address") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OidcAddressInboundClaims) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("country", m.GetCountry()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("locality", m.GetLocality()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("postal_code", m.GetPostalCode()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("region", m.GetRegion()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("street_address", m.GetStreetAddress()) + 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 *OidcAddressInboundClaims) 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 *OidcAddressInboundClaims) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCountry sets the country property value. Country name. +func (m *OidcAddressInboundClaims) SetCountry(value *string)() { + err := m.GetBackingStore().Set("country", value) + if err != nil { + panic(err) + } +} +// SetLocality sets the locality property value. City or locality. +func (m *OidcAddressInboundClaims) SetLocality(value *string)() { + err := m.GetBackingStore().Set("locality", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OidcAddressInboundClaims) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPostalCode sets the postal_code property value. Zip code or postal code. +func (m *OidcAddressInboundClaims) SetPostalCode(value *string)() { + err := m.GetBackingStore().Set("postal_code", value) + if err != nil { + panic(err) + } +} +// SetRegion sets the region property value. Country name. +func (m *OidcAddressInboundClaims) SetRegion(value *string)() { + err := m.GetBackingStore().Set("region", value) + if err != nil { + panic(err) + } +} +// SetStreetAddress sets the street_address property value. Full mailing address, formatted for display or use on a mailing label. This field MAY contain multiple lines, separated by newlines. Newlines can be represented either as a carriage return/line feed pair ('/r/n') or as a single line feed character ('/n'). +func (m *OidcAddressInboundClaims) SetStreetAddress(value *string)() { + err := m.GetBackingStore().Set("street_address", value) + if err != nil { + panic(err) + } +} +type OidcAddressInboundClaimsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCountry()(*string) + GetLocality()(*string) + GetOdataType()(*string) + GetPostalCode()(*string) + GetRegion()(*string) + GetStreetAddress()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCountry(value *string)() + SetLocality(value *string)() + SetOdataType(value *string)() + SetPostalCode(value *string)() + SetRegion(value *string)() + SetStreetAddress(value *string)() +} diff --git a/models/oidc_client_authentication.go b/models/oidc_client_authentication.go new file mode 100644 index 00000000000..1366b20de0e --- /dev/null +++ b/models/oidc_client_authentication.go @@ -0,0 +1,133 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OidcClientAuthentication struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOidcClientAuthentication instantiates a new OidcClientAuthentication and sets the default values. +func NewOidcClientAuthentication()(*OidcClientAuthentication) { + m := &OidcClientAuthentication{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOidcClientAuthenticationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcClientAuthenticationFromDiscriminatorValue(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.oidcClientSecretAuthentication": + return NewOidcClientSecretAuthentication(), nil + case "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication": + return NewOidcPrivateJwtKeyClientAuthentication(), nil + } + } + } + } + return NewOidcClientAuthentication(), 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 *OidcClientAuthentication) 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 *OidcClientAuthentication) 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 *OidcClientAuthentication) 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 *OidcClientAuthentication) 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 *OidcClientAuthentication) 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 *OidcClientAuthentication) 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 *OidcClientAuthentication) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OidcClientAuthentication) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type OidcClientAuthenticationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/oidc_client_secret_authentication.go b/models/oidc_client_secret_authentication.go new file mode 100644 index 00000000000..94daa9eced8 --- /dev/null +++ b/models/oidc_client_secret_authentication.go @@ -0,0 +1,78 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OidcClientSecretAuthentication struct { + OidcClientAuthentication +} +// NewOidcClientSecretAuthentication instantiates a new OidcClientSecretAuthentication and sets the default values. +func NewOidcClientSecretAuthentication()(*OidcClientSecretAuthentication) { + m := &OidcClientSecretAuthentication{ + OidcClientAuthentication: *NewOidcClientAuthentication(), + } + odataTypeValue := "#microsoft.graph.oidcClientSecretAuthentication" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOidcClientSecretAuthenticationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcClientSecretAuthenticationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcClientSecretAuthentication(), nil +} +// GetClientSecret gets the clientSecret property value. The client secret obtained from configuring the client application on the external OpenID Connect identity provider. The property includes the client secret and enables the identity provider to use either the clientsecretpost authentication method. +// returns a *string when successful +func (m *OidcClientSecretAuthentication) GetClientSecret()(*string) { + val, err := m.GetBackingStore().Get("clientSecret") + 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 *OidcClientSecretAuthentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.OidcClientAuthentication.GetFieldDeserializers() + res["clientSecret"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientSecret(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *OidcClientSecretAuthentication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.OidcClientAuthentication.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("clientSecret", m.GetClientSecret()) + if err != nil { + return err + } + } + return nil +} +// SetClientSecret sets the clientSecret property value. The client secret obtained from configuring the client application on the external OpenID Connect identity provider. The property includes the client secret and enables the identity provider to use either the clientsecretpost authentication method. +func (m *OidcClientSecretAuthentication) SetClientSecret(value *string)() { + err := m.GetBackingStore().Set("clientSecret", value) + if err != nil { + panic(err) + } +} +type OidcClientSecretAuthenticationable interface { + OidcClientAuthenticationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetClientSecret()(*string) + SetClientSecret(value *string)() +} diff --git a/models/oidc_identity_provider.go b/models/oidc_identity_provider.go new file mode 100644 index 00000000000..acda72354e4 --- /dev/null +++ b/models/oidc_identity_provider.go @@ -0,0 +1,301 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OidcIdentityProvider struct { + IdentityProviderBase +} +// NewOidcIdentityProvider instantiates a new OidcIdentityProvider and sets the default values. +func NewOidcIdentityProvider()(*OidcIdentityProvider) { + m := &OidcIdentityProvider{ + IdentityProviderBase: *NewIdentityProviderBase(), + } + odataTypeValue := "#microsoft.graph.oidcIdentityProvider" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOidcIdentityProviderFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcIdentityProviderFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcIdentityProvider(), nil +} +// GetClientAuthentication gets the clientAuthentication property value. The clientAuthentication property +// returns a OidcClientAuthenticationable when successful +func (m *OidcIdentityProvider) GetClientAuthentication()(OidcClientAuthenticationable) { + val, err := m.GetBackingStore().Get("clientAuthentication") + if err != nil { + panic(err) + } + if val != nil { + return val.(OidcClientAuthenticationable) + } + return nil +} +// GetClientId gets the clientId property value. The client ID for the application obtained when registering the application with the identity provider. +// returns a *string when successful +func (m *OidcIdentityProvider) GetClientId()(*string) { + val, err := m.GetBackingStore().Get("clientId") + 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 *OidcIdentityProvider) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.IdentityProviderBase.GetFieldDeserializers() + res["clientAuthentication"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOidcClientAuthenticationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetClientAuthentication(val.(OidcClientAuthenticationable)) + } + return nil + } + res["clientId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetClientId(val) + } + return nil + } + res["inboundClaimMapping"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOidcInboundClaimMappingOverrideFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInboundClaimMapping(val.(OidcInboundClaimMappingOverrideable)) + } + return nil + } + res["issuer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIssuer(val) + } + return nil + } + res["responseType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseOidcResponseType) + if err != nil { + return err + } + if val != nil { + m.SetResponseType(val.(*OidcResponseType)) + } + return nil + } + res["scope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetScope(val) + } + return nil + } + res["wellKnownEndpoint"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetWellKnownEndpoint(val) + } + return nil + } + return res +} +// GetInboundClaimMapping gets the inboundClaimMapping property value. After the OIDC provider sends an ID token back to Microsoft Entra External ID, Microsoft Entra External ID needs to be able to map the claims from the received token to the claims that Microsoft Entra ID recognizes and uses. This complex type captures that mapping. +// returns a OidcInboundClaimMappingOverrideable when successful +func (m *OidcIdentityProvider) GetInboundClaimMapping()(OidcInboundClaimMappingOverrideable) { + val, err := m.GetBackingStore().Get("inboundClaimMapping") + if err != nil { + panic(err) + } + if val != nil { + return val.(OidcInboundClaimMappingOverrideable) + } + return nil +} +// GetIssuer gets the issuer property value. The issuer URI. Issuer URI is a case-sensitive URL using https scheme contains scheme, host, and optionally, port number and path components and no query or fragment components. Note: Configuring other Microsoft Entra tenants as an external identity provider is currently not supported. As a result, the microsoftonline.com domain in the issuer URI is not accepted. +// returns a *string when successful +func (m *OidcIdentityProvider) GetIssuer()(*string) { + val, err := m.GetBackingStore().Get("issuer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResponseType gets the responseType property value. The responseType property +// returns a *OidcResponseType when successful +func (m *OidcIdentityProvider) GetResponseType()(*OidcResponseType) { + val, err := m.GetBackingStore().Get("responseType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*OidcResponseType) + } + return nil +} +// GetScope gets the scope property value. Scope defines the information and permissions you are looking to gather from your custom identity provider. +// returns a *string when successful +func (m *OidcIdentityProvider) GetScope()(*string) { + val, err := m.GetBackingStore().Get("scope") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetWellKnownEndpoint gets the wellKnownEndpoint property value. The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration. Note: The metadata document should, at minimum, contain the following properties: issuer, authorizationendpoint, tokenendpoint, tokenendpointauthmethodssupported, responsetypessupported, subjecttypessupported and jwks_uri. Visit OpenID Connect Discovery specifications for more details. +// returns a *string when successful +func (m *OidcIdentityProvider) GetWellKnownEndpoint()(*string) { + val, err := m.GetBackingStore().Get("wellKnownEndpoint") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OidcIdentityProvider) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.IdentityProviderBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("clientAuthentication", m.GetClientAuthentication()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("clientId", m.GetClientId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("inboundClaimMapping", m.GetInboundClaimMapping()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("issuer", m.GetIssuer()) + if err != nil { + return err + } + } + if m.GetResponseType() != nil { + cast := (*m.GetResponseType()).String() + err = writer.WriteStringValue("responseType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("scope", m.GetScope()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("wellKnownEndpoint", m.GetWellKnownEndpoint()) + if err != nil { + return err + } + } + return nil +} +// SetClientAuthentication sets the clientAuthentication property value. The clientAuthentication property +func (m *OidcIdentityProvider) SetClientAuthentication(value OidcClientAuthenticationable)() { + err := m.GetBackingStore().Set("clientAuthentication", value) + if err != nil { + panic(err) + } +} +// SetClientId sets the clientId property value. The client ID for the application obtained when registering the application with the identity provider. +func (m *OidcIdentityProvider) SetClientId(value *string)() { + err := m.GetBackingStore().Set("clientId", value) + if err != nil { + panic(err) + } +} +// SetInboundClaimMapping sets the inboundClaimMapping property value. After the OIDC provider sends an ID token back to Microsoft Entra External ID, Microsoft Entra External ID needs to be able to map the claims from the received token to the claims that Microsoft Entra ID recognizes and uses. This complex type captures that mapping. +func (m *OidcIdentityProvider) SetInboundClaimMapping(value OidcInboundClaimMappingOverrideable)() { + err := m.GetBackingStore().Set("inboundClaimMapping", value) + if err != nil { + panic(err) + } +} +// SetIssuer sets the issuer property value. The issuer URI. Issuer URI is a case-sensitive URL using https scheme contains scheme, host, and optionally, port number and path components and no query or fragment components. Note: Configuring other Microsoft Entra tenants as an external identity provider is currently not supported. As a result, the microsoftonline.com domain in the issuer URI is not accepted. +func (m *OidcIdentityProvider) SetIssuer(value *string)() { + err := m.GetBackingStore().Set("issuer", value) + if err != nil { + panic(err) + } +} +// SetResponseType sets the responseType property value. The responseType property +func (m *OidcIdentityProvider) SetResponseType(value *OidcResponseType)() { + err := m.GetBackingStore().Set("responseType", value) + if err != nil { + panic(err) + } +} +// SetScope sets the scope property value. Scope defines the information and permissions you are looking to gather from your custom identity provider. +func (m *OidcIdentityProvider) SetScope(value *string)() { + err := m.GetBackingStore().Set("scope", value) + if err != nil { + panic(err) + } +} +// SetWellKnownEndpoint sets the wellKnownEndpoint property value. The URL for the metadata document of the OpenID Connect identity provider. Every OpenID Connect identity provider describes a metadata document that contains most of the information required to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys. The OpenID Connect metadata document is always located at an endpoint that ends in .well-known/openid-configuration. Note: The metadata document should, at minimum, contain the following properties: issuer, authorizationendpoint, tokenendpoint, tokenendpointauthmethodssupported, responsetypessupported, subjecttypessupported and jwks_uri. Visit OpenID Connect Discovery specifications for more details. +func (m *OidcIdentityProvider) SetWellKnownEndpoint(value *string)() { + err := m.GetBackingStore().Set("wellKnownEndpoint", value) + if err != nil { + panic(err) + } +} +type OidcIdentityProviderable interface { + IdentityProviderBaseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetClientAuthentication()(OidcClientAuthenticationable) + GetClientId()(*string) + GetInboundClaimMapping()(OidcInboundClaimMappingOverrideable) + GetIssuer()(*string) + GetResponseType()(*OidcResponseType) + GetScope()(*string) + GetWellKnownEndpoint()(*string) + SetClientAuthentication(value OidcClientAuthenticationable)() + SetClientId(value *string)() + SetInboundClaimMapping(value OidcInboundClaimMappingOverrideable)() + SetIssuer(value *string)() + SetResponseType(value *OidcResponseType)() + SetScope(value *string)() + SetWellKnownEndpoint(value *string)() +} diff --git a/models/oidc_inbound_claim_mapping_override.go b/models/oidc_inbound_claim_mapping_override.go new file mode 100644 index 00000000000..7a6f4562aa7 --- /dev/null +++ b/models/oidc_inbound_claim_mapping_override.go @@ -0,0 +1,446 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type OidcInboundClaimMappingOverride struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewOidcInboundClaimMappingOverride instantiates a new OidcInboundClaimMappingOverride and sets the default values. +func NewOidcInboundClaimMappingOverride()(*OidcInboundClaimMappingOverride) { + m := &OidcInboundClaimMappingOverride{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateOidcInboundClaimMappingOverrideFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcInboundClaimMappingOverrideFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcInboundClaimMappingOverride(), 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 *OidcInboundClaimMappingOverride) 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) +} +// GetAddress gets the address property value. End-user's preferred postal address. The value of the address member is a JSON RFC8259 structure containing some or all of the members defined in the resource type +// returns a OidcAddressInboundClaimsable when successful +func (m *OidcInboundClaimMappingOverride) GetAddress()(OidcAddressInboundClaimsable) { + val, err := m.GetBackingStore().Get("address") + if err != nil { + panic(err) + } + if val != nil { + return val.(OidcAddressInboundClaimsable) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *OidcInboundClaimMappingOverride) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEmail gets the email property value. End-user's preferred e-mail address. Its value MUST conform to the RFC 5322 addr-spec syntax. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetEmail()(*string) { + val, err := m.GetBackingStore().Get("email") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEmailVerified gets the email_verified property value. True if the end-user's e-mail address has been verified by the identity provider; otherwise, false. When this claim value is true, this means that your identity provider took affirmative steps to ensure that this e-mail address was controlled by the end-user at the time the verification was performed. If this claim value is false, or not mapped with any claim of the identity provider, the user is asked to verify email during sign-up if email is required in the user flow. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetEmailVerified()(*string) { + val, err := m.GetBackingStore().Get("email_verified") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetFamilyName gets the family_name property value. Surname(s) or family name of the end-user. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetFamilyName()(*string) { + val, err := m.GetBackingStore().Get("family_name") + 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 *OidcInboundClaimMappingOverride) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["address"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateOidcAddressInboundClaimsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAddress(val.(OidcAddressInboundClaimsable)) + } + return nil + } + res["email"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmail(val) + } + return nil + } + res["email_verified"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailVerified(val) + } + return nil + } + res["family_name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFamilyName(val) + } + return nil + } + res["given_name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGivenName(val) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@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["phone_number"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPhoneNumber(val) + } + return nil + } + res["phone_number_verified"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPhoneNumberVerified(val) + } + return nil + } + res["sub"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSub(val) + } + return nil + } + return res +} +// GetGivenName gets the given_name property value. Given name(s) or first name(s) of the end-user. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetGivenName()(*string) { + val, err := m.GetBackingStore().Get("given_name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetName gets the name property value. End-user's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the end-user's locale and preferences. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + 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 *OidcInboundClaimMappingOverride) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPhoneNumber gets the phone_number property value. The claim provides the phone number for the user. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetPhoneNumber()(*string) { + val, err := m.GetBackingStore().Get("phone_number") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPhoneNumberVerified gets the phone_number_verified property value. True if the end-user's phone number has been verified; otherwise, false. When this claim value is true, this means that your identity provider took affirmative steps to verify the phone number. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetPhoneNumberVerified()(*string) { + val, err := m.GetBackingStore().Get("phone_number_verified") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSub gets the sub property value. Subject - Identifier for the end-user at the Issuer. +// returns a *string when successful +func (m *OidcInboundClaimMappingOverride) GetSub()(*string) { + val, err := m.GetBackingStore().Get("sub") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *OidcInboundClaimMappingOverride) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("address", m.GetAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("email", m.GetEmail()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("email_verified", m.GetEmailVerified()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("family_name", m.GetFamilyName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("given_name", m.GetGivenName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("phone_number", m.GetPhoneNumber()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("phone_number_verified", m.GetPhoneNumberVerified()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("sub", m.GetSub()) + 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 *OidcInboundClaimMappingOverride) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAddress sets the address property value. End-user's preferred postal address. The value of the address member is a JSON RFC8259 structure containing some or all of the members defined in the resource type +func (m *OidcInboundClaimMappingOverride) SetAddress(value OidcAddressInboundClaimsable)() { + err := m.GetBackingStore().Set("address", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *OidcInboundClaimMappingOverride) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEmail sets the email property value. End-user's preferred e-mail address. Its value MUST conform to the RFC 5322 addr-spec syntax. +func (m *OidcInboundClaimMappingOverride) SetEmail(value *string)() { + err := m.GetBackingStore().Set("email", value) + if err != nil { + panic(err) + } +} +// SetEmailVerified sets the email_verified property value. True if the end-user's e-mail address has been verified by the identity provider; otherwise, false. When this claim value is true, this means that your identity provider took affirmative steps to ensure that this e-mail address was controlled by the end-user at the time the verification was performed. If this claim value is false, or not mapped with any claim of the identity provider, the user is asked to verify email during sign-up if email is required in the user flow. +func (m *OidcInboundClaimMappingOverride) SetEmailVerified(value *string)() { + err := m.GetBackingStore().Set("email_verified", value) + if err != nil { + panic(err) + } +} +// SetFamilyName sets the family_name property value. Surname(s) or family name of the end-user. +func (m *OidcInboundClaimMappingOverride) SetFamilyName(value *string)() { + err := m.GetBackingStore().Set("family_name", value) + if err != nil { + panic(err) + } +} +// SetGivenName sets the given_name property value. Given name(s) or first name(s) of the end-user. +func (m *OidcInboundClaimMappingOverride) SetGivenName(value *string)() { + err := m.GetBackingStore().Set("given_name", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. End-user's full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the end-user's locale and preferences. +func (m *OidcInboundClaimMappingOverride) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *OidcInboundClaimMappingOverride) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPhoneNumber sets the phone_number property value. The claim provides the phone number for the user. +func (m *OidcInboundClaimMappingOverride) SetPhoneNumber(value *string)() { + err := m.GetBackingStore().Set("phone_number", value) + if err != nil { + panic(err) + } +} +// SetPhoneNumberVerified sets the phone_number_verified property value. True if the end-user's phone number has been verified; otherwise, false. When this claim value is true, this means that your identity provider took affirmative steps to verify the phone number. +func (m *OidcInboundClaimMappingOverride) SetPhoneNumberVerified(value *string)() { + err := m.GetBackingStore().Set("phone_number_verified", value) + if err != nil { + panic(err) + } +} +// SetSub sets the sub property value. Subject - Identifier for the end-user at the Issuer. +func (m *OidcInboundClaimMappingOverride) SetSub(value *string)() { + err := m.GetBackingStore().Set("sub", value) + if err != nil { + panic(err) + } +} +type OidcInboundClaimMappingOverrideable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAddress()(OidcAddressInboundClaimsable) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEmail()(*string) + GetEmailVerified()(*string) + GetFamilyName()(*string) + GetGivenName()(*string) + GetName()(*string) + GetOdataType()(*string) + GetPhoneNumber()(*string) + GetPhoneNumberVerified()(*string) + GetSub()(*string) + SetAddress(value OidcAddressInboundClaimsable)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEmail(value *string)() + SetEmailVerified(value *string)() + SetFamilyName(value *string)() + SetGivenName(value *string)() + SetName(value *string)() + SetOdataType(value *string)() + SetPhoneNumber(value *string)() + SetPhoneNumberVerified(value *string)() + SetSub(value *string)() +} diff --git a/models/oidc_private_jwt_key_client_authentication.go b/models/oidc_private_jwt_key_client_authentication.go new file mode 100644 index 00000000000..6959ba3dd7f --- /dev/null +++ b/models/oidc_private_jwt_key_client_authentication.go @@ -0,0 +1,41 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type OidcPrivateJwtKeyClientAuthentication struct { + OidcClientAuthentication +} +// NewOidcPrivateJwtKeyClientAuthentication instantiates a new OidcPrivateJwtKeyClientAuthentication and sets the default values. +func NewOidcPrivateJwtKeyClientAuthentication()(*OidcPrivateJwtKeyClientAuthentication) { + m := &OidcPrivateJwtKeyClientAuthentication{ + OidcClientAuthentication: *NewOidcClientAuthentication(), + } + odataTypeValue := "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateOidcPrivateJwtKeyClientAuthenticationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateOidcPrivateJwtKeyClientAuthenticationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewOidcPrivateJwtKeyClientAuthentication(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *OidcPrivateJwtKeyClientAuthentication) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.OidcClientAuthentication.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *OidcPrivateJwtKeyClientAuthentication) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.OidcClientAuthentication.Serialize(writer) + if err != nil { + return err + } + return nil +} +type OidcPrivateJwtKeyClientAuthenticationable interface { + OidcClientAuthenticationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/oidc_response_type.go b/models/oidc_response_type.go new file mode 100644 index 00000000000..0c90fbca79f --- /dev/null +++ b/models/oidc_response_type.go @@ -0,0 +1,54 @@ +package models +import ( + "math" + "strings" +) +type OidcResponseType int + +const ( + CODE_OIDCRESPONSETYPE = 1 + ID_TOKEN_OIDCRESPONSETYPE = 2 + TOKEN_OIDCRESPONSETYPE = 4 + UNKNOWNFUTUREVALUE_OIDCRESPONSETYPE = 8 +) + +func (i OidcResponseType) String() string { + var values []string + options := []string{"code", "id_token", "token", "unknownFutureValue"} + for p := 0; p < 4; p++ { + mantis := OidcResponseType(int(math.Pow(2, float64(p)))) + if i&mantis == mantis { + values = append(values, options[p]) + } + } + return strings.Join(values, ",") +} +func ParseOidcResponseType(v string) (any, error) { + var result OidcResponseType + values := strings.Split(v, ",") + for _, str := range values { + switch str { + case "code": + result |= CODE_OIDCRESPONSETYPE + case "id_token": + result |= ID_TOKEN_OIDCRESPONSETYPE + case "token": + result |= TOKEN_OIDCRESPONSETYPE + case "unknownFutureValue": + result |= UNKNOWNFUTUREVALUE_OIDCRESPONSETYPE + default: + return nil, nil + } + } + return &result, nil +} +func SerializeOidcResponseType(values []OidcResponseType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i OidcResponseType) isMultiValue() bool { + return true +} diff --git a/models/on_premises_publishing.go b/models/on_premises_publishing.go index ee32ef4499f..dd8440c3765 100644 --- a/models/on_premises_publishing.go +++ b/models/on_premises_publishing.go @@ -350,6 +350,42 @@ func (m *OnPremisesPublishing) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["wafAllowedHeaders"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWafAllowedHeadersDictionaryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWafAllowedHeaders(val.(WafAllowedHeadersDictionaryable)) + } + return nil + } + res["wafIpRanges"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIpRangeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IpRangeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IpRangeable) + } + } + m.SetWafIpRanges(res) + } + return nil + } + res["wafProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetWafProvider(val) + } + return nil + } return res } // GetInternalUrl gets the internalUrl property value. The internal url of the application. For example, https://intranet/. @@ -580,6 +616,42 @@ func (m *OnPremisesPublishing) GetVerifiedCustomDomainPasswordCredential()(Passw } return nil } +// GetWafAllowedHeaders gets the wafAllowedHeaders property value. The wafAllowedHeaders property +// returns a WafAllowedHeadersDictionaryable when successful +func (m *OnPremisesPublishing) GetWafAllowedHeaders()(WafAllowedHeadersDictionaryable) { + val, err := m.GetBackingStore().Get("wafAllowedHeaders") + if err != nil { + panic(err) + } + if val != nil { + return val.(WafAllowedHeadersDictionaryable) + } + return nil +} +// GetWafIpRanges gets the wafIpRanges property value. The wafIpRanges property +// returns a []IpRangeable when successful +func (m *OnPremisesPublishing) GetWafIpRanges()([]IpRangeable) { + val, err := m.GetBackingStore().Get("wafIpRanges") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IpRangeable) + } + return nil +} +// GetWafProvider gets the wafProvider property value. The wafProvider property +// returns a *string when successful +func (m *OnPremisesPublishing) GetWafProvider()(*string) { + val, err := m.GetBackingStore().Get("wafProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // Serialize serializes information the current object func (m *OnPremisesPublishing) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { { @@ -733,6 +805,30 @@ func (m *OnPremisesPublishing) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + { + err := writer.WriteObjectValue("wafAllowedHeaders", m.GetWafAllowedHeaders()) + if err != nil { + return err + } + } + if m.GetWafIpRanges() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWafIpRanges())) + for i, v := range m.GetWafIpRanges() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err := writer.WriteCollectionOfObjectValues("wafIpRanges", cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("wafProvider", m.GetWafProvider()) + if err != nil { + return err + } + } { err := writer.WriteAdditionalData(m.GetAdditionalData()) if err != nil { @@ -920,6 +1016,27 @@ func (m *OnPremisesPublishing) SetVerifiedCustomDomainPasswordCredential(value P panic(err) } } +// SetWafAllowedHeaders sets the wafAllowedHeaders property value. The wafAllowedHeaders property +func (m *OnPremisesPublishing) SetWafAllowedHeaders(value WafAllowedHeadersDictionaryable)() { + err := m.GetBackingStore().Set("wafAllowedHeaders", value) + if err != nil { + panic(err) + } +} +// SetWafIpRanges sets the wafIpRanges property value. The wafIpRanges property +func (m *OnPremisesPublishing) SetWafIpRanges(value []IpRangeable)() { + err := m.GetBackingStore().Set("wafIpRanges", value) + if err != nil { + panic(err) + } +} +// SetWafProvider sets the wafProvider property value. The wafProvider property +func (m *OnPremisesPublishing) SetWafProvider(value *string)() { + err := m.GetBackingStore().Set("wafProvider", value) + if err != nil { + panic(err) + } +} type OnPremisesPublishingable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel @@ -949,6 +1066,9 @@ type OnPremisesPublishingable interface { GetVerifiedCustomDomainCertificatesMetadata()(VerifiedCustomDomainCertificatesMetadataable) GetVerifiedCustomDomainKeyCredential()(KeyCredentialable) GetVerifiedCustomDomainPasswordCredential()(PasswordCredentialable) + GetWafAllowedHeaders()(WafAllowedHeadersDictionaryable) + GetWafIpRanges()([]IpRangeable) + GetWafProvider()(*string) SetAlternateUrl(value *string)() SetApplicationServerTimeout(value *string)() SetApplicationType(value *string)() @@ -974,4 +1094,7 @@ type OnPremisesPublishingable interface { SetVerifiedCustomDomainCertificatesMetadata(value VerifiedCustomDomainCertificatesMetadataable)() SetVerifiedCustomDomainKeyCredential(value KeyCredentialable)() SetVerifiedCustomDomainPasswordCredential(value PasswordCredentialable)() + SetWafAllowedHeaders(value WafAllowedHeadersDictionaryable)() + SetWafIpRanges(value []IpRangeable)() + SetWafProvider(value *string)() } diff --git a/models/one_drive_for_business_restore_session.go b/models/one_drive_for_business_restore_session.go index 06b1102f1fc..16aecf35f94 100644 --- a/models/one_drive_for_business_restore_session.go +++ b/models/one_drive_for_business_restore_session.go @@ -21,7 +21,7 @@ func NewOneDriveForBusinessRestoreSession()(*OneDriveForBusinessRestoreSession) func CreateOneDriveForBusinessRestoreSessionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewOneDriveForBusinessRestoreSession(), nil } -// GetDriveRestoreArtifacts gets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. +// GetDriveRestoreArtifacts gets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. // returns a []DriveRestoreArtifactable when successful func (m *OneDriveForBusinessRestoreSession) GetDriveRestoreArtifacts()([]DriveRestoreArtifactable) { val, err := m.GetBackingStore().Get("driveRestoreArtifacts") @@ -33,7 +33,7 @@ func (m *OneDriveForBusinessRestoreSession) GetDriveRestoreArtifacts()([]DriveRe } return nil } -// GetDriveRestoreArtifactsBulkAdditionRequests gets the driveRestoreArtifactsBulkAdditionRequests property value. The driveRestoreArtifactsBulkAdditionRequests property +// GetDriveRestoreArtifactsBulkAdditionRequests gets the driveRestoreArtifactsBulkAdditionRequests property value. A collection of user mailboxes and destination details that can be used to restore a OneDrive for work or school drive. // returns a []DriveRestoreArtifactsBulkAdditionRequestable when successful func (m *OneDriveForBusinessRestoreSession) GetDriveRestoreArtifactsBulkAdditionRequests()([]DriveRestoreArtifactsBulkAdditionRequestable) { val, err := m.GetBackingStore().Get("driveRestoreArtifactsBulkAdditionRequests") @@ -115,14 +115,14 @@ func (m *OneDriveForBusinessRestoreSession) Serialize(writer i878a80d2330e89d268 } return nil } -// SetDriveRestoreArtifacts sets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. +// SetDriveRestoreArtifacts sets the driveRestoreArtifacts property value. A collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. func (m *OneDriveForBusinessRestoreSession) SetDriveRestoreArtifacts(value []DriveRestoreArtifactable)() { err := m.GetBackingStore().Set("driveRestoreArtifacts", value) if err != nil { panic(err) } } -// SetDriveRestoreArtifactsBulkAdditionRequests sets the driveRestoreArtifactsBulkAdditionRequests property value. The driveRestoreArtifactsBulkAdditionRequests property +// SetDriveRestoreArtifactsBulkAdditionRequests sets the driveRestoreArtifactsBulkAdditionRequests property value. A collection of user mailboxes and destination details that can be used to restore a OneDrive for work or school drive. func (m *OneDriveForBusinessRestoreSession) SetDriveRestoreArtifactsBulkAdditionRequests(value []DriveRestoreArtifactsBulkAdditionRequestable)() { err := m.GetBackingStore().Set("driveRestoreArtifactsBulkAdditionRequests", value) if err != nil { diff --git a/models/restore_artifacts_bulk_request_base.go b/models/restore_artifacts_bulk_request_base.go index 1cf717c0ab9..05e0f6f6666 100644 --- a/models/restore_artifacts_bulk_request_base.go +++ b/models/restore_artifacts_bulk_request_base.go @@ -42,7 +42,7 @@ func CreateRestoreArtifactsBulkRequestBaseFromDiscriminatorValue(parseNode i878a } return NewRestoreArtifactsBulkRequestBase(), nil } -// GetCreatedBy gets the createdBy property value. The createdBy property +// GetCreatedBy gets the createdBy property value. The identity of the person who created the bulk request. // returns a IdentitySetable when successful func (m *RestoreArtifactsBulkRequestBase) GetCreatedBy()(IdentitySetable) { val, err := m.GetBackingStore().Get("createdBy") @@ -54,7 +54,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetCreatedBy()(IdentitySetable) { } return nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. The time when the bulk request was created. // returns a *Time when successful func (m *RestoreArtifactsBulkRequestBase) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -66,7 +66,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetCreatedDateTime()(*i336074805fc8539 } return nil } -// GetDestinationType gets the destinationType property value. The destinationType property +// GetDestinationType gets the destinationType property value. Indicates the restoration destination. The possible values are: new, inPlace, unknownFutureValue. // returns a *DestinationType when successful func (m *RestoreArtifactsBulkRequestBase) GetDestinationType()(*DestinationType) { val, err := m.GetBackingStore().Get("destinationType") @@ -78,7 +78,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetDestinationType()(*DestinationType) } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. Name of the addition request. // returns a *string when successful func (m *RestoreArtifactsBulkRequestBase) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -90,7 +90,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetDisplayName()(*string) { } return nil } -// GetError gets the error property value. The error property +// GetError gets the error property value. Error details are populated for resource resolution failures. // returns a PublicErrorable when successful func (m *RestoreArtifactsBulkRequestBase) GetError()(PublicErrorable) { val, err := m.GetBackingStore().Get("error") @@ -234,7 +234,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetFieldDeserializers()(map[string]fun } return res } -// GetLastModifiedBy gets the lastModifiedBy property value. The lastModifiedBy property +// GetLastModifiedBy gets the lastModifiedBy property value. Identity of the person who last modified this entity. // returns a IdentitySetable when successful func (m *RestoreArtifactsBulkRequestBase) GetLastModifiedBy()(IdentitySetable) { val, err := m.GetBackingStore().Get("lastModifiedBy") @@ -246,7 +246,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetLastModifiedBy()(IdentitySetable) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Timestamp when this entity was last modified. // returns a *Time when successful func (m *RestoreArtifactsBulkRequestBase) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -258,7 +258,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetLastModifiedDateTime()(*i336074805f } return nil } -// GetProtectionTimePeriod gets the protectionTimePeriod property value. The protectionTimePeriod property +// GetProtectionTimePeriod gets the protectionTimePeriod property value. The start and end date and time of the protection period. // returns a TimePeriodable when successful func (m *RestoreArtifactsBulkRequestBase) GetProtectionTimePeriod()(TimePeriodable) { val, err := m.GetBackingStore().Get("protectionTimePeriod") @@ -270,7 +270,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetProtectionTimePeriod()(TimePeriodab } return nil } -// GetProtectionUnitIds gets the protectionUnitIds property value. The protectionUnitIds property +// GetProtectionUnitIds gets the protectionUnitIds property value. Indicates which protection units to restore. This property isn't implemented yet. Future value; don't use. // returns a []string when successful func (m *RestoreArtifactsBulkRequestBase) GetProtectionUnitIds()([]string) { val, err := m.GetBackingStore().Get("protectionUnitIds") @@ -282,7 +282,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetProtectionUnitIds()([]string) { } return nil } -// GetRestorePointPreference gets the restorePointPreference property value. The restorePointPreference property +// GetRestorePointPreference gets the restorePointPreference property value. Indicates which restore point to return. The possible values are: oldest, latest, unknownFutureValue. // returns a *RestorePointPreference when successful func (m *RestoreArtifactsBulkRequestBase) GetRestorePointPreference()(*RestorePointPreference) { val, err := m.GetBackingStore().Get("restorePointPreference") @@ -294,7 +294,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetRestorePointPreference()(*RestorePo } return nil } -// GetStatus gets the status property value. The status property +// GetStatus gets the status property value. Determines the status of the long-running operation. The possible values area: unknown, active, completed, completedWithErrors, unknownFutureValue. // returns a *RestoreArtifactsBulkRequestStatus when successful func (m *RestoreArtifactsBulkRequestBase) GetStatus()(*RestoreArtifactsBulkRequestStatus) { val, err := m.GetBackingStore().Get("status") @@ -306,7 +306,7 @@ func (m *RestoreArtifactsBulkRequestBase) GetStatus()(*RestoreArtifactsBulkReque } return nil } -// GetTags gets the tags property value. The tags property +// GetTags gets the tags property value. The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. // returns a *RestorePointTags when successful func (m *RestoreArtifactsBulkRequestBase) GetTags()(*RestorePointTags) { val, err := m.GetBackingStore().Get("tags") @@ -402,84 +402,84 @@ func (m *RestoreArtifactsBulkRequestBase) Serialize(writer i878a80d2330e89d26896 } return nil } -// SetCreatedBy sets the createdBy property value. The createdBy property +// SetCreatedBy sets the createdBy property value. The identity of the person who created the bulk request. func (m *RestoreArtifactsBulkRequestBase) SetCreatedBy(value IdentitySetable)() { err := m.GetBackingStore().Set("createdBy", value) if err != nil { panic(err) } } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. The time when the bulk request was created. func (m *RestoreArtifactsBulkRequestBase) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDestinationType sets the destinationType property value. The destinationType property +// SetDestinationType sets the destinationType property value. Indicates the restoration destination. The possible values are: new, inPlace, unknownFutureValue. func (m *RestoreArtifactsBulkRequestBase) SetDestinationType(value *DestinationType)() { err := m.GetBackingStore().Set("destinationType", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. Name of the addition request. func (m *RestoreArtifactsBulkRequestBase) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetError sets the error property value. The error property +// SetError sets the error property value. Error details are populated for resource resolution failures. func (m *RestoreArtifactsBulkRequestBase) SetError(value PublicErrorable)() { err := m.GetBackingStore().Set("error", value) if err != nil { panic(err) } } -// SetLastModifiedBy sets the lastModifiedBy property value. The lastModifiedBy property +// SetLastModifiedBy sets the lastModifiedBy property value. Identity of the person who last modified this entity. func (m *RestoreArtifactsBulkRequestBase) SetLastModifiedBy(value IdentitySetable)() { err := m.GetBackingStore().Set("lastModifiedBy", value) if err != nil { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Timestamp when this entity was last modified. func (m *RestoreArtifactsBulkRequestBase) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { panic(err) } } -// SetProtectionTimePeriod sets the protectionTimePeriod property value. The protectionTimePeriod property +// SetProtectionTimePeriod sets the protectionTimePeriod property value. The start and end date and time of the protection period. func (m *RestoreArtifactsBulkRequestBase) SetProtectionTimePeriod(value TimePeriodable)() { err := m.GetBackingStore().Set("protectionTimePeriod", value) if err != nil { panic(err) } } -// SetProtectionUnitIds sets the protectionUnitIds property value. The protectionUnitIds property +// SetProtectionUnitIds sets the protectionUnitIds property value. Indicates which protection units to restore. This property isn't implemented yet. Future value; don't use. func (m *RestoreArtifactsBulkRequestBase) SetProtectionUnitIds(value []string)() { err := m.GetBackingStore().Set("protectionUnitIds", value) if err != nil { panic(err) } } -// SetRestorePointPreference sets the restorePointPreference property value. The restorePointPreference property +// SetRestorePointPreference sets the restorePointPreference property value. Indicates which restore point to return. The possible values are: oldest, latest, unknownFutureValue. func (m *RestoreArtifactsBulkRequestBase) SetRestorePointPreference(value *RestorePointPreference)() { err := m.GetBackingStore().Set("restorePointPreference", value) if err != nil { panic(err) } } -// SetStatus sets the status property value. The status property +// SetStatus sets the status property value. Determines the status of the long-running operation. The possible values area: unknown, active, completed, completedWithErrors, unknownFutureValue. func (m *RestoreArtifactsBulkRequestBase) SetStatus(value *RestoreArtifactsBulkRequestStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { panic(err) } } -// SetTags sets the tags property value. The tags property +// SetTags sets the tags property value. The type of the restore point. The possible values are: none, fastRestore, unknownFutureValue. func (m *RestoreArtifactsBulkRequestBase) SetTags(value *RestorePointTags)() { err := m.GetBackingStore().Set("tags", value) if err != nil { diff --git a/models/roadmap.go b/models/roadmap.go new file mode 100644 index 00000000000..aebe94522d9 --- /dev/null +++ b/models/roadmap.go @@ -0,0 +1,229 @@ +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Roadmap struct { + ChangeItemBase +} +// NewRoadmap instantiates a new Roadmap and sets the default values. +func NewRoadmap()(*Roadmap) { + m := &Roadmap{ + ChangeItemBase: *NewChangeItemBase(), + } + odataTypeValue := "#microsoft.graph.roadmap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateRoadmapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateRoadmapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewRoadmap(), nil +} +// GetCategory gets the category property value. Indicates the category with which this item is associated. Supports $filter (eq, ne, in) and $orderby. +// returns a *string when successful +func (m *Roadmap) GetCategory()(*string) { + val, err := m.GetBackingStore().Get("category") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetChangeItemState gets the changeItemState property value. The changeItemState property +// returns a *ChangeItemState when successful +func (m *Roadmap) GetChangeItemState()(*ChangeItemState) { + val, err := m.GetBackingStore().Get("changeItemState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ChangeItemState) + } + return nil +} +// GetDeliveryStage gets the deliveryStage property value. The deliveryStage property +// returns a *RoadmapItemDeliveryStage when successful +func (m *Roadmap) GetDeliveryStage()(*RoadmapItemDeliveryStage) { + val, err := m.GetBackingStore().Get("deliveryStage") + if err != nil { + panic(err) + } + if val != nil { + return val.(*RoadmapItemDeliveryStage) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Roadmap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.ChangeItemBase.GetFieldDeserializers() + res["category"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCategory(val) + } + return nil + } + res["changeItemState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseChangeItemState) + if err != nil { + return err + } + if val != nil { + m.SetChangeItemState(val.(*ChangeItemState)) + } + return nil + } + res["deliveryStage"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseRoadmapItemDeliveryStage) + if err != nil { + return err + } + if val != nil { + m.SetDeliveryStage(val.(*RoadmapItemDeliveryStage)) + } + return nil + } + res["gotoLink"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGotoLink(val) + } + return nil + } + res["publishedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetPublishedDateTime(val) + } + return nil + } + return res +} +// GetGotoLink gets the gotoLink property value. Link to the feature page in the Microsoft Entra admin center. Supports $filter (eq, ne, in) and $orderby. +// returns a *string when successful +func (m *Roadmap) GetGotoLink()(*string) { + val, err := m.GetBackingStore().Get("gotoLink") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPublishedDateTime gets the publishedDateTime property value. Feature planned release date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. +// returns a *Time when successful +func (m *Roadmap) GetPublishedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("publishedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// Serialize serializes information the current object +func (m *Roadmap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.ChangeItemBase.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("category", m.GetCategory()) + if err != nil { + return err + } + } + if m.GetChangeItemState() != nil { + cast := (*m.GetChangeItemState()).String() + err = writer.WriteStringValue("changeItemState", &cast) + if err != nil { + return err + } + } + if m.GetDeliveryStage() != nil { + cast := (*m.GetDeliveryStage()).String() + err = writer.WriteStringValue("deliveryStage", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("gotoLink", m.GetGotoLink()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("publishedDateTime", m.GetPublishedDateTime()) + if err != nil { + return err + } + } + return nil +} +// SetCategory sets the category property value. Indicates the category with which this item is associated. Supports $filter (eq, ne, in) and $orderby. +func (m *Roadmap) SetCategory(value *string)() { + err := m.GetBackingStore().Set("category", value) + if err != nil { + panic(err) + } +} +// SetChangeItemState sets the changeItemState property value. The changeItemState property +func (m *Roadmap) SetChangeItemState(value *ChangeItemState)() { + err := m.GetBackingStore().Set("changeItemState", value) + if err != nil { + panic(err) + } +} +// SetDeliveryStage sets the deliveryStage property value. The deliveryStage property +func (m *Roadmap) SetDeliveryStage(value *RoadmapItemDeliveryStage)() { + err := m.GetBackingStore().Set("deliveryStage", value) + if err != nil { + panic(err) + } +} +// SetGotoLink sets the gotoLink property value. Link to the feature page in the Microsoft Entra admin center. Supports $filter (eq, ne, in) and $orderby. +func (m *Roadmap) SetGotoLink(value *string)() { + err := m.GetBackingStore().Set("gotoLink", value) + if err != nil { + panic(err) + } +} +// SetPublishedDateTime sets the publishedDateTime property value. Feature planned release date. Supports $filter (eq, ne, gt, lt, le and ge on year(), month(), day(), hour(), minute(), and second() built in functions) and $orderby. +func (m *Roadmap) SetPublishedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("publishedDateTime", value) + if err != nil { + panic(err) + } +} +type Roadmapable interface { + ChangeItemBaseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCategory()(*string) + GetChangeItemState()(*ChangeItemState) + GetDeliveryStage()(*RoadmapItemDeliveryStage) + GetGotoLink()(*string) + GetPublishedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetCategory(value *string)() + SetChangeItemState(value *ChangeItemState)() + SetDeliveryStage(value *RoadmapItemDeliveryStage)() + SetGotoLink(value *string)() + SetPublishedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/models/roadmap_item_delivery_stage.go b/models/roadmap_item_delivery_stage.go new file mode 100644 index 00000000000..f484a343955 --- /dev/null +++ b/models/roadmap_item_delivery_stage.go @@ -0,0 +1,39 @@ +package models +type RoadmapItemDeliveryStage int + +const ( + PRIVATEPREVIEW_ROADMAPITEMDELIVERYSTAGE RoadmapItemDeliveryStage = iota + PUBLICPREVIEW_ROADMAPITEMDELIVERYSTAGE + GA_ROADMAPITEMDELIVERYSTAGE + UNKNOWNFUTUREVALUE_ROADMAPITEMDELIVERYSTAGE +) + +func (i RoadmapItemDeliveryStage) String() string { + return []string{"privatePreview", "publicPreview", "ga", "unknownFutureValue"}[i] +} +func ParseRoadmapItemDeliveryStage(v string) (any, error) { + result := PRIVATEPREVIEW_ROADMAPITEMDELIVERYSTAGE + switch v { + case "privatePreview": + result = PRIVATEPREVIEW_ROADMAPITEMDELIVERYSTAGE + case "publicPreview": + result = PUBLICPREVIEW_ROADMAPITEMDELIVERYSTAGE + case "ga": + result = GA_ROADMAPITEMDELIVERYSTAGE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ROADMAPITEMDELIVERYSTAGE + default: + return nil, nil + } + return &result, nil +} +func SerializeRoadmapItemDeliveryStage(values []RoadmapItemDeliveryStage) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i RoadmapItemDeliveryStage) isMultiValue() bool { + return false +} diff --git a/models/security/app_category.go b/models/security/app_category.go new file mode 100644 index 00000000000..4c965ca5be4 --- /dev/null +++ b/models/security/app_category.go @@ -0,0 +1,159 @@ +package security +type AppCategory int + +const ( + SECURITY_APPCATEGORY AppCategory = iota + COLLABORATION_APPCATEGORY + HOSTINGSERVICES_APPCATEGORY + ONLINEMEETINGS_APPCATEGORY + NEWSANDENTERTAINMENT_APPCATEGORY + ECOMMERCE_APPCATEGORY + EDUCATION_APPCATEGORY + CLOUDSTORAGE_APPCATEGORY + MARKETING_APPCATEGORY + OPERATIONSMANAGEMENT_APPCATEGORY + HEALTH_APPCATEGORY + ADVERTISING_APPCATEGORY + PRODUCTIVITY_APPCATEGORY + ACCOUNTINGANDFINANCE_APPCATEGORY + CONTENTMANAGEMENT_APPCATEGORY + CONTENTSHARING_APPCATEGORY + BUSINESSMANAGEMENT_APPCATEGORY + COMMUNICATIONS_APPCATEGORY + DATAANALYTICS_APPCATEGORY + BUSINESSINTELLIGENCE_APPCATEGORY + WEBEMAIL_APPCATEGORY + CODEHOSTING_APPCATEGORY + WEBANALYTICS_APPCATEGORY + SOCIALNETWORK_APPCATEGORY + CRM_APPCATEGORY + FORUMS_APPCATEGORY + HUMANRESOURCEMANAGEMENT_APPCATEGORY + TRANSPORTATIONANDTRAVEL_APPCATEGORY + PRODUCTDESIGN_APPCATEGORY + SALES_APPCATEGORY + CLOUDCOMPUTINGPLATFORM_APPCATEGORY + PROJECTMANAGEMENT_APPCATEGORY + PERSONALINSTANTMESSAGING_APPCATEGORY + DEVELOPMENTTOOLS_APPCATEGORY + ITSERVICES_APPCATEGORY + SUPPLYCHAINANDLOGISTICS_APPCATEGORY + PROPERTYMANAGEMENT_APPCATEGORY + CUSTOMERSUPPORT_APPCATEGORY + INTERNETOFTHINGS_APPCATEGORY + VENDORMANAGEMENTSYSTEMS_APPCATEGORY + WEBSITEMONITORING_APPCATEGORY + GENERATIVEAI_APPCATEGORY + UNKNOWN_APPCATEGORY + UNKNOWNFUTUREVALUE_APPCATEGORY +) + +func (i AppCategory) String() string { + return []string{"security", "collaboration", "hostingServices", "onlineMeetings", "newsAndEntertainment", "eCommerce", "education", "cloudStorage", "marketing", "operationsManagement", "health", "advertising", "productivity", "accountingAndFinance", "contentManagement", "contentSharing", "businessManagement", "communications", "dataAnalytics", "businessIntelligence", "webemail", "codeHosting", "webAnalytics", "socialNetwork", "crm", "forums", "humanResourceManagement", "transportationAndTravel", "productDesign", "sales", "cloudComputingPlatform", "projectManagement", "personalInstantMessaging", "developmentTools", "itServices", "supplyChainAndLogistics", "propertyManagement", "customerSupport", "internetOfThings", "vendorManagementSystems", "websiteMonitoring", "generativeAi", "unknown", "unknownFutureValue"}[i] +} +func ParseAppCategory(v string) (any, error) { + result := SECURITY_APPCATEGORY + switch v { + case "security": + result = SECURITY_APPCATEGORY + case "collaboration": + result = COLLABORATION_APPCATEGORY + case "hostingServices": + result = HOSTINGSERVICES_APPCATEGORY + case "onlineMeetings": + result = ONLINEMEETINGS_APPCATEGORY + case "newsAndEntertainment": + result = NEWSANDENTERTAINMENT_APPCATEGORY + case "eCommerce": + result = ECOMMERCE_APPCATEGORY + case "education": + result = EDUCATION_APPCATEGORY + case "cloudStorage": + result = CLOUDSTORAGE_APPCATEGORY + case "marketing": + result = MARKETING_APPCATEGORY + case "operationsManagement": + result = OPERATIONSMANAGEMENT_APPCATEGORY + case "health": + result = HEALTH_APPCATEGORY + case "advertising": + result = ADVERTISING_APPCATEGORY + case "productivity": + result = PRODUCTIVITY_APPCATEGORY + case "accountingAndFinance": + result = ACCOUNTINGANDFINANCE_APPCATEGORY + case "contentManagement": + result = CONTENTMANAGEMENT_APPCATEGORY + case "contentSharing": + result = CONTENTSHARING_APPCATEGORY + case "businessManagement": + result = BUSINESSMANAGEMENT_APPCATEGORY + case "communications": + result = COMMUNICATIONS_APPCATEGORY + case "dataAnalytics": + result = DATAANALYTICS_APPCATEGORY + case "businessIntelligence": + result = BUSINESSINTELLIGENCE_APPCATEGORY + case "webemail": + result = WEBEMAIL_APPCATEGORY + case "codeHosting": + result = CODEHOSTING_APPCATEGORY + case "webAnalytics": + result = WEBANALYTICS_APPCATEGORY + case "socialNetwork": + result = SOCIALNETWORK_APPCATEGORY + case "crm": + result = CRM_APPCATEGORY + case "forums": + result = FORUMS_APPCATEGORY + case "humanResourceManagement": + result = HUMANRESOURCEMANAGEMENT_APPCATEGORY + case "transportationAndTravel": + result = TRANSPORTATIONANDTRAVEL_APPCATEGORY + case "productDesign": + result = PRODUCTDESIGN_APPCATEGORY + case "sales": + result = SALES_APPCATEGORY + case "cloudComputingPlatform": + result = CLOUDCOMPUTINGPLATFORM_APPCATEGORY + case "projectManagement": + result = PROJECTMANAGEMENT_APPCATEGORY + case "personalInstantMessaging": + result = PERSONALINSTANTMESSAGING_APPCATEGORY + case "developmentTools": + result = DEVELOPMENTTOOLS_APPCATEGORY + case "itServices": + result = ITSERVICES_APPCATEGORY + case "supplyChainAndLogistics": + result = SUPPLYCHAINANDLOGISTICS_APPCATEGORY + case "propertyManagement": + result = PROPERTYMANAGEMENT_APPCATEGORY + case "customerSupport": + result = CUSTOMERSUPPORT_APPCATEGORY + case "internetOfThings": + result = INTERNETOFTHINGS_APPCATEGORY + case "vendorManagementSystems": + result = VENDORMANAGEMENTSYSTEMS_APPCATEGORY + case "websiteMonitoring": + result = WEBSITEMONITORING_APPCATEGORY + case "generativeAi": + result = GENERATIVEAI_APPCATEGORY + case "unknown": + result = UNKNOWN_APPCATEGORY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPCATEGORY + default: + return nil, nil + } + return &result, nil +} +func SerializeAppCategory(values []AppCategory) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppCategory) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_csa_star_level.go b/models/security/app_info_csa_star_level.go new file mode 100644 index 00000000000..be93048bfbe --- /dev/null +++ b/models/security/app_info_csa_star_level.go @@ -0,0 +1,48 @@ +package security +type AppInfoCsaStarLevel int + +const ( + SELFASSESSMENT_APPINFOCSASTARLEVEL AppInfoCsaStarLevel = iota + CERTIFICATION_APPINFOCSASTARLEVEL + ATTESTATION_APPINFOCSASTARLEVEL + CSTARASSESSMENT_APPINFOCSASTARLEVEL + CONTINUOUSMONITORING_APPINFOCSASTARLEVEL + UNKNOWN_APPINFOCSASTARLEVEL + UNKNOWNFUTUREVALUE_APPINFOCSASTARLEVEL +) + +func (i AppInfoCsaStarLevel) String() string { + return []string{"selfAssessment", "certification", "attestation", "cStarAssessment", "continuousMonitoring", "unknown", "unknownFutureValue"}[i] +} +func ParseAppInfoCsaStarLevel(v string) (any, error) { + result := SELFASSESSMENT_APPINFOCSASTARLEVEL + switch v { + case "selfAssessment": + result = SELFASSESSMENT_APPINFOCSASTARLEVEL + case "certification": + result = CERTIFICATION_APPINFOCSASTARLEVEL + case "attestation": + result = ATTESTATION_APPINFOCSASTARLEVEL + case "cStarAssessment": + result = CSTARASSESSMENT_APPINFOCSASTARLEVEL + case "continuousMonitoring": + result = CONTINUOUSMONITORING_APPINFOCSASTARLEVEL + case "unknown": + result = UNKNOWN_APPINFOCSASTARLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFOCSASTARLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoCsaStarLevel(values []AppInfoCsaStarLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoCsaStarLevel) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_data_at_rest_encryption_method.go b/models/security/app_info_data_at_rest_encryption_method.go new file mode 100644 index 00000000000..d711f4fb329 --- /dev/null +++ b/models/security/app_info_data_at_rest_encryption_method.go @@ -0,0 +1,57 @@ +package security +type AppInfoDataAtRestEncryptionMethod int + +const ( + AES_APPINFODATAATRESTENCRYPTIONMETHOD AppInfoDataAtRestEncryptionMethod = iota + BITLOCKER_APPINFODATAATRESTENCRYPTIONMETHOD + BLOWFISH_APPINFODATAATRESTENCRYPTIONMETHOD + DES3_APPINFODATAATRESTENCRYPTIONMETHOD + DES_APPINFODATAATRESTENCRYPTIONMETHOD + RC4_APPINFODATAATRESTENCRYPTIONMETHOD + RSA_APPINFODATAATRESTENCRYPTIONMETHOD + NOTSUPPORTED_APPINFODATAATRESTENCRYPTIONMETHOD + UNKNOWN_APPINFODATAATRESTENCRYPTIONMETHOD + UNKNOWNFUTUREVALUE_APPINFODATAATRESTENCRYPTIONMETHOD +) + +func (i AppInfoDataAtRestEncryptionMethod) String() string { + return []string{"aes", "bitLocker", "blowfish", "des3", "des", "rc4", "rsA", "notSupported", "unknown", "unknownFutureValue"}[i] +} +func ParseAppInfoDataAtRestEncryptionMethod(v string) (any, error) { + result := AES_APPINFODATAATRESTENCRYPTIONMETHOD + switch v { + case "aes": + result = AES_APPINFODATAATRESTENCRYPTIONMETHOD + case "bitLocker": + result = BITLOCKER_APPINFODATAATRESTENCRYPTIONMETHOD + case "blowfish": + result = BLOWFISH_APPINFODATAATRESTENCRYPTIONMETHOD + case "des3": + result = DES3_APPINFODATAATRESTENCRYPTIONMETHOD + case "des": + result = DES_APPINFODATAATRESTENCRYPTIONMETHOD + case "rc4": + result = RC4_APPINFODATAATRESTENCRYPTIONMETHOD + case "rsA": + result = RSA_APPINFODATAATRESTENCRYPTIONMETHOD + case "notSupported": + result = NOTSUPPORTED_APPINFODATAATRESTENCRYPTIONMETHOD + case "unknown": + result = UNKNOWN_APPINFODATAATRESTENCRYPTIONMETHOD + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFODATAATRESTENCRYPTIONMETHOD + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoDataAtRestEncryptionMethod(values []AppInfoDataAtRestEncryptionMethod) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoDataAtRestEncryptionMethod) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_data_retention_policy.go b/models/security/app_info_data_retention_policy.go new file mode 100644 index 00000000000..6191272674f --- /dev/null +++ b/models/security/app_info_data_retention_policy.go @@ -0,0 +1,51 @@ +package security +type AppInfoDataRetentionPolicy int + +const ( + DATARETAINED_APPINFODATARETENTIONPOLICY AppInfoDataRetentionPolicy = iota + DELETEDIMMEDIATELY_APPINFODATARETENTIONPOLICY + DELETEDWITHINTWOWEEKS_APPINFODATARETENTIONPOLICY + DELETEDWITHINONEMONTH_APPINFODATARETENTIONPOLICY + DELETEDWITHINTHREEMONTHS_APPINFODATARETENTIONPOLICY + DELETEDWITHINMORETHANTHREEMONTHS_APPINFODATARETENTIONPOLICY + UNKNOWN_APPINFODATARETENTIONPOLICY + UNKNOWNFUTUREVALUE_APPINFODATARETENTIONPOLICY +) + +func (i AppInfoDataRetentionPolicy) String() string { + return []string{"dataRetained", "deletedImmediately", "deletedWithinTwoWeeks", "deletedWithinOneMonth", "deletedWithinThreeMonths", "deletedWithinMoreThanThreeMonths", "unknown", "unknownFutureValue"}[i] +} +func ParseAppInfoDataRetentionPolicy(v string) (any, error) { + result := DATARETAINED_APPINFODATARETENTIONPOLICY + switch v { + case "dataRetained": + result = DATARETAINED_APPINFODATARETENTIONPOLICY + case "deletedImmediately": + result = DELETEDIMMEDIATELY_APPINFODATARETENTIONPOLICY + case "deletedWithinTwoWeeks": + result = DELETEDWITHINTWOWEEKS_APPINFODATARETENTIONPOLICY + case "deletedWithinOneMonth": + result = DELETEDWITHINONEMONTH_APPINFODATARETENTIONPOLICY + case "deletedWithinThreeMonths": + result = DELETEDWITHINTHREEMONTHS_APPINFODATARETENTIONPOLICY + case "deletedWithinMoreThanThreeMonths": + result = DELETEDWITHINMORETHANTHREEMONTHS_APPINFODATARETENTIONPOLICY + case "unknown": + result = UNKNOWN_APPINFODATARETENTIONPOLICY + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFODATARETENTIONPOLICY + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoDataRetentionPolicy(values []AppInfoDataRetentionPolicy) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoDataRetentionPolicy) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_encryption_protocol.go b/models/security/app_info_encryption_protocol.go new file mode 100644 index 00000000000..7150b12ad30 --- /dev/null +++ b/models/security/app_info_encryption_protocol.go @@ -0,0 +1,54 @@ +package security +type AppInfoEncryptionProtocol int + +const ( + TLS1_0_APPINFOENCRYPTIONPROTOCOL AppInfoEncryptionProtocol = iota + TLS1_1_APPINFOENCRYPTIONPROTOCOL + TLS1_2_APPINFOENCRYPTIONPROTOCOL + TLS1_3_APPINFOENCRYPTIONPROTOCOL + NOTAPPLICABLE_APPINFOENCRYPTIONPROTOCOL + NOTSUPPORTED_APPINFOENCRYPTIONPROTOCOL + UNKNOWN_APPINFOENCRYPTIONPROTOCOL + UNKNOWNFUTUREVALUE_APPINFOENCRYPTIONPROTOCOL + SSL3_APPINFOENCRYPTIONPROTOCOL +) + +func (i AppInfoEncryptionProtocol) String() string { + return []string{"tls1_0", "tls1_1", "tls1_2", "tls1_3", "notApplicable", "notSupported", "unknown", "unknownFutureValue", "ssl3"}[i] +} +func ParseAppInfoEncryptionProtocol(v string) (any, error) { + result := TLS1_0_APPINFOENCRYPTIONPROTOCOL + switch v { + case "tls1_0": + result = TLS1_0_APPINFOENCRYPTIONPROTOCOL + case "tls1_1": + result = TLS1_1_APPINFOENCRYPTIONPROTOCOL + case "tls1_2": + result = TLS1_2_APPINFOENCRYPTIONPROTOCOL + case "tls1_3": + result = TLS1_3_APPINFOENCRYPTIONPROTOCOL + case "notApplicable": + result = NOTAPPLICABLE_APPINFOENCRYPTIONPROTOCOL + case "notSupported": + result = NOTSUPPORTED_APPINFOENCRYPTIONPROTOCOL + case "unknown": + result = UNKNOWN_APPINFOENCRYPTIONPROTOCOL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFOENCRYPTIONPROTOCOL + case "ssl3": + result = SSL3_APPINFOENCRYPTIONPROTOCOL + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoEncryptionProtocol(values []AppInfoEncryptionProtocol) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoEncryptionProtocol) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_fed_ramp_level.go b/models/security/app_info_fed_ramp_level.go new file mode 100644 index 00000000000..6f72efd2b69 --- /dev/null +++ b/models/security/app_info_fed_ramp_level.go @@ -0,0 +1,48 @@ +package security +type AppInfoFedRampLevel int + +const ( + HIGH_APPINFOFEDRAMPLEVEL AppInfoFedRampLevel = iota + MODERATE_APPINFOFEDRAMPLEVEL + LOW_APPINFOFEDRAMPLEVEL + LISAAS_APPINFOFEDRAMPLEVEL + UNKNOWN_APPINFOFEDRAMPLEVEL + UNKNOWNFUTUREVALUE_APPINFOFEDRAMPLEVEL + NOTSUPPORTED_APPINFOFEDRAMPLEVEL +) + +func (i AppInfoFedRampLevel) String() string { + return []string{"high", "moderate", "low", "liSaaS", "unknown", "unknownFutureValue", "notSupported"}[i] +} +func ParseAppInfoFedRampLevel(v string) (any, error) { + result := HIGH_APPINFOFEDRAMPLEVEL + switch v { + case "high": + result = HIGH_APPINFOFEDRAMPLEVEL + case "moderate": + result = MODERATE_APPINFOFEDRAMPLEVEL + case "low": + result = LOW_APPINFOFEDRAMPLEVEL + case "liSaaS": + result = LISAAS_APPINFOFEDRAMPLEVEL + case "unknown": + result = UNKNOWN_APPINFOFEDRAMPLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFOFEDRAMPLEVEL + case "notSupported": + result = NOTSUPPORTED_APPINFOFEDRAMPLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoFedRampLevel(values []AppInfoFedRampLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoFedRampLevel) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_holding.go b/models/security/app_info_holding.go new file mode 100644 index 00000000000..a2307646996 --- /dev/null +++ b/models/security/app_info_holding.go @@ -0,0 +1,39 @@ +package security +type AppInfoHolding int + +const ( + PRIVATE_APPINFOHOLDING AppInfoHolding = iota + PUBLIC_APPINFOHOLDING + UNKNOWN_APPINFOHOLDING + UNKNOWNFUTUREVALUE_APPINFOHOLDING +) + +func (i AppInfoHolding) String() string { + return []string{"private", "public", "unknown", "unknownFutureValue"}[i] +} +func ParseAppInfoHolding(v string) (any, error) { + result := PRIVATE_APPINFOHOLDING + switch v { + case "private": + result = PRIVATE_APPINFOHOLDING + case "public": + result = PUBLIC_APPINFOHOLDING + case "unknown": + result = UNKNOWN_APPINFOHOLDING + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFOHOLDING + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoHolding(values []AppInfoHolding) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoHolding) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_pci_dss_version.go b/models/security/app_info_pci_dss_version.go new file mode 100644 index 00000000000..2c7a9dfc6ae --- /dev/null +++ b/models/security/app_info_pci_dss_version.go @@ -0,0 +1,57 @@ +package security +type AppInfoPciDssVersion int + +const ( + V1_APPINFOPCIDSSVERSION AppInfoPciDssVersion = iota + V2_APPINFOPCIDSSVERSION + V3_APPINFOPCIDSSVERSION + V3_1_APPINFOPCIDSSVERSION + V3_2_APPINFOPCIDSSVERSION + V3_2_1_APPINFOPCIDSSVERSION + NOTSUPPORTED_APPINFOPCIDSSVERSION + UNKNOWN_APPINFOPCIDSSVERSION + UNKNOWNFUTUREVALUE_APPINFOPCIDSSVERSION + V4_APPINFOPCIDSSVERSION +) + +func (i AppInfoPciDssVersion) String() string { + return []string{"v1", "v2", "v3", "v3_1", "v3_2", "v3_2_1", "notSupported", "unknown", "unknownFutureValue", "v4"}[i] +} +func ParseAppInfoPciDssVersion(v string) (any, error) { + result := V1_APPINFOPCIDSSVERSION + switch v { + case "v1": + result = V1_APPINFOPCIDSSVERSION + case "v2": + result = V2_APPINFOPCIDSSVERSION + case "v3": + result = V3_APPINFOPCIDSSVERSION + case "v3_1": + result = V3_1_APPINFOPCIDSSVERSION + case "v3_2": + result = V3_2_APPINFOPCIDSSVERSION + case "v3_2_1": + result = V3_2_1_APPINFOPCIDSSVERSION + case "notSupported": + result = NOTSUPPORTED_APPINFOPCIDSSVERSION + case "unknown": + result = UNKNOWN_APPINFOPCIDSSVERSION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFOPCIDSSVERSION + case "v4": + result = V4_APPINFOPCIDSSVERSION + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoPciDssVersion(values []AppInfoPciDssVersion) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoPciDssVersion) isMultiValue() bool { + return false +} diff --git a/models/security/app_info_uploaded_data_types.go b/models/security/app_info_uploaded_data_types.go new file mode 100644 index 00000000000..81d2a843e06 --- /dev/null +++ b/models/security/app_info_uploaded_data_types.go @@ -0,0 +1,51 @@ +package security +type AppInfoUploadedDataTypes int + +const ( + DOCUMENTS_APPINFOUPLOADEDDATATYPES AppInfoUploadedDataTypes = iota + MEDIAFILES_APPINFOUPLOADEDDATATYPES + CODINGFILES_APPINFOUPLOADEDDATATYPES + CREDITCARDS_APPINFOUPLOADEDDATATYPES + DATABASEFILES_APPINFOUPLOADEDDATATYPES + NONE_APPINFOUPLOADEDDATATYPES + UNKNOWN_APPINFOUPLOADEDDATATYPES + UNKNOWNFUTUREVALUE_APPINFOUPLOADEDDATATYPES +) + +func (i AppInfoUploadedDataTypes) String() string { + return []string{"documents", "mediaFiles", "codingFiles", "creditCards", "databaseFiles", "none", "unknown", "unknownFutureValue"}[i] +} +func ParseAppInfoUploadedDataTypes(v string) (any, error) { + result := DOCUMENTS_APPINFOUPLOADEDDATATYPES + switch v { + case "documents": + result = DOCUMENTS_APPINFOUPLOADEDDATATYPES + case "mediaFiles": + result = MEDIAFILES_APPINFOUPLOADEDDATATYPES + case "codingFiles": + result = CODINGFILES_APPINFOUPLOADEDDATATYPES + case "creditCards": + result = CREDITCARDS_APPINFOUPLOADEDDATATYPES + case "databaseFiles": + result = DATABASEFILES_APPINFOUPLOADEDDATATYPES + case "none": + result = NONE_APPINFOUPLOADEDDATATYPES + case "unknown": + result = UNKNOWN_APPINFOUPLOADEDDATATYPES + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_APPINFOUPLOADEDDATATYPES + default: + return nil, nil + } + return &result, nil +} +func SerializeAppInfoUploadedDataTypes(values []AppInfoUploadedDataTypes) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AppInfoUploadedDataTypes) isMultiValue() bool { + return false +} diff --git a/models/security/cloud_app_discovery_report.go b/models/security/cloud_app_discovery_report.go new file mode 100644 index 00000000000..2fdb793f8cc --- /dev/null +++ b/models/security/cloud_app_discovery_report.go @@ -0,0 +1,536 @@ +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type CloudAppDiscoveryReport struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewCloudAppDiscoveryReport instantiates a new CloudAppDiscoveryReport and sets the default values. +func NewCloudAppDiscoveryReport()(*CloudAppDiscoveryReport) { + m := &CloudAppDiscoveryReport{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateCloudAppDiscoveryReportFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudAppDiscoveryReportFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudAppDiscoveryReport(), nil +} +// GetAnonymizeMachineData gets the anonymizeMachineData property value. Use 1 if the machine information is anonymized; otherwise use 0. +// returns a *bool when successful +func (m *CloudAppDiscoveryReport) GetAnonymizeMachineData()(*bool) { + val, err := m.GetBackingStore().Get("anonymizeMachineData") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAnonymizeUserData gets the anonymizeUserData property value. Use 1 if the user information is anonymized; otherwise use 0. +// returns a *bool when successful +func (m *CloudAppDiscoveryReport) GetAnonymizeUserData()(*bool) { + val, err := m.GetBackingStore().Get("anonymizeUserData") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date in the format specified. The Timestamp 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 *CloudAppDiscoveryReport) 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. A comment or description for the report. +// returns a *string when successful +func (m *CloudAppDiscoveryReport) 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 display name of the continuous report. +// returns a *string when successful +func (m *CloudAppDiscoveryReport) 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 *CloudAppDiscoveryReport) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["anonymizeMachineData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAnonymizeMachineData(val) + } + return nil + } + res["anonymizeUserData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAnonymizeUserData(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["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["isSnapshotReport"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsSnapshotReport(val) + } + return nil + } + res["lastDataReceivedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastDataReceivedDateTime(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["logDataProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseLogDataProvider) + if err != nil { + return err + } + if val != nil { + m.SetLogDataProvider(val.(*LogDataProvider)) + } + return nil + } + res["logFileCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetLogFileCount(val) + } + return nil + } + res["receiverProtocol"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseReceiverProtocol) + if err != nil { + return err + } + if val != nil { + m.SetReceiverProtocol(val.(*ReceiverProtocol)) + } + return nil + } + res["supportedEntityTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseEntityType) + if err != nil { + return err + } + if val != nil { + res := make([]EntityType, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*EntityType)) + } + } + m.SetSupportedEntityTypes(res) + } + return nil + } + res["supportedTrafficTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseTrafficType) + if err != nil { + return err + } + if val != nil { + res := make([]TrafficType, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*TrafficType)) + } + } + m.SetSupportedTrafficTypes(res) + } + return nil + } + return res +} +// GetIsSnapshotReport gets the isSnapshotReport property value. Use 1 for a snapshot report; otherwise use 0. +// returns a *bool when successful +func (m *CloudAppDiscoveryReport) GetIsSnapshotReport()(*bool) { + val, err := m.GetBackingStore().Get("isSnapshotReport") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastDataReceivedDateTime gets the lastDataReceivedDateTime property value. The date when the data was last received. The Timestamp 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 *CloudAppDiscoveryReport) GetLastDataReceivedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastDataReceivedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The date when the continuous report was last modified. The Timestamp 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 *CloudAppDiscoveryReport) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastModifiedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetLogDataProvider gets the logDataProvider property value. The applicable log data provider. Possible values are: barracuda, bluecoat, checkpoint, ciscoAsa, ciscoIronportProxy, fortigate, paloAlto, squid, zscaler, mcafeeSwg, ciscoScanSafe, juniperSrx, sophosSg, websenseV75, websenseSiemCef, machineZoneMeraki, squidNative, ciscoFwsm, microsoftIsaW3C, sonicwall, sophosCyberoam, clavister, customParser, juniperSsg, zscalerQradar, juniperSrxSd, juniperSrxWelf, microsoftConditionalAppAccess, ciscoAsaFirepower, genericCef, genericLeef, genericW3C, iFilter, checkpointXml, checkpointSmartViewTracker, barracudaNextGenFw, barracudaNextGenFwWeblog, microsoftDefenderForEndpoint, zscalerCef, sophosXg, iboss, forcepoint, fortios, ciscoIronportWsaIi, paloAltoLeef, forcepointLeef, stormshield, contentkeeper, ciscoIronportWsaIii, checkpointCef, corrata, ciscoFirepowerV6, menloSecurityCef, watchguardXtm, openSystemsSecureWebGateway, wandera, unknownFutureValue. +// returns a *LogDataProvider when successful +func (m *CloudAppDiscoveryReport) GetLogDataProvider()(*LogDataProvider) { + val, err := m.GetBackingStore().Get("logDataProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*LogDataProvider) + } + return nil +} +// GetLogFileCount gets the logFileCount property value. The count of log files history. +// returns a *int32 when successful +func (m *CloudAppDiscoveryReport) GetLogFileCount()(*int32) { + val, err := m.GetBackingStore().Get("logFileCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetReceiverProtocol gets the receiverProtocol property value. The applicable receiver protocol. Possible values are: ftp, ftps, syslogUdp, syslogTcp, syslogTls, unknownFutureValue. +// returns a *ReceiverProtocol when successful +func (m *CloudAppDiscoveryReport) GetReceiverProtocol()(*ReceiverProtocol) { + val, err := m.GetBackingStore().Get("receiverProtocol") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ReceiverProtocol) + } + return nil +} +// GetSupportedEntityTypes gets the supportedEntityTypes property value. The supported entity type. Possible values are: userName, ipAddress, machineName, other, unknown, unknownFutureValue. +// returns a []EntityType when successful +func (m *CloudAppDiscoveryReport) GetSupportedEntityTypes()([]EntityType) { + val, err := m.GetBackingStore().Get("supportedEntityTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]EntityType) + } + return nil +} +// GetSupportedTrafficTypes gets the supportedTrafficTypes property value. The supported traffic type. Possible values are: downloadedBytes, uploadedBytes, unknown, unknownFutureValue. +// returns a []TrafficType when successful +func (m *CloudAppDiscoveryReport) GetSupportedTrafficTypes()([]TrafficType) { + val, err := m.GetBackingStore().Get("supportedTrafficTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]TrafficType) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudAppDiscoveryReport) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("anonymizeMachineData", m.GetAnonymizeMachineData()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("anonymizeUserData", m.GetAnonymizeUserData()) + 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.WriteBoolValue("isSnapshotReport", m.GetIsSnapshotReport()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastDataReceivedDateTime", m.GetLastDataReceivedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastModifiedDateTime", m.GetLastModifiedDateTime()) + if err != nil { + return err + } + } + if m.GetLogDataProvider() != nil { + cast := (*m.GetLogDataProvider()).String() + err = writer.WriteStringValue("logDataProvider", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("logFileCount", m.GetLogFileCount()) + if err != nil { + return err + } + } + if m.GetReceiverProtocol() != nil { + cast := (*m.GetReceiverProtocol()).String() + err = writer.WriteStringValue("receiverProtocol", &cast) + if err != nil { + return err + } + } + if m.GetSupportedEntityTypes() != nil { + err = writer.WriteCollectionOfStringValues("supportedEntityTypes", SerializeEntityType(m.GetSupportedEntityTypes())) + if err != nil { + return err + } + } + if m.GetSupportedTrafficTypes() != nil { + err = writer.WriteCollectionOfStringValues("supportedTrafficTypes", SerializeTrafficType(m.GetSupportedTrafficTypes())) + if err != nil { + return err + } + } + return nil +} +// SetAnonymizeMachineData sets the anonymizeMachineData property value. Use 1 if the machine information is anonymized; otherwise use 0. +func (m *CloudAppDiscoveryReport) SetAnonymizeMachineData(value *bool)() { + err := m.GetBackingStore().Set("anonymizeMachineData", value) + if err != nil { + panic(err) + } +} +// SetAnonymizeUserData sets the anonymizeUserData property value. Use 1 if the user information is anonymized; otherwise use 0. +func (m *CloudAppDiscoveryReport) SetAnonymizeUserData(value *bool)() { + err := m.GetBackingStore().Set("anonymizeUserData", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The date in the format specified. The Timestamp 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 *CloudAppDiscoveryReport) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. A comment or description for the report. +func (m *CloudAppDiscoveryReport) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The display name of the continuous report. +func (m *CloudAppDiscoveryReport) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetIsSnapshotReport sets the isSnapshotReport property value. Use 1 for a snapshot report; otherwise use 0. +func (m *CloudAppDiscoveryReport) SetIsSnapshotReport(value *bool)() { + err := m.GetBackingStore().Set("isSnapshotReport", value) + if err != nil { + panic(err) + } +} +// SetLastDataReceivedDateTime sets the lastDataReceivedDateTime property value. The date when the data was last received. The Timestamp 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 *CloudAppDiscoveryReport) SetLastDataReceivedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastDataReceivedDateTime", value) + if err != nil { + panic(err) + } +} +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The date when the continuous report was last modified. The Timestamp 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 *CloudAppDiscoveryReport) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastModifiedDateTime", value) + if err != nil { + panic(err) + } +} +// SetLogDataProvider sets the logDataProvider property value. The applicable log data provider. Possible values are: barracuda, bluecoat, checkpoint, ciscoAsa, ciscoIronportProxy, fortigate, paloAlto, squid, zscaler, mcafeeSwg, ciscoScanSafe, juniperSrx, sophosSg, websenseV75, websenseSiemCef, machineZoneMeraki, squidNative, ciscoFwsm, microsoftIsaW3C, sonicwall, sophosCyberoam, clavister, customParser, juniperSsg, zscalerQradar, juniperSrxSd, juniperSrxWelf, microsoftConditionalAppAccess, ciscoAsaFirepower, genericCef, genericLeef, genericW3C, iFilter, checkpointXml, checkpointSmartViewTracker, barracudaNextGenFw, barracudaNextGenFwWeblog, microsoftDefenderForEndpoint, zscalerCef, sophosXg, iboss, forcepoint, fortios, ciscoIronportWsaIi, paloAltoLeef, forcepointLeef, stormshield, contentkeeper, ciscoIronportWsaIii, checkpointCef, corrata, ciscoFirepowerV6, menloSecurityCef, watchguardXtm, openSystemsSecureWebGateway, wandera, unknownFutureValue. +func (m *CloudAppDiscoveryReport) SetLogDataProvider(value *LogDataProvider)() { + err := m.GetBackingStore().Set("logDataProvider", value) + if err != nil { + panic(err) + } +} +// SetLogFileCount sets the logFileCount property value. The count of log files history. +func (m *CloudAppDiscoveryReport) SetLogFileCount(value *int32)() { + err := m.GetBackingStore().Set("logFileCount", value) + if err != nil { + panic(err) + } +} +// SetReceiverProtocol sets the receiverProtocol property value. The applicable receiver protocol. Possible values are: ftp, ftps, syslogUdp, syslogTcp, syslogTls, unknownFutureValue. +func (m *CloudAppDiscoveryReport) SetReceiverProtocol(value *ReceiverProtocol)() { + err := m.GetBackingStore().Set("receiverProtocol", value) + if err != nil { + panic(err) + } +} +// SetSupportedEntityTypes sets the supportedEntityTypes property value. The supported entity type. Possible values are: userName, ipAddress, machineName, other, unknown, unknownFutureValue. +func (m *CloudAppDiscoveryReport) SetSupportedEntityTypes(value []EntityType)() { + err := m.GetBackingStore().Set("supportedEntityTypes", value) + if err != nil { + panic(err) + } +} +// SetSupportedTrafficTypes sets the supportedTrafficTypes property value. The supported traffic type. Possible values are: downloadedBytes, uploadedBytes, unknown, unknownFutureValue. +func (m *CloudAppDiscoveryReport) SetSupportedTrafficTypes(value []TrafficType)() { + err := m.GetBackingStore().Set("supportedTrafficTypes", value) + if err != nil { + panic(err) + } +} +type CloudAppDiscoveryReportable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAnonymizeMachineData()(*bool) + GetAnonymizeUserData()(*bool) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDescription()(*string) + GetDisplayName()(*string) + GetIsSnapshotReport()(*bool) + GetLastDataReceivedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLogDataProvider()(*LogDataProvider) + GetLogFileCount()(*int32) + GetReceiverProtocol()(*ReceiverProtocol) + GetSupportedEntityTypes()([]EntityType) + GetSupportedTrafficTypes()([]TrafficType) + SetAnonymizeMachineData(value *bool)() + SetAnonymizeUserData(value *bool)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetIsSnapshotReport(value *bool)() + SetLastDataReceivedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLogDataProvider(value *LogDataProvider)() + SetLogFileCount(value *int32)() + SetReceiverProtocol(value *ReceiverProtocol)() + SetSupportedEntityTypes(value []EntityType)() + SetSupportedTrafficTypes(value []TrafficType)() +} diff --git a/models/security/cloud_app_discovery_report_collection_response.go b/models/security/cloud_app_discovery_report_collection_response.go new file mode 100644 index 00000000000..65c02f2d84f --- /dev/null +++ b/models/security/cloud_app_discovery_report_collection_response.go @@ -0,0 +1,89 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type CloudAppDiscoveryReportCollectionResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewCloudAppDiscoveryReportCollectionResponse instantiates a new CloudAppDiscoveryReportCollectionResponse and sets the default values. +func NewCloudAppDiscoveryReportCollectionResponse()(*CloudAppDiscoveryReportCollectionResponse) { + m := &CloudAppDiscoveryReportCollectionResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateCloudAppDiscoveryReportCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCloudAppDiscoveryReportCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCloudAppDiscoveryReportCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CloudAppDiscoveryReportCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCloudAppDiscoveryReportFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CloudAppDiscoveryReportable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CloudAppDiscoveryReportable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CloudAppDiscoveryReportable when successful +func (m *CloudAppDiscoveryReportCollectionResponse) GetValue()([]CloudAppDiscoveryReportable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CloudAppDiscoveryReportable) + } + return nil +} +// Serialize serializes information the current object +func (m *CloudAppDiscoveryReportCollectionResponse) 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 *CloudAppDiscoveryReportCollectionResponse) SetValue(value []CloudAppDiscoveryReportable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type CloudAppDiscoveryReportCollectionResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]CloudAppDiscoveryReportable) + SetValue(value []CloudAppDiscoveryReportable)() +} diff --git a/models/security/cloud_app_info_state.go b/models/security/cloud_app_info_state.go new file mode 100644 index 00000000000..ad89a92a012 --- /dev/null +++ b/models/security/cloud_app_info_state.go @@ -0,0 +1,39 @@ +package security +type CloudAppInfoState int + +const ( + TRUE_CLOUDAPPINFOSTATE CloudAppInfoState = iota + FALSE_CLOUDAPPINFOSTATE + UNKNOWN_CLOUDAPPINFOSTATE + UNKNOWNFUTUREVALUE_CLOUDAPPINFOSTATE +) + +func (i CloudAppInfoState) String() string { + return []string{"true", "false", "unknown", "unknownFutureValue"}[i] +} +func ParseCloudAppInfoState(v string) (any, error) { + result := TRUE_CLOUDAPPINFOSTATE + switch v { + case "true": + result = TRUE_CLOUDAPPINFOSTATE + case "false": + result = FALSE_CLOUDAPPINFOSTATE + case "unknown": + result = UNKNOWN_CLOUDAPPINFOSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDAPPINFOSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeCloudAppInfoState(values []CloudAppInfoState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudAppInfoState) isMultiValue() bool { + return false +} diff --git a/models/security/data_discovery_report.go b/models/security/data_discovery_report.go new file mode 100644 index 00000000000..76990595e1b --- /dev/null +++ b/models/security/data_discovery_report.go @@ -0,0 +1,89 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type DataDiscoveryReport struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewDataDiscoveryReport instantiates a new DataDiscoveryReport and sets the default values. +func NewDataDiscoveryReport()(*DataDiscoveryReport) { + m := &DataDiscoveryReport{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateDataDiscoveryReportFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataDiscoveryReportFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataDiscoveryReport(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DataDiscoveryReport) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["uploadedStreams"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCloudAppDiscoveryReportFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CloudAppDiscoveryReportable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CloudAppDiscoveryReportable) + } + } + m.SetUploadedStreams(res) + } + return nil + } + return res +} +// GetUploadedStreams gets the uploadedStreams property value. A collection of streams available for generating cloud discovery report. +// returns a []CloudAppDiscoveryReportable when successful +func (m *DataDiscoveryReport) GetUploadedStreams()([]CloudAppDiscoveryReportable) { + val, err := m.GetBackingStore().Get("uploadedStreams") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CloudAppDiscoveryReportable) + } + return nil +} +// Serialize serializes information the current object +func (m *DataDiscoveryReport) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetUploadedStreams() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUploadedStreams())) + for i, v := range m.GetUploadedStreams() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("uploadedStreams", cast) + if err != nil { + return err + } + } + return nil +} +// SetUploadedStreams sets the uploadedStreams property value. A collection of streams available for generating cloud discovery report. +func (m *DataDiscoveryReport) SetUploadedStreams(value []CloudAppDiscoveryReportable)() { + err := m.GetBackingStore().Set("uploadedStreams", value) + if err != nil { + panic(err) + } +} +type DataDiscoveryReportable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetUploadedStreams()([]CloudAppDiscoveryReportable) + SetUploadedStreams(value []CloudAppDiscoveryReportable)() +} diff --git a/models/security/data_discovery_root.go b/models/security/data_discovery_root.go new file mode 100644 index 00000000000..18b121f2012 --- /dev/null +++ b/models/security/data_discovery_root.go @@ -0,0 +1,77 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type DataDiscoveryRoot struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewDataDiscoveryRoot instantiates a new DataDiscoveryRoot and sets the default values. +func NewDataDiscoveryRoot()(*DataDiscoveryRoot) { + m := &DataDiscoveryRoot{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateDataDiscoveryRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataDiscoveryRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataDiscoveryRoot(), nil +} +// GetCloudAppDiscovery gets the cloudAppDiscovery property value. The available entities are IP addresses, devices, and users who access a cloud app. +// returns a DataDiscoveryReportable when successful +func (m *DataDiscoveryRoot) GetCloudAppDiscovery()(DataDiscoveryReportable) { + val, err := m.GetBackingStore().Get("cloudAppDiscovery") + if err != nil { + panic(err) + } + if val != nil { + return val.(DataDiscoveryReportable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DataDiscoveryRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["cloudAppDiscovery"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDataDiscoveryReportFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetCloudAppDiscovery(val.(DataDiscoveryReportable)) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *DataDiscoveryRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("cloudAppDiscovery", m.GetCloudAppDiscovery()) + if err != nil { + return err + } + } + return nil +} +// SetCloudAppDiscovery sets the cloudAppDiscovery property value. The available entities are IP addresses, devices, and users who access a cloud app. +func (m *DataDiscoveryRoot) SetCloudAppDiscovery(value DataDiscoveryReportable)() { + err := m.GetBackingStore().Set("cloudAppDiscovery", value) + if err != nil { + panic(err) + } +} +type DataDiscoveryRootable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCloudAppDiscovery()(DataDiscoveryReportable) + SetCloudAppDiscovery(value DataDiscoveryReportable)() +} diff --git a/models/security/discovered_cloud_app_detail.go b/models/security/discovered_cloud_app_detail.go new file mode 100644 index 00000000000..4f5e767b684 --- /dev/null +++ b/models/security/discovered_cloud_app_detail.go @@ -0,0 +1,688 @@ +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type DiscoveredCloudAppDetail struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewDiscoveredCloudAppDetail instantiates a new DiscoveredCloudAppDetail and sets the default values. +func NewDiscoveredCloudAppDetail()(*DiscoveredCloudAppDetail) { + m := &DiscoveredCloudAppDetail{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateDiscoveredCloudAppDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDiscoveredCloudAppDetailFromDiscriminatorValue(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.security.endpointDiscoveredCloudAppDetail": + return NewEndpointDiscoveredCloudAppDetail(), nil + } + } + } + } + return NewDiscoveredCloudAppDetail(), nil +} +// GetAppInfo gets the appInfo property value. The application information. +// returns a DiscoveredCloudAppInfoable when successful +func (m *DiscoveredCloudAppDetail) GetAppInfo()(DiscoveredCloudAppInfoable) { + val, err := m.GetBackingStore().Get("appInfo") + if err != nil { + panic(err) + } + if val != nil { + return val.(DiscoveredCloudAppInfoable) + } + return nil +} +// GetCategory gets the category property value. The category property +// returns a *AppCategory when successful +func (m *DiscoveredCloudAppDetail) GetCategory()(*AppCategory) { + val, err := m.GetBackingStore().Get("category") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppCategory) + } + return nil +} +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *DiscoveredCloudAppDetail) 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 app name. +// returns a *string when successful +func (m *DiscoveredCloudAppDetail) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDomains gets the domains property value. The domain. +// returns a []string when successful +func (m *DiscoveredCloudAppDetail) GetDomains()([]string) { + val, err := m.GetBackingStore().Get("domains") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetDownloadNetworkTrafficInBytes gets the downloadNetworkTrafficInBytes property value. The download traffic size. +// returns a *int64 when successful +func (m *DiscoveredCloudAppDetail) GetDownloadNetworkTrafficInBytes()(*int64) { + val, err := m.GetBackingStore().Get("downloadNetworkTrafficInBytes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DiscoveredCloudAppDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["appInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDiscoveredCloudAppInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetAppInfo(val.(DiscoveredCloudAppInfoable)) + } + return nil + } + res["category"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppCategory) + if err != nil { + return err + } + if val != nil { + m.SetCategory(val.(*AppCategory)) + } + 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["domains"] = 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.SetDomains(res) + } + return nil + } + res["downloadNetworkTrafficInBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetDownloadNetworkTrafficInBytes(val) + } + return nil + } + res["firstSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetFirstSeenDateTime(val) + } + return nil + } + res["ipAddressCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetIpAddressCount(val) + } + return nil + } + res["ipAddresses"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDiscoveredCloudAppIPAddressFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DiscoveredCloudAppIPAddressable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DiscoveredCloudAppIPAddressable) + } + } + m.SetIpAddresses(res) + } + return nil + } + res["lastSeenDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLastSeenDateTime(val) + } + return nil + } + res["riskScore"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetRiskScore(val) + } + return nil + } + res["tags"] = 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.SetTags(res) + } + return nil + } + res["transactionCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTransactionCount(val) + } + return nil + } + res["uploadNetworkTrafficInBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetUploadNetworkTrafficInBytes(val) + } + return nil + } + res["userCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetUserCount(val) + } + return nil + } + res["users"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDiscoveredCloudAppUserFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DiscoveredCloudAppUserable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DiscoveredCloudAppUserable) + } + } + m.SetUsers(res) + } + return nil + } + return res +} +// GetFirstSeenDateTime gets the firstSeenDateTime property value. The firstSeenDateTime property +// returns a *Time when successful +func (m *DiscoveredCloudAppDetail) GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("firstSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetIpAddressCount gets the ipAddressCount property value. The IP address. +// returns a *int64 when successful +func (m *DiscoveredCloudAppDetail) GetIpAddressCount()(*int64) { + val, err := m.GetBackingStore().Get("ipAddressCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetIpAddresses gets the ipAddresses property value. The list of IP addresses accessed by the app. +// returns a []DiscoveredCloudAppIPAddressable when successful +func (m *DiscoveredCloudAppDetail) GetIpAddresses()([]DiscoveredCloudAppIPAddressable) { + val, err := m.GetBackingStore().Get("ipAddresses") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DiscoveredCloudAppIPAddressable) + } + return nil +} +// GetLastSeenDateTime gets the lastSeenDateTime property value. The last seen date of the discovered app. The Timestamp 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 *DiscoveredCloudAppDetail) GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("lastSeenDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetRiskScore gets the riskScore property value. The risk score of the app. +// returns a *int64 when successful +func (m *DiscoveredCloudAppDetail) GetRiskScore()(*int64) { + val, err := m.GetBackingStore().Get("riskScore") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTags gets the tags property value. The tags applied to an app. Possible values include Unsanctioned, Sanctioned, Monitored, or a custom value. +// returns a []string when successful +func (m *DiscoveredCloudAppDetail) GetTags()([]string) { + val, err := m.GetBackingStore().Get("tags") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetTransactionCount gets the transactionCount property value. The app transaction count. +// returns a *int64 when successful +func (m *DiscoveredCloudAppDetail) GetTransactionCount()(*int64) { + val, err := m.GetBackingStore().Get("transactionCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetUploadNetworkTrafficInBytes gets the uploadNetworkTrafficInBytes property value. The app upload traffic size, in bytes. +// returns a *int64 when successful +func (m *DiscoveredCloudAppDetail) GetUploadNetworkTrafficInBytes()(*int64) { + val, err := m.GetBackingStore().Get("uploadNetworkTrafficInBytes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetUserCount gets the userCount property value. The count of users who use the app. +// returns a *int64 when successful +func (m *DiscoveredCloudAppDetail) GetUserCount()(*int64) { + val, err := m.GetBackingStore().Get("userCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetUsers gets the users property value. The list of users who access the app. +// returns a []DiscoveredCloudAppUserable when successful +func (m *DiscoveredCloudAppDetail) GetUsers()([]DiscoveredCloudAppUserable) { + val, err := m.GetBackingStore().Get("users") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DiscoveredCloudAppUserable) + } + return nil +} +// Serialize serializes information the current object +func (m *DiscoveredCloudAppDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("appInfo", m.GetAppInfo()) + if err != nil { + return err + } + } + if m.GetCategory() != nil { + cast := (*m.GetCategory()).String() + err = writer.WriteStringValue("category", &cast) + 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.GetDomains() != nil { + err = writer.WriteCollectionOfStringValues("domains", m.GetDomains()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("downloadNetworkTrafficInBytes", m.GetDownloadNetworkTrafficInBytes()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("firstSeenDateTime", m.GetFirstSeenDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("ipAddressCount", m.GetIpAddressCount()) + if err != nil { + return err + } + } + if m.GetIpAddresses() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetIpAddresses())) + for i, v := range m.GetIpAddresses() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("ipAddresses", cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("lastSeenDateTime", m.GetLastSeenDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("riskScore", m.GetRiskScore()) + if err != nil { + return err + } + } + if m.GetTags() != nil { + err = writer.WriteCollectionOfStringValues("tags", m.GetTags()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("transactionCount", m.GetTransactionCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("uploadNetworkTrafficInBytes", m.GetUploadNetworkTrafficInBytes()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("userCount", m.GetUserCount()) + if err != nil { + return err + } + } + if m.GetUsers() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUsers())) + for i, v := range m.GetUsers() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("users", cast) + if err != nil { + return err + } + } + return nil +} +// SetAppInfo sets the appInfo property value. The application information. +func (m *DiscoveredCloudAppDetail) SetAppInfo(value DiscoveredCloudAppInfoable)() { + err := m.GetBackingStore().Set("appInfo", value) + if err != nil { + panic(err) + } +} +// SetCategory sets the category property value. The category property +func (m *DiscoveredCloudAppDetail) SetCategory(value *AppCategory)() { + err := m.GetBackingStore().Set("category", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. The description property +func (m *DiscoveredCloudAppDetail) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The app name. +func (m *DiscoveredCloudAppDetail) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetDomains sets the domains property value. The domain. +func (m *DiscoveredCloudAppDetail) SetDomains(value []string)() { + err := m.GetBackingStore().Set("domains", value) + if err != nil { + panic(err) + } +} +// SetDownloadNetworkTrafficInBytes sets the downloadNetworkTrafficInBytes property value. The download traffic size. +func (m *DiscoveredCloudAppDetail) SetDownloadNetworkTrafficInBytes(value *int64)() { + err := m.GetBackingStore().Set("downloadNetworkTrafficInBytes", value) + if err != nil { + panic(err) + } +} +// SetFirstSeenDateTime sets the firstSeenDateTime property value. The firstSeenDateTime property +func (m *DiscoveredCloudAppDetail) SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("firstSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetIpAddressCount sets the ipAddressCount property value. The IP address. +func (m *DiscoveredCloudAppDetail) SetIpAddressCount(value *int64)() { + err := m.GetBackingStore().Set("ipAddressCount", value) + if err != nil { + panic(err) + } +} +// SetIpAddresses sets the ipAddresses property value. The list of IP addresses accessed by the app. +func (m *DiscoveredCloudAppDetail) SetIpAddresses(value []DiscoveredCloudAppIPAddressable)() { + err := m.GetBackingStore().Set("ipAddresses", value) + if err != nil { + panic(err) + } +} +// SetLastSeenDateTime sets the lastSeenDateTime property value. The last seen date of the discovered app. The Timestamp 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 *DiscoveredCloudAppDetail) SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("lastSeenDateTime", value) + if err != nil { + panic(err) + } +} +// SetRiskScore sets the riskScore property value. The risk score of the app. +func (m *DiscoveredCloudAppDetail) SetRiskScore(value *int64)() { + err := m.GetBackingStore().Set("riskScore", value) + if err != nil { + panic(err) + } +} +// SetTags sets the tags property value. The tags applied to an app. Possible values include Unsanctioned, Sanctioned, Monitored, or a custom value. +func (m *DiscoveredCloudAppDetail) SetTags(value []string)() { + err := m.GetBackingStore().Set("tags", value) + if err != nil { + panic(err) + } +} +// SetTransactionCount sets the transactionCount property value. The app transaction count. +func (m *DiscoveredCloudAppDetail) SetTransactionCount(value *int64)() { + err := m.GetBackingStore().Set("transactionCount", value) + if err != nil { + panic(err) + } +} +// SetUploadNetworkTrafficInBytes sets the uploadNetworkTrafficInBytes property value. The app upload traffic size, in bytes. +func (m *DiscoveredCloudAppDetail) SetUploadNetworkTrafficInBytes(value *int64)() { + err := m.GetBackingStore().Set("uploadNetworkTrafficInBytes", value) + if err != nil { + panic(err) + } +} +// SetUserCount sets the userCount property value. The count of users who use the app. +func (m *DiscoveredCloudAppDetail) SetUserCount(value *int64)() { + err := m.GetBackingStore().Set("userCount", value) + if err != nil { + panic(err) + } +} +// SetUsers sets the users property value. The list of users who access the app. +func (m *DiscoveredCloudAppDetail) SetUsers(value []DiscoveredCloudAppUserable)() { + err := m.GetBackingStore().Set("users", value) + if err != nil { + panic(err) + } +} +type DiscoveredCloudAppDetailable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAppInfo()(DiscoveredCloudAppInfoable) + GetCategory()(*AppCategory) + GetDescription()(*string) + GetDisplayName()(*string) + GetDomains()([]string) + GetDownloadNetworkTrafficInBytes()(*int64) + GetFirstSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetIpAddressCount()(*int64) + GetIpAddresses()([]DiscoveredCloudAppIPAddressable) + GetLastSeenDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetRiskScore()(*int64) + GetTags()([]string) + GetTransactionCount()(*int64) + GetUploadNetworkTrafficInBytes()(*int64) + GetUserCount()(*int64) + GetUsers()([]DiscoveredCloudAppUserable) + SetAppInfo(value DiscoveredCloudAppInfoable)() + SetCategory(value *AppCategory)() + SetDescription(value *string)() + SetDisplayName(value *string)() + SetDomains(value []string)() + SetDownloadNetworkTrafficInBytes(value *int64)() + SetFirstSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetIpAddressCount(value *int64)() + SetIpAddresses(value []DiscoveredCloudAppIPAddressable)() + SetLastSeenDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetRiskScore(value *int64)() + SetTags(value []string)() + SetTransactionCount(value *int64)() + SetUploadNetworkTrafficInBytes(value *int64)() + SetUserCount(value *int64)() + SetUsers(value []DiscoveredCloudAppUserable)() +} diff --git a/models/security/discovered_cloud_app_device.go b/models/security/discovered_cloud_app_device.go new file mode 100644 index 00000000000..66ac471c2c8 --- /dev/null +++ b/models/security/discovered_cloud_app_device.go @@ -0,0 +1,150 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DiscoveredCloudAppDevice struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDiscoveredCloudAppDevice instantiates a new DiscoveredCloudAppDevice and sets the default values. +func NewDiscoveredCloudAppDevice()(*DiscoveredCloudAppDevice) { + m := &DiscoveredCloudAppDevice{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDiscoveredCloudAppDeviceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDiscoveredCloudAppDeviceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDiscoveredCloudAppDevice(), 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 *DiscoveredCloudAppDevice) 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 *DiscoveredCloudAppDevice) 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 *DiscoveredCloudAppDevice) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@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 +} +// GetName gets the name property value. The name of the cloud app. +// returns a *string when successful +func (m *DiscoveredCloudAppDevice) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + 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 *DiscoveredCloudAppDevice) 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 *DiscoveredCloudAppDevice) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("name", m.GetName()) + 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 *DiscoveredCloudAppDevice) 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 *DiscoveredCloudAppDevice) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetName sets the name property value. The name of the cloud app. +func (m *DiscoveredCloudAppDevice) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DiscoveredCloudAppDevice) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type DiscoveredCloudAppDeviceable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetName()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetName(value *string)() + SetOdataType(value *string)() +} diff --git a/models/security/discovered_cloud_app_i_p_address.go b/models/security/discovered_cloud_app_i_p_address.go new file mode 100644 index 00000000000..36f959ea7b0 --- /dev/null +++ b/models/security/discovered_cloud_app_i_p_address.go @@ -0,0 +1,150 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DiscoveredCloudAppIPAddress struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDiscoveredCloudAppIPAddress instantiates a new DiscoveredCloudAppIPAddress and sets the default values. +func NewDiscoveredCloudAppIPAddress()(*DiscoveredCloudAppIPAddress) { + m := &DiscoveredCloudAppIPAddress{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDiscoveredCloudAppIPAddressFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDiscoveredCloudAppIPAddressFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDiscoveredCloudAppIPAddress(), 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 *DiscoveredCloudAppIPAddress) 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 *DiscoveredCloudAppIPAddress) 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 *DiscoveredCloudAppIPAddress) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["ipAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIpAddress(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 +} +// GetIpAddress gets the ipAddress property value. The IP address associated with a discovered cloud app. +// returns a *string when successful +func (m *DiscoveredCloudAppIPAddress) GetIpAddress()(*string) { + val, err := m.GetBackingStore().Get("ipAddress") + 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 *DiscoveredCloudAppIPAddress) 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 *DiscoveredCloudAppIPAddress) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("ipAddress", m.GetIpAddress()) + 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 *DiscoveredCloudAppIPAddress) 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 *DiscoveredCloudAppIPAddress) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIpAddress sets the ipAddress property value. The IP address associated with a discovered cloud app. +func (m *DiscoveredCloudAppIPAddress) SetIpAddress(value *string)() { + err := m.GetBackingStore().Set("ipAddress", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DiscoveredCloudAppIPAddress) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type DiscoveredCloudAppIPAddressable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIpAddress()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIpAddress(value *string)() + SetOdataType(value *string)() +} diff --git a/models/security/discovered_cloud_app_info.go b/models/security/discovered_cloud_app_info.go new file mode 100644 index 00000000000..1e71d8756de --- /dev/null +++ b/models/security/discovered_cloud_app_info.go @@ -0,0 +1,3186 @@ +package security + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type DiscoveredCloudAppInfo struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entity +} +// NewDiscoveredCloudAppInfo instantiates a new DiscoveredCloudAppInfo and sets the default values. +func NewDiscoveredCloudAppInfo()(*DiscoveredCloudAppInfo) { + m := &DiscoveredCloudAppInfo{ + Entity: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewEntity(), + } + return m +} +// CreateDiscoveredCloudAppInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDiscoveredCloudAppInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDiscoveredCloudAppInfo(), nil +} +// GetCsaStarLevel gets the csaStarLevel property value. The csaStarLevel property +// returns a *AppInfoCsaStarLevel when successful +func (m *DiscoveredCloudAppInfo) GetCsaStarLevel()(*AppInfoCsaStarLevel) { + val, err := m.GetBackingStore().Get("csaStarLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoCsaStarLevel) + } + return nil +} +// GetDataAtRestEncryptionMethod gets the dataAtRestEncryptionMethod property value. The dataAtRestEncryptionMethod property +// returns a *AppInfoDataAtRestEncryptionMethod when successful +func (m *DiscoveredCloudAppInfo) GetDataAtRestEncryptionMethod()(*AppInfoDataAtRestEncryptionMethod) { + val, err := m.GetBackingStore().Get("dataAtRestEncryptionMethod") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoDataAtRestEncryptionMethod) + } + return nil +} +// GetDataCenter gets the dataCenter property value. Indicates the countries or regions in which your data center resides. +// returns a *string when successful +func (m *DiscoveredCloudAppInfo) GetDataCenter()(*string) { + val, err := m.GetBackingStore().Get("dataCenter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDataRetentionPolicy gets the dataRetentionPolicy property value. The dataRetentionPolicy property +// returns a *AppInfoDataRetentionPolicy when successful +func (m *DiscoveredCloudAppInfo) GetDataRetentionPolicy()(*AppInfoDataRetentionPolicy) { + val, err := m.GetBackingStore().Get("dataRetentionPolicy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoDataRetentionPolicy) + } + return nil +} +// GetDataTypes gets the dataTypes property value. The dataTypes property +// returns a *AppInfoUploadedDataTypes when successful +func (m *DiscoveredCloudAppInfo) GetDataTypes()(*AppInfoUploadedDataTypes) { + val, err := m.GetBackingStore().Get("dataTypes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoUploadedDataTypes) + } + return nil +} +// GetDomainRegistrationDateTime gets the domainRegistrationDateTime property value. Indicates the date when the app domain was registered. +// returns a *Time when successful +func (m *DiscoveredCloudAppInfo) GetDomainRegistrationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("domainRegistrationDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetEncryptionProtocol gets the encryptionProtocol property value. The encryptionProtocol property +// returns a *AppInfoEncryptionProtocol when successful +func (m *DiscoveredCloudAppInfo) GetEncryptionProtocol()(*AppInfoEncryptionProtocol) { + val, err := m.GetBackingStore().Get("encryptionProtocol") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoEncryptionProtocol) + } + return nil +} +// GetFedRampLevel gets the fedRampLevel property value. The fedRampLevel property +// returns a *AppInfoFedRampLevel when successful +func (m *DiscoveredCloudAppInfo) GetFedRampLevel()(*AppInfoFedRampLevel) { + val, err := m.GetBackingStore().Get("fedRampLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoFedRampLevel) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DiscoveredCloudAppInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["csaStarLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoCsaStarLevel) + if err != nil { + return err + } + if val != nil { + m.SetCsaStarLevel(val.(*AppInfoCsaStarLevel)) + } + return nil + } + res["dataAtRestEncryptionMethod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoDataAtRestEncryptionMethod) + if err != nil { + return err + } + if val != nil { + m.SetDataAtRestEncryptionMethod(val.(*AppInfoDataAtRestEncryptionMethod)) + } + return nil + } + res["dataCenter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDataCenter(val) + } + return nil + } + res["dataRetentionPolicy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoDataRetentionPolicy) + if err != nil { + return err + } + if val != nil { + m.SetDataRetentionPolicy(val.(*AppInfoDataRetentionPolicy)) + } + return nil + } + res["dataTypes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoUploadedDataTypes) + if err != nil { + return err + } + if val != nil { + m.SetDataTypes(val.(*AppInfoUploadedDataTypes)) + } + return nil + } + res["domainRegistrationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetDomainRegistrationDateTime(val) + } + return nil + } + res["encryptionProtocol"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoEncryptionProtocol) + if err != nil { + return err + } + if val != nil { + m.SetEncryptionProtocol(val.(*AppInfoEncryptionProtocol)) + } + return nil + } + res["fedRampLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoFedRampLevel) + if err != nil { + return err + } + if val != nil { + m.SetFedRampLevel(val.(*AppInfoFedRampLevel)) + } + return nil + } + res["founded"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetFounded(val) + } + return nil + } + res["gdprReadinessStatement"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetGdprReadinessStatement(val) + } + return nil + } + res["headquarters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetHeadquarters(val) + } + return nil + } + res["holding"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoHolding) + if err != nil { + return err + } + if val != nil { + m.SetHolding(val.(*AppInfoHolding)) + } + return nil + } + res["hostingCompany"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetHostingCompany(val) + } + return nil + } + res["isAdminAuditTrail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsAdminAuditTrail(val.(*CloudAppInfoState)) + } + return nil + } + res["isCobitCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsCobitCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isCoppaCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsCoppaCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isDataAuditTrail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsDataAuditTrail(val.(*CloudAppInfoState)) + } + return nil + } + res["isDataClassification"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsDataClassification(val.(*CloudAppInfoState)) + } + return nil + } + res["isDataOwnership"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsDataOwnership(val.(*CloudAppInfoState)) + } + return nil + } + res["isDisasterRecoveryPlan"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsDisasterRecoveryPlan(val.(*CloudAppInfoState)) + } + return nil + } + res["isDmca"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsDmca(val.(*CloudAppInfoState)) + } + return nil + } + res["isFerpaCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsFerpaCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isFfiecCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsFfiecCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isFileSharing"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsFileSharing(val.(*CloudAppInfoState)) + } + return nil + } + res["isFinraCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsFinraCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isFismaCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsFismaCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isGaapCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGaapCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprDataProtectionImpactAssessment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprDataProtectionImpactAssessment(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprDataProtectionOfficer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprDataProtectionOfficer(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprDataProtectionSecureCrossBorderDataTransfer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprDataProtectionSecureCrossBorderDataTransfer(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprImpactAssessment"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprImpactAssessment(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprLawfulBasisForProcessing"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprLawfulBasisForProcessing(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprReportDataBreaches"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprReportDataBreaches(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightsRelatedToAutomatedDecisionMaking"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightsRelatedToAutomatedDecisionMaking(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightToAccess"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightToAccess(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightToBeInformed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightToBeInformed(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightToDataPortablility"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightToDataPortablility(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightToErasure"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightToErasure(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightToObject"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightToObject(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightToRectification"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightToRectification(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprRightToRestrictionOfProcessing"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprRightToRestrictionOfProcessing(val.(*CloudAppInfoState)) + } + return nil + } + res["isGdprSecureCrossBorderDataControl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGdprSecureCrossBorderDataControl(val.(*CloudAppInfoState)) + } + return nil + } + res["isGlbaCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsGlbaCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isHipaaCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsHipaaCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isHitrustCsfCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsHitrustCsfCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isHttpSecurityHeadersContentSecurityPolicy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsHttpSecurityHeadersContentSecurityPolicy(val.(*CloudAppInfoState)) + } + return nil + } + res["isHttpSecurityHeadersStrictTransportSecurity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsHttpSecurityHeadersStrictTransportSecurity(val.(*CloudAppInfoState)) + } + return nil + } + res["isHttpSecurityHeadersXContentTypeOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsHttpSecurityHeadersXContentTypeOptions(val.(*CloudAppInfoState)) + } + return nil + } + res["isHttpSecurityHeadersXFrameOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsHttpSecurityHeadersXFrameOptions(val.(*CloudAppInfoState)) + } + return nil + } + res["isHttpSecurityHeadersXXssProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsHttpSecurityHeadersXXssProtection(val.(*CloudAppInfoState)) + } + return nil + } + res["isIpAddressRestriction"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsIpAddressRestriction(val.(*CloudAppInfoState)) + } + return nil + } + res["isIsae3402Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsIsae3402Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isIso27001Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsIso27001Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isIso27017Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsIso27017Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isIso27018Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsIso27018Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isItarCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsItarCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isMultiFactorAuthentication"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsMultiFactorAuthentication(val.(*CloudAppInfoState)) + } + return nil + } + res["isPasswordPolicy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPasswordPolicy(val.(*CloudAppInfoState)) + } + return nil + } + res["isPasswordPolicyChangePasswordPeriod"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPasswordPolicyChangePasswordPeriod(val.(*CloudAppInfoState)) + } + return nil + } + res["isPasswordPolicyCharacterCombination"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPasswordPolicyCharacterCombination(val.(*CloudAppInfoState)) + } + return nil + } + res["isPasswordPolicyPasswordHistoryAndReuse"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPasswordPolicyPasswordHistoryAndReuse(val.(*CloudAppInfoState)) + } + return nil + } + res["isPasswordPolicyPasswordLengthLimit"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPasswordPolicyPasswordLengthLimit(val.(*CloudAppInfoState)) + } + return nil + } + res["isPasswordPolicyPersonalInformationUse"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPasswordPolicyPersonalInformationUse(val.(*CloudAppInfoState)) + } + return nil + } + res["isPenetrationTesting"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPenetrationTesting(val.(*CloudAppInfoState)) + } + return nil + } + res["isPrivacyShieldCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsPrivacyShieldCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isRememberPassword"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsRememberPassword(val.(*CloudAppInfoState)) + } + return nil + } + res["isRequiresUserAuthentication"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsRequiresUserAuthentication(val.(*CloudAppInfoState)) + } + return nil + } + res["isSoc1Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsSoc1Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isSoc2Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsSoc2Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isSoc3Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsSoc3Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isSoxCompliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsSoxCompliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isSp80053Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsSp80053Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isSsae16Compliant"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsSsae16Compliant(val.(*CloudAppInfoState)) + } + return nil + } + res["isSupportsSaml"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsSupportsSaml(val.(*CloudAppInfoState)) + } + return nil + } + res["isTrustedCertificate"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsTrustedCertificate(val.(*CloudAppInfoState)) + } + return nil + } + res["isUserAuditTrail"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsUserAuditTrail(val.(*CloudAppInfoState)) + } + return nil + } + res["isUserCanUploadData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsUserCanUploadData(val.(*CloudAppInfoState)) + } + return nil + } + res["isUserRolesSupport"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsUserRolesSupport(val.(*CloudAppInfoState)) + } + return nil + } + res["isValidCertificateName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCloudAppInfoState) + if err != nil { + return err + } + if val != nil { + m.SetIsValidCertificateName(val.(*CloudAppInfoState)) + } + return nil + } + res["latestBreachDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetLatestBreachDateTime(val) + } + return nil + } + res["logonUrls"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLogonUrls(val) + } + return nil + } + res["pciDssVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAppInfoPciDssVersion) + if err != nil { + return err + } + if val != nil { + m.SetPciDssVersion(val.(*AppInfoPciDssVersion)) + } + return nil + } + res["vendor"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetVendorEscaped(val) + } + return nil + } + return res +} +// GetFounded gets the founded property value. Indicates the year that the specific app vendor was established. +// returns a *int32 when successful +func (m *DiscoveredCloudAppInfo) GetFounded()(*int32) { + val, err := m.GetBackingStore().Get("founded") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetGdprReadinessStatement gets the gdprReadinessStatement property value. Indicates the GDPR readiness of the app in relation to policies app provides to safeguard personal user data. +// returns a *string when successful +func (m *DiscoveredCloudAppInfo) GetGdprReadinessStatement()(*string) { + val, err := m.GetBackingStore().Get("gdprReadinessStatement") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetHeadquarters gets the headquarters property value. Indicates the location of the headquarters of the app. +// returns a *string when successful +func (m *DiscoveredCloudAppInfo) GetHeadquarters()(*string) { + val, err := m.GetBackingStore().Get("headquarters") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetHolding gets the holding property value. The holding property +// returns a *AppInfoHolding when successful +func (m *DiscoveredCloudAppInfo) GetHolding()(*AppInfoHolding) { + val, err := m.GetBackingStore().Get("holding") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoHolding) + } + return nil +} +// GetHostingCompany gets the hostingCompany property value. Indicates the company name that provides hosting services for the app. +// returns a *string when successful +func (m *DiscoveredCloudAppInfo) GetHostingCompany()(*string) { + val, err := m.GetBackingStore().Get("hostingCompany") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetIsAdminAuditTrail gets the isAdminAuditTrail property value. The isAdminAuditTrail property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsAdminAuditTrail()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isAdminAuditTrail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsCobitCompliant gets the isCobitCompliant property value. The isCobitCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsCobitCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isCobitCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsCoppaCompliant gets the isCoppaCompliant property value. The isCoppaCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsCoppaCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isCoppaCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsDataAuditTrail gets the isDataAuditTrail property value. The isDataAuditTrail property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsDataAuditTrail()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isDataAuditTrail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsDataClassification gets the isDataClassification property value. The isDataClassification property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsDataClassification()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isDataClassification") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsDataOwnership gets the isDataOwnership property value. The isDataOwnership property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsDataOwnership()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isDataOwnership") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsDisasterRecoveryPlan gets the isDisasterRecoveryPlan property value. The isDisasterRecoveryPlan property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsDisasterRecoveryPlan()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isDisasterRecoveryPlan") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsDmca gets the isDmca property value. The isDmca property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsDmca()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isDmca") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsFerpaCompliant gets the isFerpaCompliant property value. The isFerpaCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsFerpaCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isFerpaCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsFfiecCompliant gets the isFfiecCompliant property value. The isFfiecCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsFfiecCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isFfiecCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsFileSharing gets the isFileSharing property value. The isFileSharing property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsFileSharing()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isFileSharing") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsFinraCompliant gets the isFinraCompliant property value. The isFinraCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsFinraCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isFinraCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsFismaCompliant gets the isFismaCompliant property value. The isFismaCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsFismaCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isFismaCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGaapCompliant gets the isGaapCompliant property value. The isGaapCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGaapCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGaapCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprDataProtectionImpactAssessment gets the isGdprDataProtectionImpactAssessment property value. The isGdprDataProtectionImpactAssessment property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprDataProtectionImpactAssessment()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprDataProtectionImpactAssessment") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprDataProtectionOfficer gets the isGdprDataProtectionOfficer property value. The isGdprDataProtectionOfficer property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprDataProtectionOfficer()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprDataProtectionOfficer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprDataProtectionSecureCrossBorderDataTransfer gets the isGdprDataProtectionSecureCrossBorderDataTransfer property value. The isGdprDataProtectionSecureCrossBorderDataTransfer property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprDataProtectionSecureCrossBorderDataTransfer()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprDataProtectionSecureCrossBorderDataTransfer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprImpactAssessment gets the isGdprImpactAssessment property value. The isGdprImpactAssessment property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprImpactAssessment()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprImpactAssessment") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprLawfulBasisForProcessing gets the isGdprLawfulBasisForProcessing property value. The isGdprLawfulBasisForProcessing property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprLawfulBasisForProcessing()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprLawfulBasisForProcessing") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprReportDataBreaches gets the isGdprReportDataBreaches property value. The isGdprReportDataBreaches property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprReportDataBreaches()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprReportDataBreaches") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightsRelatedToAutomatedDecisionMaking gets the isGdprRightsRelatedToAutomatedDecisionMaking property value. The isGdprRightsRelatedToAutomatedDecisionMaking property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightsRelatedToAutomatedDecisionMaking()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightsRelatedToAutomatedDecisionMaking") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightToAccess gets the isGdprRightToAccess property value. The isGdprRightToAccess property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightToAccess()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightToAccess") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightToBeInformed gets the isGdprRightToBeInformed property value. The isGdprRightToBeInformed property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightToBeInformed()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightToBeInformed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightToDataPortablility gets the isGdprRightToDataPortablility property value. The isGdprRightToDataPortablility property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightToDataPortablility()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightToDataPortablility") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightToErasure gets the isGdprRightToErasure property value. The isGdprRightToErasure property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightToErasure()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightToErasure") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightToObject gets the isGdprRightToObject property value. The isGdprRightToObject property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightToObject()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightToObject") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightToRectification gets the isGdprRightToRectification property value. The isGdprRightToRectification property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightToRectification()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightToRectification") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprRightToRestrictionOfProcessing gets the isGdprRightToRestrictionOfProcessing property value. The isGdprRightToRestrictionOfProcessing property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprRightToRestrictionOfProcessing()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprRightToRestrictionOfProcessing") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGdprSecureCrossBorderDataControl gets the isGdprSecureCrossBorderDataControl property value. The isGdprSecureCrossBorderDataControl property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGdprSecureCrossBorderDataControl()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGdprSecureCrossBorderDataControl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsGlbaCompliant gets the isGlbaCompliant property value. The isGlbaCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsGlbaCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isGlbaCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsHipaaCompliant gets the isHipaaCompliant property value. The isHipaaCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsHipaaCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isHipaaCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsHitrustCsfCompliant gets the isHitrustCsfCompliant property value. The isHitrustCsfCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsHitrustCsfCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isHitrustCsfCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsHttpSecurityHeadersContentSecurityPolicy gets the isHttpSecurityHeadersContentSecurityPolicy property value. The isHttpSecurityHeadersContentSecurityPolicy property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsHttpSecurityHeadersContentSecurityPolicy()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isHttpSecurityHeadersContentSecurityPolicy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsHttpSecurityHeadersStrictTransportSecurity gets the isHttpSecurityHeadersStrictTransportSecurity property value. The isHttpSecurityHeadersStrictTransportSecurity property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsHttpSecurityHeadersStrictTransportSecurity()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isHttpSecurityHeadersStrictTransportSecurity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsHttpSecurityHeadersXContentTypeOptions gets the isHttpSecurityHeadersXContentTypeOptions property value. The isHttpSecurityHeadersXContentTypeOptions property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsHttpSecurityHeadersXContentTypeOptions()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isHttpSecurityHeadersXContentTypeOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsHttpSecurityHeadersXFrameOptions gets the isHttpSecurityHeadersXFrameOptions property value. The isHttpSecurityHeadersXFrameOptions property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsHttpSecurityHeadersXFrameOptions()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isHttpSecurityHeadersXFrameOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsHttpSecurityHeadersXXssProtection gets the isHttpSecurityHeadersXXssProtection property value. The isHttpSecurityHeadersXXssProtection property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsHttpSecurityHeadersXXssProtection()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isHttpSecurityHeadersXXssProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsIpAddressRestriction gets the isIpAddressRestriction property value. The isIpAddressRestriction property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsIpAddressRestriction()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isIpAddressRestriction") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsIsae3402Compliant gets the isIsae3402Compliant property value. The isIsae3402Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsIsae3402Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isIsae3402Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsIso27001Compliant gets the isIso27001Compliant property value. The isIso27001Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsIso27001Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isIso27001Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsIso27017Compliant gets the isIso27017Compliant property value. The isIso27017Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsIso27017Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isIso27017Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsIso27018Compliant gets the isIso27018Compliant property value. The isIso27018Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsIso27018Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isIso27018Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsItarCompliant gets the isItarCompliant property value. The isItarCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsItarCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isItarCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsMultiFactorAuthentication gets the isMultiFactorAuthentication property value. The isMultiFactorAuthentication property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsMultiFactorAuthentication()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isMultiFactorAuthentication") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPasswordPolicy gets the isPasswordPolicy property value. The isPasswordPolicy property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPasswordPolicy()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPasswordPolicy") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPasswordPolicyChangePasswordPeriod gets the isPasswordPolicyChangePasswordPeriod property value. The isPasswordPolicyChangePasswordPeriod property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPasswordPolicyChangePasswordPeriod()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPasswordPolicyChangePasswordPeriod") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPasswordPolicyCharacterCombination gets the isPasswordPolicyCharacterCombination property value. The isPasswordPolicyCharacterCombination property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPasswordPolicyCharacterCombination()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPasswordPolicyCharacterCombination") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPasswordPolicyPasswordHistoryAndReuse gets the isPasswordPolicyPasswordHistoryAndReuse property value. The isPasswordPolicyPasswordHistoryAndReuse property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPasswordPolicyPasswordHistoryAndReuse()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPasswordPolicyPasswordHistoryAndReuse") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPasswordPolicyPasswordLengthLimit gets the isPasswordPolicyPasswordLengthLimit property value. The isPasswordPolicyPasswordLengthLimit property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPasswordPolicyPasswordLengthLimit()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPasswordPolicyPasswordLengthLimit") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPasswordPolicyPersonalInformationUse gets the isPasswordPolicyPersonalInformationUse property value. The isPasswordPolicyPersonalInformationUse property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPasswordPolicyPersonalInformationUse()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPasswordPolicyPersonalInformationUse") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPenetrationTesting gets the isPenetrationTesting property value. The isPenetrationTesting property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPenetrationTesting()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPenetrationTesting") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsPrivacyShieldCompliant gets the isPrivacyShieldCompliant property value. The isPrivacyShieldCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsPrivacyShieldCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isPrivacyShieldCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsRememberPassword gets the isRememberPassword property value. The isRememberPassword property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsRememberPassword()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isRememberPassword") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsRequiresUserAuthentication gets the isRequiresUserAuthentication property value. The isRequiresUserAuthentication property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsRequiresUserAuthentication()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isRequiresUserAuthentication") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsSoc1Compliant gets the isSoc1Compliant property value. The isSoc1Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsSoc1Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isSoc1Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsSoc2Compliant gets the isSoc2Compliant property value. The isSoc2Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsSoc2Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isSoc2Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsSoc3Compliant gets the isSoc3Compliant property value. The isSoc3Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsSoc3Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isSoc3Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsSoxCompliant gets the isSoxCompliant property value. The isSoxCompliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsSoxCompliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isSoxCompliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsSp80053Compliant gets the isSp80053Compliant property value. The isSp80053Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsSp80053Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isSp80053Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsSsae16Compliant gets the isSsae16Compliant property value. The isSsae16Compliant property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsSsae16Compliant()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isSsae16Compliant") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsSupportsSaml gets the isSupportsSaml property value. The isSupportsSaml property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsSupportsSaml()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isSupportsSaml") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsTrustedCertificate gets the isTrustedCertificate property value. The isTrustedCertificate property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsTrustedCertificate()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isTrustedCertificate") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsUserAuditTrail gets the isUserAuditTrail property value. The isUserAuditTrail property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsUserAuditTrail()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isUserAuditTrail") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsUserCanUploadData gets the isUserCanUploadData property value. The isUserCanUploadData property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsUserCanUploadData()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isUserCanUploadData") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsUserRolesSupport gets the isUserRolesSupport property value. The isUserRolesSupport property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsUserRolesSupport()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isUserRolesSupport") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetIsValidCertificateName gets the isValidCertificateName property value. The isValidCertificateName property +// returns a *CloudAppInfoState when successful +func (m *DiscoveredCloudAppInfo) GetIsValidCertificateName()(*CloudAppInfoState) { + val, err := m.GetBackingStore().Get("isValidCertificateName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CloudAppInfoState) + } + return nil +} +// GetLatestBreachDateTime gets the latestBreachDateTime property value. Indicates the last date of the data breach for the company. +// returns a *Time when successful +func (m *DiscoveredCloudAppInfo) GetLatestBreachDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("latestBreachDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetLogonUrls gets the logonUrls property value. Indicates the URL that users can use to sign into the app. +// returns a *string when successful +func (m *DiscoveredCloudAppInfo) GetLogonUrls()(*string) { + val, err := m.GetBackingStore().Get("logonUrls") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPciDssVersion gets the pciDssVersion property value. The pciDssVersion property +// returns a *AppInfoPciDssVersion when successful +func (m *DiscoveredCloudAppInfo) GetPciDssVersion()(*AppInfoPciDssVersion) { + val, err := m.GetBackingStore().Get("pciDssVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AppInfoPciDssVersion) + } + return nil +} +// GetVendorEscaped gets the vendor property value. Indicates the app vendor. +// returns a *string when successful +func (m *DiscoveredCloudAppInfo) GetVendorEscaped()(*string) { + val, err := m.GetBackingStore().Get("vendorEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DiscoveredCloudAppInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetCsaStarLevel() != nil { + cast := (*m.GetCsaStarLevel()).String() + err = writer.WriteStringValue("csaStarLevel", &cast) + if err != nil { + return err + } + } + if m.GetDataAtRestEncryptionMethod() != nil { + cast := (*m.GetDataAtRestEncryptionMethod()).String() + err = writer.WriteStringValue("dataAtRestEncryptionMethod", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("dataCenter", m.GetDataCenter()) + if err != nil { + return err + } + } + if m.GetDataRetentionPolicy() != nil { + cast := (*m.GetDataRetentionPolicy()).String() + err = writer.WriteStringValue("dataRetentionPolicy", &cast) + if err != nil { + return err + } + } + if m.GetDataTypes() != nil { + cast := (*m.GetDataTypes()).String() + err = writer.WriteStringValue("dataTypes", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("domainRegistrationDateTime", m.GetDomainRegistrationDateTime()) + if err != nil { + return err + } + } + if m.GetEncryptionProtocol() != nil { + cast := (*m.GetEncryptionProtocol()).String() + err = writer.WriteStringValue("encryptionProtocol", &cast) + if err != nil { + return err + } + } + if m.GetFedRampLevel() != nil { + cast := (*m.GetFedRampLevel()).String() + err = writer.WriteStringValue("fedRampLevel", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("founded", m.GetFounded()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("gdprReadinessStatement", m.GetGdprReadinessStatement()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("headquarters", m.GetHeadquarters()) + if err != nil { + return err + } + } + if m.GetHolding() != nil { + cast := (*m.GetHolding()).String() + err = writer.WriteStringValue("holding", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("hostingCompany", m.GetHostingCompany()) + if err != nil { + return err + } + } + if m.GetIsAdminAuditTrail() != nil { + cast := (*m.GetIsAdminAuditTrail()).String() + err = writer.WriteStringValue("isAdminAuditTrail", &cast) + if err != nil { + return err + } + } + if m.GetIsCobitCompliant() != nil { + cast := (*m.GetIsCobitCompliant()).String() + err = writer.WriteStringValue("isCobitCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsCoppaCompliant() != nil { + cast := (*m.GetIsCoppaCompliant()).String() + err = writer.WriteStringValue("isCoppaCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsDataAuditTrail() != nil { + cast := (*m.GetIsDataAuditTrail()).String() + err = writer.WriteStringValue("isDataAuditTrail", &cast) + if err != nil { + return err + } + } + if m.GetIsDataClassification() != nil { + cast := (*m.GetIsDataClassification()).String() + err = writer.WriteStringValue("isDataClassification", &cast) + if err != nil { + return err + } + } + if m.GetIsDataOwnership() != nil { + cast := (*m.GetIsDataOwnership()).String() + err = writer.WriteStringValue("isDataOwnership", &cast) + if err != nil { + return err + } + } + if m.GetIsDisasterRecoveryPlan() != nil { + cast := (*m.GetIsDisasterRecoveryPlan()).String() + err = writer.WriteStringValue("isDisasterRecoveryPlan", &cast) + if err != nil { + return err + } + } + if m.GetIsDmca() != nil { + cast := (*m.GetIsDmca()).String() + err = writer.WriteStringValue("isDmca", &cast) + if err != nil { + return err + } + } + if m.GetIsFerpaCompliant() != nil { + cast := (*m.GetIsFerpaCompliant()).String() + err = writer.WriteStringValue("isFerpaCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsFfiecCompliant() != nil { + cast := (*m.GetIsFfiecCompliant()).String() + err = writer.WriteStringValue("isFfiecCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsFileSharing() != nil { + cast := (*m.GetIsFileSharing()).String() + err = writer.WriteStringValue("isFileSharing", &cast) + if err != nil { + return err + } + } + if m.GetIsFinraCompliant() != nil { + cast := (*m.GetIsFinraCompliant()).String() + err = writer.WriteStringValue("isFinraCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsFismaCompliant() != nil { + cast := (*m.GetIsFismaCompliant()).String() + err = writer.WriteStringValue("isFismaCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsGaapCompliant() != nil { + cast := (*m.GetIsGaapCompliant()).String() + err = writer.WriteStringValue("isGaapCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprDataProtectionImpactAssessment() != nil { + cast := (*m.GetIsGdprDataProtectionImpactAssessment()).String() + err = writer.WriteStringValue("isGdprDataProtectionImpactAssessment", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprDataProtectionOfficer() != nil { + cast := (*m.GetIsGdprDataProtectionOfficer()).String() + err = writer.WriteStringValue("isGdprDataProtectionOfficer", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprDataProtectionSecureCrossBorderDataTransfer() != nil { + cast := (*m.GetIsGdprDataProtectionSecureCrossBorderDataTransfer()).String() + err = writer.WriteStringValue("isGdprDataProtectionSecureCrossBorderDataTransfer", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprImpactAssessment() != nil { + cast := (*m.GetIsGdprImpactAssessment()).String() + err = writer.WriteStringValue("isGdprImpactAssessment", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprLawfulBasisForProcessing() != nil { + cast := (*m.GetIsGdprLawfulBasisForProcessing()).String() + err = writer.WriteStringValue("isGdprLawfulBasisForProcessing", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprReportDataBreaches() != nil { + cast := (*m.GetIsGdprReportDataBreaches()).String() + err = writer.WriteStringValue("isGdprReportDataBreaches", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightsRelatedToAutomatedDecisionMaking() != nil { + cast := (*m.GetIsGdprRightsRelatedToAutomatedDecisionMaking()).String() + err = writer.WriteStringValue("isGdprRightsRelatedToAutomatedDecisionMaking", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightToAccess() != nil { + cast := (*m.GetIsGdprRightToAccess()).String() + err = writer.WriteStringValue("isGdprRightToAccess", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightToBeInformed() != nil { + cast := (*m.GetIsGdprRightToBeInformed()).String() + err = writer.WriteStringValue("isGdprRightToBeInformed", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightToDataPortablility() != nil { + cast := (*m.GetIsGdprRightToDataPortablility()).String() + err = writer.WriteStringValue("isGdprRightToDataPortablility", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightToErasure() != nil { + cast := (*m.GetIsGdprRightToErasure()).String() + err = writer.WriteStringValue("isGdprRightToErasure", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightToObject() != nil { + cast := (*m.GetIsGdprRightToObject()).String() + err = writer.WriteStringValue("isGdprRightToObject", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightToRectification() != nil { + cast := (*m.GetIsGdprRightToRectification()).String() + err = writer.WriteStringValue("isGdprRightToRectification", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprRightToRestrictionOfProcessing() != nil { + cast := (*m.GetIsGdprRightToRestrictionOfProcessing()).String() + err = writer.WriteStringValue("isGdprRightToRestrictionOfProcessing", &cast) + if err != nil { + return err + } + } + if m.GetIsGdprSecureCrossBorderDataControl() != nil { + cast := (*m.GetIsGdprSecureCrossBorderDataControl()).String() + err = writer.WriteStringValue("isGdprSecureCrossBorderDataControl", &cast) + if err != nil { + return err + } + } + if m.GetIsGlbaCompliant() != nil { + cast := (*m.GetIsGlbaCompliant()).String() + err = writer.WriteStringValue("isGlbaCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsHipaaCompliant() != nil { + cast := (*m.GetIsHipaaCompliant()).String() + err = writer.WriteStringValue("isHipaaCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsHitrustCsfCompliant() != nil { + cast := (*m.GetIsHitrustCsfCompliant()).String() + err = writer.WriteStringValue("isHitrustCsfCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsHttpSecurityHeadersContentSecurityPolicy() != nil { + cast := (*m.GetIsHttpSecurityHeadersContentSecurityPolicy()).String() + err = writer.WriteStringValue("isHttpSecurityHeadersContentSecurityPolicy", &cast) + if err != nil { + return err + } + } + if m.GetIsHttpSecurityHeadersStrictTransportSecurity() != nil { + cast := (*m.GetIsHttpSecurityHeadersStrictTransportSecurity()).String() + err = writer.WriteStringValue("isHttpSecurityHeadersStrictTransportSecurity", &cast) + if err != nil { + return err + } + } + if m.GetIsHttpSecurityHeadersXContentTypeOptions() != nil { + cast := (*m.GetIsHttpSecurityHeadersXContentTypeOptions()).String() + err = writer.WriteStringValue("isHttpSecurityHeadersXContentTypeOptions", &cast) + if err != nil { + return err + } + } + if m.GetIsHttpSecurityHeadersXFrameOptions() != nil { + cast := (*m.GetIsHttpSecurityHeadersXFrameOptions()).String() + err = writer.WriteStringValue("isHttpSecurityHeadersXFrameOptions", &cast) + if err != nil { + return err + } + } + if m.GetIsHttpSecurityHeadersXXssProtection() != nil { + cast := (*m.GetIsHttpSecurityHeadersXXssProtection()).String() + err = writer.WriteStringValue("isHttpSecurityHeadersXXssProtection", &cast) + if err != nil { + return err + } + } + if m.GetIsIpAddressRestriction() != nil { + cast := (*m.GetIsIpAddressRestriction()).String() + err = writer.WriteStringValue("isIpAddressRestriction", &cast) + if err != nil { + return err + } + } + if m.GetIsIsae3402Compliant() != nil { + cast := (*m.GetIsIsae3402Compliant()).String() + err = writer.WriteStringValue("isIsae3402Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsIso27001Compliant() != nil { + cast := (*m.GetIsIso27001Compliant()).String() + err = writer.WriteStringValue("isIso27001Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsIso27017Compliant() != nil { + cast := (*m.GetIsIso27017Compliant()).String() + err = writer.WriteStringValue("isIso27017Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsIso27018Compliant() != nil { + cast := (*m.GetIsIso27018Compliant()).String() + err = writer.WriteStringValue("isIso27018Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsItarCompliant() != nil { + cast := (*m.GetIsItarCompliant()).String() + err = writer.WriteStringValue("isItarCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsMultiFactorAuthentication() != nil { + cast := (*m.GetIsMultiFactorAuthentication()).String() + err = writer.WriteStringValue("isMultiFactorAuthentication", &cast) + if err != nil { + return err + } + } + if m.GetIsPasswordPolicy() != nil { + cast := (*m.GetIsPasswordPolicy()).String() + err = writer.WriteStringValue("isPasswordPolicy", &cast) + if err != nil { + return err + } + } + if m.GetIsPasswordPolicyChangePasswordPeriod() != nil { + cast := (*m.GetIsPasswordPolicyChangePasswordPeriod()).String() + err = writer.WriteStringValue("isPasswordPolicyChangePasswordPeriod", &cast) + if err != nil { + return err + } + } + if m.GetIsPasswordPolicyCharacterCombination() != nil { + cast := (*m.GetIsPasswordPolicyCharacterCombination()).String() + err = writer.WriteStringValue("isPasswordPolicyCharacterCombination", &cast) + if err != nil { + return err + } + } + if m.GetIsPasswordPolicyPasswordHistoryAndReuse() != nil { + cast := (*m.GetIsPasswordPolicyPasswordHistoryAndReuse()).String() + err = writer.WriteStringValue("isPasswordPolicyPasswordHistoryAndReuse", &cast) + if err != nil { + return err + } + } + if m.GetIsPasswordPolicyPasswordLengthLimit() != nil { + cast := (*m.GetIsPasswordPolicyPasswordLengthLimit()).String() + err = writer.WriteStringValue("isPasswordPolicyPasswordLengthLimit", &cast) + if err != nil { + return err + } + } + if m.GetIsPasswordPolicyPersonalInformationUse() != nil { + cast := (*m.GetIsPasswordPolicyPersonalInformationUse()).String() + err = writer.WriteStringValue("isPasswordPolicyPersonalInformationUse", &cast) + if err != nil { + return err + } + } + if m.GetIsPenetrationTesting() != nil { + cast := (*m.GetIsPenetrationTesting()).String() + err = writer.WriteStringValue("isPenetrationTesting", &cast) + if err != nil { + return err + } + } + if m.GetIsPrivacyShieldCompliant() != nil { + cast := (*m.GetIsPrivacyShieldCompliant()).String() + err = writer.WriteStringValue("isPrivacyShieldCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsRememberPassword() != nil { + cast := (*m.GetIsRememberPassword()).String() + err = writer.WriteStringValue("isRememberPassword", &cast) + if err != nil { + return err + } + } + if m.GetIsRequiresUserAuthentication() != nil { + cast := (*m.GetIsRequiresUserAuthentication()).String() + err = writer.WriteStringValue("isRequiresUserAuthentication", &cast) + if err != nil { + return err + } + } + if m.GetIsSoc1Compliant() != nil { + cast := (*m.GetIsSoc1Compliant()).String() + err = writer.WriteStringValue("isSoc1Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsSoc2Compliant() != nil { + cast := (*m.GetIsSoc2Compliant()).String() + err = writer.WriteStringValue("isSoc2Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsSoc3Compliant() != nil { + cast := (*m.GetIsSoc3Compliant()).String() + err = writer.WriteStringValue("isSoc3Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsSoxCompliant() != nil { + cast := (*m.GetIsSoxCompliant()).String() + err = writer.WriteStringValue("isSoxCompliant", &cast) + if err != nil { + return err + } + } + if m.GetIsSp80053Compliant() != nil { + cast := (*m.GetIsSp80053Compliant()).String() + err = writer.WriteStringValue("isSp80053Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsSsae16Compliant() != nil { + cast := (*m.GetIsSsae16Compliant()).String() + err = writer.WriteStringValue("isSsae16Compliant", &cast) + if err != nil { + return err + } + } + if m.GetIsSupportsSaml() != nil { + cast := (*m.GetIsSupportsSaml()).String() + err = writer.WriteStringValue("isSupportsSaml", &cast) + if err != nil { + return err + } + } + if m.GetIsTrustedCertificate() != nil { + cast := (*m.GetIsTrustedCertificate()).String() + err = writer.WriteStringValue("isTrustedCertificate", &cast) + if err != nil { + return err + } + } + if m.GetIsUserAuditTrail() != nil { + cast := (*m.GetIsUserAuditTrail()).String() + err = writer.WriteStringValue("isUserAuditTrail", &cast) + if err != nil { + return err + } + } + if m.GetIsUserCanUploadData() != nil { + cast := (*m.GetIsUserCanUploadData()).String() + err = writer.WriteStringValue("isUserCanUploadData", &cast) + if err != nil { + return err + } + } + if m.GetIsUserRolesSupport() != nil { + cast := (*m.GetIsUserRolesSupport()).String() + err = writer.WriteStringValue("isUserRolesSupport", &cast) + if err != nil { + return err + } + } + if m.GetIsValidCertificateName() != nil { + cast := (*m.GetIsValidCertificateName()).String() + err = writer.WriteStringValue("isValidCertificateName", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("latestBreachDateTime", m.GetLatestBreachDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("logonUrls", m.GetLogonUrls()) + if err != nil { + return err + } + } + if m.GetPciDssVersion() != nil { + cast := (*m.GetPciDssVersion()).String() + err = writer.WriteStringValue("pciDssVersion", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("vendor", m.GetVendorEscaped()) + if err != nil { + return err + } + } + return nil +} +// SetCsaStarLevel sets the csaStarLevel property value. The csaStarLevel property +func (m *DiscoveredCloudAppInfo) SetCsaStarLevel(value *AppInfoCsaStarLevel)() { + err := m.GetBackingStore().Set("csaStarLevel", value) + if err != nil { + panic(err) + } +} +// SetDataAtRestEncryptionMethod sets the dataAtRestEncryptionMethod property value. The dataAtRestEncryptionMethod property +func (m *DiscoveredCloudAppInfo) SetDataAtRestEncryptionMethod(value *AppInfoDataAtRestEncryptionMethod)() { + err := m.GetBackingStore().Set("dataAtRestEncryptionMethod", value) + if err != nil { + panic(err) + } +} +// SetDataCenter sets the dataCenter property value. Indicates the countries or regions in which your data center resides. +func (m *DiscoveredCloudAppInfo) SetDataCenter(value *string)() { + err := m.GetBackingStore().Set("dataCenter", value) + if err != nil { + panic(err) + } +} +// SetDataRetentionPolicy sets the dataRetentionPolicy property value. The dataRetentionPolicy property +func (m *DiscoveredCloudAppInfo) SetDataRetentionPolicy(value *AppInfoDataRetentionPolicy)() { + err := m.GetBackingStore().Set("dataRetentionPolicy", value) + if err != nil { + panic(err) + } +} +// SetDataTypes sets the dataTypes property value. The dataTypes property +func (m *DiscoveredCloudAppInfo) SetDataTypes(value *AppInfoUploadedDataTypes)() { + err := m.GetBackingStore().Set("dataTypes", value) + if err != nil { + panic(err) + } +} +// SetDomainRegistrationDateTime sets the domainRegistrationDateTime property value. Indicates the date when the app domain was registered. +func (m *DiscoveredCloudAppInfo) SetDomainRegistrationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("domainRegistrationDateTime", value) + if err != nil { + panic(err) + } +} +// SetEncryptionProtocol sets the encryptionProtocol property value. The encryptionProtocol property +func (m *DiscoveredCloudAppInfo) SetEncryptionProtocol(value *AppInfoEncryptionProtocol)() { + err := m.GetBackingStore().Set("encryptionProtocol", value) + if err != nil { + panic(err) + } +} +// SetFedRampLevel sets the fedRampLevel property value. The fedRampLevel property +func (m *DiscoveredCloudAppInfo) SetFedRampLevel(value *AppInfoFedRampLevel)() { + err := m.GetBackingStore().Set("fedRampLevel", value) + if err != nil { + panic(err) + } +} +// SetFounded sets the founded property value. Indicates the year that the specific app vendor was established. +func (m *DiscoveredCloudAppInfo) SetFounded(value *int32)() { + err := m.GetBackingStore().Set("founded", value) + if err != nil { + panic(err) + } +} +// SetGdprReadinessStatement sets the gdprReadinessStatement property value. Indicates the GDPR readiness of the app in relation to policies app provides to safeguard personal user data. +func (m *DiscoveredCloudAppInfo) SetGdprReadinessStatement(value *string)() { + err := m.GetBackingStore().Set("gdprReadinessStatement", value) + if err != nil { + panic(err) + } +} +// SetHeadquarters sets the headquarters property value. Indicates the location of the headquarters of the app. +func (m *DiscoveredCloudAppInfo) SetHeadquarters(value *string)() { + err := m.GetBackingStore().Set("headquarters", value) + if err != nil { + panic(err) + } +} +// SetHolding sets the holding property value. The holding property +func (m *DiscoveredCloudAppInfo) SetHolding(value *AppInfoHolding)() { + err := m.GetBackingStore().Set("holding", value) + if err != nil { + panic(err) + } +} +// SetHostingCompany sets the hostingCompany property value. Indicates the company name that provides hosting services for the app. +func (m *DiscoveredCloudAppInfo) SetHostingCompany(value *string)() { + err := m.GetBackingStore().Set("hostingCompany", value) + if err != nil { + panic(err) + } +} +// SetIsAdminAuditTrail sets the isAdminAuditTrail property value. The isAdminAuditTrail property +func (m *DiscoveredCloudAppInfo) SetIsAdminAuditTrail(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isAdminAuditTrail", value) + if err != nil { + panic(err) + } +} +// SetIsCobitCompliant sets the isCobitCompliant property value. The isCobitCompliant property +func (m *DiscoveredCloudAppInfo) SetIsCobitCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isCobitCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsCoppaCompliant sets the isCoppaCompliant property value. The isCoppaCompliant property +func (m *DiscoveredCloudAppInfo) SetIsCoppaCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isCoppaCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsDataAuditTrail sets the isDataAuditTrail property value. The isDataAuditTrail property +func (m *DiscoveredCloudAppInfo) SetIsDataAuditTrail(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isDataAuditTrail", value) + if err != nil { + panic(err) + } +} +// SetIsDataClassification sets the isDataClassification property value. The isDataClassification property +func (m *DiscoveredCloudAppInfo) SetIsDataClassification(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isDataClassification", value) + if err != nil { + panic(err) + } +} +// SetIsDataOwnership sets the isDataOwnership property value. The isDataOwnership property +func (m *DiscoveredCloudAppInfo) SetIsDataOwnership(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isDataOwnership", value) + if err != nil { + panic(err) + } +} +// SetIsDisasterRecoveryPlan sets the isDisasterRecoveryPlan property value. The isDisasterRecoveryPlan property +func (m *DiscoveredCloudAppInfo) SetIsDisasterRecoveryPlan(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isDisasterRecoveryPlan", value) + if err != nil { + panic(err) + } +} +// SetIsDmca sets the isDmca property value. The isDmca property +func (m *DiscoveredCloudAppInfo) SetIsDmca(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isDmca", value) + if err != nil { + panic(err) + } +} +// SetIsFerpaCompliant sets the isFerpaCompliant property value. The isFerpaCompliant property +func (m *DiscoveredCloudAppInfo) SetIsFerpaCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isFerpaCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsFfiecCompliant sets the isFfiecCompliant property value. The isFfiecCompliant property +func (m *DiscoveredCloudAppInfo) SetIsFfiecCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isFfiecCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsFileSharing sets the isFileSharing property value. The isFileSharing property +func (m *DiscoveredCloudAppInfo) SetIsFileSharing(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isFileSharing", value) + if err != nil { + panic(err) + } +} +// SetIsFinraCompliant sets the isFinraCompliant property value. The isFinraCompliant property +func (m *DiscoveredCloudAppInfo) SetIsFinraCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isFinraCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsFismaCompliant sets the isFismaCompliant property value. The isFismaCompliant property +func (m *DiscoveredCloudAppInfo) SetIsFismaCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isFismaCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsGaapCompliant sets the isGaapCompliant property value. The isGaapCompliant property +func (m *DiscoveredCloudAppInfo) SetIsGaapCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGaapCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsGdprDataProtectionImpactAssessment sets the isGdprDataProtectionImpactAssessment property value. The isGdprDataProtectionImpactAssessment property +func (m *DiscoveredCloudAppInfo) SetIsGdprDataProtectionImpactAssessment(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprDataProtectionImpactAssessment", value) + if err != nil { + panic(err) + } +} +// SetIsGdprDataProtectionOfficer sets the isGdprDataProtectionOfficer property value. The isGdprDataProtectionOfficer property +func (m *DiscoveredCloudAppInfo) SetIsGdprDataProtectionOfficer(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprDataProtectionOfficer", value) + if err != nil { + panic(err) + } +} +// SetIsGdprDataProtectionSecureCrossBorderDataTransfer sets the isGdprDataProtectionSecureCrossBorderDataTransfer property value. The isGdprDataProtectionSecureCrossBorderDataTransfer property +func (m *DiscoveredCloudAppInfo) SetIsGdprDataProtectionSecureCrossBorderDataTransfer(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprDataProtectionSecureCrossBorderDataTransfer", value) + if err != nil { + panic(err) + } +} +// SetIsGdprImpactAssessment sets the isGdprImpactAssessment property value. The isGdprImpactAssessment property +func (m *DiscoveredCloudAppInfo) SetIsGdprImpactAssessment(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprImpactAssessment", value) + if err != nil { + panic(err) + } +} +// SetIsGdprLawfulBasisForProcessing sets the isGdprLawfulBasisForProcessing property value. The isGdprLawfulBasisForProcessing property +func (m *DiscoveredCloudAppInfo) SetIsGdprLawfulBasisForProcessing(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprLawfulBasisForProcessing", value) + if err != nil { + panic(err) + } +} +// SetIsGdprReportDataBreaches sets the isGdprReportDataBreaches property value. The isGdprReportDataBreaches property +func (m *DiscoveredCloudAppInfo) SetIsGdprReportDataBreaches(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprReportDataBreaches", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightsRelatedToAutomatedDecisionMaking sets the isGdprRightsRelatedToAutomatedDecisionMaking property value. The isGdprRightsRelatedToAutomatedDecisionMaking property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightsRelatedToAutomatedDecisionMaking(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightsRelatedToAutomatedDecisionMaking", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightToAccess sets the isGdprRightToAccess property value. The isGdprRightToAccess property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightToAccess(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightToAccess", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightToBeInformed sets the isGdprRightToBeInformed property value. The isGdprRightToBeInformed property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightToBeInformed(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightToBeInformed", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightToDataPortablility sets the isGdprRightToDataPortablility property value. The isGdprRightToDataPortablility property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightToDataPortablility(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightToDataPortablility", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightToErasure sets the isGdprRightToErasure property value. The isGdprRightToErasure property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightToErasure(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightToErasure", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightToObject sets the isGdprRightToObject property value. The isGdprRightToObject property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightToObject(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightToObject", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightToRectification sets the isGdprRightToRectification property value. The isGdprRightToRectification property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightToRectification(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightToRectification", value) + if err != nil { + panic(err) + } +} +// SetIsGdprRightToRestrictionOfProcessing sets the isGdprRightToRestrictionOfProcessing property value. The isGdprRightToRestrictionOfProcessing property +func (m *DiscoveredCloudAppInfo) SetIsGdprRightToRestrictionOfProcessing(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprRightToRestrictionOfProcessing", value) + if err != nil { + panic(err) + } +} +// SetIsGdprSecureCrossBorderDataControl sets the isGdprSecureCrossBorderDataControl property value. The isGdprSecureCrossBorderDataControl property +func (m *DiscoveredCloudAppInfo) SetIsGdprSecureCrossBorderDataControl(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGdprSecureCrossBorderDataControl", value) + if err != nil { + panic(err) + } +} +// SetIsGlbaCompliant sets the isGlbaCompliant property value. The isGlbaCompliant property +func (m *DiscoveredCloudAppInfo) SetIsGlbaCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isGlbaCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsHipaaCompliant sets the isHipaaCompliant property value. The isHipaaCompliant property +func (m *DiscoveredCloudAppInfo) SetIsHipaaCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isHipaaCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsHitrustCsfCompliant sets the isHitrustCsfCompliant property value. The isHitrustCsfCompliant property +func (m *DiscoveredCloudAppInfo) SetIsHitrustCsfCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isHitrustCsfCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsHttpSecurityHeadersContentSecurityPolicy sets the isHttpSecurityHeadersContentSecurityPolicy property value. The isHttpSecurityHeadersContentSecurityPolicy property +func (m *DiscoveredCloudAppInfo) SetIsHttpSecurityHeadersContentSecurityPolicy(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isHttpSecurityHeadersContentSecurityPolicy", value) + if err != nil { + panic(err) + } +} +// SetIsHttpSecurityHeadersStrictTransportSecurity sets the isHttpSecurityHeadersStrictTransportSecurity property value. The isHttpSecurityHeadersStrictTransportSecurity property +func (m *DiscoveredCloudAppInfo) SetIsHttpSecurityHeadersStrictTransportSecurity(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isHttpSecurityHeadersStrictTransportSecurity", value) + if err != nil { + panic(err) + } +} +// SetIsHttpSecurityHeadersXContentTypeOptions sets the isHttpSecurityHeadersXContentTypeOptions property value. The isHttpSecurityHeadersXContentTypeOptions property +func (m *DiscoveredCloudAppInfo) SetIsHttpSecurityHeadersXContentTypeOptions(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isHttpSecurityHeadersXContentTypeOptions", value) + if err != nil { + panic(err) + } +} +// SetIsHttpSecurityHeadersXFrameOptions sets the isHttpSecurityHeadersXFrameOptions property value. The isHttpSecurityHeadersXFrameOptions property +func (m *DiscoveredCloudAppInfo) SetIsHttpSecurityHeadersXFrameOptions(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isHttpSecurityHeadersXFrameOptions", value) + if err != nil { + panic(err) + } +} +// SetIsHttpSecurityHeadersXXssProtection sets the isHttpSecurityHeadersXXssProtection property value. The isHttpSecurityHeadersXXssProtection property +func (m *DiscoveredCloudAppInfo) SetIsHttpSecurityHeadersXXssProtection(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isHttpSecurityHeadersXXssProtection", value) + if err != nil { + panic(err) + } +} +// SetIsIpAddressRestriction sets the isIpAddressRestriction property value. The isIpAddressRestriction property +func (m *DiscoveredCloudAppInfo) SetIsIpAddressRestriction(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isIpAddressRestriction", value) + if err != nil { + panic(err) + } +} +// SetIsIsae3402Compliant sets the isIsae3402Compliant property value. The isIsae3402Compliant property +func (m *DiscoveredCloudAppInfo) SetIsIsae3402Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isIsae3402Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsIso27001Compliant sets the isIso27001Compliant property value. The isIso27001Compliant property +func (m *DiscoveredCloudAppInfo) SetIsIso27001Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isIso27001Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsIso27017Compliant sets the isIso27017Compliant property value. The isIso27017Compliant property +func (m *DiscoveredCloudAppInfo) SetIsIso27017Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isIso27017Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsIso27018Compliant sets the isIso27018Compliant property value. The isIso27018Compliant property +func (m *DiscoveredCloudAppInfo) SetIsIso27018Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isIso27018Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsItarCompliant sets the isItarCompliant property value. The isItarCompliant property +func (m *DiscoveredCloudAppInfo) SetIsItarCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isItarCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsMultiFactorAuthentication sets the isMultiFactorAuthentication property value. The isMultiFactorAuthentication property +func (m *DiscoveredCloudAppInfo) SetIsMultiFactorAuthentication(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isMultiFactorAuthentication", value) + if err != nil { + panic(err) + } +} +// SetIsPasswordPolicy sets the isPasswordPolicy property value. The isPasswordPolicy property +func (m *DiscoveredCloudAppInfo) SetIsPasswordPolicy(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPasswordPolicy", value) + if err != nil { + panic(err) + } +} +// SetIsPasswordPolicyChangePasswordPeriod sets the isPasswordPolicyChangePasswordPeriod property value. The isPasswordPolicyChangePasswordPeriod property +func (m *DiscoveredCloudAppInfo) SetIsPasswordPolicyChangePasswordPeriod(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPasswordPolicyChangePasswordPeriod", value) + if err != nil { + panic(err) + } +} +// SetIsPasswordPolicyCharacterCombination sets the isPasswordPolicyCharacterCombination property value. The isPasswordPolicyCharacterCombination property +func (m *DiscoveredCloudAppInfo) SetIsPasswordPolicyCharacterCombination(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPasswordPolicyCharacterCombination", value) + if err != nil { + panic(err) + } +} +// SetIsPasswordPolicyPasswordHistoryAndReuse sets the isPasswordPolicyPasswordHistoryAndReuse property value. The isPasswordPolicyPasswordHistoryAndReuse property +func (m *DiscoveredCloudAppInfo) SetIsPasswordPolicyPasswordHistoryAndReuse(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPasswordPolicyPasswordHistoryAndReuse", value) + if err != nil { + panic(err) + } +} +// SetIsPasswordPolicyPasswordLengthLimit sets the isPasswordPolicyPasswordLengthLimit property value. The isPasswordPolicyPasswordLengthLimit property +func (m *DiscoveredCloudAppInfo) SetIsPasswordPolicyPasswordLengthLimit(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPasswordPolicyPasswordLengthLimit", value) + if err != nil { + panic(err) + } +} +// SetIsPasswordPolicyPersonalInformationUse sets the isPasswordPolicyPersonalInformationUse property value. The isPasswordPolicyPersonalInformationUse property +func (m *DiscoveredCloudAppInfo) SetIsPasswordPolicyPersonalInformationUse(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPasswordPolicyPersonalInformationUse", value) + if err != nil { + panic(err) + } +} +// SetIsPenetrationTesting sets the isPenetrationTesting property value. The isPenetrationTesting property +func (m *DiscoveredCloudAppInfo) SetIsPenetrationTesting(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPenetrationTesting", value) + if err != nil { + panic(err) + } +} +// SetIsPrivacyShieldCompliant sets the isPrivacyShieldCompliant property value. The isPrivacyShieldCompliant property +func (m *DiscoveredCloudAppInfo) SetIsPrivacyShieldCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isPrivacyShieldCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsRememberPassword sets the isRememberPassword property value. The isRememberPassword property +func (m *DiscoveredCloudAppInfo) SetIsRememberPassword(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isRememberPassword", value) + if err != nil { + panic(err) + } +} +// SetIsRequiresUserAuthentication sets the isRequiresUserAuthentication property value. The isRequiresUserAuthentication property +func (m *DiscoveredCloudAppInfo) SetIsRequiresUserAuthentication(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isRequiresUserAuthentication", value) + if err != nil { + panic(err) + } +} +// SetIsSoc1Compliant sets the isSoc1Compliant property value. The isSoc1Compliant property +func (m *DiscoveredCloudAppInfo) SetIsSoc1Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isSoc1Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsSoc2Compliant sets the isSoc2Compliant property value. The isSoc2Compliant property +func (m *DiscoveredCloudAppInfo) SetIsSoc2Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isSoc2Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsSoc3Compliant sets the isSoc3Compliant property value. The isSoc3Compliant property +func (m *DiscoveredCloudAppInfo) SetIsSoc3Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isSoc3Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsSoxCompliant sets the isSoxCompliant property value. The isSoxCompliant property +func (m *DiscoveredCloudAppInfo) SetIsSoxCompliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isSoxCompliant", value) + if err != nil { + panic(err) + } +} +// SetIsSp80053Compliant sets the isSp80053Compliant property value. The isSp80053Compliant property +func (m *DiscoveredCloudAppInfo) SetIsSp80053Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isSp80053Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsSsae16Compliant sets the isSsae16Compliant property value. The isSsae16Compliant property +func (m *DiscoveredCloudAppInfo) SetIsSsae16Compliant(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isSsae16Compliant", value) + if err != nil { + panic(err) + } +} +// SetIsSupportsSaml sets the isSupportsSaml property value. The isSupportsSaml property +func (m *DiscoveredCloudAppInfo) SetIsSupportsSaml(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isSupportsSaml", value) + if err != nil { + panic(err) + } +} +// SetIsTrustedCertificate sets the isTrustedCertificate property value. The isTrustedCertificate property +func (m *DiscoveredCloudAppInfo) SetIsTrustedCertificate(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isTrustedCertificate", value) + if err != nil { + panic(err) + } +} +// SetIsUserAuditTrail sets the isUserAuditTrail property value. The isUserAuditTrail property +func (m *DiscoveredCloudAppInfo) SetIsUserAuditTrail(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isUserAuditTrail", value) + if err != nil { + panic(err) + } +} +// SetIsUserCanUploadData sets the isUserCanUploadData property value. The isUserCanUploadData property +func (m *DiscoveredCloudAppInfo) SetIsUserCanUploadData(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isUserCanUploadData", value) + if err != nil { + panic(err) + } +} +// SetIsUserRolesSupport sets the isUserRolesSupport property value. The isUserRolesSupport property +func (m *DiscoveredCloudAppInfo) SetIsUserRolesSupport(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isUserRolesSupport", value) + if err != nil { + panic(err) + } +} +// SetIsValidCertificateName sets the isValidCertificateName property value. The isValidCertificateName property +func (m *DiscoveredCloudAppInfo) SetIsValidCertificateName(value *CloudAppInfoState)() { + err := m.GetBackingStore().Set("isValidCertificateName", value) + if err != nil { + panic(err) + } +} +// SetLatestBreachDateTime sets the latestBreachDateTime property value. Indicates the last date of the data breach for the company. +func (m *DiscoveredCloudAppInfo) SetLatestBreachDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("latestBreachDateTime", value) + if err != nil { + panic(err) + } +} +// SetLogonUrls sets the logonUrls property value. Indicates the URL that users can use to sign into the app. +func (m *DiscoveredCloudAppInfo) SetLogonUrls(value *string)() { + err := m.GetBackingStore().Set("logonUrls", value) + if err != nil { + panic(err) + } +} +// SetPciDssVersion sets the pciDssVersion property value. The pciDssVersion property +func (m *DiscoveredCloudAppInfo) SetPciDssVersion(value *AppInfoPciDssVersion)() { + err := m.GetBackingStore().Set("pciDssVersion", value) + if err != nil { + panic(err) + } +} +// SetVendorEscaped sets the vendor property value. Indicates the app vendor. +func (m *DiscoveredCloudAppInfo) SetVendorEscaped(value *string)() { + err := m.GetBackingStore().Set("vendorEscaped", value) + if err != nil { + panic(err) + } +} +type DiscoveredCloudAppInfoable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCsaStarLevel()(*AppInfoCsaStarLevel) + GetDataAtRestEncryptionMethod()(*AppInfoDataAtRestEncryptionMethod) + GetDataCenter()(*string) + GetDataRetentionPolicy()(*AppInfoDataRetentionPolicy) + GetDataTypes()(*AppInfoUploadedDataTypes) + GetDomainRegistrationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetEncryptionProtocol()(*AppInfoEncryptionProtocol) + GetFedRampLevel()(*AppInfoFedRampLevel) + GetFounded()(*int32) + GetGdprReadinessStatement()(*string) + GetHeadquarters()(*string) + GetHolding()(*AppInfoHolding) + GetHostingCompany()(*string) + GetIsAdminAuditTrail()(*CloudAppInfoState) + GetIsCobitCompliant()(*CloudAppInfoState) + GetIsCoppaCompliant()(*CloudAppInfoState) + GetIsDataAuditTrail()(*CloudAppInfoState) + GetIsDataClassification()(*CloudAppInfoState) + GetIsDataOwnership()(*CloudAppInfoState) + GetIsDisasterRecoveryPlan()(*CloudAppInfoState) + GetIsDmca()(*CloudAppInfoState) + GetIsFerpaCompliant()(*CloudAppInfoState) + GetIsFfiecCompliant()(*CloudAppInfoState) + GetIsFileSharing()(*CloudAppInfoState) + GetIsFinraCompliant()(*CloudAppInfoState) + GetIsFismaCompliant()(*CloudAppInfoState) + GetIsGaapCompliant()(*CloudAppInfoState) + GetIsGdprDataProtectionImpactAssessment()(*CloudAppInfoState) + GetIsGdprDataProtectionOfficer()(*CloudAppInfoState) + GetIsGdprDataProtectionSecureCrossBorderDataTransfer()(*CloudAppInfoState) + GetIsGdprImpactAssessment()(*CloudAppInfoState) + GetIsGdprLawfulBasisForProcessing()(*CloudAppInfoState) + GetIsGdprReportDataBreaches()(*CloudAppInfoState) + GetIsGdprRightsRelatedToAutomatedDecisionMaking()(*CloudAppInfoState) + GetIsGdprRightToAccess()(*CloudAppInfoState) + GetIsGdprRightToBeInformed()(*CloudAppInfoState) + GetIsGdprRightToDataPortablility()(*CloudAppInfoState) + GetIsGdprRightToErasure()(*CloudAppInfoState) + GetIsGdprRightToObject()(*CloudAppInfoState) + GetIsGdprRightToRectification()(*CloudAppInfoState) + GetIsGdprRightToRestrictionOfProcessing()(*CloudAppInfoState) + GetIsGdprSecureCrossBorderDataControl()(*CloudAppInfoState) + GetIsGlbaCompliant()(*CloudAppInfoState) + GetIsHipaaCompliant()(*CloudAppInfoState) + GetIsHitrustCsfCompliant()(*CloudAppInfoState) + GetIsHttpSecurityHeadersContentSecurityPolicy()(*CloudAppInfoState) + GetIsHttpSecurityHeadersStrictTransportSecurity()(*CloudAppInfoState) + GetIsHttpSecurityHeadersXContentTypeOptions()(*CloudAppInfoState) + GetIsHttpSecurityHeadersXFrameOptions()(*CloudAppInfoState) + GetIsHttpSecurityHeadersXXssProtection()(*CloudAppInfoState) + GetIsIpAddressRestriction()(*CloudAppInfoState) + GetIsIsae3402Compliant()(*CloudAppInfoState) + GetIsIso27001Compliant()(*CloudAppInfoState) + GetIsIso27017Compliant()(*CloudAppInfoState) + GetIsIso27018Compliant()(*CloudAppInfoState) + GetIsItarCompliant()(*CloudAppInfoState) + GetIsMultiFactorAuthentication()(*CloudAppInfoState) + GetIsPasswordPolicy()(*CloudAppInfoState) + GetIsPasswordPolicyChangePasswordPeriod()(*CloudAppInfoState) + GetIsPasswordPolicyCharacterCombination()(*CloudAppInfoState) + GetIsPasswordPolicyPasswordHistoryAndReuse()(*CloudAppInfoState) + GetIsPasswordPolicyPasswordLengthLimit()(*CloudAppInfoState) + GetIsPasswordPolicyPersonalInformationUse()(*CloudAppInfoState) + GetIsPenetrationTesting()(*CloudAppInfoState) + GetIsPrivacyShieldCompliant()(*CloudAppInfoState) + GetIsRememberPassword()(*CloudAppInfoState) + GetIsRequiresUserAuthentication()(*CloudAppInfoState) + GetIsSoc1Compliant()(*CloudAppInfoState) + GetIsSoc2Compliant()(*CloudAppInfoState) + GetIsSoc3Compliant()(*CloudAppInfoState) + GetIsSoxCompliant()(*CloudAppInfoState) + GetIsSp80053Compliant()(*CloudAppInfoState) + GetIsSsae16Compliant()(*CloudAppInfoState) + GetIsSupportsSaml()(*CloudAppInfoState) + GetIsTrustedCertificate()(*CloudAppInfoState) + GetIsUserAuditTrail()(*CloudAppInfoState) + GetIsUserCanUploadData()(*CloudAppInfoState) + GetIsUserRolesSupport()(*CloudAppInfoState) + GetIsValidCertificateName()(*CloudAppInfoState) + GetLatestBreachDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetLogonUrls()(*string) + GetPciDssVersion()(*AppInfoPciDssVersion) + GetVendorEscaped()(*string) + SetCsaStarLevel(value *AppInfoCsaStarLevel)() + SetDataAtRestEncryptionMethod(value *AppInfoDataAtRestEncryptionMethod)() + SetDataCenter(value *string)() + SetDataRetentionPolicy(value *AppInfoDataRetentionPolicy)() + SetDataTypes(value *AppInfoUploadedDataTypes)() + SetDomainRegistrationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetEncryptionProtocol(value *AppInfoEncryptionProtocol)() + SetFedRampLevel(value *AppInfoFedRampLevel)() + SetFounded(value *int32)() + SetGdprReadinessStatement(value *string)() + SetHeadquarters(value *string)() + SetHolding(value *AppInfoHolding)() + SetHostingCompany(value *string)() + SetIsAdminAuditTrail(value *CloudAppInfoState)() + SetIsCobitCompliant(value *CloudAppInfoState)() + SetIsCoppaCompliant(value *CloudAppInfoState)() + SetIsDataAuditTrail(value *CloudAppInfoState)() + SetIsDataClassification(value *CloudAppInfoState)() + SetIsDataOwnership(value *CloudAppInfoState)() + SetIsDisasterRecoveryPlan(value *CloudAppInfoState)() + SetIsDmca(value *CloudAppInfoState)() + SetIsFerpaCompliant(value *CloudAppInfoState)() + SetIsFfiecCompliant(value *CloudAppInfoState)() + SetIsFileSharing(value *CloudAppInfoState)() + SetIsFinraCompliant(value *CloudAppInfoState)() + SetIsFismaCompliant(value *CloudAppInfoState)() + SetIsGaapCompliant(value *CloudAppInfoState)() + SetIsGdprDataProtectionImpactAssessment(value *CloudAppInfoState)() + SetIsGdprDataProtectionOfficer(value *CloudAppInfoState)() + SetIsGdprDataProtectionSecureCrossBorderDataTransfer(value *CloudAppInfoState)() + SetIsGdprImpactAssessment(value *CloudAppInfoState)() + SetIsGdprLawfulBasisForProcessing(value *CloudAppInfoState)() + SetIsGdprReportDataBreaches(value *CloudAppInfoState)() + SetIsGdprRightsRelatedToAutomatedDecisionMaking(value *CloudAppInfoState)() + SetIsGdprRightToAccess(value *CloudAppInfoState)() + SetIsGdprRightToBeInformed(value *CloudAppInfoState)() + SetIsGdprRightToDataPortablility(value *CloudAppInfoState)() + SetIsGdprRightToErasure(value *CloudAppInfoState)() + SetIsGdprRightToObject(value *CloudAppInfoState)() + SetIsGdprRightToRectification(value *CloudAppInfoState)() + SetIsGdprRightToRestrictionOfProcessing(value *CloudAppInfoState)() + SetIsGdprSecureCrossBorderDataControl(value *CloudAppInfoState)() + SetIsGlbaCompliant(value *CloudAppInfoState)() + SetIsHipaaCompliant(value *CloudAppInfoState)() + SetIsHitrustCsfCompliant(value *CloudAppInfoState)() + SetIsHttpSecurityHeadersContentSecurityPolicy(value *CloudAppInfoState)() + SetIsHttpSecurityHeadersStrictTransportSecurity(value *CloudAppInfoState)() + SetIsHttpSecurityHeadersXContentTypeOptions(value *CloudAppInfoState)() + SetIsHttpSecurityHeadersXFrameOptions(value *CloudAppInfoState)() + SetIsHttpSecurityHeadersXXssProtection(value *CloudAppInfoState)() + SetIsIpAddressRestriction(value *CloudAppInfoState)() + SetIsIsae3402Compliant(value *CloudAppInfoState)() + SetIsIso27001Compliant(value *CloudAppInfoState)() + SetIsIso27017Compliant(value *CloudAppInfoState)() + SetIsIso27018Compliant(value *CloudAppInfoState)() + SetIsItarCompliant(value *CloudAppInfoState)() + SetIsMultiFactorAuthentication(value *CloudAppInfoState)() + SetIsPasswordPolicy(value *CloudAppInfoState)() + SetIsPasswordPolicyChangePasswordPeriod(value *CloudAppInfoState)() + SetIsPasswordPolicyCharacterCombination(value *CloudAppInfoState)() + SetIsPasswordPolicyPasswordHistoryAndReuse(value *CloudAppInfoState)() + SetIsPasswordPolicyPasswordLengthLimit(value *CloudAppInfoState)() + SetIsPasswordPolicyPersonalInformationUse(value *CloudAppInfoState)() + SetIsPenetrationTesting(value *CloudAppInfoState)() + SetIsPrivacyShieldCompliant(value *CloudAppInfoState)() + SetIsRememberPassword(value *CloudAppInfoState)() + SetIsRequiresUserAuthentication(value *CloudAppInfoState)() + SetIsSoc1Compliant(value *CloudAppInfoState)() + SetIsSoc2Compliant(value *CloudAppInfoState)() + SetIsSoc3Compliant(value *CloudAppInfoState)() + SetIsSoxCompliant(value *CloudAppInfoState)() + SetIsSp80053Compliant(value *CloudAppInfoState)() + SetIsSsae16Compliant(value *CloudAppInfoState)() + SetIsSupportsSaml(value *CloudAppInfoState)() + SetIsTrustedCertificate(value *CloudAppInfoState)() + SetIsUserAuditTrail(value *CloudAppInfoState)() + SetIsUserCanUploadData(value *CloudAppInfoState)() + SetIsUserRolesSupport(value *CloudAppInfoState)() + SetIsValidCertificateName(value *CloudAppInfoState)() + SetLatestBreachDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetLogonUrls(value *string)() + SetPciDssVersion(value *AppInfoPciDssVersion)() + SetVendorEscaped(value *string)() +} diff --git a/models/security/discovered_cloud_app_user.go b/models/security/discovered_cloud_app_user.go new file mode 100644 index 00000000000..686ab98b20b --- /dev/null +++ b/models/security/discovered_cloud_app_user.go @@ -0,0 +1,150 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DiscoveredCloudAppUser struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDiscoveredCloudAppUser instantiates a new DiscoveredCloudAppUser and sets the default values. +func NewDiscoveredCloudAppUser()(*DiscoveredCloudAppUser) { + m := &DiscoveredCloudAppUser{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDiscoveredCloudAppUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDiscoveredCloudAppUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDiscoveredCloudAppUser(), 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 *DiscoveredCloudAppUser) 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 *DiscoveredCloudAppUser) 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 *DiscoveredCloudAppUser) 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["userIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserIdentifier(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *DiscoveredCloudAppUser) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUserIdentifier gets the userIdentifier property value. The identifier of a user who accessed the discovered cloud app. +// returns a *string when successful +func (m *DiscoveredCloudAppUser) GetUserIdentifier()(*string) { + val, err := m.GetBackingStore().Get("userIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DiscoveredCloudAppUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("userIdentifier", m.GetUserIdentifier()) + 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 *DiscoveredCloudAppUser) 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 *DiscoveredCloudAppUser) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *DiscoveredCloudAppUser) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetUserIdentifier sets the userIdentifier property value. The identifier of a user who accessed the discovered cloud app. +func (m *DiscoveredCloudAppUser) SetUserIdentifier(value *string)() { + err := m.GetBackingStore().Set("userIdentifier", value) + if err != nil { + panic(err) + } +} +type DiscoveredCloudAppUserable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetUserIdentifier()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetUserIdentifier(value *string)() +} diff --git a/models/security/endpoint_discovered_cloud_app_detail.go b/models/security/endpoint_discovered_cloud_app_detail.go new file mode 100644 index 00000000000..1f1e34f6c73 --- /dev/null +++ b/models/security/endpoint_discovered_cloud_app_detail.go @@ -0,0 +1,125 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EndpointDiscoveredCloudAppDetail struct { + DiscoveredCloudAppDetail +} +// NewEndpointDiscoveredCloudAppDetail instantiates a new EndpointDiscoveredCloudAppDetail and sets the default values. +func NewEndpointDiscoveredCloudAppDetail()(*EndpointDiscoveredCloudAppDetail) { + m := &EndpointDiscoveredCloudAppDetail{ + DiscoveredCloudAppDetail: *NewDiscoveredCloudAppDetail(), + } + return m +} +// CreateEndpointDiscoveredCloudAppDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEndpointDiscoveredCloudAppDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEndpointDiscoveredCloudAppDetail(), nil +} +// GetDeviceCount gets the deviceCount property value. The number of devices that accessed the discovered app. +// returns a *int64 when successful +func (m *EndpointDiscoveredCloudAppDetail) GetDeviceCount()(*int64) { + val, err := m.GetBackingStore().Get("deviceCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetDevices gets the devices property value. Represents the devices that access the discovered apps. +// returns a []DiscoveredCloudAppDeviceable when successful +func (m *EndpointDiscoveredCloudAppDetail) GetDevices()([]DiscoveredCloudAppDeviceable) { + val, err := m.GetBackingStore().Get("devices") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DiscoveredCloudAppDeviceable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EndpointDiscoveredCloudAppDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DiscoveredCloudAppDetail.GetFieldDeserializers() + res["deviceCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetDeviceCount(val) + } + return nil + } + res["devices"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDiscoveredCloudAppDeviceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DiscoveredCloudAppDeviceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DiscoveredCloudAppDeviceable) + } + } + m.SetDevices(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *EndpointDiscoveredCloudAppDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DiscoveredCloudAppDetail.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt64Value("deviceCount", m.GetDeviceCount()) + if err != nil { + return err + } + } + if m.GetDevices() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDevices())) + for i, v := range m.GetDevices() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("devices", cast) + if err != nil { + return err + } + } + return nil +} +// SetDeviceCount sets the deviceCount property value. The number of devices that accessed the discovered app. +func (m *EndpointDiscoveredCloudAppDetail) SetDeviceCount(value *int64)() { + err := m.GetBackingStore().Set("deviceCount", value) + if err != nil { + panic(err) + } +} +// SetDevices sets the devices property value. Represents the devices that access the discovered apps. +func (m *EndpointDiscoveredCloudAppDetail) SetDevices(value []DiscoveredCloudAppDeviceable)() { + err := m.GetBackingStore().Set("devices", value) + if err != nil { + panic(err) + } +} +type EndpointDiscoveredCloudAppDetailable interface { + DiscoveredCloudAppDetailable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDeviceCount()(*int64) + GetDevices()([]DiscoveredCloudAppDeviceable) + SetDeviceCount(value *int64)() + SetDevices(value []DiscoveredCloudAppDeviceable)() +} diff --git a/models/security/entity_type.go b/models/security/entity_type.go new file mode 100644 index 00000000000..1852e860a36 --- /dev/null +++ b/models/security/entity_type.go @@ -0,0 +1,45 @@ +package security +type EntityType int + +const ( + USERNAME_ENTITYTYPE EntityType = iota + IPADDRESS_ENTITYTYPE + MACHINENAME_ENTITYTYPE + OTHER_ENTITYTYPE + UNKNOWN_ENTITYTYPE + UNKNOWNFUTUREVALUE_ENTITYTYPE +) + +func (i EntityType) String() string { + return []string{"userName", "ipAddress", "machineName", "other", "unknown", "unknownFutureValue"}[i] +} +func ParseEntityType(v string) (any, error) { + result := USERNAME_ENTITYTYPE + switch v { + case "userName": + result = USERNAME_ENTITYTYPE + case "ipAddress": + result = IPADDRESS_ENTITYTYPE + case "machineName": + result = MACHINENAME_ENTITYTYPE + case "other": + result = OTHER_ENTITYTYPE + case "unknown": + result = UNKNOWN_ENTITYTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ENTITYTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeEntityType(values []EntityType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i EntityType) isMultiValue() bool { + return false +} diff --git a/models/security/log_data_provider.go b/models/security/log_data_provider.go new file mode 100644 index 00000000000..c21ee12c1b4 --- /dev/null +++ b/models/security/log_data_provider.go @@ -0,0 +1,198 @@ +package security +type LogDataProvider int + +const ( + BARRACUDA_LOGDATAPROVIDER LogDataProvider = iota + BLUECOAT_LOGDATAPROVIDER + CHECKPOINT_LOGDATAPROVIDER + CISCOASA_LOGDATAPROVIDER + CISCOIRONPORTPROXY_LOGDATAPROVIDER + FORTIGATE_LOGDATAPROVIDER + PALOALTO_LOGDATAPROVIDER + SQUID_LOGDATAPROVIDER + ZSCALER_LOGDATAPROVIDER + MCAFEESWG_LOGDATAPROVIDER + CISCOSCANSAFE_LOGDATAPROVIDER + JUNIPERSRX_LOGDATAPROVIDER + SOPHOSSG_LOGDATAPROVIDER + WEBSENSEV75_LOGDATAPROVIDER + WEBSENSESIEMCEF_LOGDATAPROVIDER + MACHINEZONEMERAKI_LOGDATAPROVIDER + SQUIDNATIVE_LOGDATAPROVIDER + CISCOFWSM_LOGDATAPROVIDER + MICROSOFTISAW3C_LOGDATAPROVIDER + SONICWALL_LOGDATAPROVIDER + SOPHOSCYBEROAM_LOGDATAPROVIDER + CLAVISTER_LOGDATAPROVIDER + CUSTOMPARSER_LOGDATAPROVIDER + JUNIPERSSG_LOGDATAPROVIDER + ZSCALERQRADAR_LOGDATAPROVIDER + JUNIPERSRXSD_LOGDATAPROVIDER + JUNIPERSRXWELF_LOGDATAPROVIDER + MICROSOFTCONDITIONALAPPACCESS_LOGDATAPROVIDER + CISCOASAFIREPOWER_LOGDATAPROVIDER + GENERICCEF_LOGDATAPROVIDER + GENERICLEEF_LOGDATAPROVIDER + GENERICW3C_LOGDATAPROVIDER + IFILTER_LOGDATAPROVIDER + CHECKPOINTXML_LOGDATAPROVIDER + CHECKPOINTSMARTVIEWTRACKER_LOGDATAPROVIDER + BARRACUDANEXTGENFW_LOGDATAPROVIDER + BARRACUDANEXTGENFWWEBLOG_LOGDATAPROVIDER + MICROSOFTDEFENDERFORENDPOINT_LOGDATAPROVIDER + ZSCALERCEF_LOGDATAPROVIDER + SOPHOSXG_LOGDATAPROVIDER + IBOSS_LOGDATAPROVIDER + FORCEPOINT_LOGDATAPROVIDER + FORTIOS_LOGDATAPROVIDER + CISCOIRONPORTWSAII_LOGDATAPROVIDER + PALOALTOLEEF_LOGDATAPROVIDER + FORCEPOINTLEEF_LOGDATAPROVIDER + STORMSHIELD_LOGDATAPROVIDER + CONTENTKEEPER_LOGDATAPROVIDER + CISCOIRONPORTWSAIII_LOGDATAPROVIDER + CHECKPOINTCEF_LOGDATAPROVIDER + CORRATA_LOGDATAPROVIDER + CISCOFIREPOWERV6_LOGDATAPROVIDER + MENLOSECURITYCEF_LOGDATAPROVIDER + WATCHGUARDXTM_LOGDATAPROVIDER + OPENSYSTEMSSECUREWEBGATEWAY_LOGDATAPROVIDER + WANDERA_LOGDATAPROVIDER + UNKNOWNFUTUREVALUE_LOGDATAPROVIDER +) + +func (i LogDataProvider) String() string { + return []string{"barracuda", "bluecoat", "checkpoint", "ciscoAsa", "ciscoIronportProxy", "fortigate", "paloAlto", "squid", "zscaler", "mcafeeSwg", "ciscoScanSafe", "juniperSrx", "sophosSg", "websenseV75", "websenseSiemCef", "machineZoneMeraki", "squidNative", "ciscoFwsm", "microsoftIsaW3C", "sonicwall", "sophosCyberoam", "clavister", "customParser", "juniperSsg", "zscalerQradar", "juniperSrxSd", "juniperSrxWelf", "microsoftConditionalAppAccess", "ciscoAsaFirepower", "genericCef", "genericLeef", "genericW3C", "iFilter", "checkpointXml", "checkpointSmartViewTracker", "barracudaNextGenFw", "barracudaNextGenFwWeblog", "microsoftDefenderForEndpoint", "zscalerCef", "sophosXg", "iboss", "forcepoint", "fortios", "ciscoIronportWsaIi", "paloAltoLeef", "forcepointLeef", "stormshield", "contentkeeper", "ciscoIronportWsaIii", "checkpointCef", "corrata", "ciscoFirepowerV6", "menloSecurityCef", "watchguardXtm", "openSystemsSecureWebGateway", "wandera", "unknownFutureValue"}[i] +} +func ParseLogDataProvider(v string) (any, error) { + result := BARRACUDA_LOGDATAPROVIDER + switch v { + case "barracuda": + result = BARRACUDA_LOGDATAPROVIDER + case "bluecoat": + result = BLUECOAT_LOGDATAPROVIDER + case "checkpoint": + result = CHECKPOINT_LOGDATAPROVIDER + case "ciscoAsa": + result = CISCOASA_LOGDATAPROVIDER + case "ciscoIronportProxy": + result = CISCOIRONPORTPROXY_LOGDATAPROVIDER + case "fortigate": + result = FORTIGATE_LOGDATAPROVIDER + case "paloAlto": + result = PALOALTO_LOGDATAPROVIDER + case "squid": + result = SQUID_LOGDATAPROVIDER + case "zscaler": + result = ZSCALER_LOGDATAPROVIDER + case "mcafeeSwg": + result = MCAFEESWG_LOGDATAPROVIDER + case "ciscoScanSafe": + result = CISCOSCANSAFE_LOGDATAPROVIDER + case "juniperSrx": + result = JUNIPERSRX_LOGDATAPROVIDER + case "sophosSg": + result = SOPHOSSG_LOGDATAPROVIDER + case "websenseV75": + result = WEBSENSEV75_LOGDATAPROVIDER + case "websenseSiemCef": + result = WEBSENSESIEMCEF_LOGDATAPROVIDER + case "machineZoneMeraki": + result = MACHINEZONEMERAKI_LOGDATAPROVIDER + case "squidNative": + result = SQUIDNATIVE_LOGDATAPROVIDER + case "ciscoFwsm": + result = CISCOFWSM_LOGDATAPROVIDER + case "microsoftIsaW3C": + result = MICROSOFTISAW3C_LOGDATAPROVIDER + case "sonicwall": + result = SONICWALL_LOGDATAPROVIDER + case "sophosCyberoam": + result = SOPHOSCYBEROAM_LOGDATAPROVIDER + case "clavister": + result = CLAVISTER_LOGDATAPROVIDER + case "customParser": + result = CUSTOMPARSER_LOGDATAPROVIDER + case "juniperSsg": + result = JUNIPERSSG_LOGDATAPROVIDER + case "zscalerQradar": + result = ZSCALERQRADAR_LOGDATAPROVIDER + case "juniperSrxSd": + result = JUNIPERSRXSD_LOGDATAPROVIDER + case "juniperSrxWelf": + result = JUNIPERSRXWELF_LOGDATAPROVIDER + case "microsoftConditionalAppAccess": + result = MICROSOFTCONDITIONALAPPACCESS_LOGDATAPROVIDER + case "ciscoAsaFirepower": + result = CISCOASAFIREPOWER_LOGDATAPROVIDER + case "genericCef": + result = GENERICCEF_LOGDATAPROVIDER + case "genericLeef": + result = GENERICLEEF_LOGDATAPROVIDER + case "genericW3C": + result = GENERICW3C_LOGDATAPROVIDER + case "iFilter": + result = IFILTER_LOGDATAPROVIDER + case "checkpointXml": + result = CHECKPOINTXML_LOGDATAPROVIDER + case "checkpointSmartViewTracker": + result = CHECKPOINTSMARTVIEWTRACKER_LOGDATAPROVIDER + case "barracudaNextGenFw": + result = BARRACUDANEXTGENFW_LOGDATAPROVIDER + case "barracudaNextGenFwWeblog": + result = BARRACUDANEXTGENFWWEBLOG_LOGDATAPROVIDER + case "microsoftDefenderForEndpoint": + result = MICROSOFTDEFENDERFORENDPOINT_LOGDATAPROVIDER + case "zscalerCef": + result = ZSCALERCEF_LOGDATAPROVIDER + case "sophosXg": + result = SOPHOSXG_LOGDATAPROVIDER + case "iboss": + result = IBOSS_LOGDATAPROVIDER + case "forcepoint": + result = FORCEPOINT_LOGDATAPROVIDER + case "fortios": + result = FORTIOS_LOGDATAPROVIDER + case "ciscoIronportWsaIi": + result = CISCOIRONPORTWSAII_LOGDATAPROVIDER + case "paloAltoLeef": + result = PALOALTOLEEF_LOGDATAPROVIDER + case "forcepointLeef": + result = FORCEPOINTLEEF_LOGDATAPROVIDER + case "stormshield": + result = STORMSHIELD_LOGDATAPROVIDER + case "contentkeeper": + result = CONTENTKEEPER_LOGDATAPROVIDER + case "ciscoIronportWsaIii": + result = CISCOIRONPORTWSAIII_LOGDATAPROVIDER + case "checkpointCef": + result = CHECKPOINTCEF_LOGDATAPROVIDER + case "corrata": + result = CORRATA_LOGDATAPROVIDER + case "ciscoFirepowerV6": + result = CISCOFIREPOWERV6_LOGDATAPROVIDER + case "menloSecurityCef": + result = MENLOSECURITYCEF_LOGDATAPROVIDER + case "watchguardXtm": + result = WATCHGUARDXTM_LOGDATAPROVIDER + case "openSystemsSecureWebGateway": + result = OPENSYSTEMSSECUREWEBGATEWAY_LOGDATAPROVIDER + case "wandera": + result = WANDERA_LOGDATAPROVIDER + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_LOGDATAPROVIDER + default: + return nil, nil + } + return &result, nil +} +func SerializeLogDataProvider(values []LogDataProvider) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i LogDataProvider) isMultiValue() bool { + return false +} diff --git a/models/security/receiver_protocol.go b/models/security/receiver_protocol.go new file mode 100644 index 00000000000..91e6ba561f0 --- /dev/null +++ b/models/security/receiver_protocol.go @@ -0,0 +1,45 @@ +package security +type ReceiverProtocol int + +const ( + FTP_RECEIVERPROTOCOL ReceiverProtocol = iota + FTPS_RECEIVERPROTOCOL + SYSLOGUDP_RECEIVERPROTOCOL + SYSLOGTCP_RECEIVERPROTOCOL + SYSLOGTLS_RECEIVERPROTOCOL + UNKNOWNFUTUREVALUE_RECEIVERPROTOCOL +) + +func (i ReceiverProtocol) String() string { + return []string{"ftp", "ftps", "syslogUdp", "syslogTcp", "syslogTls", "unknownFutureValue"}[i] +} +func ParseReceiverProtocol(v string) (any, error) { + result := FTP_RECEIVERPROTOCOL + switch v { + case "ftp": + result = FTP_RECEIVERPROTOCOL + case "ftps": + result = FTPS_RECEIVERPROTOCOL + case "syslogUdp": + result = SYSLOGUDP_RECEIVERPROTOCOL + case "syslogTcp": + result = SYSLOGTCP_RECEIVERPROTOCOL + case "syslogTls": + result = SYSLOGTLS_RECEIVERPROTOCOL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_RECEIVERPROTOCOL + default: + return nil, nil + } + return &result, nil +} +func SerializeReceiverProtocol(values []ReceiverProtocol) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ReceiverProtocol) isMultiValue() bool { + return false +} diff --git a/models/security/traffic_type.go b/models/security/traffic_type.go new file mode 100644 index 00000000000..d71543bb842 --- /dev/null +++ b/models/security/traffic_type.go @@ -0,0 +1,39 @@ +package security +type TrafficType int + +const ( + DOWNLOADEDBYTES_TRAFFICTYPE TrafficType = iota + UPLOADEDBYTES_TRAFFICTYPE + UNKNOWN_TRAFFICTYPE + UNKNOWNFUTUREVALUE_TRAFFICTYPE +) + +func (i TrafficType) String() string { + return []string{"downloadedBytes", "uploadedBytes", "unknown", "unknownFutureValue"}[i] +} +func ParseTrafficType(v string) (any, error) { + result := DOWNLOADEDBYTES_TRAFFICTYPE + switch v { + case "downloadedBytes": + result = DOWNLOADEDBYTES_TRAFFICTYPE + case "uploadedBytes": + result = UPLOADEDBYTES_TRAFFICTYPE + case "unknown": + result = UNKNOWN_TRAFFICTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_TRAFFICTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeTrafficType(values []TrafficType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i TrafficType) isMultiValue() bool { + return false +} diff --git a/models/service_hosted_media_config.go b/models/service_hosted_media_config.go index aa7c776ff77..1f71f63a180 100644 --- a/models/service_hosted_media_config.go +++ b/models/service_hosted_media_config.go @@ -25,6 +25,16 @@ func CreateServiceHostedMediaConfigFromDiscriminatorValue(parseNode i878a80d2330 // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *ServiceHostedMediaConfig) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.MediaConfig.GetFieldDeserializers() + res["liveCaptionOptions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateLiveCaptionOptionsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetLiveCaptionOptions(val.(LiveCaptionOptionsable)) + } + return nil + } res["preFetchMedia"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateMediaInfoFromDiscriminatorValue) if err != nil { @@ -43,6 +53,18 @@ func (m *ServiceHostedMediaConfig) GetFieldDeserializers()(map[string]func(i878a } return res } +// GetLiveCaptionOptions gets the liveCaptionOptions property value. The liveCaptionOptions property +// returns a LiveCaptionOptionsable when successful +func (m *ServiceHostedMediaConfig) GetLiveCaptionOptions()(LiveCaptionOptionsable) { + val, err := m.GetBackingStore().Get("liveCaptionOptions") + if err != nil { + panic(err) + } + if val != nil { + return val.(LiveCaptionOptionsable) + } + return nil +} // GetPreFetchMedia gets the preFetchMedia property value. The list of media to prefetch. // returns a []MediaInfoable when successful func (m *ServiceHostedMediaConfig) GetPreFetchMedia()([]MediaInfoable) { @@ -61,6 +83,12 @@ func (m *ServiceHostedMediaConfig) Serialize(writer i878a80d2330e89d26896388a3f4 if err != nil { return err } + { + err = writer.WriteObjectValue("liveCaptionOptions", m.GetLiveCaptionOptions()) + if err != nil { + return err + } + } if m.GetPreFetchMedia() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPreFetchMedia())) for i, v := range m.GetPreFetchMedia() { @@ -75,6 +103,13 @@ func (m *ServiceHostedMediaConfig) Serialize(writer i878a80d2330e89d26896388a3f4 } return nil } +// SetLiveCaptionOptions sets the liveCaptionOptions property value. The liveCaptionOptions property +func (m *ServiceHostedMediaConfig) SetLiveCaptionOptions(value LiveCaptionOptionsable)() { + err := m.GetBackingStore().Set("liveCaptionOptions", value) + if err != nil { + panic(err) + } +} // SetPreFetchMedia sets the preFetchMedia property value. The list of media to prefetch. func (m *ServiceHostedMediaConfig) SetPreFetchMedia(value []MediaInfoable)() { err := m.GetBackingStore().Set("preFetchMedia", value) @@ -85,6 +120,8 @@ func (m *ServiceHostedMediaConfig) SetPreFetchMedia(value []MediaInfoable)() { type ServiceHostedMediaConfigable interface { MediaConfigable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetLiveCaptionOptions()(LiveCaptionOptionsable) GetPreFetchMedia()([]MediaInfoable) + SetLiveCaptionOptions(value LiveCaptionOptionsable)() SetPreFetchMedia(value []MediaInfoable)() } diff --git a/models/share_point_restore_session.go b/models/share_point_restore_session.go index f6c7a6a8617..dd8f4e7475f 100644 --- a/models/share_point_restore_session.go +++ b/models/share_point_restore_session.go @@ -71,7 +71,7 @@ func (m *SharePointRestoreSession) GetSiteRestoreArtifacts()([]SiteRestoreArtifa } return nil } -// GetSiteRestoreArtifactsBulkAdditionRequests gets the siteRestoreArtifactsBulkAdditionRequests property value. The siteRestoreArtifactsBulkAdditionRequests property +// GetSiteRestoreArtifactsBulkAdditionRequests gets the siteRestoreArtifactsBulkAdditionRequests property value. A collection of SharePoint site URLs and destination details that can be used to restore SharePoint sites. // returns a []SiteRestoreArtifactsBulkAdditionRequestable when successful func (m *SharePointRestoreSession) GetSiteRestoreArtifactsBulkAdditionRequests()([]SiteRestoreArtifactsBulkAdditionRequestable) { val, err := m.GetBackingStore().Get("siteRestoreArtifactsBulkAdditionRequests") @@ -122,7 +122,7 @@ func (m *SharePointRestoreSession) SetSiteRestoreArtifacts(value []SiteRestoreAr panic(err) } } -// SetSiteRestoreArtifactsBulkAdditionRequests sets the siteRestoreArtifactsBulkAdditionRequests property value. The siteRestoreArtifactsBulkAdditionRequests property +// SetSiteRestoreArtifactsBulkAdditionRequests sets the siteRestoreArtifactsBulkAdditionRequests property value. A collection of SharePoint site URLs and destination details that can be used to restore SharePoint sites. func (m *SharePointRestoreSession) SetSiteRestoreArtifactsBulkAdditionRequests(value []SiteRestoreArtifactsBulkAdditionRequestable)() { err := m.GetBackingStore().Set("siteRestoreArtifactsBulkAdditionRequests", value) if err != nil { diff --git a/models/site_restore_artifacts_bulk_addition_request.go b/models/site_restore_artifacts_bulk_addition_request.go index c97b1fdc8cb..4e163e1ae9a 100644 --- a/models/site_restore_artifacts_bulk_addition_request.go +++ b/models/site_restore_artifacts_bulk_addition_request.go @@ -57,7 +57,7 @@ func (m *SiteRestoreArtifactsBulkAdditionRequest) GetFieldDeserializers()(map[st } return res } -// GetSiteIds gets the siteIds property value. The siteIds property +// GetSiteIds gets the siteIds property value. The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. // returns a []string when successful func (m *SiteRestoreArtifactsBulkAdditionRequest) GetSiteIds()([]string) { val, err := m.GetBackingStore().Get("siteIds") @@ -69,7 +69,7 @@ func (m *SiteRestoreArtifactsBulkAdditionRequest) GetSiteIds()([]string) { } return nil } -// GetSiteWebUrls gets the siteWebUrls property value. The siteWebUrls property +// GetSiteWebUrls gets the siteWebUrls property value. The list of SharePoint site URLs that are added to the corresponding SharePoint restore session in a bulk operation. // returns a []string when successful func (m *SiteRestoreArtifactsBulkAdditionRequest) GetSiteWebUrls()([]string) { val, err := m.GetBackingStore().Get("siteWebUrls") @@ -101,14 +101,14 @@ func (m *SiteRestoreArtifactsBulkAdditionRequest) Serialize(writer i878a80d2330e } return nil } -// SetSiteIds sets the siteIds property value. The siteIds property +// SetSiteIds sets the siteIds property value. The list of SharePoint site IDs that are added to the corresponding SharePoint restore session in a bulk operation. This property isn't implemented yet. Future value; don't use. func (m *SiteRestoreArtifactsBulkAdditionRequest) SetSiteIds(value []string)() { err := m.GetBackingStore().Set("siteIds", value) if err != nil { panic(err) } } -// SetSiteWebUrls sets the siteWebUrls property value. The siteWebUrls property +// SetSiteWebUrls sets the siteWebUrls property value. The list of SharePoint site URLs that are added to the corresponding SharePoint restore session in a bulk operation. func (m *SiteRestoreArtifactsBulkAdditionRequest) SetSiteWebUrls(value []string)() { err := m.GetBackingStore().Set("siteWebUrls", value) if err != nil { diff --git a/models/template.go b/models/template.go new file mode 100644 index 00000000000..014a1142918 --- /dev/null +++ b/models/template.go @@ -0,0 +1,88 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Template struct { + Entity +} +// NewTemplate instantiates a new Template and sets the default values. +func NewTemplate()(*Template) { + m := &Template{ + Entity: *NewEntity(), + } + return m +} +// CreateTemplateFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTemplateFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTemplate(), nil +} +// GetDeviceTemplates gets the deviceTemplates property value. The deviceTemplates property +// returns a []DeviceTemplateable when successful +func (m *Template) GetDeviceTemplates()([]DeviceTemplateable) { + val, err := m.GetBackingStore().Get("deviceTemplates") + if err != nil { + panic(err) + } + if val != nil { + return val.([]DeviceTemplateable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Template) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["deviceTemplates"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDeviceTemplateFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]DeviceTemplateable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(DeviceTemplateable) + } + } + m.SetDeviceTemplates(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *Template) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetDeviceTemplates() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetDeviceTemplates())) + for i, v := range m.GetDeviceTemplates() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("deviceTemplates", cast) + if err != nil { + return err + } + } + return nil +} +// SetDeviceTemplates sets the deviceTemplates property value. The deviceTemplates property +func (m *Template) SetDeviceTemplates(value []DeviceTemplateable)() { + err := m.GetBackingStore().Set("deviceTemplates", value) + if err != nil { + panic(err) + } +} +type Templateable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDeviceTemplates()([]DeviceTemplateable) + SetDeviceTemplates(value []DeviceTemplateable)() +} diff --git a/models/tls_client_registration_metadata.go b/models/tls_client_registration_metadata.go new file mode 100644 index 00000000000..47149145355 --- /dev/null +++ b/models/tls_client_registration_metadata.go @@ -0,0 +1,45 @@ +package models +type TlsClientRegistrationMetadata int + +const ( + TLS_CLIENT_AUTH_SUBJECT_DN_TLSCLIENTREGISTRATIONMETADATA TlsClientRegistrationMetadata = iota + TLS_CLIENT_AUTH_SAN_DNS_TLSCLIENTREGISTRATIONMETADATA + TLS_CLIENT_AUTH_SAN_URI_TLSCLIENTREGISTRATIONMETADATA + TLS_CLIENT_AUTH_SAN_IP_TLSCLIENTREGISTRATIONMETADATA + TLS_CLIENT_AUTH_SAN_EMAIL_TLSCLIENTREGISTRATIONMETADATA + UNKNOWNFUTUREVALUE_TLSCLIENTREGISTRATIONMETADATA +) + +func (i TlsClientRegistrationMetadata) String() string { + return []string{"tls_client_auth_subject_dn", "tls_client_auth_san_dns", "tls_client_auth_san_uri", "tls_client_auth_san_ip", "tls_client_auth_san_email", "unknownFutureValue"}[i] +} +func ParseTlsClientRegistrationMetadata(v string) (any, error) { + result := TLS_CLIENT_AUTH_SUBJECT_DN_TLSCLIENTREGISTRATIONMETADATA + switch v { + case "tls_client_auth_subject_dn": + result = TLS_CLIENT_AUTH_SUBJECT_DN_TLSCLIENTREGISTRATIONMETADATA + case "tls_client_auth_san_dns": + result = TLS_CLIENT_AUTH_SAN_DNS_TLSCLIENTREGISTRATIONMETADATA + case "tls_client_auth_san_uri": + result = TLS_CLIENT_AUTH_SAN_URI_TLSCLIENTREGISTRATIONMETADATA + case "tls_client_auth_san_ip": + result = TLS_CLIENT_AUTH_SAN_IP_TLSCLIENTREGISTRATIONMETADATA + case "tls_client_auth_san_email": + result = TLS_CLIENT_AUTH_SAN_EMAIL_TLSCLIENTREGISTRATIONMETADATA + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_TLSCLIENTREGISTRATIONMETADATA + default: + return nil, nil + } + return &result, nil +} +func SerializeTlsClientRegistrationMetadata(values []TlsClientRegistrationMetadata) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i TlsClientRegistrationMetadata) isMultiValue() bool { + return false +} diff --git a/models/trusted_certificate_authority_base.go b/models/trusted_certificate_authority_base.go new file mode 100644 index 00000000000..1e84313d5dd --- /dev/null +++ b/models/trusted_certificate_authority_base.go @@ -0,0 +1,108 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TrustedCertificateAuthorityBase struct { + DirectoryObject +} +// NewTrustedCertificateAuthorityBase instantiates a new TrustedCertificateAuthorityBase and sets the default values. +func NewTrustedCertificateAuthorityBase()(*TrustedCertificateAuthorityBase) { + m := &TrustedCertificateAuthorityBase{ + DirectoryObject: *NewDirectoryObject(), + } + odataTypeValue := "#microsoft.graph.trustedCertificateAuthorityBase" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateTrustedCertificateAuthorityBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTrustedCertificateAuthorityBaseFromDiscriminatorValue(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.mutualTlsOauthConfiguration": + return NewMutualTlsOauthConfiguration(), nil + } + } + } + } + return NewTrustedCertificateAuthorityBase(), nil +} +// GetCertificateAuthorities gets the certificateAuthorities property value. The certificateAuthorities property +// returns a []CertificateAuthorityable when successful +func (m *TrustedCertificateAuthorityBase) GetCertificateAuthorities()([]CertificateAuthorityable) { + val, err := m.GetBackingStore().Get("certificateAuthorities") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CertificateAuthorityable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TrustedCertificateAuthorityBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.DirectoryObject.GetFieldDeserializers() + res["certificateAuthorities"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCertificateAuthorityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CertificateAuthorityable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CertificateAuthorityable) + } + } + m.SetCertificateAuthorities(res) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *TrustedCertificateAuthorityBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.DirectoryObject.Serialize(writer) + if err != nil { + return err + } + if m.GetCertificateAuthorities() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetCertificateAuthorities())) + for i, v := range m.GetCertificateAuthorities() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("certificateAuthorities", cast) + if err != nil { + return err + } + } + return nil +} +// SetCertificateAuthorities sets the certificateAuthorities property value. The certificateAuthorities property +func (m *TrustedCertificateAuthorityBase) SetCertificateAuthorities(value []CertificateAuthorityable)() { + err := m.GetBackingStore().Set("certificateAuthorities", value) + if err != nil { + panic(err) + } +} +type TrustedCertificateAuthorityBaseable interface { + DirectoryObjectable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCertificateAuthorities()([]CertificateAuthorityable) + SetCertificateAuthorities(value []CertificateAuthorityable)() +} diff --git a/models/update_all_messages_read_state_operation.go b/models/update_all_messages_read_state_operation.go new file mode 100644 index 00000000000..d95cc5c4c93 --- /dev/null +++ b/models/update_all_messages_read_state_operation.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UpdateAllMessagesReadStateOperation struct { + MailFolderOperation +} +// NewUpdateAllMessagesReadStateOperation instantiates a new UpdateAllMessagesReadStateOperation and sets the default values. +func NewUpdateAllMessagesReadStateOperation()(*UpdateAllMessagesReadStateOperation) { + m := &UpdateAllMessagesReadStateOperation{ + MailFolderOperation: *NewMailFolderOperation(), + } + return m +} +// CreateUpdateAllMessagesReadStateOperationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUpdateAllMessagesReadStateOperationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUpdateAllMessagesReadStateOperation(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UpdateAllMessagesReadStateOperation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.MailFolderOperation.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *UpdateAllMessagesReadStateOperation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.MailFolderOperation.Serialize(writer) + if err != nil { + return err + } + return nil +} +type UpdateAllMessagesReadStateOperationable interface { + MailFolderOperationable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/virtual_event.go b/models/virtual_event.go index 4da8aceb208..66702fb490b 100644 --- a/models/virtual_event.go +++ b/models/virtual_event.go @@ -87,6 +87,18 @@ func (m *VirtualEvent) GetEndDateTime()(DateTimeTimeZoneable) { } return nil } +// GetExternalEventInformation gets the externalEventInformation property value. The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. +// returns a []VirtualEventExternalInformationable when successful +func (m *VirtualEvent) GetExternalEventInformation()([]VirtualEventExternalInformationable) { + val, err := m.GetBackingStore().Get("externalEventInformation") + if err != nil { + panic(err) + } + if val != nil { + return val.([]VirtualEventExternalInformationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *VirtualEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -131,6 +143,22 @@ func (m *VirtualEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return nil } + res["externalEventInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateVirtualEventExternalInformationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]VirtualEventExternalInformationable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(VirtualEventExternalInformationable) + } + } + m.SetExternalEventInformation(res) + } + return nil + } res["presenters"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateVirtualEventPresenterFromDiscriminatorValue) if err != nil { @@ -285,6 +313,18 @@ func (m *VirtualEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e return err } } + if m.GetExternalEventInformation() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetExternalEventInformation())) + for i, v := range m.GetExternalEventInformation() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("externalEventInformation", cast) + if err != nil { + return err + } + } if m.GetPresenters() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPresenters())) for i, v := range m.GetPresenters() { @@ -358,6 +398,13 @@ func (m *VirtualEvent) SetEndDateTime(value DateTimeTimeZoneable)() { panic(err) } } +// SetExternalEventInformation sets the externalEventInformation property value. The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. +func (m *VirtualEvent) SetExternalEventInformation(value []VirtualEventExternalInformationable)() { + err := m.GetBackingStore().Set("externalEventInformation", value) + if err != nil { + panic(err) + } +} // SetPresenters sets the presenters property value. The virtual event presenters. func (m *VirtualEvent) SetPresenters(value []VirtualEventPresenterable)() { err := m.GetBackingStore().Set("presenters", value) @@ -400,6 +447,7 @@ type VirtualEventable interface { GetDescription()(ItemBodyable) GetDisplayName()(*string) GetEndDateTime()(DateTimeTimeZoneable) + GetExternalEventInformation()([]VirtualEventExternalInformationable) GetPresenters()([]VirtualEventPresenterable) GetSessions()([]VirtualEventSessionable) GetSettings()(VirtualEventSettingsable) @@ -409,6 +457,7 @@ type VirtualEventable interface { SetDescription(value ItemBodyable)() SetDisplayName(value *string)() SetEndDateTime(value DateTimeTimeZoneable)() + SetExternalEventInformation(value []VirtualEventExternalInformationable)() SetPresenters(value []VirtualEventPresenterable)() SetSessions(value []VirtualEventSessionable)() SetSettings(value VirtualEventSettingsable)() diff --git a/models/virtual_event_external_information.go b/models/virtual_event_external_information.go new file mode 100644 index 00000000000..f864240f699 --- /dev/null +++ b/models/virtual_event_external_information.go @@ -0,0 +1,187 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEventExternalInformation struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEventExternalInformation instantiates a new VirtualEventExternalInformation and sets the default values. +func NewVirtualEventExternalInformation()(*VirtualEventExternalInformation) { + m := &VirtualEventExternalInformation{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEventExternalInformationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventExternalInformationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventExternalInformation(), 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 *VirtualEventExternalInformation) 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) +} +// GetApplicationId gets the applicationId property value. Identifier of the application that hosts the externalEventId. Read-only. +// returns a *string when successful +func (m *VirtualEventExternalInformation) GetApplicationId()(*string) { + val, err := m.GetBackingStore().Get("applicationId") + 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 *VirtualEventExternalInformation) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExternalEventId gets the externalEventId property value. The identifier for a virtualEventExternalInformation object that associates the virtual event with an event ID in an external application. This association bundles all the information (both supported and not supported in virtualEvent) into one virtual event object. Optional. If set, the maximum supported length is 256 characters. +// returns a *string when successful +func (m *VirtualEventExternalInformation) GetExternalEventId()(*string) { + val, err := m.GetBackingStore().Get("externalEventId") + 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 *VirtualEventExternalInformation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["applicationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetApplicationId(val) + } + return nil + } + res["externalEventId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalEventId(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 *VirtualEventExternalInformation) 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 *VirtualEventExternalInformation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("applicationId", m.GetApplicationId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalEventId", m.GetExternalEventId()) + 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 *VirtualEventExternalInformation) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetApplicationId sets the applicationId property value. Identifier of the application that hosts the externalEventId. Read-only. +func (m *VirtualEventExternalInformation) SetApplicationId(value *string)() { + err := m.GetBackingStore().Set("applicationId", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *VirtualEventExternalInformation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExternalEventId sets the externalEventId property value. The identifier for a virtualEventExternalInformation object that associates the virtual event with an event ID in an external application. This association bundles all the information (both supported and not supported in virtualEvent) into one virtual event object. Optional. If set, the maximum supported length is 256 characters. +func (m *VirtualEventExternalInformation) SetExternalEventId(value *string)() { + err := m.GetBackingStore().Set("externalEventId", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *VirtualEventExternalInformation) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type VirtualEventExternalInformationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetApplicationId()(*string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExternalEventId()(*string) + GetOdataType()(*string) + SetApplicationId(value *string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExternalEventId(value *string)() + SetOdataType(value *string)() +} diff --git a/models/virtual_event_external_registration_information.go b/models/virtual_event_external_registration_information.go new file mode 100644 index 00000000000..a3b4ceba924 --- /dev/null +++ b/models/virtual_event_external_registration_information.go @@ -0,0 +1,187 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEventExternalRegistrationInformation struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEventExternalRegistrationInformation instantiates a new VirtualEventExternalRegistrationInformation and sets the default values. +func NewVirtualEventExternalRegistrationInformation()(*VirtualEventExternalRegistrationInformation) { + m := &VirtualEventExternalRegistrationInformation{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEventExternalRegistrationInformationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventExternalRegistrationInformationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventExternalRegistrationInformation(), 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 *VirtualEventExternalRegistrationInformation) 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 *VirtualEventExternalRegistrationInformation) 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 *VirtualEventExternalRegistrationInformation) 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["referrer"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReferrer(val) + } + return nil + } + res["registrationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRegistrationId(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *VirtualEventExternalRegistrationInformation) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReferrer gets the referrer property value. A URL or string that represents the location from which the registrant registered. Optional. +// returns a *string when successful +func (m *VirtualEventExternalRegistrationInformation) GetReferrer()(*string) { + val, err := m.GetBackingStore().Get("referrer") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRegistrationId gets the registrationId property value. The identifier for a virtualEventExternalRegistrationInformation object. Optional. If set, the maximum supported length is 256 characters. +// returns a *string when successful +func (m *VirtualEventExternalRegistrationInformation) GetRegistrationId()(*string) { + val, err := m.GetBackingStore().Get("registrationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEventExternalRegistrationInformation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("referrer", m.GetReferrer()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("registrationId", m.GetRegistrationId()) + 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 *VirtualEventExternalRegistrationInformation) 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 *VirtualEventExternalRegistrationInformation) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *VirtualEventExternalRegistrationInformation) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetReferrer sets the referrer property value. A URL or string that represents the location from which the registrant registered. Optional. +func (m *VirtualEventExternalRegistrationInformation) SetReferrer(value *string)() { + err := m.GetBackingStore().Set("referrer", value) + if err != nil { + panic(err) + } +} +// SetRegistrationId sets the registrationId property value. The identifier for a virtualEventExternalRegistrationInformation object. Optional. If set, the maximum supported length is 256 characters. +func (m *VirtualEventExternalRegistrationInformation) SetRegistrationId(value *string)() { + err := m.GetBackingStore().Set("registrationId", value) + if err != nil { + panic(err) + } +} +type VirtualEventExternalRegistrationInformationable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetReferrer()(*string) + GetRegistrationId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetReferrer(value *string)() + SetRegistrationId(value *string)() +} diff --git a/models/virtual_event_registration.go b/models/virtual_event_registration.go index cd6d350249f..33045f3dab2 100644 --- a/models/virtual_event_registration.go +++ b/models/virtual_event_registration.go @@ -44,6 +44,18 @@ func (m *VirtualEventRegistration) GetEmail()(*string) { } return nil } +// GetExternalRegistrationInformation gets the externalRegistrationInformation property value. The external information for a virtual event registration. +// returns a VirtualEventExternalRegistrationInformationable when successful +func (m *VirtualEventRegistration) GetExternalRegistrationInformation()(VirtualEventExternalRegistrationInformationable) { + val, err := m.GetBackingStore().Get("externalRegistrationInformation") + if err != nil { + panic(err) + } + if val != nil { + return val.(VirtualEventExternalRegistrationInformationable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *VirtualEventRegistration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { @@ -68,6 +80,16 @@ func (m *VirtualEventRegistration) GetFieldDeserializers()(map[string]func(i878a } return nil } + res["externalRegistrationInformation"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateVirtualEventExternalRegistrationInformationFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetExternalRegistrationInformation(val.(VirtualEventExternalRegistrationInformationable)) + } + return nil + } res["firstName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -298,6 +320,12 @@ func (m *VirtualEventRegistration) Serialize(writer i878a80d2330e89d26896388a3f4 return err } } + { + err = writer.WriteObjectValue("externalRegistrationInformation", m.GetExternalRegistrationInformation()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("firstName", m.GetFirstName()) if err != nil { @@ -381,6 +409,13 @@ func (m *VirtualEventRegistration) SetEmail(value *string)() { panic(err) } } +// SetExternalRegistrationInformation sets the externalRegistrationInformation property value. The external information for a virtual event registration. +func (m *VirtualEventRegistration) SetExternalRegistrationInformation(value VirtualEventExternalRegistrationInformationable)() { + err := m.GetBackingStore().Set("externalRegistrationInformation", value) + if err != nil { + panic(err) + } +} // SetFirstName sets the firstName property value. First name of the registrant. func (m *VirtualEventRegistration) SetFirstName(value *string)() { err := m.GetBackingStore().Set("firstName", value) @@ -449,6 +484,7 @@ type VirtualEventRegistrationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCancelationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetEmail()(*string) + GetExternalRegistrationInformation()(VirtualEventExternalRegistrationInformationable) GetFirstName()(*string) GetLastName()(*string) GetPreferredLanguage()(*string) @@ -460,6 +496,7 @@ type VirtualEventRegistrationable interface { GetUserId()(*string) SetCancelationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetEmail(value *string)() + SetExternalRegistrationInformation(value VirtualEventExternalRegistrationInformationable)() SetFirstName(value *string)() SetLastName(value *string)() SetPreferredLanguage(value *string)() diff --git a/models/waf_allowed_headers_dictionary.go b/models/waf_allowed_headers_dictionary.go new file mode 100644 index 00000000000..12e92b3a83b --- /dev/null +++ b/models/waf_allowed_headers_dictionary.go @@ -0,0 +1,39 @@ +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WafAllowedHeadersDictionary struct { + Dictionary +} +// NewWafAllowedHeadersDictionary instantiates a new WafAllowedHeadersDictionary and sets the default values. +func NewWafAllowedHeadersDictionary()(*WafAllowedHeadersDictionary) { + m := &WafAllowedHeadersDictionary{ + Dictionary: *NewDictionary(), + } + return m +} +// CreateWafAllowedHeadersDictionaryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWafAllowedHeadersDictionaryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWafAllowedHeadersDictionary(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WafAllowedHeadersDictionary) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Dictionary.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *WafAllowedHeadersDictionary) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Dictionary.Serialize(writer) + if err != nil { + return err + } + return nil +} +type WafAllowedHeadersDictionaryable interface { + Dictionaryable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/windows_app_x_app_assignment_settings.go b/models/windows_app_x_app_assignment_settings.go index 1d7b26dfe27..9f8c4a96285 100644 --- a/models/windows_app_x_app_assignment_settings.go +++ b/models/windows_app_x_app_assignment_settings.go @@ -38,7 +38,7 @@ func (m *WindowsAppXAppAssignmentSettings) GetFieldDeserializers()(map[string]fu } return res } -// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. +// GetUseDeviceContext gets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. // returns a *bool when successful func (m *WindowsAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") @@ -64,7 +64,7 @@ func (m *WindowsAppXAppAssignmentSettings) Serialize(writer i878a80d2330e89d2689 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. +// SetUseDeviceContext sets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. func (m *WindowsAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/models/windows_domain_join_configuration.go b/models/windows_domain_join_configuration.go index 988d96356d8..e490c9ef3e1 100644 --- a/models/windows_domain_join_configuration.go +++ b/models/windows_domain_join_configuration.go @@ -120,7 +120,7 @@ func (m *WindowsDomainJoinConfiguration) GetFieldDeserializers()(map[string]func } return res } -// GetNetworkAccessConfigurations gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. +// GetNetworkAccessConfigurations gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity // returns a []DeviceConfigurationable when successful func (m *WindowsDomainJoinConfiguration) GetNetworkAccessConfigurations()([]DeviceConfigurationable) { val, err := m.GetBackingStore().Get("networkAccessConfigurations") @@ -209,7 +209,7 @@ func (m *WindowsDomainJoinConfiguration) SetComputerNameSuffixRandomCharCount(va panic(err) } } -// SetNetworkAccessConfigurations sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. +// SetNetworkAccessConfigurations sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity func (m *WindowsDomainJoinConfiguration) SetNetworkAccessConfigurations(value []DeviceConfigurationable)() { err := m.GetBackingStore().Set("networkAccessConfigurations", value) if err != nil { diff --git a/models/windows_universal_app_x_app_assignment_settings.go b/models/windows_universal_app_x_app_assignment_settings.go index 98044527a48..fc347495bb4 100644 --- a/models/windows_universal_app_x_app_assignment_settings.go +++ b/models/windows_universal_app_x_app_assignment_settings.go @@ -38,7 +38,7 @@ func (m *WindowsUniversalAppXAppAssignmentSettings) GetFieldDeserializers()(map[ } return res } -// GetUseDeviceContext gets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. +// GetUseDeviceContext gets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. // returns a *bool when successful func (m *WindowsUniversalAppXAppAssignmentSettings) GetUseDeviceContext()(*bool) { val, err := m.GetBackingStore().Get("useDeviceContext") @@ -64,7 +64,7 @@ func (m *WindowsUniversalAppXAppAssignmentSettings) Serialize(writer i878a80d233 } return nil } -// SetUseDeviceContext sets the useDeviceContext property value. If true, uses device execution context for Windows Universal AppX mobile app. Device-context install is not allowed when this type of app is targeted with Available intent. Defaults to false. +// SetUseDeviceContext sets the useDeviceContext property value. Whether or not to use device execution context for Windows Universal AppX mobile app. func (m *WindowsUniversalAppXAppAssignmentSettings) SetUseDeviceContext(value *bool)() { err := m.GetBackingStore().Set("useDeviceContext", value) if err != nil { diff --git a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go index e085d442f28..fe2b390568c 100644 --- a/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go +++ b/policies/cross_tenant_access_policy_partners_item_identity_synchronization_request_builder.go @@ -96,12 +96,12 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable), nil } -// Put update the user synchronization policy of a partner-specific configuration. +// Put create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a CrossTenantIdentitySyncPolicyPartnerable 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/crosstenantidentitysyncpolicypartner-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization?view=graph-rest-beta func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilde requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPutRequestInformation update the user synchronization policy of a partner-specific configuration. +// ToPutRequestInformation create a cross-tenant user synchronization policy for a partner-specific configuration. // returns a *RequestInformation when successful func (m *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CrossTenantIdentitySyncPolicyPartnerable, requestConfiguration *CrossTenantAccessPolicyPartnersItemIdentitySynchronizationRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/policies/federated_token_validation_policy_request_builder.go b/policies/federated_token_validation_policy_request_builder.go index e95a204f3fa..7444668997a 100644 --- a/policies/federated_token_validation_policy_request_builder.go +++ b/policies/federated_token_validation_policy_request_builder.go @@ -18,7 +18,7 @@ type FederatedTokenValidationPolicyRequestBuilderDeleteRequestConfiguration stru // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// FederatedTokenValidationPolicyRequestBuilderGetQueryParameters read the properties and relationships of a federatedTokenValidationPolicy object. +// FederatedTokenValidationPolicyRequestBuilderGetQueryParameters get a list of the federatedTokenValidationPolicy objects and their properties. type FederatedTokenValidationPolicyRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,12 +70,12 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) Delete(ctx context.Contex } return nil } -// Get read the properties and relationships of a federatedTokenValidationPolicy object. +// Get get a list of the federatedTokenValidationPolicy objects and their properties. // returns a FederatedTokenValidationPolicyable 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/federatedtokenvalidationpolicy-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/policyroot-list-federatedtokenvalidationpolicy?view=graph-rest-beta func (m *FederatedTokenValidationPolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FederatedTokenValidationPolicyable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -127,7 +127,7 @@ func (m *FederatedTokenValidationPolicyRequestBuilder) ToDeleteRequestInformatio requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation read the properties and relationships of a federatedTokenValidationPolicy object. +// ToGetRequestInformation get a list of the federatedTokenValidationPolicy objects and their properties. // returns a *RequestInformation when successful func (m *FederatedTokenValidationPolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FederatedTokenValidationPolicyRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/rolemanagement/device_management_role_assignments_request_builder.go b/rolemanagement/device_management_role_assignments_request_builder.go index 6cfcd69863c..eefb7750796 100644 --- a/rolemanagement/device_management_role_assignments_request_builder.go +++ b/rolemanagement/device_management_role_assignments_request_builder.go @@ -11,7 +11,7 @@ import ( type DeviceManagementRoleAssignmentsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeviceManagementRoleAssignmentsRequestBuilderGetQueryParameters get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// DeviceManagementRoleAssignmentsRequestBuilderGetQueryParameters get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. type DeviceManagementRoleAssignmentsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,12 +76,12 @@ func NewDeviceManagementRoleAssignmentsRequestBuilder(rawUrl string, requestAdap func (m *DeviceManagementRoleAssignmentsRequestBuilder) Count()(*DeviceManagementRoleAssignmentsCountRequestBuilder) { return NewDeviceManagementRoleAssignmentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// Get get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. // returns a UnifiedRoleAssignmentMultipleCollectionResponseable 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/unifiedroleassignmentmultiple-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/rbacapplicationmultiple-list-roleassignments?view=graph-rest-beta func (m *DeviceManagementRoleAssignmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -122,7 +122,7 @@ func (m *DeviceManagementRoleAssignmentsRequestBuilder) Post(ctx context.Context } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.UnifiedRoleAssignmentMultipleable), nil } -// ToGetRequestInformation get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. +// ToGetRequestInformation get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. // returns a *RequestInformation when successful func (m *DeviceManagementRoleAssignmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceManagementRoleAssignmentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/53a6f3d0c994ce74f28543a3a744def875f53f0ba598927f378769b9738f6200.go b/security/53a6f3d0c994ce74f28543a3a744def875f53f0ba598927f378769b9738f6200.go new file mode 100644 index 00000000000..b5301ba1d0b --- /dev/null +++ b/security/53a6f3d0c994ce74f28543a3a744def875f53f0ba598927f378769b9738f6200.go @@ -0,0 +1,117 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder provides operations to call the aggregatedAppsDetails method. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters invoke function aggregatedAppsDetails +type DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters 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"` +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetQueryParameters +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderInternal instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, period *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) { + m := &DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/{cloudAppDiscoveryReport%2Did}/microsoft.graph.security.aggregatedAppsDetails(period={period}){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if period != nil { + m.BaseRequestBuilder.PathParameters["period"] = (*period).String() + } + return m +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get invoke function aggregatedAppsDetails +// Deprecated: This method is obsolete. Use GetAsAggregatedAppsDetailsWithPeriodGetResponse instead. +// returns a DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) Get(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration)(DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseable, 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, CreateDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseable), nil +} +// GetAsAggregatedAppsDetailsWithPeriodGetResponse invoke function aggregatedAppsDetails +// returns a DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) GetAsAggregatedAppsDetailsWithPeriodGetResponse(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration)(DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable, 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, CreateDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable), nil +} +// ToGetRequestInformation invoke function aggregatedAppsDetails +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderGetRequestConfiguration)(*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 *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) WithUrl(rawUrl string)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/bf7c692051df9aa5ea7aa81e2e9e596258db6f5cb6a4f44a52c46bdb9d6465b7.go b/security/bf7c692051df9aa5ea7aa81e2e9e596258db6f5cb6a4f44a52c46bdb9d6465b7.go new file mode 100644 index 00000000000..a1b7720f73d --- /dev/null +++ b/security/bf7c692051df9aa5ea7aa81e2e9e596258db6f5cb6a4f44a52c46bdb9d6465b7.go @@ -0,0 +1,90 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" +) + +type DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse()(*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse) { + m := &DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CreateDiscoveredCloudAppDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []DiscoveredCloudAppDetailable when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse) GetValue()([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable) + } + return nil +} +// Serialize serializes information the current object +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse) 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 *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse) SetValue(value []i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable) + SetValue(value []i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DiscoveredCloudAppDetailable)() +} diff --git a/security/d55e76e7ac92ce3d5868a7842732bc74dcd48ce5b9cbbe46f7d7746e16eb0ea7.go b/security/d55e76e7ac92ce3d5868a7842732bc74dcd48ce5b9cbbe46f7d7746e16eb0ea7.go new file mode 100644 index 00000000000..0a74d8946a2 --- /dev/null +++ b/security/d55e76e7ac92ce3d5868a7842732bc74dcd48ce5b9cbbe46f7d7746e16eb0ea7.go @@ -0,0 +1,27 @@ +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable instead. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse struct { + DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse()(*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse) { + m := &DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse{ + DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse: *NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponse(), + } + return m +} +// CreateDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponse(), nil +} +// Deprecated: This class is obsolete. Use DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable instead. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodResponseable interface { + DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodAggregatedAppsDetailsWithPeriodGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/security/data_discovery_cloud_app_discovery_request_builder.go b/security/data_discovery_cloud_app_discovery_request_builder.go new file mode 100644 index 00000000000..187adbda25b --- /dev/null +++ b/security/data_discovery_cloud_app_discovery_request_builder.go @@ -0,0 +1,162 @@ +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" +) + +// DataDiscoveryCloudAppDiscoveryRequestBuilder provides operations to manage the cloudAppDiscovery property of the microsoft.graph.security.dataDiscoveryRoot entity. +type DataDiscoveryCloudAppDiscoveryRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// DataDiscoveryCloudAppDiscoveryRequestBuilderGetQueryParameters the available entities are IP addresses, devices, and users who access a cloud app. +type DataDiscoveryCloudAppDiscoveryRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataDiscoveryCloudAppDiscoveryRequestBuilderGetQueryParameters +} +// DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDataDiscoveryCloudAppDiscoveryRequestBuilderInternal instantiates a new DataDiscoveryCloudAppDiscoveryRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryRequestBuilder) { + m := &DataDiscoveryCloudAppDiscoveryRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDataDiscoveryCloudAppDiscoveryRequestBuilder instantiates a new DataDiscoveryCloudAppDiscoveryRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataDiscoveryCloudAppDiscoveryRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property cloudAppDiscovery for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) Delete(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration)(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 available entities are IP addresses, devices, and users who access a cloud app. +// returns a DataDiscoveryReportable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) Get(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable, 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.CreateDataDiscoveryReportFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable), nil +} +// Patch update the navigation property cloudAppDiscovery in security +// returns a DataDiscoveryReportable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable, requestConfiguration *DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable, 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.CreateDataDiscoveryReportFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable), nil +} +// ToDeleteRequestInformation delete navigation property cloudAppDiscovery for security +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryRequestBuilderDeleteRequestConfiguration)(*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 available entities are IP addresses, devices, and users who access a cloud app. +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryRequestBuilderGetRequestConfiguration)(*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 cloudAppDiscovery in security +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryReportable, requestConfiguration *DataDiscoveryCloudAppDiscoveryRequestBuilderPatchRequestConfiguration)(*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 +} +// UploadedStreams provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. +// returns a *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) UploadedStreams()(*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.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 *DataDiscoveryCloudAppDiscoveryRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryRequestBuilder) WithUrl(rawUrl string)(*DataDiscoveryCloudAppDiscoveryRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/data_discovery_cloud_app_discovery_uploaded_streams_cloud_app_discovery_report_item_request_builder.go b/security/data_discovery_cloud_app_discovery_uploaded_streams_cloud_app_discovery_report_item_request_builder.go new file mode 100644 index 00000000000..3f84a6bd990 --- /dev/null +++ b/security/data_discovery_cloud_app_discovery_uploaded_streams_cloud_app_discovery_report_item_request_builder.go @@ -0,0 +1,163 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/security" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetQueryParameters a collection of streams available for generating cloud discovery report. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetQueryParameters +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderInternal instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) { + m := &DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/{cloudAppDiscoveryReport%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property uploadedStreams for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration)(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 a collection of streams available for generating cloud discovery report. +// returns a CloudAppDiscoveryReportable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable, 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.CreateCloudAppDiscoveryReportFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable), nil +} +// MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod provides operations to call the aggregatedAppsDetails method. +// returns a *DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) MicrosoftGraphSecurityAggregatedAppsDetailsWithPeriod(period *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ISODuration)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsItemMicrosoftGraphSecurityAggregatedAppsDetailsWithPeriodRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, period) +} +// Patch update the navigation property uploadedStreams in security +// returns a CloudAppDiscoveryReportable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable, 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.CreateCloudAppDiscoveryReportFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable), nil +} +// ToDeleteRequestInformation delete navigation property uploadedStreams for security +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderDeleteRequestConfiguration)(*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 a collection of streams available for generating cloud discovery report. +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderGetRequestConfiguration)(*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 uploadedStreams in security +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderPatchRequestConfiguration)(*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 *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) WithUrl(rawUrl string)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/data_discovery_cloud_app_discovery_uploaded_streams_count_request_builder.go b/security/data_discovery_cloud_app_discovery_uploaded_streams_count_request_builder.go new file mode 100644 index 00000000000..5f6ed8cd1b9 --- /dev/null +++ b/security/data_discovery_cloud_app_discovery_uploaded_streams_count_request_builder.go @@ -0,0 +1,80 @@ +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder provides operations to count the resources in the collection. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetQueryParameters get the number of the resource +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetQueryParameters +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderInternal instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder) { + m := &DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderInternal(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 *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration)(*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 *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderGetRequestConfiguration)(*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 *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder) WithUrl(rawUrl string)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/data_discovery_cloud_app_discovery_uploaded_streams_request_builder.go b/security/data_discovery_cloud_app_discovery_uploaded_streams_request_builder.go new file mode 100644 index 00000000000..9db0602b56c --- /dev/null +++ b/security/data_discovery_cloud_app_discovery_uploaded_streams_request_builder.go @@ -0,0 +1,155 @@ +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" +) + +// DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters get visibility into all the manually uploaded streams from your firewalls and proxies. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters 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"` +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetQueryParameters +} +// DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCloudAppDiscoveryReportId provides operations to manage the uploadedStreams property of the microsoft.graph.security.dataDiscoveryReport entity. +// returns a *DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) ByCloudAppDiscoveryReportId(cloudAppDiscoveryReportId string)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if cloudAppDiscoveryReportId != "" { + urlTplParams["cloudAppDiscoveryReport%2Did"] = cloudAppDiscoveryReportId + } + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCloudAppDiscoveryReportItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderInternal instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) { + m := &DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataDiscovery/cloudAppDiscovery/uploadedStreams{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewDataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder instantiates a new DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder and sets the default values. +func NewDataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) Count()(*DataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get visibility into all the manually uploaded streams from your firewalls and proxies. +// returns a CloudAppDiscoveryReportCollectionResponseable 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-datadiscoveryreport-list-uploadedstreams?view=graph-rest-beta +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) Get(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportCollectionResponseable, 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.CreateCloudAppDiscoveryReportCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportCollectionResponseable), nil +} +// Post create new navigation property to uploadedStreams for security +// returns a CloudAppDiscoveryReportable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) Post(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable, 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.CreateCloudAppDiscoveryReportFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable), nil +} +// ToGetRequestInformation get visibility into all the manually uploaded streams from your firewalls and proxies. +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderGetRequestConfiguration)(*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 uploadedStreams for security +// returns a *RequestInformation when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.CloudAppDiscoveryReportable, requestConfiguration *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilderPostRequestConfiguration)(*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 *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder when successful +func (m *DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) WithUrl(rawUrl string)(*DataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryUploadedStreamsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/data_discovery_request_builder.go b/security/data_discovery_request_builder.go new file mode 100644 index 00000000000..175fc57916f --- /dev/null +++ b/security/data_discovery_request_builder.go @@ -0,0 +1,162 @@ +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" +) + +// DataDiscoveryRequestBuilder provides operations to manage the dataDiscovery property of the microsoft.graph.security entity. +type DataDiscoveryRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DataDiscoveryRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// DataDiscoveryRequestBuilderGetQueryParameters get dataDiscovery from security +type DataDiscoveryRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DataDiscoveryRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DataDiscoveryRequestBuilderGetQueryParameters +} +// DataDiscoveryRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DataDiscoveryRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CloudAppDiscovery provides operations to manage the cloudAppDiscovery property of the microsoft.graph.security.dataDiscoveryRoot entity. +// returns a *DataDiscoveryCloudAppDiscoveryRequestBuilder when successful +func (m *DataDiscoveryRequestBuilder) CloudAppDiscovery()(*DataDiscoveryCloudAppDiscoveryRequestBuilder) { + return NewDataDiscoveryCloudAppDiscoveryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewDataDiscoveryRequestBuilderInternal instantiates a new DataDiscoveryRequestBuilder and sets the default values. +func NewDataDiscoveryRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryRequestBuilder) { + m := &DataDiscoveryRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/dataDiscovery{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDataDiscoveryRequestBuilder instantiates a new DataDiscoveryRequestBuilder and sets the default values. +func NewDataDiscoveryRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DataDiscoveryRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDataDiscoveryRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property dataDiscovery for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryRequestBuilder) Delete(ctx context.Context, requestConfiguration *DataDiscoveryRequestBuilderDeleteRequestConfiguration)(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 dataDiscovery from security +// returns a DataDiscoveryRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryRequestBuilder) Get(ctx context.Context, requestConfiguration *DataDiscoveryRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable, 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.CreateDataDiscoveryRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable), nil +} +// Patch update the navigation property dataDiscovery in security +// returns a DataDiscoveryRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DataDiscoveryRequestBuilder) Patch(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable, requestConfiguration *DataDiscoveryRequestBuilderPatchRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable, 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.CreateDataDiscoveryRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable), nil +} +// ToDeleteRequestInformation delete navigation property dataDiscovery for security +// returns a *RequestInformation when successful +func (m *DataDiscoveryRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryRequestBuilderDeleteRequestConfiguration)(*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 dataDiscovery from security +// returns a *RequestInformation when successful +func (m *DataDiscoveryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DataDiscoveryRequestBuilderGetRequestConfiguration)(*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 dataDiscovery in security +// returns a *RequestInformation when successful +func (m *DataDiscoveryRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.DataDiscoveryRootable, requestConfiguration *DataDiscoveryRequestBuilderPatchRequestConfiguration)(*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 *DataDiscoveryRequestBuilder when successful +func (m *DataDiscoveryRequestBuilder) WithUrl(rawUrl string)(*DataDiscoveryRequestBuilder) { + return NewDataDiscoveryRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/security_request_builder.go b/security/security_request_builder.go index 8ab613504e1..69f77300e49 100644 --- a/security/security_request_builder.go +++ b/security/security_request_builder.go @@ -82,6 +82,11 @@ func NewSecurityRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee26337 urlParams["request-raw-url"] = rawUrl return NewSecurityRequestBuilderInternal(urlParams, requestAdapter) } +// DataDiscovery provides operations to manage the dataDiscovery property of the microsoft.graph.security entity. +// returns a *DataDiscoveryRequestBuilder when successful +func (m *SecurityRequestBuilder) DataDiscovery()(*DataDiscoveryRequestBuilder) { + return NewDataDiscoveryRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // DomainSecurityProfiles provides operations to manage the domainSecurityProfiles property of the microsoft.graph.security entity. // returns a *DomainSecurityProfilesRequestBuilder when successful func (m *SecurityRequestBuilder) DomainSecurityProfiles()(*DomainSecurityProfilesRequestBuilder) { diff --git a/serviceprincipals/item_claims_policy_request_builder.go b/serviceprincipals/item_claims_policy_request_builder.go index 4a0964ef337..ca0b2c0e93b 100644 --- a/serviceprincipals/item_claims_policy_request_builder.go +++ b/serviceprincipals/item_claims_policy_request_builder.go @@ -77,12 +77,12 @@ func (m *ItemClaimsPolicyRequestBuilder) Get(ctx context.Context, requestConfigu } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable), nil } -// Patch update a customClaimsPolicy object. +// Patch create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. // returns a CustomClaimsPolicyable 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/customclaimspolicy-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta func (m *ItemClaimsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimsPolicyRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -100,12 +100,12 @@ func (m *ItemClaimsPolicyRequestBuilder) Patch(ctx context.Context, body ie233ee } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable), nil } -// Put update a customClaimsPolicy object. +// Put create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. // returns a CustomClaimsPolicyable 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/customclaimspolicy-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-put-claimspolicy?view=graph-rest-beta func (m *ItemClaimsPolicyRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimsPolicyRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, error) { requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -137,7 +137,7 @@ func (m *ItemClaimsPolicyRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update a customClaimsPolicy object. +// ToPatchRequestInformation create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. // returns a *RequestInformation when successful func (m *ItemClaimsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimsPolicyRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -152,7 +152,7 @@ func (m *ItemClaimsPolicyRequestBuilder) ToPatchRequestInformation(ctx context.C } return requestInfo, nil } -// ToPutRequestInformation update a customClaimsPolicy object. +// ToPutRequestInformation create a new customClaimsPolicy object if it doesn't exist, or replace an existing one. // returns a *RequestInformation when successful func (m *ItemClaimsPolicyRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CustomClaimsPolicyable, requestConfiguration *ItemClaimsPolicyRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/item_lists_list_item_request_builder.go b/sites/item_lists_list_item_request_builder.go index 690a1392f07..59779d63cf6 100644 --- a/sites/item_lists_list_item_request_builder.go +++ b/sites/item_lists_list_item_request_builder.go @@ -18,7 +18,7 @@ type ItemListsListItemRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemListsListItemRequestBuilderGetQueryParameters return the metadata for a list. +// ItemListsListItemRequestBuilderGetQueryParameters get the list of richLongRunningOperations associated with a list. type ItemListsListItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -95,12 +95,12 @@ func (m *ItemListsListItemRequestBuilder) Delete(ctx context.Context, requestCon func (m *ItemListsListItemRequestBuilder) Drive()(*ItemListsItemDriveRequestBuilder) { return NewItemListsItemDriveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get return the metadata for a list. +// Get get the list of richLongRunningOperations associated with a list. // returns a Listable 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/list-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/list-list-operations?view=graph-rest-beta func (m *ItemListsListItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Listable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -174,7 +174,7 @@ func (m *ItemListsListItemRequestBuilder) ToDeleteRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation return the metadata for a list. +// ToGetRequestInformation get the list of richLongRunningOperations associated with a list. // returns a *RequestInformation when successful func (m *ItemListsListItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemListsListItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/sites/sites_request_builder.go b/sites/sites_request_builder.go index b75bd303970..aa7b5071a87 100644 --- a/sites/sites_request_builder.go +++ b/sites/sites_request_builder.go @@ -11,7 +11,7 @@ import ( type SitesRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// SitesRequestBuilderGetQueryParameters search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// SitesRequestBuilderGetQueryParameters list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. type SitesRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -79,12 +79,12 @@ func (m *SitesRequestBuilder) Count()(*CountRequestBuilder) { func (m *SitesRequestBuilder) Delta()(*DeltaRequestBuilder) { return NewDeltaRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// Get list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. // returns a SiteCollectionResponseable 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/site-search?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/site-list?view=graph-rest-beta func (m *SitesRequestBuilder) Get(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -112,7 +112,7 @@ func (m *SitesRequestBuilder) GetAllSites()(*GetAllSitesRequestBuilder) { func (m *SitesRequestBuilder) Remove()(*RemoveRequestBuilder) { return NewRemoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// ToGetRequestInformation search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results. +// ToGetRequestInformation list all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale. // returns a *RequestInformation when successful func (m *SitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SitesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go b/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go index 3bfb08e64e1..3f60ad28d0f 100644 --- a/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go +++ b/solutions/5c3c6931f3bc1a3cdb0b4281857a08e535ae4ea8461141194ce07cc62628f323.go @@ -18,7 +18,7 @@ type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDri // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters a collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. +// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters a collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -70,7 +70,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact } return nil } -// Get a collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. +// Get a collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. // returns a DriveRestoreArtifactable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactable, error) { @@ -126,7 +126,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation a collection of restore points and destination details that can be used to restore a OneDrive for Work or School drive. +// ToGetRequestInformation a collection of restore points and destination details that can be used to restore a OneDrive for work or school drive. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsDriveRestoreArtifactItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/65626f6504aa3a61e725f9a5921065e21169eb0e2da2e1a39b825a07d3c2c430.go b/solutions/65626f6504aa3a61e725f9a5921065e21169eb0e2da2e1a39b825a07d3c2c430.go index d159b1f31e1..3b5992d1eb7 100644 --- a/solutions/65626f6504aa3a61e725f9a5921065e21169eb0e2da2e1a39b825a07d3c2c430.go +++ b/solutions/65626f6504aa3a61e725f9a5921065e21169eb0e2da2e1a39b825a07d3c2c430.go @@ -11,7 +11,7 @@ import ( type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters get driveRestoreArtifactsBulkAdditionRequests from solutions +// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewBackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifacts func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilder) Count()(*BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsCountRequestBuilder) { return NewBackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get driveRestoreArtifactsBulkAdditionRequests from solutions +// Get get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. // returns a DriveRestoreArtifactsBulkAdditionRequestCollectionResponseable 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-driverestoreartifactsbulkadditionrequests?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestCollectionResponseable), nil } -// Post create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions +// Post create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The initial status upon creation of the restore session is active. When all the drives are added to the corresponding OneDrive restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. // returns a DriveRestoreArtifactsBulkAdditionRequestable 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-post-driverestoreartifactsbulkadditionrequests?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestable, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestable), nil } -// ToGetRequestInformation get driveRestoreArtifactsBulkAdditionRequests from solutions +// ToGetRequestInformation get a list of the driveRestoreArtifactsBulkAdditionRequest objects associated with a oneDriveForBusinessRestoreSession. The drives property is deliberately omitted from the response body in order to limit the response size. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to driveRestoreArtifactsBulkAdditionRequests for solutions +// ToPostRequestInformation create a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. The initial status upon creation of the restore session is active. When all the drives are added to the corresponding OneDrive restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestable, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/6b3e8dcc551d6e2435f411ea201c14ebef6f9a9b46849032487d1c031c5e162a.go b/solutions/6b3e8dcc551d6e2435f411ea201c14ebef6f9a9b46849032487d1c031c5e162a.go index 59e9ef9df66..d68bedf9378 100644 --- a/solutions/6b3e8dcc551d6e2435f411ea201c14ebef6f9a9b46849032487d1c031c5e162a.go +++ b/solutions/6b3e8dcc551d6e2435f411ea201c14ebef6f9a9b46849032487d1c031c5e162a.go @@ -18,7 +18,7 @@ type BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionR // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters get siteRestoreArtifactsBulkAdditionRequests from solutions +// BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. type BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewBackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditi urlParams["request-raw-url"] = rawUrl return NewBackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions +// Delete delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. // 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/siterestoreartifactsbulkadditionrequest-delete?view=graph-rest-beta func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAddit } return nil } -// Get get siteRestoreArtifactsBulkAdditionRequests from solutions +// Get get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. // returns a SiteRestoreArtifactsBulkAdditionRequestable 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/siterestoreartifactsbulkadditionrequest-get?view=graph-rest-beta func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +116,7 @@ func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAddit } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestable), nil } -// ToDeleteRequestInformation delete navigation property siteRestoreArtifactsBulkAdditionRequests for solutions +// ToDeleteRequestInformation delete a siteRestoreArtifactsBulkAdditionRequest object associated with a sharepointRestoreSession. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -121,7 +127,7 @@ func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAddit requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get siteRestoreArtifactsBulkAdditionRequests from solutions +// ToGetRequestInformation get a siteRestoreArtifactsBulkAdditionRequest object by its id, associated with a sharePointRestoreSession. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsSiteRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/76cfd2e5d83983634ccc43a6a7f7f515df707068d75238b516f0050e5af421ec.go b/solutions/76cfd2e5d83983634ccc43a6a7f7f515df707068d75238b516f0050e5af421ec.go index 72f6d983534..9f1451f692a 100644 --- a/solutions/76cfd2e5d83983634ccc43a6a7f7f515df707068d75238b516f0050e5af421ec.go +++ b/solutions/76cfd2e5d83983634ccc43a6a7f7f515df707068d75238b516f0050e5af421ec.go @@ -11,7 +11,7 @@ import ( type BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters get siteRestoreArtifactsBulkAdditionRequests from solutions +// BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. type BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewBackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditi func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilder) Count()(*BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsCountRequestBuilder) { return NewBackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get siteRestoreArtifactsBulkAdditionRequests from solutions +// Get get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. // returns a SiteRestoreArtifactsBulkAdditionRequestCollectionResponseable 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-siterestoreartifactsbulkadditionrequests?view=graph-rest-beta func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAddit } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestCollectionResponseable), nil } -// Post create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions +// Post create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The initial status upon creation of the restore session is active. When all the sites are added to the corresponding SharePoint restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. // returns a SiteRestoreArtifactsBulkAdditionRequestable 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-post-siterestoreartifactsbulkadditionrequests?view=graph-rest-beta func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestable, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAddit } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestable), nil } -// ToGetRequestInformation get siteRestoreArtifactsBulkAdditionRequests from solutions +// ToGetRequestInformation get a list of the siteRestoreArtifactsBulkAdditionRequest objects associated with a sharePointRestoreSession. The siteWebUrls property is deliberately omitted from the response body in order to limit the response size. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAddit requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to siteRestoreArtifactsBulkAdditionRequests for solutions +// ToPostRequestInformation create a new siteRestoreArtifactsBulkAdditionRequest object associated with a sharePointRestoreSession. The initial status upon creation of the restore session is active. When all the sites are added to the corresponding SharePoint restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. // returns a *RequestInformation when successful func (m *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteRestoreArtifactsBulkAdditionRequestable, requestConfiguration *BackupRestoreSharePointRestoreSessionsItemSiteRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/a6aad28d714f0d087039115df5ea7d8833b153dce5d726ff22b698a600a04ed7.go b/solutions/a6aad28d714f0d087039115df5ea7d8833b153dce5d726ff22b698a600a04ed7.go index e0df0e8c951..04be4435d17 100644 --- a/solutions/a6aad28d714f0d087039115df5ea7d8833b153dce5d726ff22b698a600a04ed7.go +++ b/solutions/a6aad28d714f0d087039115df5ea7d8833b153dce5d726ff22b698a600a04ed7.go @@ -11,7 +11,7 @@ import ( type BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters get mailboxRestoreArtifactsBulkAdditionRequests from solutions +// BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. type BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -76,9 +76,12 @@ func NewBackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddit func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder) Count()(*BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsCountRequestBuilder) { return NewBackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get mailboxRestoreArtifactsBulkAdditionRequests from solutions +// Get get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. // returns a MailboxRestoreArtifactsBulkAdditionRequestCollectionResponseable 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/exchangerestoresession-list-mailboxrestoreartifactsbulkadditionrequests?view=graph-rest-beta func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -96,9 +99,12 @@ func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestCollectionResponseable), nil } -// Post create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions +// Post create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The initial status upon creation of the restore session is active. When all the mailboxes are added to the corresponding Exchange restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. // returns a MailboxRestoreArtifactsBulkAdditionRequestable 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/exchangerestoresession-post-mailboxrestoreartifactsbulkadditionrequests?view=graph-rest-beta func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestable, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -116,7 +122,7 @@ func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestable), nil } -// ToGetRequestInformation get mailboxRestoreArtifactsBulkAdditionRequests from solutions +// ToGetRequestInformation get a list of the maiboxRestoreArtifactsBulkAdditionRequest objects associated with an exchangeRestoreSession. The mailboxes property is deliberately omitted from the response body in order to limit the response size. // returns a *RequestInformation when successful func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -130,7 +136,7 @@ func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to mailboxRestoreArtifactsBulkAdditionRequests for solutions +// ToPostRequestInformation create a new mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. The initial status upon creation of the restore session is active. When all the mailboxes are added to the corresponding Exchange restore session and the restore session is activated, the status becomes completed. If any failures are encountered during resource resolution, the status of the restore session becomes completedWithErrors. // returns a *RequestInformation when successful func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestable, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/aa80b3809fc0f277221b1c6fecea4c9033ced8e897d41bcb6ffaccb619eea83c.go b/solutions/aa80b3809fc0f277221b1c6fecea4c9033ced8e897d41bcb6ffaccb619eea83c.go index 1012838bd75..19bb96f656f 100644 --- a/solutions/aa80b3809fc0f277221b1c6fecea4c9033ced8e897d41bcb6ffaccb619eea83c.go +++ b/solutions/aa80b3809fc0f277221b1c6fecea4c9033ced8e897d41bcb6ffaccb619eea83c.go @@ -18,7 +18,7 @@ type BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddition // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters get mailboxRestoreArtifactsBulkAdditionRequests from solutions +// BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. type BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewBackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddit urlParams["request-raw-url"] = rawUrl return NewBackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions +// Delete delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. // 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/mailboxrestoreartifactsbulkadditionrequest-delete?view=graph-rest-beta func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddi } return nil } -// Get get mailboxRestoreArtifactsBulkAdditionRequests from solutions +// Get get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. // returns a MailboxRestoreArtifactsBulkAdditionRequestable 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/mailboxrestoreartifactsbulkadditionrequest-get?view=graph-rest-beta func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +116,7 @@ func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddi } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailboxRestoreArtifactsBulkAdditionRequestable), nil } -// ToDeleteRequestInformation delete navigation property mailboxRestoreArtifactsBulkAdditionRequests for solutions +// ToDeleteRequestInformation delete a mailboxRestoreArtifactsBulkAdditionRequest object associated with an exchangeRestoreSession. // returns a *RequestInformation when successful func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -121,7 +127,7 @@ func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAddi requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get mailboxRestoreArtifactsBulkAdditionRequests from solutions +// ToGetRequestInformation get a mailboxRestoreArtifactsBulkAdditionRequest object by its id, associated with an exchangeRestoreSession. // returns a *RequestInformation when successful func (m *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreExchangeRestoreSessionsItemMailboxRestoreArtifactsBulkAdditionRequestsMailboxRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/ae669906f8b86ff1e108da17cc7a7997f9267fe7018e6316b10ee62611115d12.go b/solutions/ae669906f8b86ff1e108da17cc7a7997f9267fe7018e6316b10ee62611115d12.go index a5e5e3caf0e..508e7317325 100644 --- a/solutions/ae669906f8b86ff1e108da17cc7a7997f9267fe7018e6316b10ee62611115d12.go +++ b/solutions/ae669906f8b86ff1e108da17cc7a7997f9267fe7018e6316b10ee62611115d12.go @@ -18,7 +18,7 @@ type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBul // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters get driveRestoreArtifactsBulkAdditionRequests from solutions +// BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. type BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -54,8 +54,11 @@ func NewBackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifacts urlParams["request-raw-url"] = rawUrl return NewBackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions +// Delete delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. // 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/driverestoreartifactsbulkadditionrequest-delete?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -70,9 +73,12 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact } return nil } -// Get get driveRestoreArtifactsBulkAdditionRequests from solutions +// Get get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. // returns a DriveRestoreArtifactsBulkAdditionRequestable 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/driverestoreartifactsbulkadditionrequest-get?view=graph-rest-beta func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder) Get(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -110,7 +116,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DriveRestoreArtifactsBulkAdditionRequestable), nil } -// ToDeleteRequestInformation delete navigation property driveRestoreArtifactsBulkAdditionRequests for solutions +// ToDeleteRequestInformation delete a driveRestoreArtifactsBulkAdditionRequest object associated with a oneDriveForBusinessRestoreSession. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -121,7 +127,7 @@ func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifact requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get driveRestoreArtifactsBulkAdditionRequests from solutions +// ToGetRequestInformation get a driveRestoreArtifactsBulkAdditionRequest object by its id, associated with a oneDriveForBusinessRestoreSession. // returns a *RequestInformation when successful func (m *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *BackupRestoreOneDriveForBusinessRestoreSessionsItemDriveRestoreArtifactsBulkAdditionRequestsDriveRestoreArtifactsBulkAdditionRequestItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/solutions/virtual_events_events_item_set_external_event_information_post_request_body.go b/solutions/virtual_events_events_item_set_external_event_information_post_request_body.go new file mode 100644 index 00000000000..8567496e28c --- /dev/null +++ b/solutions/virtual_events_events_item_set_external_event_information_post_request_body.go @@ -0,0 +1,113 @@ +package solutions + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type VirtualEventsEventsItemSetExternalEventInformationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEventsEventsItemSetExternalEventInformationPostRequestBody instantiates a new VirtualEventsEventsItemSetExternalEventInformationPostRequestBody and sets the default values. +func NewVirtualEventsEventsItemSetExternalEventInformationPostRequestBody()(*VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) { + m := &VirtualEventsEventsItemSetExternalEventInformationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEventsEventsItemSetExternalEventInformationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEventsEventsItemSetExternalEventInformationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEventsEventsItemSetExternalEventInformationPostRequestBody(), 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 *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) 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 *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExternalEventId gets the externalEventId property value. The externalEventId property +// returns a *string when successful +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) GetExternalEventId()(*string) { + val, err := m.GetBackingStore().Get("externalEventId") + 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 *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["externalEventId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalEventId(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("externalEventId", m.GetExternalEventId()) + 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 *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) 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 *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExternalEventId sets the externalEventId property value. The externalEventId property +func (m *VirtualEventsEventsItemSetExternalEventInformationPostRequestBody) SetExternalEventId(value *string)() { + err := m.GetBackingStore().Set("externalEventId", value) + if err != nil { + panic(err) + } +} +type VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExternalEventId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExternalEventId(value *string)() +} diff --git a/solutions/virtual_events_events_item_set_external_event_information_request_builder.go b/solutions/virtual_events_events_item_set_external_event_information_request_builder.go new file mode 100644 index 00000000000..d6a8e9fdb41 --- /dev/null +++ b/solutions/virtual_events_events_item_set_external_event_information_request_builder.go @@ -0,0 +1,68 @@ +package solutions + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEventsEventsItemSetExternalEventInformationRequestBuilder provides operations to call the setExternalEventInformation method. +type VirtualEventsEventsItemSetExternalEventInformationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal instantiates a new VirtualEventsEventsItemSetExternalEventInformationRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + m := &VirtualEventsEventsItemSetExternalEventInformationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/solutions/virtualEvents/events/{virtualEvent%2Did}/setExternalEventInformation", pathParameters), + } + return m +} +// NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilder instantiates a new VirtualEventsEventsItemSetExternalEventInformationRequestBuilder and sets the default values. +func NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action setExternalEventInformation +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) Post(ctx context.Context, body VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable, requestConfiguration *VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, 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 setExternalEventInformation +// returns a *RequestInformation when successful +func (m *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEventsEventsItemSetExternalEventInformationPostRequestBodyable, requestConfiguration *VirtualEventsEventsItemSetExternalEventInformationRequestBuilderPostRequestConfiguration)(*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 *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder when successful +func (m *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) WithUrl(rawUrl string)(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + return NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/solutions/virtual_events_events_virtual_event_item_request_builder.go b/solutions/virtual_events_events_virtual_event_item_request_builder.go index 6c97e7523a0..1442b6c0182 100644 --- a/solutions/virtual_events_events_virtual_event_item_request_builder.go +++ b/solutions/virtual_events_events_virtual_event_item_request_builder.go @@ -135,6 +135,11 @@ func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) Sessions()(*VirtualE func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) SessionsWithJoinWebUrl(joinWebUrl *string)(*VirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilder) { return NewVirtualEventsEventsItemSessionsWithJoinWebUrlRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, joinWebUrl) } +// SetExternalEventInformation provides operations to call the setExternalEventInformation method. +// returns a *VirtualEventsEventsItemSetExternalEventInformationRequestBuilder when successful +func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) SetExternalEventInformation()(*VirtualEventsEventsItemSetExternalEventInformationRequestBuilder) { + return NewVirtualEventsEventsItemSetExternalEventInformationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // ToDeleteRequestInformation delete navigation property events for solutions // returns a *RequestInformation when successful func (m *VirtualEventsEventsVirtualEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsEventsVirtualEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { diff --git a/storage/file_storage_containers_file_storage_container_item_request_builder.go b/storage/file_storage_containers_file_storage_container_item_request_builder.go index e4b65d62470..56d9f882069 100644 --- a/storage/file_storage_containers_file_storage_container_item_request_builder.go +++ b/storage/file_storage_containers_file_storage_container_item_request_builder.go @@ -108,6 +108,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable), nil } +// Lock provides operations to call the lock method. +// returns a *FileStorageContainersItemLockRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageContainersItemLockRequestBuilder) { + return NewFileStorageContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property containers in storage // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -188,6 +193,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ToPatchReq } return requestInfo, nil } +// Unlock provides operations to call the unlock method. +// returns a *FileStorageContainersItemUnlockRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Unlock()(*FileStorageContainersItemUnlockRequestBuilder) { + return NewFileStorageContainersItemUnlockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.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 *FileStorageContainersFileStorageContainerItemRequestBuilder when successful func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersFileStorageContainerItemRequestBuilder) { diff --git a/storage/file_storage_containers_item_lock_post_request_body.go b/storage/file_storage_containers_item_lock_post_request_body.go new file mode 100644 index 00000000000..bff627505db --- /dev/null +++ b/storage/file_storage_containers_item_lock_post_request_body.go @@ -0,0 +1,115 @@ +package storage + +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 FileStorageContainersItemLockPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageContainersItemLockPostRequestBody instantiates a new FileStorageContainersItemLockPostRequestBody and sets the default values. +func NewFileStorageContainersItemLockPostRequestBody()(*FileStorageContainersItemLockPostRequestBody) { + m := &FileStorageContainersItemLockPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageContainersItemLockPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageContainersItemLockPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageContainersItemLockPostRequestBody(), 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 *FileStorageContainersItemLockPostRequestBody) 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 *FileStorageContainersItemLockPostRequestBody) 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 *FileStorageContainersItemLockPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["lockState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseSiteLockState) + if err != nil { + return err + } + if val != nil { + m.SetLockState(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState)) + } + return nil + } + return res +} +// GetLockState gets the lockState property value. The lockState property +// returns a *SiteLockState when successful +func (m *FileStorageContainersItemLockPostRequestBody) GetLockState()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState) { + val, err := m.GetBackingStore().Get("lockState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageContainersItemLockPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetLockState() != nil { + cast := (*m.GetLockState()).String() + err := writer.WriteStringValue("lockState", &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 *FileStorageContainersItemLockPostRequestBody) 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 *FileStorageContainersItemLockPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLockState sets the lockState property value. The lockState property +func (m *FileStorageContainersItemLockPostRequestBody) SetLockState(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState)() { + err := m.GetBackingStore().Set("lockState", value) + if err != nil { + panic(err) + } +} +type FileStorageContainersItemLockPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLockState()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLockState(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState)() +} diff --git a/storage/file_storage_containers_item_lock_request_builder.go b/storage/file_storage_containers_item_lock_request_builder.go new file mode 100644 index 00000000000..70194d9623d --- /dev/null +++ b/storage/file_storage_containers_item_lock_request_builder.go @@ -0,0 +1,68 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemLockRequestBuilder provides operations to call the lock method. +type FileStorageContainersItemLockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemLockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemLockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemLockRequestBuilderInternal instantiates a new FileStorageContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageContainersItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemLockRequestBuilder) { + m := &FileStorageContainersItemLockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/lock", pathParameters), + } + return m +} +// NewFileStorageContainersItemLockRequestBuilder instantiates a new FileStorageContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageContainersItemLockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemLockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemLockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action lock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemLockRequestBuilder) Post(ctx context.Context, body FileStorageContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageContainersItemLockRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, 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 lock +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemLockRequestBuilder) ToPostRequestInformation(ctx context.Context, body FileStorageContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageContainersItemLockRequestBuilderPostRequestConfiguration)(*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 *FileStorageContainersItemLockRequestBuilder when successful +func (m *FileStorageContainersItemLockRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemLockRequestBuilder) { + return NewFileStorageContainersItemLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_unlock_request_builder.go b/storage/file_storage_containers_item_unlock_request_builder.go new file mode 100644 index 00000000000..c46e3f356a7 --- /dev/null +++ b/storage/file_storage_containers_item_unlock_request_builder.go @@ -0,0 +1,64 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemUnlockRequestBuilder provides operations to call the unlock method. +type FileStorageContainersItemUnlockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemUnlockRequestBuilderInternal instantiates a new FileStorageContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageContainersItemUnlockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemUnlockRequestBuilder) { + m := &FileStorageContainersItemUnlockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/unlock", pathParameters), + } + return m +} +// NewFileStorageContainersItemUnlockRequestBuilder instantiates a new FileStorageContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageContainersItemUnlockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemUnlockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemUnlockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action unlock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemUnlockRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration)(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 unlock +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemUnlockRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemUnlockRequestBuilderPostRequestConfiguration)(*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 *FileStorageContainersItemUnlockRequestBuilder when successful +func (m *FileStorageContainersItemUnlockRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemUnlockRequestBuilder) { + return NewFileStorageContainersItemUnlockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go index 7b73964c7c1..657a3ade8f9 100644 --- a/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go +++ b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go @@ -105,6 +105,11 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Get } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.FileStorageContainerable), nil } +// Lock provides operations to call the lock method. +// returns a *FileStorageDeletedContainersItemLockRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageDeletedContainersItemLockRequestBuilder) { + return NewFileStorageDeletedContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property deletedContainers in storage // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -185,6 +190,11 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ToP } return requestInfo, nil } +// Unlock provides operations to call the unlock method. +// returns a *FileStorageDeletedContainersItemUnlockRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Unlock()(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + return NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.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 *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder when successful func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) { diff --git a/storage/file_storage_deleted_containers_item_lock_post_request_body.go b/storage/file_storage_deleted_containers_item_lock_post_request_body.go new file mode 100644 index 00000000000..e4f8112c0e7 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_lock_post_request_body.go @@ -0,0 +1,115 @@ +package storage + +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 FileStorageDeletedContainersItemLockPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewFileStorageDeletedContainersItemLockPostRequestBody instantiates a new FileStorageDeletedContainersItemLockPostRequestBody and sets the default values. +func NewFileStorageDeletedContainersItemLockPostRequestBody()(*FileStorageDeletedContainersItemLockPostRequestBody) { + m := &FileStorageDeletedContainersItemLockPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateFileStorageDeletedContainersItemLockPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFileStorageDeletedContainersItemLockPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFileStorageDeletedContainersItemLockPostRequestBody(), 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 *FileStorageDeletedContainersItemLockPostRequestBody) 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 *FileStorageDeletedContainersItemLockPostRequestBody) 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 *FileStorageDeletedContainersItemLockPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["lockState"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseSiteLockState) + if err != nil { + return err + } + if val != nil { + m.SetLockState(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState)) + } + return nil + } + return res +} +// GetLockState gets the lockState property value. The lockState property +// returns a *SiteLockState when successful +func (m *FileStorageDeletedContainersItemLockPostRequestBody) GetLockState()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState) { + val, err := m.GetBackingStore().Get("lockState") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState) + } + return nil +} +// Serialize serializes information the current object +func (m *FileStorageDeletedContainersItemLockPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetLockState() != nil { + cast := (*m.GetLockState()).String() + err := writer.WriteStringValue("lockState", &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 *FileStorageDeletedContainersItemLockPostRequestBody) 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 *FileStorageDeletedContainersItemLockPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLockState sets the lockState property value. The lockState property +func (m *FileStorageDeletedContainersItemLockPostRequestBody) SetLockState(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState)() { + err := m.GetBackingStore().Set("lockState", value) + if err != nil { + panic(err) + } +} +type FileStorageDeletedContainersItemLockPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLockState()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLockState(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SiteLockState)() +} diff --git a/storage/file_storage_deleted_containers_item_lock_request_builder.go b/storage/file_storage_deleted_containers_item_lock_request_builder.go new file mode 100644 index 00000000000..f17fcce1123 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_lock_request_builder.go @@ -0,0 +1,68 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemLockRequestBuilder provides operations to call the lock method. +type FileStorageDeletedContainersItemLockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemLockRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemLockRequestBuilder) { + m := &FileStorageDeletedContainersItemLockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/lock", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemLockRequestBuilder instantiates a new FileStorageDeletedContainersItemLockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemLockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemLockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemLockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action lock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemLockRequestBuilder) Post(ctx context.Context, body FileStorageDeletedContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, 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 lock +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemLockRequestBuilder) ToPostRequestInformation(ctx context.Context, body FileStorageDeletedContainersItemLockPostRequestBodyable, requestConfiguration *FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration)(*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 *FileStorageDeletedContainersItemLockRequestBuilder when successful +func (m *FileStorageDeletedContainersItemLockRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemLockRequestBuilder) { + return NewFileStorageDeletedContainersItemLockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_unlock_request_builder.go b/storage/file_storage_deleted_containers_item_unlock_request_builder.go new file mode 100644 index 00000000000..2fdff8ef714 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_unlock_request_builder.go @@ -0,0 +1,64 @@ +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemUnlockRequestBuilder provides operations to call the unlock method. +type FileStorageDeletedContainersItemUnlockRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + m := &FileStorageDeletedContainersItemUnlockRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/unlock", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemUnlockRequestBuilder instantiates a new FileStorageDeletedContainersItemUnlockRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemUnlockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemUnlockRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action unlock +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemUnlockRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration)(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 unlock +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemUnlockRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemUnlockRequestBuilderPostRequestConfiguration)(*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 *FileStorageDeletedContainersItemUnlockRequestBuilder when successful +func (m *FileStorageDeletedContainersItemUnlockRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemUnlockRequestBuilder) { + return NewFileStorageDeletedContainersItemUnlockRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_channels_item_members_conversation_member_item_request_builder.go b/teams/item_channels_item_members_conversation_member_item_request_builder.go index 72c3b8041d9..00e12d1d283 100644 --- a/teams/item_channels_item_members_conversation_member_item_request_builder.go +++ b/teams/item_channels_item_members_conversation_member_item_request_builder.go @@ -96,12 +96,12 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Get(ctx co } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable), nil } -// Patch update the role of a conversationMember in a team.or channel. +// Patch update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // returns a ConversationMemberable 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/conversationmember-update?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-update-members?view=graph-rest-beta func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -144,7 +144,7 @@ func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToGetReque requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the role of a conversationMember in a team.or channel. +// ToPatchRequestInformation update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. // returns a *RequestInformation when successful func (m *ItemChannelsItemMembersConversationMemberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ConversationMemberable, requestConfiguration *ItemChannelsItemMembersConversationMemberItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_item_messages_request_builder.go b/teams/item_channels_item_messages_request_builder.go index 9f3082012e7..cac9b31c00e 100644 --- a/teams/item_channels_item_messages_request_builder.go +++ b/teams/item_channels_item_messages_request_builder.go @@ -104,12 +104,12 @@ func (m *ItemChannelsItemMessagesRequestBuilder) Get(ctx context.Context, reques } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageCollectionResponseable), nil } -// Post send a new chatMessage in the specified channel or a chat. +// Post send a new chatMessage in the specified channel. // returns a ChatMessageable 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/chatmessage-post?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messages?view=graph-rest-beta func (m *ItemChannelsItemMessagesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -141,7 +141,7 @@ func (m *ItemChannelsItemMessagesRequestBuilder) ToGetRequestInformation(ctx con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation send a new chatMessage in the specified channel or a chat. +// ToPostRequestInformation send a new chatMessage in the specified channel. // returns a *RequestInformation when successful func (m *ItemChannelsItemMessagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ChatMessageable, requestConfiguration *ItemChannelsItemMessagesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/templates/device_templates_count_request_builder.go b/templates/device_templates_count_request_builder.go new file mode 100644 index 00000000000..319b6bf5fb3 --- /dev/null +++ b/templates/device_templates_count_request_builder.go @@ -0,0 +1,80 @@ +package templates + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeviceTemplatesCountRequestBuilder provides operations to count the resources in the collection. +type DeviceTemplatesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesCountRequestBuilderGetQueryParameters get the number of the resource +type DeviceTemplatesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// DeviceTemplatesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesCountRequestBuilderGetQueryParameters +} +// NewDeviceTemplatesCountRequestBuilderInternal instantiates a new DeviceTemplatesCountRequestBuilder and sets the default values. +func NewDeviceTemplatesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesCountRequestBuilder) { + m := &DeviceTemplatesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewDeviceTemplatesCountRequestBuilder instantiates a new DeviceTemplatesCountRequestBuilder and sets the default values. +func NewDeviceTemplatesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesCountRequestBuilderInternal(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 *DeviceTemplatesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesCountRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesCountRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesCountRequestBuilder when successful +func (m *DeviceTemplatesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesCountRequestBuilder) { + return NewDeviceTemplatesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_device_template_item_request_builder.go b/templates/device_templates_device_template_item_request_builder.go new file mode 100644 index 00000000000..ed6fb467f3b --- /dev/null +++ b/templates/device_templates_device_template_item_request_builder.go @@ -0,0 +1,177 @@ +package templates + +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" +) + +// DeviceTemplatesDeviceTemplateItemRequestBuilder provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +type DeviceTemplatesDeviceTemplateItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// DeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters get deviceTemplates from templates +type DeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesDeviceTemplateItemRequestBuilderGetQueryParameters +} +// DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeviceTemplatesDeviceTemplateItemRequestBuilderInternal instantiates a new DeviceTemplatesDeviceTemplateItemRequestBuilder and sets the default values. +func NewDeviceTemplatesDeviceTemplateItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesDeviceTemplateItemRequestBuilder) { + m := &DeviceTemplatesDeviceTemplateItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDeviceTemplatesDeviceTemplateItemRequestBuilder instantiates a new DeviceTemplatesDeviceTemplateItemRequestBuilder and sets the default values. +func NewDeviceTemplatesDeviceTemplateItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesDeviceTemplateItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesDeviceTemplateItemRequestBuilderInternal(urlParams, requestAdapter) +} +// CreateDeviceFromTemplate provides operations to call the createDeviceFromTemplate method. +// returns a *DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) CreateDeviceFromTemplate()(*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + return NewDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Delete delete navigation property deviceTemplates for templates +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration)(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 +} +// DeviceInstances provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +// returns a *DeviceTemplatesItemDeviceInstancesRequestBuilder when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) DeviceInstances()(*DeviceTemplatesItemDeviceInstancesRequestBuilder) { + return NewDeviceTemplatesItemDeviceInstancesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// DeviceInstancesWithDeviceId provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +// returns a *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) DeviceInstancesWithDeviceId(deviceId *string)(*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + return NewDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, deviceId) +} +// Get get deviceTemplates from templates +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// Owners provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +// returns a *DeviceTemplatesItemOwnersRequestBuilder when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) Owners()(*DeviceTemplatesItemOwnersRequestBuilder) { + return NewDeviceTemplatesItemOwnersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property deviceTemplates in templates +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// ToDeleteRequestInformation delete navigation property deviceTemplates for templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesDeviceTemplateItemRequestBuilderDeleteRequestConfiguration)(*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 deviceTemplates from templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesDeviceTemplateItemRequestBuilderGetRequestConfiguration)(*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 deviceTemplates in templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *DeviceTemplatesDeviceTemplateItemRequestBuilderPatchRequestConfiguration)(*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 *DeviceTemplatesDeviceTemplateItemRequestBuilder when successful +func (m *DeviceTemplatesDeviceTemplateItemRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesDeviceTemplateItemRequestBuilder) { + return NewDeviceTemplatesDeviceTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_create_device_from_template_post_request_body.go b/templates/device_templates_item_create_device_from_template_post_request_body.go new file mode 100644 index 00000000000..01d6b23da46 --- /dev/null +++ b/templates/device_templates_item_create_device_from_template_post_request_body.go @@ -0,0 +1,305 @@ +package templates + +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 DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody instantiates a new DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody and sets the default values. +func NewDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody()(*DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) { + m := &DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody(), nil +} +// GetAccountEnabled gets the accountEnabled property value. The accountEnabled property +// returns a *bool when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetAccountEnabled()(*bool) { + val, err := m.GetBackingStore().Get("accountEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) 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) +} +// GetAlternativeNames gets the alternativeNames property value. The alternativeNames property +// returns a []string when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetAlternativeNames()([]string) { + val, err := m.GetBackingStore().Get("alternativeNames") + 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 *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetExternalDeviceId gets the externalDeviceId property value. The externalDeviceId property +// returns a *string when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetExternalDeviceId()(*string) { + val, err := m.GetBackingStore().Get("externalDeviceId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExternalSourceName gets the externalSourceName property value. The externalSourceName property +// returns a *string when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetExternalSourceName()(*string) { + val, err := m.GetBackingStore().Get("externalSourceName") + 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 *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["accountEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetAccountEnabled(val) + } + return nil + } + res["alternativeNames"] = 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.SetAlternativeNames(res) + } + return nil + } + res["externalDeviceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalDeviceId(val) + } + return nil + } + res["externalSourceName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalSourceName(val) + } + return nil + } + res["keyCredential"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateKeyCredentialFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetKeyCredential(val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable)) + } + return nil + } + res["operatingSystemVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOperatingSystemVersion(val) + } + return nil + } + return res +} +// GetKeyCredential gets the keyCredential property value. The keyCredential property +// returns a KeyCredentialable when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetKeyCredential()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable) { + val, err := m.GetBackingStore().Get("keyCredential") + if err != nil { + panic(err) + } + if val != nil { + return val.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable) + } + return nil +} +// GetOperatingSystemVersion gets the operatingSystemVersion property value. The operatingSystemVersion property +// returns a *string when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) GetOperatingSystemVersion()(*string) { + val, err := m.GetBackingStore().Get("operatingSystemVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("accountEnabled", m.GetAccountEnabled()) + if err != nil { + return err + } + } + if m.GetAlternativeNames() != nil { + err := writer.WriteCollectionOfStringValues("alternativeNames", m.GetAlternativeNames()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalDeviceId", m.GetExternalDeviceId()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalSourceName", m.GetExternalSourceName()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("keyCredential", m.GetKeyCredential()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("operatingSystemVersion", m.GetOperatingSystemVersion()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAccountEnabled sets the accountEnabled property value. The accountEnabled property +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetAccountEnabled(value *bool)() { + err := m.GetBackingStore().Set("accountEnabled", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAlternativeNames sets the alternativeNames property value. The alternativeNames property +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetAlternativeNames(value []string)() { + err := m.GetBackingStore().Set("alternativeNames", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetExternalDeviceId sets the externalDeviceId property value. The externalDeviceId property +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetExternalDeviceId(value *string)() { + err := m.GetBackingStore().Set("externalDeviceId", value) + if err != nil { + panic(err) + } +} +// SetExternalSourceName sets the externalSourceName property value. The externalSourceName property +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetExternalSourceName(value *string)() { + err := m.GetBackingStore().Set("externalSourceName", value) + if err != nil { + panic(err) + } +} +// SetKeyCredential sets the keyCredential property value. The keyCredential property +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetKeyCredential(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable)() { + err := m.GetBackingStore().Set("keyCredential", value) + if err != nil { + panic(err) + } +} +// SetOperatingSystemVersion sets the operatingSystemVersion property value. The operatingSystemVersion property +func (m *DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBody) SetOperatingSystemVersion(value *string)() { + err := m.GetBackingStore().Set("operatingSystemVersion", value) + if err != nil { + panic(err) + } +} +type DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccountEnabled()(*bool) + GetAlternativeNames()([]string) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetExternalDeviceId()(*string) + GetExternalSourceName()(*string) + GetKeyCredential()(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable) + GetOperatingSystemVersion()(*string) + SetAccountEnabled(value *bool)() + SetAlternativeNames(value []string)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetExternalDeviceId(value *string)() + SetExternalSourceName(value *string)() + SetKeyCredential(value ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.KeyCredentialable)() + SetOperatingSystemVersion(value *string)() +} diff --git a/templates/device_templates_item_create_device_from_template_request_builder.go b/templates/device_templates_item_create_device_from_template_request_builder.go new file mode 100644 index 00000000000..03e7ec71322 --- /dev/null +++ b/templates/device_templates_item_create_device_from_template_request_builder.go @@ -0,0 +1,73 @@ +package templates + +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" +) + +// DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder provides operations to call the createDeviceFromTemplate method. +type DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal instantiates a new DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder and sets the default values. +func NewDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + m := &DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/createDeviceFromTemplate", pathParameters), + } + return m +} +// NewDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder instantiates a new DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder and sets the default values. +func NewDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action createDeviceFromTemplate +// returns a Deviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) Post(ctx context.Context, body DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable, requestConfiguration *DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, 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.CreateDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable), nil +} +// ToPostRequestInformation invoke action createDeviceFromTemplate +// returns a *RequestInformation when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeviceTemplatesItemCreateDeviceFromTemplatePostRequestBodyable, requestConfiguration *DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilderPostRequestConfiguration)(*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 *DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder when successful +func (m *DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder) { + return NewDeviceTemplatesItemCreateDeviceFromTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_device_instances_count_request_builder.go b/templates/device_templates_item_device_instances_count_request_builder.go new file mode 100644 index 00000000000..14347b94ca0 --- /dev/null +++ b/templates/device_templates_item_device_instances_count_request_builder.go @@ -0,0 +1,80 @@ +package templates + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeviceTemplatesItemDeviceInstancesCountRequestBuilder provides operations to count the resources in the collection. +type DeviceTemplatesItemDeviceInstancesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters get the number of the resource +type DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetQueryParameters +} +// NewDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal instantiates a new DeviceTemplatesItemDeviceInstancesCountRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + m := &DeviceTemplatesItemDeviceInstancesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewDeviceTemplatesItemDeviceInstancesCountRequestBuilder instantiates a new DeviceTemplatesItemDeviceInstancesCountRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal(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 *DeviceTemplatesItemDeviceInstancesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemDeviceInstancesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesCountRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemDeviceInstancesCountRequestBuilder when successful +func (m *DeviceTemplatesItemDeviceInstancesCountRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + return NewDeviceTemplatesItemDeviceInstancesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_device_instances_device_item_request_builder.go b/templates/device_templates_item_device_instances_device_item_request_builder.go new file mode 100644 index 00000000000..30f5f1d6424 --- /dev/null +++ b/templates/device_templates_item_device_instances_device_item_request_builder.go @@ -0,0 +1,81 @@ +package templates + +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" +) + +// DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +type DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters get deviceInstances from templates +type DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetQueryParameters +} +// NewDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal instantiates a new DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + m := &DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances/{device%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder instantiates a new DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get deviceInstances from templates +// returns a Deviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, 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.CreateDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable), nil +} +// ToGetRequestInformation get deviceInstances from templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder when successful +func (m *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + return NewDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_device_instances_request_builder.go b/templates/device_templates_item_device_instances_request_builder.go new file mode 100644 index 00000000000..2bb69aa3934 --- /dev/null +++ b/templates/device_templates_item_device_instances_request_builder.go @@ -0,0 +1,110 @@ +package templates + +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" +) + +// DeviceTemplatesItemDeviceInstancesRequestBuilder provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +type DeviceTemplatesItemDeviceInstancesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters get deviceInstances from templates +type DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters 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"` +} +// DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesItemDeviceInstancesRequestBuilderGetQueryParameters +} +// ByDeviceId provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +// returns a *DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder when successful +func (m *DeviceTemplatesItemDeviceInstancesRequestBuilder) ByDeviceId(deviceId string)(*DeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if deviceId != "" { + urlTplParams["device%2Did"] = deviceId + } + return NewDeviceTemplatesItemDeviceInstancesDeviceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewDeviceTemplatesItemDeviceInstancesRequestBuilderInternal instantiates a new DeviceTemplatesItemDeviceInstancesRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemDeviceInstancesRequestBuilder) { + m := &DeviceTemplatesItemDeviceInstancesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewDeviceTemplatesItemDeviceInstancesRequestBuilder instantiates a new DeviceTemplatesItemDeviceInstancesRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemDeviceInstancesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemDeviceInstancesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *DeviceTemplatesItemDeviceInstancesCountRequestBuilder when successful +func (m *DeviceTemplatesItemDeviceInstancesRequestBuilder) Count()(*DeviceTemplatesItemDeviceInstancesCountRequestBuilder) { + return NewDeviceTemplatesItemDeviceInstancesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deviceInstances from templates +// returns a DeviceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesItemDeviceInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceCollectionResponseable, 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.CreateDeviceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceCollectionResponseable), nil +} +// ToGetRequestInformation get deviceInstances from templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesItemDeviceInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemDeviceInstancesRequestBuilder when successful +func (m *DeviceTemplatesItemDeviceInstancesRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemDeviceInstancesRequestBuilder) { + return NewDeviceTemplatesItemDeviceInstancesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_device_instances_with_device_id_request_builder.go b/templates/device_templates_item_device_instances_with_device_id_request_builder.go new file mode 100644 index 00000000000..e4678976926 --- /dev/null +++ b/templates/device_templates_item_device_instances_with_device_id_request_builder.go @@ -0,0 +1,84 @@ +package templates + +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" +) + +// DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder provides operations to manage the deviceInstances property of the microsoft.graph.deviceTemplate entity. +type DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters get deviceInstances from templates +type DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetQueryParameters +} +// NewDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal instantiates a new DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, deviceId *string)(*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + m := &DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/deviceInstances(deviceId='{deviceId}'){?%24expand,%24select}", pathParameters), + } + if deviceId != nil { + m.BaseRequestBuilder.PathParameters["deviceId"] = *deviceId + } + return m +} +// NewDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder instantiates a new DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder and sets the default values. +func NewDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get get deviceInstances from templates +// returns a Deviceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable, 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.CreateDeviceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Deviceable), nil +} +// ToGetRequestInformation get deviceInstances from templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder when successful +func (m *DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder) { + return NewDeviceTemplatesItemDeviceInstancesWithDeviceIdRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_owners_count_request_builder.go b/templates/device_templates_item_owners_count_request_builder.go new file mode 100644 index 00000000000..8562a931636 --- /dev/null +++ b/templates/device_templates_item_owners_count_request_builder.go @@ -0,0 +1,80 @@ +package templates + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeviceTemplatesItemOwnersCountRequestBuilder provides operations to count the resources in the collection. +type DeviceTemplatesItemOwnersCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters get the number of the resource +type DeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesItemOwnersCountRequestBuilderGetQueryParameters +} +// NewDeviceTemplatesItemOwnersCountRequestBuilderInternal instantiates a new DeviceTemplatesItemOwnersCountRequestBuilder and sets the default values. +func NewDeviceTemplatesItemOwnersCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemOwnersCountRequestBuilder) { + m := &DeviceTemplatesItemOwnersCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/owners/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewDeviceTemplatesItemOwnersCountRequestBuilder instantiates a new DeviceTemplatesItemOwnersCountRequestBuilder and sets the default values. +func NewDeviceTemplatesItemOwnersCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemOwnersCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemOwnersCountRequestBuilderInternal(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 *DeviceTemplatesItemOwnersCountRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemOwnersCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesItemOwnersCountRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemOwnersCountRequestBuilder when successful +func (m *DeviceTemplatesItemOwnersCountRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemOwnersCountRequestBuilder) { + return NewDeviceTemplatesItemOwnersCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_owners_directory_object_item_request_builder.go b/templates/device_templates_item_owners_directory_object_item_request_builder.go new file mode 100644 index 00000000000..78148e1d6cd --- /dev/null +++ b/templates/device_templates_item_owners_directory_object_item_request_builder.go @@ -0,0 +1,81 @@ +package templates + +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" +) + +// DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +type DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters get owners from templates +type DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetQueryParameters +} +// NewDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal instantiates a new DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder and sets the default values. +func NewDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + m := &DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/owners/{directoryObject%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder instantiates a new DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder and sets the default values. +func NewDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get owners from templates +// returns a DirectoryObjectable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration)(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 owners from templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder when successful +func (m *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + return NewDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_item_owners_request_builder.go b/templates/device_templates_item_owners_request_builder.go new file mode 100644 index 00000000000..2c6b6493128 --- /dev/null +++ b/templates/device_templates_item_owners_request_builder.go @@ -0,0 +1,110 @@ +package templates + +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" +) + +// DeviceTemplatesItemOwnersRequestBuilder provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +type DeviceTemplatesItemOwnersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters get owners from templates +type DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters 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"` +} +// DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesItemOwnersRequestBuilderGetQueryParameters +} +// ByDirectoryObjectId provides operations to manage the owners property of the microsoft.graph.deviceTemplate entity. +// returns a *DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder when successful +func (m *DeviceTemplatesItemOwnersRequestBuilder) ByDirectoryObjectId(directoryObjectId string)(*DeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if directoryObjectId != "" { + urlTplParams["directoryObject%2Did"] = directoryObjectId + } + return NewDeviceTemplatesItemOwnersDirectoryObjectItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewDeviceTemplatesItemOwnersRequestBuilderInternal instantiates a new DeviceTemplatesItemOwnersRequestBuilder and sets the default values. +func NewDeviceTemplatesItemOwnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemOwnersRequestBuilder) { + m := &DeviceTemplatesItemOwnersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates/{deviceTemplate%2Did}/owners{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewDeviceTemplatesItemOwnersRequestBuilder instantiates a new DeviceTemplatesItemOwnersRequestBuilder and sets the default values. +func NewDeviceTemplatesItemOwnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesItemOwnersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesItemOwnersRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *DeviceTemplatesItemOwnersCountRequestBuilder when successful +func (m *DeviceTemplatesItemOwnersRequestBuilder) Count()(*DeviceTemplatesItemOwnersCountRequestBuilder) { + return NewDeviceTemplatesItemOwnersCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get owners from templates +// returns a DirectoryObjectCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesItemOwnersRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable, 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.CreateDirectoryObjectCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectCollectionResponseable), nil +} +// ToGetRequestInformation get owners from templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesItemOwnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesItemOwnersRequestBuilderGetRequestConfiguration)(*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 *DeviceTemplatesItemOwnersRequestBuilder when successful +func (m *DeviceTemplatesItemOwnersRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesItemOwnersRequestBuilder) { + return NewDeviceTemplatesItemOwnersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/device_templates_request_builder.go b/templates/device_templates_request_builder.go new file mode 100644 index 00000000000..2095a31d833 --- /dev/null +++ b/templates/device_templates_request_builder.go @@ -0,0 +1,152 @@ +package templates + +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" +) + +// DeviceTemplatesRequestBuilder provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +type DeviceTemplatesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeviceTemplatesRequestBuilderGetQueryParameters get deviceTemplates from templates +type DeviceTemplatesRequestBuilderGetQueryParameters 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"` +} +// DeviceTemplatesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *DeviceTemplatesRequestBuilderGetQueryParameters +} +// DeviceTemplatesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeviceTemplatesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByDeviceTemplateId provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +// returns a *DeviceTemplatesDeviceTemplateItemRequestBuilder when successful +func (m *DeviceTemplatesRequestBuilder) ByDeviceTemplateId(deviceTemplateId string)(*DeviceTemplatesDeviceTemplateItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if deviceTemplateId != "" { + urlTplParams["deviceTemplate%2Did"] = deviceTemplateId + } + return NewDeviceTemplatesDeviceTemplateItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewDeviceTemplatesRequestBuilderInternal instantiates a new DeviceTemplatesRequestBuilder and sets the default values. +func NewDeviceTemplatesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesRequestBuilder) { + m := &DeviceTemplatesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates/deviceTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewDeviceTemplatesRequestBuilder instantiates a new DeviceTemplatesRequestBuilder and sets the default values. +func NewDeviceTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeviceTemplatesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeviceTemplatesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *DeviceTemplatesCountRequestBuilder when successful +func (m *DeviceTemplatesRequestBuilder) Count()(*DeviceTemplatesCountRequestBuilder) { + return NewDeviceTemplatesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deviceTemplates from templates +// returns a DeviceTemplateCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceTemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable, 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.CreateDeviceTemplateCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable), nil +} +// Post create new navigation property to deviceTemplates for templates +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *DeviceTemplatesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *DeviceTemplatesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// ToGetRequestInformation get deviceTemplates from templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeviceTemplatesRequestBuilderGetRequestConfiguration)(*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 deviceTemplates for templates +// returns a *RequestInformation when successful +func (m *DeviceTemplatesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, requestConfiguration *DeviceTemplatesRequestBuilderPostRequestConfiguration)(*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 *DeviceTemplatesRequestBuilder when successful +func (m *DeviceTemplatesRequestBuilder) WithUrl(rawUrl string)(*DeviceTemplatesRequestBuilder) { + return NewDeviceTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/templates/templates_request_builder.go b/templates/templates_request_builder.go new file mode 100644 index 00000000000..21320403761 --- /dev/null +++ b/templates/templates_request_builder.go @@ -0,0 +1,128 @@ +package templates + +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" +) + +// TemplatesRequestBuilder provides operations to manage the template singleton. +type TemplatesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TemplatesRequestBuilderGetQueryParameters get templates +type TemplatesRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// TemplatesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *TemplatesRequestBuilderGetQueryParameters +} +// TemplatesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TemplatesRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTemplatesRequestBuilderInternal instantiates a new TemplatesRequestBuilder and sets the default values. +func NewTemplatesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesRequestBuilder) { + m := &TemplatesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/templates{?%24expand,%24select}", pathParameters), + } + return m +} +// NewTemplatesRequestBuilder instantiates a new TemplatesRequestBuilder and sets the default values. +func NewTemplatesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TemplatesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTemplatesRequestBuilderInternal(urlParams, requestAdapter) +} +// DeviceTemplates provides operations to manage the deviceTemplates property of the microsoft.graph.template entity. +// returns a *DeviceTemplatesRequestBuilder when successful +func (m *TemplatesRequestBuilder) DeviceTemplates()(*DeviceTemplatesRequestBuilder) { + return NewDeviceTemplatesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get templates +// returns a Templateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesRequestBuilder) Get(ctx context.Context, requestConfiguration *TemplatesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, 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.CreateTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable), nil +} +// Patch update templates +// returns a Templateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *TemplatesRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, requestConfiguration *TemplatesRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, 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.CreateTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable), nil +} +// ToGetRequestInformation get templates +// returns a *RequestInformation when successful +func (m *TemplatesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TemplatesRequestBuilderGetRequestConfiguration)(*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 templates +// returns a *RequestInformation when successful +func (m *TemplatesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Templateable, requestConfiguration *TemplatesRequestBuilderPatchRequestConfiguration)(*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 *TemplatesRequestBuilder when successful +func (m *TemplatesRequestBuilder) WithUrl(rawUrl string)(*TemplatesRequestBuilder) { + return NewTemplatesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/tenantrelationships/multi_tenant_organization_request_builder.go b/tenantrelationships/multi_tenant_organization_request_builder.go index 30b0ffcd796..2ec7f73be03 100644 --- a/tenantrelationships/multi_tenant_organization_request_builder.go +++ b/tenantrelationships/multi_tenant_organization_request_builder.go @@ -75,12 +75,12 @@ func (m *MultiTenantOrganizationRequestBuilder) Get(ctx context.Context, request func (m *MultiTenantOrganizationRequestBuilder) JoinRequest()(*MultiTenantOrganizationJoinRequestRequestBuilder) { return NewMultiTenantOrganizationJoinRequestRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. +// Patch update the properties of a multi-tenant organization. // returns a MultiTenantOrganizationable 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/tenantrelationship-put-multitenantorganization?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/multitenantorganization-update?view=graph-rest-beta func (m *MultiTenantOrganizationRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -117,7 +117,7 @@ func (m *MultiTenantOrganizationRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. +// ToPatchRequestInformation update the properties of a multi-tenant organization. // returns a *RequestInformation when successful func (m *MultiTenantOrganizationRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MultiTenantOrganizationable, requestConfiguration *MultiTenantOrganizationRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_devices_device_item_request_builder.go b/users/item_devices_device_item_request_builder.go index d266ef58074..7346ae5d0f6 100644 --- a/users/item_devices_device_item_request_builder.go +++ b/users/item_devices_device_item_request_builder.go @@ -75,6 +75,11 @@ func (m *ItemDevicesDeviceItemRequestBuilder) Delete(ctx context.Context, reques } return nil } +// DeviceTemplate provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +// returns a *ItemDevicesItemDeviceTemplateRequestBuilder when successful +func (m *ItemDevicesDeviceItemRequestBuilder) DeviceTemplate()(*ItemDevicesItemDeviceTemplateRequestBuilder) { + return NewItemDevicesItemDeviceTemplateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Extensions provides operations to manage the extensions property of the microsoft.graph.device entity. // returns a *ItemDevicesItemExtensionsRequestBuilder when successful func (m *ItemDevicesDeviceItemRequestBuilder) Extensions()(*ItemDevicesItemExtensionsRequestBuilder) { diff --git a/users/item_devices_item_device_template_count_request_builder.go b/users/item_devices_item_device_template_count_request_builder.go new file mode 100644 index 00000000000..b5b5ec220b3 --- /dev/null +++ b/users/item_devices_item_device_template_count_request_builder.go @@ -0,0 +1,80 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemDevicesItemDeviceTemplateCountRequestBuilder provides operations to count the resources in the collection. +type ItemDevicesItemDeviceTemplateCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDevicesItemDeviceTemplateCountRequestBuilderGetQueryParameters get the number of the resource +type ItemDevicesItemDeviceTemplateCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDevicesItemDeviceTemplateCountRequestBuilderGetQueryParameters +} +// NewItemDevicesItemDeviceTemplateCountRequestBuilderInternal instantiates a new ItemDevicesItemDeviceTemplateCountRequestBuilder and sets the default values. +func NewItemDevicesItemDeviceTemplateCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDevicesItemDeviceTemplateCountRequestBuilder) { + m := &ItemDevicesItemDeviceTemplateCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/deviceTemplate/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemDevicesItemDeviceTemplateCountRequestBuilder instantiates a new ItemDevicesItemDeviceTemplateCountRequestBuilder and sets the default values. +func NewItemDevicesItemDeviceTemplateCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDevicesItemDeviceTemplateCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDevicesItemDeviceTemplateCountRequestBuilderInternal(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 *ItemDevicesItemDeviceTemplateCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration)(*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 *ItemDevicesItemDeviceTemplateCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemDeviceTemplateCountRequestBuilderGetRequestConfiguration)(*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 *ItemDevicesItemDeviceTemplateCountRequestBuilder when successful +func (m *ItemDevicesItemDeviceTemplateCountRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemDeviceTemplateCountRequestBuilder) { + return NewItemDevicesItemDeviceTemplateCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_device_template_device_template_item_request_builder.go b/users/item_devices_item_device_template_device_template_item_request_builder.go new file mode 100644 index 00000000000..df376ffeb33 --- /dev/null +++ b/users/item_devices_item_device_template_device_template_item_request_builder.go @@ -0,0 +1,81 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +type ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters get deviceTemplate from users +type ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetQueryParameters +} +// NewItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal instantiates a new ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder and sets the default values. +func NewItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + m := &ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/deviceTemplate/{deviceTemplate%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder instantiates a new ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder and sets the default values. +func NewItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get deviceTemplate from users +// returns a DeviceTemplateable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable, 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.CreateDeviceTemplateFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateable), nil +} +// ToGetRequestInformation get deviceTemplate from users +// returns a *RequestInformation when successful +func (m *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderGetRequestConfiguration)(*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 *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder when successful +func (m *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + return NewItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_devices_item_device_template_request_builder.go b/users/item_devices_item_device_template_request_builder.go new file mode 100644 index 00000000000..0a5b043b87d --- /dev/null +++ b/users/item_devices_item_device_template_request_builder.go @@ -0,0 +1,110 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemDevicesItemDeviceTemplateRequestBuilder provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +type ItemDevicesItemDeviceTemplateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters get deviceTemplate from users +type ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters 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"` +} +// ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDevicesItemDeviceTemplateRequestBuilderGetQueryParameters +} +// ByDeviceTemplateId provides operations to manage the deviceTemplate property of the microsoft.graph.device entity. +// returns a *ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder when successful +func (m *ItemDevicesItemDeviceTemplateRequestBuilder) ByDeviceTemplateId(deviceTemplateId string)(*ItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if deviceTemplateId != "" { + urlTplParams["deviceTemplate%2Did"] = deviceTemplateId + } + return NewItemDevicesItemDeviceTemplateDeviceTemplateItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemDevicesItemDeviceTemplateRequestBuilderInternal instantiates a new ItemDevicesItemDeviceTemplateRequestBuilder and sets the default values. +func NewItemDevicesItemDeviceTemplateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDevicesItemDeviceTemplateRequestBuilder) { + m := &ItemDevicesItemDeviceTemplateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/devices/{device%2Did}/deviceTemplate{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemDevicesItemDeviceTemplateRequestBuilder instantiates a new ItemDevicesItemDeviceTemplateRequestBuilder and sets the default values. +func NewItemDevicesItemDeviceTemplateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDevicesItemDeviceTemplateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDevicesItemDeviceTemplateRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemDevicesItemDeviceTemplateCountRequestBuilder when successful +func (m *ItemDevicesItemDeviceTemplateRequestBuilder) Count()(*ItemDevicesItemDeviceTemplateCountRequestBuilder) { + return NewItemDevicesItemDeviceTemplateCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get deviceTemplate from users +// returns a DeviceTemplateCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDevicesItemDeviceTemplateRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable, 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.CreateDeviceTemplateCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DeviceTemplateCollectionResponseable), nil +} +// ToGetRequestInformation get deviceTemplate from users +// returns a *RequestInformation when successful +func (m *ItemDevicesItemDeviceTemplateRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDevicesItemDeviceTemplateRequestBuilderGetRequestConfiguration)(*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 *ItemDevicesItemDeviceTemplateRequestBuilder when successful +func (m *ItemDevicesItemDeviceTemplateRequestBuilder) WithUrl(rawUrl string)(*ItemDevicesItemDeviceTemplateRequestBuilder) { + return NewItemDevicesItemDeviceTemplateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_operations_count_request_builder.go b/users/item_mail_folders_item_child_folders_item_operations_count_request_builder.go new file mode 100644 index 00000000000..f7e01be248b --- /dev/null +++ b/users/item_mail_folders_item_child_folders_item_operations_count_request_builder.go @@ -0,0 +1,83 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder provides operations to count the resources in the collection. +type ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetQueryParameters +} +// NewItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderInternal instantiates a new ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder) { + m := &ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder instantiates a new ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration)(*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 +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_operations_mail_folder_operation_item_request_builder.go b/users/item_mail_folders_item_child_folders_item_operations_mail_folder_operation_item_request_builder.go new file mode 100644 index 00000000000..aea0cc6f197 --- /dev/null +++ b/users/item_mail_folders_item_child_folders_item_operations_mail_folder_operation_item_request_builder.go @@ -0,0 +1,84 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +type ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters get operations from users +type ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters +} +// NewItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal instantiates a new ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + m := &ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations/{mailFolderOperation%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder instantiates a new ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a MailFolderOperationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationable, 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.CreateMailFolderOperationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationable), nil +} +// ToGetRequestInformation get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_operations_request_builder.go b/users/item_mail_folders_item_child_folders_item_operations_request_builder.go new file mode 100644 index 00000000000..52774402e23 --- /dev/null +++ b/users/item_mail_folders_item_child_folders_item_operations_request_builder.go @@ -0,0 +1,114 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +type ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters get operations from users +type ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters 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"` +} +// ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetQueryParameters +} +// ByMailFolderOperationId provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) ByMailFolderOperationId(mailFolderOperationId string)(*ItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mailFolderOperationId != "" { + urlTplParams["mailFolderOperation%2Did"] = mailFolderOperationId + } + return NewItemMailFoldersItemChildFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemMailFoldersItemChildFoldersItemOperationsRequestBuilderInternal instantiates a new ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemOperationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) { + m := &ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemMailFoldersItemChildFoldersItemOperationsRequestBuilder instantiates a new ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemChildFoldersItemOperationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) Count()(*ItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a MailFolderOperationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationCollectionResponseable, 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.CreateMailFolderOperationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationCollectionResponseable), nil +} +// ToGetRequestInformation get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_item_update_all_messages_read_state_post_request_body.go b/users/item_mail_folders_item_child_folders_item_update_all_messages_read_state_post_request_body.go new file mode 100644 index 00000000000..074e41d5b37 --- /dev/null +++ b/users/item_mail_folders_item_child_folders_item_update_all_messages_read_state_post_request_body.go @@ -0,0 +1,150 @@ +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody instantiates a new ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody and sets the default values. +func NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody()(*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) { + m := &ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody(), 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 *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) 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 *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) 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 *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isRead"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsRead(val) + } + return nil + } + res["suppressReadReceipts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSuppressReadReceipts(val) + } + return nil + } + return res +} +// GetIsRead gets the isRead property value. The isRead property +// returns a *bool when successful +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) GetIsRead()(*bool) { + val, err := m.GetBackingStore().Get("isRead") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSuppressReadReceipts gets the suppressReadReceipts property value. The suppressReadReceipts property +// returns a *bool when successful +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) GetSuppressReadReceipts()(*bool) { + val, err := m.GetBackingStore().Get("suppressReadReceipts") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isRead", m.GetIsRead()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("suppressReadReceipts", m.GetSuppressReadReceipts()) + 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 *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) 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 *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsRead sets the isRead property value. The isRead property +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) SetIsRead(value *bool)() { + err := m.GetBackingStore().Set("isRead", value) + if err != nil { + panic(err) + } +} +// SetSuppressReadReceipts sets the suppressReadReceipts property value. The suppressReadReceipts property +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBody) SetSuppressReadReceipts(value *bool)() { + err := m.GetBackingStore().Set("suppressReadReceipts", value) + if err != nil { + panic(err) + } +} +type ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsRead()(*bool) + GetSuppressReadReceipts()(*bool) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsRead(value *bool)() + SetSuppressReadReceipts(value *bool)() +} diff --git a/users/item_mail_folders_item_child_folders_item_update_all_messages_read_state_request_builder.go b/users/item_mail_folders_item_child_folders_item_update_all_messages_read_state_request_builder.go new file mode 100644 index 00000000000..3150c870844 --- /dev/null +++ b/users/item_mail_folders_item_child_folders_item_update_all_messages_read_state_request_builder.go @@ -0,0 +1,71 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder provides operations to call the updateAllMessagesReadState method. +type ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal instantiates a new ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + m := &ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/updateAllMessagesReadState", pathParameters), + } + return m +} +// NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder instantiates a new ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder and sets the default values. +func NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action updateAllMessagesReadState +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, 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 updateAllMessagesReadState +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStatePostRequestBodyable, requestConfiguration *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go b/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go index 1d61e6eff44..39d3e0967ae 100644 --- a/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go +++ b/users/item_mail_folders_item_child_folders_mail_folder_item_request_builder.go @@ -112,6 +112,11 @@ func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) Messages() func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) Move()(*ItemMailFoldersItemChildFoldersItemMoveRequestBuilder) { return NewItemMailFoldersItemChildFoldersItemMoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Operations provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +// returns a *ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) Operations()(*ItemMailFoldersItemChildFoldersItemOperationsRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemOperationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property childFolders in users // returns a MailFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -177,6 +182,11 @@ func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) ToPatchReq } return requestInfo, nil } +// UpdateAllMessagesReadState provides operations to call the updateAllMessagesReadState method. +// returns a *ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder when successful +func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) UpdateAllMessagesReadState()(*ItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + return NewItemMailFoldersItemChildFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // UserConfigurations provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. // returns a *ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder when successful func (m *ItemMailFoldersItemChildFoldersMailFolderItemRequestBuilder) UserConfigurations()(*ItemMailFoldersItemChildFoldersItemUserConfigurationsRequestBuilder) { diff --git a/users/item_mail_folders_item_operations_count_request_builder.go b/users/item_mail_folders_item_operations_count_request_builder.go new file mode 100644 index 00000000000..2df37ed1347 --- /dev/null +++ b/users/item_mail_folders_item_operations_count_request_builder.go @@ -0,0 +1,83 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemOperationsCountRequestBuilder provides operations to count the resources in the collection. +type ItemMailFoldersItemOperationsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemOperationsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemMailFoldersItemOperationsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemMailFoldersItemOperationsCountRequestBuilderGetQueryParameters +} +// NewItemMailFoldersItemOperationsCountRequestBuilderInternal instantiates a new ItemMailFoldersItemOperationsCountRequestBuilder and sets the default values. +func NewItemMailFoldersItemOperationsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemOperationsCountRequestBuilder) { + m := &ItemMailFoldersItemOperationsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/operations/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemMailFoldersItemOperationsCountRequestBuilder instantiates a new ItemMailFoldersItemOperationsCountRequestBuilder and sets the default values. +func NewItemMailFoldersItemOperationsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemOperationsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemOperationsCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemOperationsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration)(*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 +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemOperationsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemOperationsCountRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemOperationsCountRequestBuilder when successful +func (m *ItemMailFoldersItemOperationsCountRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemOperationsCountRequestBuilder) { + return NewItemMailFoldersItemOperationsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_operations_mail_folder_operation_item_request_builder.go b/users/item_mail_folders_item_operations_mail_folder_operation_item_request_builder.go new file mode 100644 index 00000000000..9338205202a --- /dev/null +++ b/users/item_mail_folders_item_operations_mail_folder_operation_item_request_builder.go @@ -0,0 +1,84 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +type ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters get operations from users +type ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetQueryParameters +} +// NewItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal instantiates a new ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder and sets the default values. +func NewItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + m := &ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/operations/{mailFolderOperation%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder instantiates a new ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder and sets the default values. +func NewItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a MailFolderOperationable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationable, 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.CreateMailFolderOperationFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationable), nil +} +// ToGetRequestInformation get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder when successful +func (m *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + return NewItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_operations_request_builder.go b/users/item_mail_folders_item_operations_request_builder.go new file mode 100644 index 00000000000..5a48719bbba --- /dev/null +++ b/users/item_mail_folders_item_operations_request_builder.go @@ -0,0 +1,114 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemOperationsRequestBuilder provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +type ItemMailFoldersItemOperationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters get operations from users +type ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters 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"` +} +// ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemMailFoldersItemOperationsRequestBuilderGetQueryParameters +} +// ByMailFolderOperationId provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder when successful +func (m *ItemMailFoldersItemOperationsRequestBuilder) ByMailFolderOperationId(mailFolderOperationId string)(*ItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if mailFolderOperationId != "" { + urlTplParams["mailFolderOperation%2Did"] = mailFolderOperationId + } + return NewItemMailFoldersItemOperationsMailFolderOperationItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemMailFoldersItemOperationsRequestBuilderInternal instantiates a new ItemMailFoldersItemOperationsRequestBuilder and sets the default values. +func NewItemMailFoldersItemOperationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemOperationsRequestBuilder) { + m := &ItemMailFoldersItemOperationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/operations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemMailFoldersItemOperationsRequestBuilder instantiates a new ItemMailFoldersItemOperationsRequestBuilder and sets the default values. +func NewItemMailFoldersItemOperationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemOperationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemOperationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemMailFoldersItemOperationsCountRequestBuilder when successful +func (m *ItemMailFoldersItemOperationsRequestBuilder) Count()(*ItemMailFoldersItemOperationsCountRequestBuilder) { + return NewItemMailFoldersItemOperationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a MailFolderOperationCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemOperationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationCollectionResponseable, 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.CreateMailFolderOperationCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MailFolderOperationCollectionResponseable), nil +} +// ToGetRequestInformation get operations from users +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemOperationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMailFoldersItemOperationsRequestBuilderGetRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemOperationsRequestBuilder when successful +func (m *ItemMailFoldersItemOperationsRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemOperationsRequestBuilder) { + return NewItemMailFoldersItemOperationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_item_update_all_messages_read_state_post_request_body.go b/users/item_mail_folders_item_update_all_messages_read_state_post_request_body.go new file mode 100644 index 00000000000..04d938da29b --- /dev/null +++ b/users/item_mail_folders_item_update_all_messages_read_state_post_request_body.go @@ -0,0 +1,150 @@ +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody instantiates a new ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody and sets the default values. +func NewItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody()(*ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) { + m := &ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody(), 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 *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) 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 *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) 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 *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isRead"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsRead(val) + } + return nil + } + res["suppressReadReceipts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetSuppressReadReceipts(val) + } + return nil + } + return res +} +// GetIsRead gets the isRead property value. The isRead property +// returns a *bool when successful +func (m *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) GetIsRead()(*bool) { + val, err := m.GetBackingStore().Get("isRead") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetSuppressReadReceipts gets the suppressReadReceipts property value. The suppressReadReceipts property +// returns a *bool when successful +func (m *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) GetSuppressReadReceipts()(*bool) { + val, err := m.GetBackingStore().Get("suppressReadReceipts") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isRead", m.GetIsRead()) + if err != nil { + return err + } + } + { + err := writer.WriteBoolValue("suppressReadReceipts", m.GetSuppressReadReceipts()) + 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 *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) 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 *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsRead sets the isRead property value. The isRead property +func (m *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) SetIsRead(value *bool)() { + err := m.GetBackingStore().Set("isRead", value) + if err != nil { + panic(err) + } +} +// SetSuppressReadReceipts sets the suppressReadReceipts property value. The suppressReadReceipts property +func (m *ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBody) SetSuppressReadReceipts(value *bool)() { + err := m.GetBackingStore().Set("suppressReadReceipts", value) + if err != nil { + panic(err) + } +} +type ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsRead()(*bool) + GetSuppressReadReceipts()(*bool) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsRead(value *bool)() + SetSuppressReadReceipts(value *bool)() +} diff --git a/users/item_mail_folders_item_update_all_messages_read_state_request_builder.go b/users/item_mail_folders_item_update_all_messages_read_state_request_builder.go new file mode 100644 index 00000000000..971d041ef0e --- /dev/null +++ b/users/item_mail_folders_item_update_all_messages_read_state_request_builder.go @@ -0,0 +1,71 @@ +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder provides operations to call the updateAllMessagesReadState method. +type ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal instantiates a new ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder and sets the default values. +func NewItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + m := &ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/updateAllMessagesReadState", pathParameters), + } + return m +} +// NewItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder instantiates a new ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder and sets the default values. +func NewItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action updateAllMessagesReadState +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder) Post(ctx context.Context, body ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable, requestConfiguration *ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, 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 updateAllMessagesReadState +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *RequestInformation when successful +func (m *ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMailFoldersItemUpdateAllMessagesReadStatePostRequestBodyable, requestConfiguration *ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderPostRequestConfiguration)(*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. +// Deprecated: as of 2024-04/PrivatePreview:updateAllMessagesReadStateAPI +// returns a *ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder when successful +func (m *ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder) WithUrl(rawUrl string)(*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + return NewItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_mail_folders_mail_folder_item_request_builder.go b/users/item_mail_folders_mail_folder_item_request_builder.go index 7117e7a4105..f7abc285870 100644 --- a/users/item_mail_folders_mail_folder_item_request_builder.go +++ b/users/item_mail_folders_mail_folder_item_request_builder.go @@ -117,6 +117,11 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) Messages()(*ItemMailFolder func (m *ItemMailFoldersMailFolderItemRequestBuilder) Move()(*ItemMailFoldersItemMoveRequestBuilder) { return NewItemMailFoldersItemMoveRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// Operations provides operations to manage the operations property of the microsoft.graph.mailFolder entity. +// returns a *ItemMailFoldersItemOperationsRequestBuilder when successful +func (m *ItemMailFoldersMailFolderItemRequestBuilder) Operations()(*ItemMailFoldersItemOperationsRequestBuilder) { + return NewItemMailFoldersItemOperationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property mailFolders in users // returns a MailFolderable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -182,6 +187,11 @@ func (m *ItemMailFoldersMailFolderItemRequestBuilder) ToPatchRequestInformation( } return requestInfo, nil } +// UpdateAllMessagesReadState provides operations to call the updateAllMessagesReadState method. +// returns a *ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder when successful +func (m *ItemMailFoldersMailFolderItemRequestBuilder) UpdateAllMessagesReadState()(*ItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilder) { + return NewItemMailFoldersItemUpdateAllMessagesReadStateRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // UserConfigurations provides operations to manage the userConfigurations property of the microsoft.graph.mailFolder entity. // returns a *ItemMailFoldersItemUserConfigurationsRequestBuilder when successful func (m *ItemMailFoldersMailFolderItemRequestBuilder) UserConfigurations()(*ItemMailFoldersItemUserConfigurationsRequestBuilder) { diff --git a/users/item_presence_request_builder.go b/users/item_presence_request_builder.go index a3d4eb17884..e4f89777fa8 100644 --- a/users/item_presence_request_builder.go +++ b/users/item_presence_request_builder.go @@ -18,7 +18,7 @@ type ItemPresenceRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemPresenceRequestBuilderGetQueryParameters get a user's presence information. +// ItemPresenceRequestBuilderGetQueryParameters set a presence status message for a user. An optional expiration date and time can be supplied. type ItemPresenceRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -80,12 +80,12 @@ func (m *ItemPresenceRequestBuilder) Delete(ctx context.Context, requestConfigur } return nil } -// Get get a user's presence information. +// Get set a presence status message for a user. An optional expiration date and time can be supplied. // returns a Presenceable 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/presence-get?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/presence-setstatusmessage?view=graph-rest-beta func (m *ItemPresenceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Presenceable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -149,7 +149,7 @@ func (m *ItemPresenceRequestBuilder) ToDeleteRequestInformation(ctx context.Cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get a user's presence information. +// ToGetRequestInformation set a presence status message for a user. An optional expiration date and time can be supplied. // returns a *RequestInformation when successful func (m *ItemPresenceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPresenceRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)