diff --git a/accessreviews/access_review_item_request_builder.go b/accessreviews/access_review_item_request_builder.go index 09d6142fe37..5483e43d77a 100644 --- a/accessreviews/access_review_item_request_builder.go +++ b/accessreviews/access_review_item_request_builder.go @@ -119,7 +119,7 @@ func (m *AccessReviewItemRequestBuilder) Instances()(*ItemInstancesRequestBuilde func (m *AccessReviewItemRequestBuilder) MyDecisions()(*ItemMyDecisionsRequestBuilder) { return NewItemMyDecisionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch in the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. +// Patch in the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. // returns a AccessReviewable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -187,7 +187,7 @@ func (m *AccessReviewItemRequestBuilder) ToGetRequestInformation(ctx context.Con requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation in the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. +// ToPatchRequestInformation in the Microsoft Entra access reviews feature, update an existing accessReview object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the addReviewer or removeReviewer APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the stop API. To apply the decisions to the target group or app access rights, use the apply API. // returns a *RequestInformation when successful func (m *AccessReviewItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AccessReviewable, requestConfiguration *AccessReviewItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/admin/exchange_request_builder.go b/admin/exchange_request_builder.go index d35c95be5f9..031cd0e93af 100644 --- a/admin/exchange_request_builder.go +++ b/admin/exchange_request_builder.go @@ -169,6 +169,11 @@ func (m *ExchangeRequestBuilder) ToPatchRequestInformation(ctx context.Context, } return requestInfo, nil } +// Tracing provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity. +// returns a *ExchangeTracingRequestBuilder when successful +func (m *ExchangeRequestBuilder) Tracing()(*ExchangeTracingRequestBuilder) { + return NewExchangeTracingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. // Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 // returns a *ExchangeRequestBuilder when successful diff --git a/admin/exchange_tracing_message_traces_count_request_builder.go b/admin/exchange_tracing_message_traces_count_request_builder.go new file mode 100644 index 00000000000..b4ee4bb7dee --- /dev/null +++ b/admin/exchange_tracing_message_traces_count_request_builder.go @@ -0,0 +1,86 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ExchangeTracingMessageTracesCountRequestBuilder provides operations to count the resources in the collection. +type ExchangeTracingMessageTracesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ExchangeTracingMessageTracesCountRequestBuilderGetQueryParameters get the number of the resource +type ExchangeTracingMessageTracesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ExchangeTracingMessageTracesCountRequestBuilderGetQueryParameters +} +// NewExchangeTracingMessageTracesCountRequestBuilderInternal instantiates a new ExchangeTracingMessageTracesCountRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingMessageTracesCountRequestBuilder) { + m := &ExchangeTracingMessageTracesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewExchangeTracingMessageTracesCountRequestBuilder instantiates a new ExchangeTracingMessageTracesCountRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingMessageTracesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewExchangeTracingMessageTracesCountRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the number of the resource +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *int32 when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration)(*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: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingMessageTracesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration)(*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: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *ExchangeTracingMessageTracesCountRequestBuilder when successful +func (m *ExchangeTracingMessageTracesCountRequestBuilder) WithUrl(rawUrl string)(*ExchangeTracingMessageTracesCountRequestBuilder) { + return NewExchangeTracingMessageTracesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/exchange_tracing_message_traces_exchange_message_trace_item_request_builder.go b/admin/exchange_tracing_message_traces_exchange_message_trace_item_request_builder.go new file mode 100644 index 00000000000..1f8a743a942 --- /dev/null +++ b/admin/exchange_tracing_message_traces_exchange_message_trace_item_request_builder.go @@ -0,0 +1,173 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. +type ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetQueryParameters get messageTraces from admin +type ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetQueryParameters +} +// ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderInternal instantiates a new ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) { + m := &ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder instantiates a new ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property messageTraces for admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration)(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 messageTraces from admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a ExchangeMessageTraceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable, 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.CreateExchangeMessageTraceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable), nil +} +// GetDetailsByRecipientWithRecipientAddress provides operations to call the getDetailsByRecipient method. +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder when successful +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) GetDetailsByRecipientWithRecipientAddress(recipientAddress *string)(*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) { + return NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, recipientAddress) +} +// Patch update the navigation property messageTraces in admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a ExchangeMessageTraceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable, requestConfiguration *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable, 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.CreateExchangeMessageTraceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable), nil +} +// ToDeleteRequestInformation delete navigation property messageTraces for admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration)(*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 messageTraces from admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration)(*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 messageTraces in admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable, requestConfiguration *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration)(*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. +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder when successful +func (m *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) WithUrl(rawUrl string)(*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) { + return NewExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_get_response.go b/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_get_response.go new file mode 100644 index 00000000000..13d7ccb89ab --- /dev/null +++ b/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse instantiates a new ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse and sets the default values. +func NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse()(*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse) { + m := &ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateExchangeMessageTraceDetailFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ExchangeMessageTraceDetailable when successful +func (m *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse) 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 *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable)() +} diff --git a/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_request_builder.go b/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_request_builder.go new file mode 100644 index 00000000000..20dd3f7d084 --- /dev/null +++ b/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_request_builder.go @@ -0,0 +1,122 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder provides operations to call the getDetailsByRecipient method. +type ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters invoke function getDetailsByRecipient +type ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters 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"` +} +// ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters +} +// NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderInternal instantiates a new ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, recipientAddress *string)(*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) { + m := &ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}/getDetailsByRecipient(recipientAddress='{recipientAddress}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if recipientAddress != nil { + m.BaseRequestBuilder.PathParameters["recipientAddress"] = *recipientAddress + } + return m +} +// NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder instantiates a new ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderInternal(urlParams, requestAdapter, nil) +} +// Get invoke function getDetailsByRecipient +// Deprecated: This method is obsolete. Use GetAsGetDetailsByRecipientWithRecipientAddressGetResponse instead. +// returns a ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration)(ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseable, 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, CreateExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseable), nil +} +// GetAsGetDetailsByRecipientWithRecipientAddressGetResponse invoke function getDetailsByRecipient +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) GetAsGetDetailsByRecipientWithRecipientAddressGetResponse(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration)(ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable, 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, CreateExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable), nil +} +// ToGetRequestInformation invoke function getDetailsByRecipient +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration)(*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: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder when successful +func (m *ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) WithUrl(rawUrl string)(*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder) { + return NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_response.go b/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_response.go new file mode 100644 index 00000000000..5c9ca08b6bc --- /dev/null +++ b/admin/exchange_tracing_message_traces_item_get_details_by_recipient_with_recipient_address_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable instead. +type ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse struct { + ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse +} +// NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse instantiates a new ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse and sets the default values. +func NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse()(*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse) { + m := &ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse{ + ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse: *NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse(), + } + return m +} +// CreateExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse(), nil +} +// Deprecated: This class is obsolete. Use ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable instead. +type ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseable interface { + ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/admin/exchange_tracing_message_traces_request_builder.go b/admin/exchange_tracing_message_traces_request_builder.go new file mode 100644 index 00000000000..67aecd41814 --- /dev/null +++ b/admin/exchange_tracing_message_traces_request_builder.go @@ -0,0 +1,161 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ExchangeTracingMessageTracesRequestBuilder provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. +type ExchangeTracingMessageTracesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ExchangeTracingMessageTracesRequestBuilderGetQueryParameters get messageTraces from admin +type ExchangeTracingMessageTracesRequestBuilderGetQueryParameters 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"` +} +// ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ExchangeTracingMessageTracesRequestBuilderGetQueryParameters +} +// ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByExchangeMessageTraceId provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder when successful +func (m *ExchangeTracingMessageTracesRequestBuilder) ByExchangeMessageTraceId(exchangeMessageTraceId string)(*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if exchangeMessageTraceId != "" { + urlTplParams["exchangeMessageTrace%2Did"] = exchangeMessageTraceId + } + return NewExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewExchangeTracingMessageTracesRequestBuilderInternal instantiates a new ExchangeTracingMessageTracesRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingMessageTracesRequestBuilder) { + m := &ExchangeTracingMessageTracesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/exchange/tracing/messageTraces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewExchangeTracingMessageTracesRequestBuilder instantiates a new ExchangeTracingMessageTracesRequestBuilder and sets the default values. +func NewExchangeTracingMessageTracesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingMessageTracesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewExchangeTracingMessageTracesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ExchangeTracingMessageTracesCountRequestBuilder when successful +func (m *ExchangeTracingMessageTracesRequestBuilder) Count()(*ExchangeTracingMessageTracesCountRequestBuilder) { + return NewExchangeTracingMessageTracesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get messageTraces from admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a ExchangeMessageTraceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceCollectionResponseable, 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.CreateExchangeMessageTraceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceCollectionResponseable), nil +} +// Post create new navigation property to messageTraces for admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a ExchangeMessageTraceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingMessageTracesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable, requestConfiguration *ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable, 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.CreateExchangeMessageTraceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable), nil +} +// ToGetRequestInformation get messageTraces from admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingMessageTracesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration)(*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 messageTraces for admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingMessageTracesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable, requestConfiguration *ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration)(*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: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *ExchangeTracingMessageTracesRequestBuilder when successful +func (m *ExchangeTracingMessageTracesRequestBuilder) WithUrl(rawUrl string)(*ExchangeTracingMessageTracesRequestBuilder) { + return NewExchangeTracingMessageTracesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/admin/exchange_tracing_request_builder.go b/admin/exchange_tracing_request_builder.go new file mode 100644 index 00000000000..85071188d7d --- /dev/null +++ b/admin/exchange_tracing_request_builder.go @@ -0,0 +1,172 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package admin + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ExchangeTracingRequestBuilder provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity. +type ExchangeTracingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ExchangeTracingRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ExchangeTracingRequestBuilderGetQueryParameters get tracing from admin +type ExchangeTracingRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ExchangeTracingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ExchangeTracingRequestBuilderGetQueryParameters +} +// ExchangeTracingRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ExchangeTracingRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewExchangeTracingRequestBuilderInternal instantiates a new ExchangeTracingRequestBuilder and sets the default values. +func NewExchangeTracingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingRequestBuilder) { + m := &ExchangeTracingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/admin/exchange/tracing{?%24expand,%24select}", pathParameters), + } + return m +} +// NewExchangeTracingRequestBuilder instantiates a new ExchangeTracingRequestBuilder and sets the default values. +func NewExchangeTracingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ExchangeTracingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewExchangeTracingRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property tracing for admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingRequestBuilder) Delete(ctx context.Context, requestConfiguration *ExchangeTracingRequestBuilderDeleteRequestConfiguration)(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 tracing from admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a MessageTracingRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingRequestBuilder) Get(ctx context.Context, requestConfiguration *ExchangeTracingRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable, 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.CreateMessageTracingRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable), nil +} +// MessageTraces provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity. +// returns a *ExchangeTracingMessageTracesRequestBuilder when successful +func (m *ExchangeTracingRequestBuilder) MessageTraces()(*ExchangeTracingMessageTracesRequestBuilder) { + return NewExchangeTracingMessageTracesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property tracing in admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a MessageTracingRootable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ExchangeTracingRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable, requestConfiguration *ExchangeTracingRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable, 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.CreateMessageTracingRootFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable), nil +} +// ToDeleteRequestInformation delete navigation property tracing for admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ExchangeTracingRequestBuilderDeleteRequestConfiguration)(*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 tracing from admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ExchangeTracingRequestBuilderGetRequestConfiguration)(*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 tracing in admin +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *RequestInformation when successful +func (m *ExchangeTracingRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable, requestConfiguration *ExchangeTracingRequestBuilderPatchRequestConfiguration)(*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. +// Deprecated: Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15 +// returns a *ExchangeTracingRequestBuilder when successful +func (m *ExchangeTracingRequestBuilder) WithUrl(rawUrl string)(*ExchangeTracingRequestBuilder) { + return NewExchangeTracingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/applications/delta_get_response.go b/applications/delta_get_response.go index 2445c974bea..fb1a8860c99 100644 --- a/applications/delta_get_response.go +++ b/applications/delta_get_response.go @@ -28,15 +28,15 @@ func CreateDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d2689 func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue) + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateApplicationFromDiscriminatorValue) if err != nil { return err } if val != nil { - res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, len(val)) + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable, len(val)) for i, v := range val { if v != nil { - res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable) } } m.SetValue(res) @@ -46,14 +46,14 @@ func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e return res } // GetValue gets the value property value. The value property -// returns a []DirectoryObjectable when successful -func (m *DeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) { +// returns a []Applicationable when successful +func (m *DeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable) } return nil } @@ -78,7 +78,7 @@ func (m *DeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return nil } // SetValue sets the value property value. The value property -func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() { +func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -87,6 +87,6 @@ func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde type DeltaGetResponseable interface { ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) - SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable)() } diff --git a/applications/delta_request_builder.go b/applications/delta_request_builder.go index 42a27dbd788..e37412bbdd0 100644 --- a/applications/delta_request_builder.go +++ b/applications/delta_request_builder.go @@ -13,7 +13,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,13 +54,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +78,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted applications and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/chats/chat_item_request_builder.go b/chats/chat_item_request_builder.go index 77d2d8a30d4..27feb48cda5 100644 --- a/chats/chat_item_request_builder.go +++ b/chats/chat_item_request_builder.go @@ -187,6 +187,11 @@ func (m *ChatItemRequestBuilder) RemoveAllAccessForUser()(*ItemRemoveAllAccessFo func (m *ChatItemRequestBuilder) SendActivityNotification()(*ItemSendActivityNotificationRequestBuilder) { return NewItemSendActivityNotificationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemStartMigrationRequestBuilder when successful +func (m *ChatItemRequestBuilder) StartMigration()(*ItemStartMigrationRequestBuilder) { + return NewItemStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.chat entity. // returns a *ItemTabsRequestBuilder when successful func (m *ChatItemRequestBuilder) Tabs()(*ItemTabsRequestBuilder) { diff --git a/chats/item_start_migration_post_request_body.go b/chats/item_start_migration_post_request_body.go new file mode 100644 index 00000000000..2125fc56aa2 --- /dev/null +++ b/chats/item_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemStartMigrationPostRequestBody instantiates a new ItemStartMigrationPostRequestBody and sets the default values. +func NewItemStartMigrationPostRequestBody()(*ItemStartMigrationPostRequestBody) { + m := &ItemStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemStartMigrationPostRequestBody(), 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 *ItemStartMigrationPostRequestBody) 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 *ItemStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemStartMigrationPostRequestBody) 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 *ItemStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/chats/item_start_migration_request_builder.go b/chats/item_start_migration_request_builder.go new file mode 100644 index 00000000000..286b235f2b7 --- /dev/null +++ b/chats/item_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package chats + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemStartMigrationRequestBuilderInternal instantiates a new ItemStartMigrationRequestBuilder and sets the default values. +func NewItemStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemStartMigrationRequestBuilder) { + m := &ItemStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/startMigration", pathParameters), + } + return m +} +// NewItemStartMigrationRequestBuilder instantiates a new ItemStartMigrationRequestBuilder and sets the default values. +func NewItemStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. +// 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/chat-startmigration?view=graph-rest-beta +func (m *ItemStartMigrationRequestBuilder) Post(ctx context.Context, body ItemStartMigrationPostRequestBodyable, requestConfiguration *ItemStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemStartMigrationPostRequestBodyable, requestConfiguration *ItemStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemStartMigrationRequestBuilder when successful +func (m *ItemStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemStartMigrationRequestBuilder) { + return NewItemStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/66b2271b1ef1aa85b8b90498901ab62a4ab0ac22c6ea522c31fe9a8567e3785d.go b/communications/66b2271b1ef1aa85b8b90498901ab62a4ab0ac22c6ea522c31fe9a8567e3785d.go new file mode 100644 index 00000000000..0d01395ec4f --- /dev/null +++ b/communications/66b2271b1ef1aa85b8b90498901ab62a4ab0ac22c6ea522c31fe9a8567e3785d.go @@ -0,0 +1,123 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the getAllTranscripts method. +type AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getAllTranscripts +type AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Usage: endDateTime=@endDateTime + EndDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"endDateTime"` + // 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"` + // Usage: startDateTime=@startDateTime + StartDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"startDateTime"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` + // Usage: userId='@userId' + UserId *string `uriparametername:"userId"` +} +// AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters), + } + return m +} +// NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function getAllTranscripts +// Deprecated: This method is obsolete. Use GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable, 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, CreateAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse invoke function getAllTranscripts +// returns a AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable, 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, CreateAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation invoke function getAllTranscripts +// returns a *RequestInformation when successful +func (m *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*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 *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_get_response.go b/communications/adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_get_response.go new file mode 100644 index 00000000000..b857b5d515a --- /dev/null +++ b/communications/adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instantiates a new AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse()(*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) { + m := &AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallRecordingable when successful +func (m *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) + } + return nil +} +// Serialize serializes information the current object +func (m *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) 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 *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() +} diff --git a/communications/adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_response.go b/communications/adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_response.go new file mode 100644 index 00000000000..70a8e486d2e --- /dev/null +++ b/communications/adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse struct { + AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +} +// NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse instantiates a new AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse()(*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse) { + m := &AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse{ + AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse: *NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable interface { + AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/communications/adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_get_response.go b/communications/adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_get_response.go new file mode 100644 index 00000000000..320edc4c54f --- /dev/null +++ b/communications/adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_get_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instantiates a new AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse()(*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) { + m := &AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallTranscriptable when successful +func (m *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) + } + return nil +} +// Serialize serializes information the current object +func (m *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) 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 *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() +} diff --git a/communications/adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_response.go b/communications/adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_response.go new file mode 100644 index 00000000000..2f3585d721d --- /dev/null +++ b/communications/adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse struct { + AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +} +// NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse instantiates a new AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse()(*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse) { + m := &AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse{ + AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse: *NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable interface { + AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/communications/adhoc_calls_request_builder.go b/communications/adhoc_calls_request_builder.go index 6e0a17c35ad..c0e92fae7fb 100644 --- a/communications/adhoc_calls_request_builder.go +++ b/communications/adhoc_calls_request_builder.go @@ -99,6 +99,16 @@ func (m *AdhocCallsRequestBuilder) Get(ctx context.Context, requestConfiguration } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallCollectionResponseable), nil } +// GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime provides operations to call the getAllRecordings method. +// returns a *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *AdhocCallsRequestBuilder) GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime()(*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime provides operations to call the getAllTranscripts method. +// returns a *AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *AdhocCallsRequestBuilder) GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime()(*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Post create new navigation property to adhocCalls for communications // returns a AdhocCallable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/communications/e43f3dd82ba897138e034c059c4a5270d7d3c29b13dc0edc12c216494c8175de.go b/communications/e43f3dd82ba897138e034c059c4a5270d7d3c29b13dc0edc12c216494c8175de.go new file mode 100644 index 00000000000..3d4c94a15b6 --- /dev/null +++ b/communications/e43f3dd82ba897138e034c059c4a5270d7d3c29b13dc0edc12c216494c8175de.go @@ -0,0 +1,123 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package communications + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the getAllRecordings method. +type AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getAllRecordings +type AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Usage: endDateTime=@endDateTime + EndDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"endDateTime"` + // 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"` + // Usage: startDateTime=@startDateTime + StartDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"startDateTime"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` + // Usage: userId='@userId' + UserId *string `uriparametername:"userId"` +} +// AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/communications/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters), + } + return m +} +// NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function getAllRecordings +// Deprecated: This method is obsolete. Use GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable, 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, CreateAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse invoke function getAllRecordings +// returns a AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable, 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, CreateAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation invoke function getAllRecordings +// returns a *RequestInformation when successful +func (m *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*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 *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/communications/presences_item_set_automatic_location_request_builder.go b/communications/presences_item_set_automatic_location_request_builder.go index 35798360b77..951255bbf10 100644 --- a/communications/presences_item_set_automatic_location_request_builder.go +++ b/communications/presences_item_set_automatic_location_request_builder.go @@ -33,7 +33,7 @@ func NewPresencesItemSetAutomaticLocationRequestBuilder(rawUrl string, requestAd urlParams["request-raw-url"] = rawUrl return NewPresencesItemSetAutomaticLocationRequestBuilderInternal(urlParams, requestAdapter) } -// Post update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// Post update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *PresencesItemSetAutomaticLocationRequestBuilder) Post(ctx context.Conte } return nil } -// ToPostRequestInformation update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// ToPostRequestInformation update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. // returns a *RequestInformation when successful func (m *PresencesItemSetAutomaticLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body PresencesItemSetAutomaticLocationPostRequestBodyable, requestConfiguration *PresencesItemSetAutomaticLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/communications/presences_item_set_manual_location_request_builder.go b/communications/presences_item_set_manual_location_request_builder.go index 3350be1d9cf..40773f49bad 100644 --- a/communications/presences_item_set_manual_location_request_builder.go +++ b/communications/presences_item_set_manual_location_request_builder.go @@ -33,7 +33,7 @@ func NewPresencesItemSetManualLocationRequestBuilder(rawUrl string, requestAdapt urlParams["request-raw-url"] = rawUrl return NewPresencesItemSetManualLocationRequestBuilderInternal(urlParams, requestAdapter) } -// Post set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. +// Post set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *PresencesItemSetManualLocationRequestBuilder) Post(ctx context.Context, } return nil } -// ToPostRequestInformation set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. +// ToPostRequestInformation set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. // returns a *RequestInformation when successful func (m *PresencesItemSetManualLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body PresencesItemSetManualLocationPostRequestBodyable, requestConfiguration *PresencesItemSetManualLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_provisioning_policies_item_retry_request_builder.go b/devicemanagement/virtual_endpoint_provisioning_policies_item_retry_request_builder.go index d691b82bc99..d3bc79695d3 100644 --- a/devicemanagement/virtual_endpoint_provisioning_policies_item_retry_request_builder.go +++ b/devicemanagement/virtual_endpoint_provisioning_policies_item_retry_request_builder.go @@ -33,8 +33,11 @@ func NewVirtualEndpointProvisioningPoliciesItemRetryRequestBuilder(rawUrl string urlParams["request-raw-url"] = rawUrl return NewVirtualEndpointProvisioningPoliciesItemRetryRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action retry +// Post retry the provisioning operation for Cloud PCs that used the current frontline shared policy and failed to apply the provisioning policy. // 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/cloudpcprovisioningpolicy-retry?view=graph-rest-beta func (m *VirtualEndpointProvisioningPoliciesItemRetryRequestBuilder) Post(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemRetryRequestBuilderPostRequestConfiguration)(error) { requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); if err != nil { @@ -49,7 +52,7 @@ func (m *VirtualEndpointProvisioningPoliciesItemRetryRequestBuilder) Post(ctx co } return nil } -// ToPostRequestInformation invoke action retry +// ToPostRequestInformation retry the provisioning operation for Cloud PCs that used the current frontline shared policy and failed to apply the provisioning policy. // returns a *RequestInformation when successful func (m *VirtualEndpointProvisioningPoliciesItemRetryRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *VirtualEndpointProvisioningPoliciesItemRetryRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/devicemanagement/virtual_endpoint_report_request_builder.go b/devicemanagement/virtual_endpoint_report_request_builder.go index f24a0fbd203..182ca43e2d2 100644 --- a/devicemanagement/virtual_endpoint_report_request_builder.go +++ b/devicemanagement/virtual_endpoint_report_request_builder.go @@ -113,6 +113,11 @@ func (m *VirtualEndpointReportRequestBuilder) Patch(ctx context.Context, body ie } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportable), nil } +// RetrieveCloudPcClientAppUsageReport provides operations to call the retrieveCloudPcClientAppUsageReport method. +// returns a *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder when successful +func (m *VirtualEndpointReportRequestBuilder) RetrieveCloudPcClientAppUsageReport()(*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder) { + return NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RetrieveCloudPcRecommendationReports provides operations to call the retrieveCloudPcRecommendationReports method. // returns a *VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder when successful func (m *VirtualEndpointReportRequestBuilder) RetrieveCloudPcRecommendationReports()(*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder) { diff --git a/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_client_app_usage_report_post_request_body.go b/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_client_app_usage_report_post_request_body.go new file mode 100644 index 00000000000..52b1eab0510 --- /dev/null +++ b/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_client_app_usage_report_post_request_body.go @@ -0,0 +1,395 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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 VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody instantiates a new VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody and sets the default values. +func NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody()(*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) { + m := &VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateVirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateVirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody(), 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 *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) 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 *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) 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 *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["filter"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFilter(val) + } + return nil + } + res["groupBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetGroupBy(res) + } + return nil + } + res["orderBy"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetOrderBy(res) + } + return nil + } + res["reportType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseCloudPcClientAppUsageReportType) + if err != nil { + return err + } + if val != nil { + m.SetReportType(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType)) + } + return nil + } + res["search"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSearch(val) + } + return nil + } + res["select"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetSelectEscaped(res) + } + return nil + } + res["skip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSkip(val) + } + return nil + } + res["top"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTop(val) + } + return nil + } + return res +} +// GetFilter gets the filter property value. The filter property +// returns a *string when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetFilter()(*string) { + val, err := m.GetBackingStore().Get("filter") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetGroupBy gets the groupBy property value. The groupBy property +// returns a []string when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetGroupBy()([]string) { + val, err := m.GetBackingStore().Get("groupBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetOrderBy gets the orderBy property value. The orderBy property +// returns a []string when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetOrderBy()([]string) { + val, err := m.GetBackingStore().Get("orderBy") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetReportType gets the reportType property value. The reportType property +// returns a *CloudPcClientAppUsageReportType when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetReportType()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType) { + val, err := m.GetBackingStore().Get("reportType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType) + } + return nil +} +// GetSearch gets the search property value. The search property +// returns a *string when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetSearch()(*string) { + val, err := m.GetBackingStore().Get("search") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSelectEscaped gets the select property value. The select property +// returns a []string when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetSelectEscaped()([]string) { + val, err := m.GetBackingStore().Get("selectEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// GetSkip gets the skip property value. The skip property +// returns a *int32 when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetSkip()(*int32) { + val, err := m.GetBackingStore().Get("skip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTop gets the top property value. The top property +// returns a *int32 when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) GetTop()(*int32) { + val, err := m.GetBackingStore().Get("top") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("filter", m.GetFilter()) + if err != nil { + return err + } + } + if m.GetGroupBy() != nil { + err := writer.WriteCollectionOfStringValues("groupBy", m.GetGroupBy()) + if err != nil { + return err + } + } + if m.GetOrderBy() != nil { + err := writer.WriteCollectionOfStringValues("orderBy", m.GetOrderBy()) + if err != nil { + return err + } + } + if m.GetReportType() != nil { + cast := (*m.GetReportType()).String() + err := writer.WriteStringValue("reportType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("search", m.GetSearch()) + if err != nil { + return err + } + } + if m.GetSelectEscaped() != nil { + err := writer.WriteCollectionOfStringValues("select", m.GetSelectEscaped()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("skip", m.GetSkip()) + if err != nil { + return err + } + } + { + err := writer.WriteInt32Value("top", m.GetTop()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) 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 *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetFilter sets the filter property value. The filter property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetFilter(value *string)() { + err := m.GetBackingStore().Set("filter", value) + if err != nil { + panic(err) + } +} +// SetGroupBy sets the groupBy property value. The groupBy property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetGroupBy(value []string)() { + err := m.GetBackingStore().Set("groupBy", value) + if err != nil { + panic(err) + } +} +// SetOrderBy sets the orderBy property value. The orderBy property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetOrderBy(value []string)() { + err := m.GetBackingStore().Set("orderBy", value) + if err != nil { + panic(err) + } +} +// SetReportType sets the reportType property value. The reportType property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetReportType(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType)() { + err := m.GetBackingStore().Set("reportType", value) + if err != nil { + panic(err) + } +} +// SetSearch sets the search property value. The search property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetSearch(value *string)() { + err := m.GetBackingStore().Set("search", value) + if err != nil { + panic(err) + } +} +// SetSelectEscaped sets the select property value. The select property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetSelectEscaped(value []string)() { + err := m.GetBackingStore().Set("selectEscaped", value) + if err != nil { + panic(err) + } +} +// SetSkip sets the skip property value. The skip property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetSkip(value *int32)() { + err := m.GetBackingStore().Set("skip", value) + if err != nil { + panic(err) + } +} +// SetTop sets the top property value. The top property +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody) SetTop(value *int32)() { + err := m.GetBackingStore().Set("top", value) + if err != nil { + panic(err) + } +} +type VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetFilter()(*string) + GetGroupBy()([]string) + GetOrderBy()([]string) + GetReportType()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType) + GetSearch()(*string) + GetSelectEscaped()([]string) + GetSkip()(*int32) + GetTop()(*int32) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetFilter(value *string)() + SetGroupBy(value []string)() + SetOrderBy(value []string)() + SetReportType(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType)() + SetSearch(value *string)() + SetSelectEscaped(value []string)() + SetSkip(value *int32)() + SetTop(value *int32)() +} diff --git a/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_client_app_usage_report_request_builder.go b/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_client_app_usage_report_request_builder.go new file mode 100644 index 00000000000..655444c403f --- /dev/null +++ b/devicemanagement/virtual_endpoint_report_retrieve_cloud_pc_client_app_usage_report_request_builder.go @@ -0,0 +1,78 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package devicemanagement + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder provides operations to call the retrieveCloudPcClientAppUsageReport method. +type VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderInternal instantiates a new VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder and sets the default values. +func NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder) { + m := &VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/report/retrieveCloudPcClientAppUsageReport", pathParameters), + } + return m +} +// NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder instantiates a new VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder and sets the default values. +func NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderInternal(urlParams, requestAdapter) +} +// Post retrieve related reports on Cloud PC usage, including the client application used by users to sign in to the Cloud PC device. The Remote Desktop client standalone installer (MSI) for Windows will reach end of support on March 27, 2026. Before that date, IT administrators should migrate users to Windows App to ensure continued access to remote resources through Azure Virtual Desktop, Windows 365, and Microsoft Dev Box. Learn more about preparing for the Remote Desktop Client for Windows end of support. This API enables IT administrators to check the migration status by confirming whether users are still using the legacy Remote Desktop client and identifying their last sign-in dates, thereby helping monitor progress and ensure compliance with migration requirements. +// returns a []byte 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/cloudpcreport-retrievecloudpcclientappusagereport?view=graph-rest-beta +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder) Post(ctx context.Context, body VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration)([]byte, 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.SendPrimitive(ctx, requestInfo, "[]byte", errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.([]byte), nil +} +// ToPostRequestInformation retrieve related reports on Cloud PC usage, including the client application used by users to sign in to the Cloud PC device. The Remote Desktop client standalone installer (MSI) for Windows will reach end of support on March 27, 2026. Before that date, IT administrators should migrate users to Windows App to ensure continued access to remote resources through Azure Virtual Desktop, Windows 365, and Microsoft Dev Box. Learn more about preparing for the Remote Desktop Client for Windows end of support. This API enables IT administrators to check the migration status by confirming whether users are still using the legacy Remote Desktop client and identifying their last sign-in dates, thereby helping monitor progress and ensure compliance with migration requirements. +// returns a *RequestInformation when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder) ToPostRequestInformation(ctx context.Context, body VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable, requestConfiguration *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration)(*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/octet-stream, 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 *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder when successful +func (m *VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder) WithUrl(rawUrl string)(*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder) { + return NewVirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_recent_request_builder.go b/drives/item_recent_request_builder.go index 3cd8a31cbf1..2315db38ff7 100644 --- a/drives/item_recent_request_builder.go +++ b/drives/item_recent_request_builder.go @@ -79,6 +79,7 @@ func (m *ItemRecentRequestBuilder) Get(ctx context.Context, requestConfiguration return res.(ItemRecentResponseable), nil } // GetAsRecentGetResponse list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a ItemRecentGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,6 +103,7 @@ func (m *ItemRecentRequestBuilder) GetAsRecentGetResponse(ctx context.Context, r return res.(ItemRecentGetResponseable), nil } // ToGetRequestInformation list a set of items recently used by the signed-in user.This collection includes items that are in the user's drive and items they have access to from other drives. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *RequestInformation when successful func (m *ItemRecentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRecentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -116,6 +118,7 @@ func (m *ItemRecentRequestBuilder) ToGetRequestInformation(ctx context.Context, return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *ItemRecentRequestBuilder when successful func (m *ItemRecentRequestBuilder) WithUrl(rawUrl string)(*ItemRecentRequestBuilder) { return NewItemRecentRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/drives/item_shared_with_me_request_builder.go b/drives/item_shared_with_me_request_builder.go index 95359567e73..bbb14649448 100644 --- a/drives/item_shared_with_me_request_builder.go +++ b/drives/item_shared_with_me_request_builder.go @@ -79,6 +79,7 @@ func (m *ItemSharedWithMeRequestBuilder) Get(ctx context.Context, requestConfigu return res.(ItemSharedWithMeResponseable), nil } // GetAsSharedWithMeGetResponse get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they're items from a different drive. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a ItemSharedWithMeGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -102,6 +103,7 @@ func (m *ItemSharedWithMeRequestBuilder) GetAsSharedWithMeGetResponse(ctx contex return res.(ItemSharedWithMeGetResponseable), nil } // ToGetRequestInformation get a list of driveItem objects shared with the owner of a drive. The driveItems returned from the sharedWithMe method always include the remoteItem facet that indicates they're items from a different drive. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *RequestInformation when successful func (m *ItemSharedWithMeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSharedWithMeRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -116,6 +118,7 @@ func (m *ItemSharedWithMeRequestBuilder) ToGetRequestInformation(ctx context.Con return requestInfo, nil } // WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// Deprecated: This API is deprecated and will stop returning data after November, 2027. as of 2025-11/Removal on 2025-11-13 and will be removed 2027-11-01 // returns a *ItemSharedWithMeRequestBuilder when successful func (m *ItemSharedWithMeRequestBuilder) WithUrl(rawUrl string)(*ItemSharedWithMeRequestBuilder) { return NewItemSharedWithMeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); diff --git a/groups/item_team_channels_channel_item_request_builder.go b/groups/item_team_channels_channel_item_request_builder.go index 9e7e347357b..53aedf55caf 100644 --- a/groups/item_team_channels_channel_item_request_builder.go +++ b/groups/item_team_channels_channel_item_request_builder.go @@ -173,6 +173,11 @@ func (m *ItemTeamChannelsChannelItemRequestBuilder) RemoveEmail()(*ItemTeamChann func (m *ItemTeamChannelsChannelItemRequestBuilder) SharedWithTeams()(*ItemTeamChannelsItemSharedWithTeamsRequestBuilder) { return NewItemTeamChannelsItemSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemTeamChannelsItemStartMigrationRequestBuilder when successful +func (m *ItemTeamChannelsChannelItemRequestBuilder) StartMigration()(*ItemTeamChannelsItemStartMigrationRequestBuilder) { + return NewItemTeamChannelsItemStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *ItemTeamChannelsItemTabsRequestBuilder when successful func (m *ItemTeamChannelsChannelItemRequestBuilder) Tabs()(*ItemTeamChannelsItemTabsRequestBuilder) { diff --git a/groups/item_team_channels_item_start_migration_post_request_body.go b/groups/item_team_channels_item_start_migration_post_request_body.go new file mode 100644 index 00000000000..701e37b3333 --- /dev/null +++ b/groups/item_team_channels_item_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamChannelsItemStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamChannelsItemStartMigrationPostRequestBody instantiates a new ItemTeamChannelsItemStartMigrationPostRequestBody and sets the default values. +func NewItemTeamChannelsItemStartMigrationPostRequestBody()(*ItemTeamChannelsItemStartMigrationPostRequestBody) { + m := &ItemTeamChannelsItemStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamChannelsItemStartMigrationPostRequestBody(), 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 *ItemTeamChannelsItemStartMigrationPostRequestBody) 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 *ItemTeamChannelsItemStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemTeamChannelsItemStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemTeamChannelsItemStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemTeamChannelsItemStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemTeamChannelsItemStartMigrationPostRequestBody) 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 *ItemTeamChannelsItemStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemTeamChannelsItemStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemTeamChannelsItemStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/groups/item_team_channels_item_start_migration_request_builder.go b/groups/item_team_channels_item_start_migration_request_builder.go new file mode 100644 index 00000000000..6b20a79fae5 --- /dev/null +++ b/groups/item_team_channels_item_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamChannelsItemStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemTeamChannelsItemStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamChannelsItemStartMigrationRequestBuilderInternal instantiates a new ItemTeamChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewItemTeamChannelsItemStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemStartMigrationRequestBuilder) { + m := &ItemTeamChannelsItemStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/startMigration", pathParameters), + } + return m +} +// NewItemTeamChannelsItemStartMigrationRequestBuilder instantiates a new ItemTeamChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewItemTeamChannelsItemStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamChannelsItemStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamChannelsItemStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *ItemTeamChannelsItemStartMigrationRequestBuilder) Post(ctx context.Context, body ItemTeamChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemTeamChannelsItemStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemTeamChannelsItemStartMigrationRequestBuilder when successful +func (m *ItemTeamChannelsItemStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamChannelsItemStartMigrationRequestBuilder) { + return NewItemTeamChannelsItemStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/groups/item_team_primary_channel_request_builder.go b/groups/item_team_primary_channel_request_builder.go index 104e5ece1ca..3eb0d4cfa30 100644 --- a/groups/item_team_primary_channel_request_builder.go +++ b/groups/item_team_primary_channel_request_builder.go @@ -173,6 +173,11 @@ func (m *ItemTeamPrimaryChannelRequestBuilder) RemoveEmail()(*ItemTeamPrimaryCha func (m *ItemTeamPrimaryChannelRequestBuilder) SharedWithTeams()(*ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder) { return NewItemTeamPrimaryChannelSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemTeamPrimaryChannelStartMigrationRequestBuilder when successful +func (m *ItemTeamPrimaryChannelRequestBuilder) StartMigration()(*ItemTeamPrimaryChannelStartMigrationRequestBuilder) { + return NewItemTeamPrimaryChannelStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *ItemTeamPrimaryChannelTabsRequestBuilder when successful func (m *ItemTeamPrimaryChannelRequestBuilder) Tabs()(*ItemTeamPrimaryChannelTabsRequestBuilder) { diff --git a/groups/item_team_primary_channel_start_migration_post_request_body.go b/groups/item_team_primary_channel_start_migration_post_request_body.go new file mode 100644 index 00000000000..0f4ef85f820 --- /dev/null +++ b/groups/item_team_primary_channel_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamPrimaryChannelStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamPrimaryChannelStartMigrationPostRequestBody instantiates a new ItemTeamPrimaryChannelStartMigrationPostRequestBody and sets the default values. +func NewItemTeamPrimaryChannelStartMigrationPostRequestBody()(*ItemTeamPrimaryChannelStartMigrationPostRequestBody) { + m := &ItemTeamPrimaryChannelStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamPrimaryChannelStartMigrationPostRequestBody(), 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 *ItemTeamPrimaryChannelStartMigrationPostRequestBody) 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 *ItemTeamPrimaryChannelStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemTeamPrimaryChannelStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemTeamPrimaryChannelStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemTeamPrimaryChannelStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemTeamPrimaryChannelStartMigrationPostRequestBody) 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 *ItemTeamPrimaryChannelStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemTeamPrimaryChannelStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemTeamPrimaryChannelStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/groups/item_team_primary_channel_start_migration_request_builder.go b/groups/item_team_primary_channel_start_migration_request_builder.go new file mode 100644 index 00000000000..8b3512616e5 --- /dev/null +++ b/groups/item_team_primary_channel_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package groups + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamPrimaryChannelStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemTeamPrimaryChannelStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamPrimaryChannelStartMigrationRequestBuilderInternal instantiates a new ItemTeamPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelStartMigrationRequestBuilder) { + m := &ItemTeamPrimaryChannelStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/startMigration", pathParameters), + } + return m +} +// NewItemTeamPrimaryChannelStartMigrationRequestBuilder instantiates a new ItemTeamPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewItemTeamPrimaryChannelStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamPrimaryChannelStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamPrimaryChannelStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *ItemTeamPrimaryChannelStartMigrationRequestBuilder) Post(ctx context.Context, body ItemTeamPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemTeamPrimaryChannelStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemTeamPrimaryChannelStartMigrationRequestBuilder when successful +func (m *ItemTeamPrimaryChannelStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamPrimaryChannelStartMigrationRequestBuilder) { + return NewItemTeamPrimaryChannelStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 632c73654b1..6759d441a99 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -2210,8 +2210,130 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeRequestBuilder::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeAdminable; ctx:context.Context; requestConfiguration?:*ExchangeRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeRequestBuilder::|public|tracing():*ExchangeTracingRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeRequestBuilder::|public|WithUrl(rawUrl:string):*ExchangeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder.ExchangeTracingMessageTracesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder.ExchangeTracingMessageTracesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder.ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder.ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder.ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ExchangeTracingMessageTracesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ExchangeTracingMessageTracesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|getDetailsByRecipientWithRecipientAddress(recipientAddress:*string):*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable; ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable; ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceDetailable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration::|public|queryParameters:*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; recipientAddress?:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration):ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|GetAsGetDetailsByRecipientWithRecipientAddressGetResponse(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration):ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder::|public|WithUrl(rawUrl:string):*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse-->*ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressResponseable~~>ExchangeTracingMessageTracesItemGetDetailsByRecipientWithRecipientAddressGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ExchangeTracingMessageTracesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder.ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|ByExchangeMessageTraceId(exchangeMessageTraceId:string):*ExchangeTracingMessageTracesExchangeMessageTraceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|Count():*ExchangeTracingMessageTracesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable; ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ExchangeMessageTraceable; ctx:context.Context; requestConfiguration?:*ExchangeTracingMessageTracesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingMessageTracesRequestBuilder::|public|WithUrl(rawUrl:string):*ExchangeTracingMessageTracesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderGetRequestConfiguration::|public|queryParameters:*ExchangeTracingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder.ExchangeTracingRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ExchangeTracingRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ExchangeTracingRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|messageTraces():*ExchangeTracingMessageTracesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable; ctx:context.Context; requestConfiguration?:*ExchangeTracingRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeTracingRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ExchangeTracingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.MessageTracingRootable; ctx:context.Context; requestConfiguration?:*ExchangeTracingRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.ExchangeTracingRequestBuilder::|public|WithUrl(rawUrl:string):*ExchangeTracingRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.FormsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.FormsRequestBuilder.FormsRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.admin.FormsRequestBuilder.FormsRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -12647,12 +12769,12 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.CountRequestBuilder: github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponse github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable -github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.Applicationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.applications.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|Count:*bool @@ -17443,6 +17565,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|public|removeAllAccessForUser():*ItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|public|sendActivityNotification():*ItemSendActivityNotificationRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|public|startMigration():*ItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|public|tabs():*ItemTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ChatItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ChatItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ChatItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -18934,6 +19057,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemSendActivityNotificatio github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemSendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:ItemSendActivityNotificationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemSendActivityNotificationRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemSendActivityNotificationRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemSendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSendActivityNotificationRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationPostRequestBody~~>ItemStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder.ItemStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder.ItemStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|Post(body:ItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemTabsCountRequestBuilder.ItemTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.chats.ItemTabsCountRequestBuilder.ItemTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -19157,6 +19307,82 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsCountReq github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsCountRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable~~>AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable~~>AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsItemRecordingsCallRecordingItemRequestBuilder.AdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -19432,6 +19658,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestB github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|Count():*AdhocCallsCountRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*AdhocCallsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime():*AdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime():*AdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallable; ctx:context.Context; requestConfiguration?:*AdhocCallsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallable github.com/microsoftgraph/msgraph-beta-sdk-go/.communications.AdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter @@ -75271,12 +75499,68 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointR github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportable github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|retrieveCloudPcClientAppUsageReport():*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|retrieveCloudPcRecommendationReports():*VirtualEndpointReportRetrieveCloudPcRecommendationReportsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcReportable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointReportRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetFilter():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetGroupBy():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetOrderBy():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetReportType():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetSearch():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetSelectEscaped():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetSkip():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|GetTop():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetFilter(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetGroupBy(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetOrderBy(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetReportType(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetSearch(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetSelectEscaped(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetSkip(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|public|SetTop(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetFilter():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetGroupBy():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetOrderBy():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetReportType():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetSearch():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetSelectEscaped():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetSkip():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|GetTop():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetFilter(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetGroupBy(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetOrderBy(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetReportType(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CloudPcClientAppUsageReportType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetSearch(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetSelectEscaped(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetSkip(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable::|public|SetTop(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBody~~>VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|Post(body:VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration):[]byte +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|ToPostRequestInformation(body:VirtualEndpointReportRetrieveCloudPcClientAppUsageReportPostRequestBodyable; ctx:context.Context; requestConfiguration?:*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder::|public|WithUrl(rawUrl:string):*VirtualEndpointReportRetrieveCloudPcClientAppUsageReportRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.devicemanagement.VirtualEndpointReportRetrieveCloudPcRecommendationReportsPostRequestBody::|public|GetBackingStore():BackingStore @@ -159261,6 +159545,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelIte github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|removeEmail():*ItemTeamChannelsItemRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|sharedWithTeams():*ItemTeamChannelsItemSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|startMigration():*ItemTeamChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|tabs():*ItemTeamChannelsItemTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsChannelItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsChannelItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamChannelsChannelItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -161389,6 +161674,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemShared github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationPostRequestBody~~>ItemTeamChannelsItemStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder.ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder.ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|Post(body:ItemTeamChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemTabsCountRequestBuilder.ItemTeamChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamChannelsItemTabsCountRequestBuilder.ItemTeamChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -164150,6 +164462,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|removeEmail():*ItemTeamPrimaryChannelRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|sharedWithTeams():*ItemTeamPrimaryChannelSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|startMigration():*ItemTeamPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|tabs():*ItemTeamPrimaryChannelTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelRequestBuilderGetRequestConfiguration):*RequestInformation @@ -164285,6 +164598,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelShar github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationPostRequestBody~~>ItemTeamPrimaryChannelStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder.ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder.ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|Post(body:ItemTeamPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelTabsCountRequestBuilder.ItemTeamPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.groups.ItemTeamPrimaryChannelTabsCountRequestBuilder.ItemTeamPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -205803,12 +206143,16 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityable~~>*i878a github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint-->*Application github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|GetInheritablePermissions():[]InheritablePermissionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|GetSponsors():[]DirectoryObjectable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|SetInheritablePermissions(value:[]InheritablePermissionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|public|SetSponsors(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprint::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintable::|public|GetInheritablePermissions():[]InheritablePermissionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintable::|public|GetSponsors():[]DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintable::|public|SetInheritablePermissions(value:[]InheritablePermissionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintable::|public|SetSponsors(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintable~~>Applicationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.agentIdentityBlueprintPrincipal-->*ServicePrincipal @@ -207144,6 +207488,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAccountsWithAccess::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAccountsWithAccess::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAccountsWithAccess::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAccountsWithAccessable~~>AccountsWithAccessable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAllowedScopes-->*InheritableScopes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAllowedScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAllowedScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAllowedScopes::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAllowedScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAllowedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allAllowedScopesable~~>InheritableScopesable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allDeviceRegistrationMembership-->*DeviceRegistrationMembership github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allDeviceRegistrationMembership::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allDeviceRegistrationMembership::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -207241,6 +207592,21 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedRolePrincipalTypes: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedRolePrincipalTypes::0001-servicePrincipal github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedRolePrincipalTypes::0002-group github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedRolePrincipalTypes::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience-->*SignInAudienceRestrictionsBase +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|GetAllowedTenantIds():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|GetIsHomeTenantAllowed():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|SetAllowedTenantIds(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|public|SetIsHomeTenantAllowed(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudience::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudienceable::|public|GetAllowedTenantIds():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudienceable::|public|GetIsHomeTenantAllowed():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudienceable::|public|SetAllowedTenantIds(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudienceable::|public|SetIsHomeTenantAllowed(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedTenantsAudienceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SignInAudienceRestrictionsBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedValue-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedValue::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.allowedValue::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -213147,6 +213513,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetHo github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetIdentifierUris():[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetInfo():InformationalUrlable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetIsDeviceOnlyAuthSupported():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetIsDisabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetIsFallbackPublicClient():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetKeyCredentials():[]KeyCredentialable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetLogo():[]byte @@ -213165,6 +213532,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetSa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetServiceManagementReference():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetServicePrincipalLockConfiguration():ServicePrincipalLockConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetSignInAudience():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetSignInAudienceRestrictions():SignInAudienceRestrictionsBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetSpa():SpaApplicationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetSynchronization():Synchronizationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|GetTags():[]string @@ -213198,6 +213566,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetHo github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetIdentifierUris(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetInfo(value:InformationalUrlable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetIsDeviceOnlyAuthSupported(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetIsDisabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetIsFallbackPublicClient(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetKeyCredentials(value:[]KeyCredentialable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetLogo(value:[]byte):void @@ -213216,6 +213585,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetSa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetServiceManagementReference(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetServicePrincipalLockConfiguration(value:ServicePrincipalLockConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetSignInAudience(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetSignInAudienceRestrictions(value:SignInAudienceRestrictionsBaseable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetSpa(value:SpaApplicationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetSynchronization(value:Synchronizationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.application::|public|SetTags(value:[]string):void @@ -213248,6 +213618,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|G github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetIdentifierUris():[]string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetInfo():InformationalUrlable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetIsDeviceOnlyAuthSupported():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetIsDisabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetIsFallbackPublicClient():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetKeyCredentials():[]KeyCredentialable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetLogo():[]byte @@ -213266,6 +213637,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|G github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetServiceManagementReference():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetServicePrincipalLockConfiguration():ServicePrincipalLockConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetSignInAudience():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetSignInAudienceRestrictions():SignInAudienceRestrictionsBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetSpa():SpaApplicationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetSynchronization():Synchronizationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|GetTags():[]string @@ -213297,6 +213669,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|S github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetIdentifierUris(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetInfo(value:InformationalUrlable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetIsDeviceOnlyAuthSupported(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetIsDisabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetIsFallbackPublicClient(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetKeyCredentials(value:[]KeyCredentialable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetLogo(value:[]byte):void @@ -213315,6 +213688,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|S github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetServiceManagementReference(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetServicePrincipalLockConfiguration(value:ServicePrincipalLockConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetSignInAudience(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetSignInAudienceRestrictions(value:SignInAudienceRestrictionsBaseable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetSpa(value:SpaApplicationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetSynchronization(value:Synchronizationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.applicationable::|public|SetTags(value:[]string):void @@ -216687,23 +217061,23 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audienceRestrictionable~~> github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audienceRestriction~~>AudienceRestrictionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|GetAdditionalData():map[string]any -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|GetAzureAdMultipleOrgs():AudienceRestrictionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|GetAzureAdMultipleOrgs():AzureAdMultipleOrgsAudienceRestrictionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|GetPersonalMicrosoftAccount():AudienceRestrictionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|SetAdditionalData(value:map[string]any):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|SetAzureAdMultipleOrgs(value:AudienceRestrictionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|SetAzureAdMultipleOrgs(value:AzureAdMultipleOrgsAudienceRestrictionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|public|SetPersonalMicrosoftAccount(value:AudienceRestrictionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|GetAzureAdMultipleOrgs():AudienceRestrictionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|GetAzureAdMultipleOrgs():AzureAdMultipleOrgsAudienceRestrictionable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|GetBackingStore():BackingStore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|GetOdataType():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|GetPersonalMicrosoftAccount():AudienceRestrictionable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|SetAzureAdMultipleOrgs(value:AudienceRestrictionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|SetAzureAdMultipleOrgs(value:AzureAdMultipleOrgsAudienceRestrictionable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|SetBackingStore(value:BackingStore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.audiencesConfigurationable::|public|SetPersonalMicrosoftAccount(value:AudienceRestrictionable):void @@ -219571,6 +219945,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureADJoinPolicyable::|pu github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureADJoinPolicyable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureADJoinPolicyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureADJoinPolicy~~>AzureADJoinPolicyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdMultipleOrgsAudienceRestriction-->*AudienceRestriction +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdMultipleOrgsAudienceRestriction::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdMultipleOrgsAudienceRestriction::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdMultipleOrgsAudienceRestriction::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdMultipleOrgsAudienceRestriction::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdMultipleOrgsAudienceRestriction::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdMultipleOrgsAudienceRestrictionable~~>AudienceRestrictionable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdPopTokenAuthentication-->*CustomExtensionAuthenticationConfiguration github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdPopTokenAuthentication::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.azureAdPopTokenAuthentication::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -225524,7 +225905,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetLayout github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetMembers():[]ConversationMemberable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetMembershipType():*ChannelMembershipType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetMessages():[]ChatMessageable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetMigrationMode():*MigrationMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetModerationSettings():ChannelModerationSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetOriginalCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetPlanner():TeamsChannelPlannerable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetSharedWithTeams():[]SharedWithChannelTeamInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|GetSummary():ChannelSummaryable @@ -225546,7 +225929,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetLayout github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetMembers(value:[]ConversationMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetMembershipType(value:*ChannelMembershipType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetMessages(value:[]ChatMessageable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetMigrationMode(value:*MigrationMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetModerationSettings(value:ChannelModerationSettingsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetOriginalCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetPlanner(value:TeamsChannelPlannerable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetSharedWithTeams(value:[]SharedWithChannelTeamInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channel::|public|SetSummary(value:ChannelSummaryable):void @@ -225567,7 +225952,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetLa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetMembers():[]ConversationMemberable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetMembershipType():*ChannelMembershipType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetMessages():[]ChatMessageable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetMigrationMode():*MigrationMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetModerationSettings():ChannelModerationSettingsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetOriginalCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetPlanner():TeamsChannelPlannerable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetSharedWithTeams():[]SharedWithChannelTeamInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|GetSummary():ChannelSummaryable @@ -225587,7 +225974,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetLa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetMembers(value:[]ConversationMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetMembershipType(value:*ChannelMembershipType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetMessages(value:[]ChatMessageable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetMigrationMode(value:*MigrationMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetModerationSettings(value:ChannelModerationSettingsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetOriginalCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetPlanner(value:TeamsChannelPlannerable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetSharedWithTeams(value:[]SharedWithChannelTeamInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.channelable::|public|SetSummary(value:ChannelSummaryable):void @@ -225865,8 +226254,10 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetLastMessa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetLastUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetMembers():[]ConversationMemberable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetMessages():[]ChatMessageable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetMigrationMode():*MigrationMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetOnlineMeetingInfo():TeamworkOnlineMeetingInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetOperations():[]TeamsAsyncOperationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetOriginalCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetPermissionGrants():[]ResourceSpecificPermissionGrantable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetPinnedMessages():[]PinnedChatMessageInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|GetTabs():[]TeamsTabable @@ -225885,8 +226276,10 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetLastMessa github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetLastUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetMembers(value:[]ConversationMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetMessages(value:[]ChatMessageable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetMigrationMode(value:*MigrationMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetOnlineMeetingInfo(value:TeamworkOnlineMeetingInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetOperations(value:[]TeamsAsyncOperationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetOriginalCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetPermissionGrants(value:[]ResourceSpecificPermissionGrantable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetPinnedMessages(value:[]PinnedChatMessageInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chat::|public|SetTabs(value:[]TeamsTabable):void @@ -225904,8 +226297,10 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetLastM github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetLastUpdatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetMembers():[]ConversationMemberable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetMessages():[]ChatMessageable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetMigrationMode():*MigrationMode github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetOnlineMeetingInfo():TeamworkOnlineMeetingInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetOperations():[]TeamsAsyncOperationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetOriginalCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetPermissionGrants():[]ResourceSpecificPermissionGrantable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetPinnedMessages():[]PinnedChatMessageInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|GetTabs():[]TeamsTabable @@ -225922,8 +226317,10 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetLastM github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetLastUpdatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetMembers(value:[]ConversationMemberable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetMessages(value:[]ChatMessageable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetMigrationMode(value:*MigrationMode):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetOnlineMeetingInfo(value:TeamworkOnlineMeetingInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetOperations(value:[]TeamsAsyncOperationable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetOriginalCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetPermissionGrants(value:[]ResourceSpecificPermissionGrantable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetPinnedMessages(value:[]PinnedChatMessageInfoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.chatable::|public|SetTabs(value:[]TeamsTabable):void @@ -228269,6 +228666,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcBulkTroubleshoot::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcBulkTroubleshoot::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcBulkTroubleshoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcBulkTroubleshootable~~>CloudPcBulkActionable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcClientAppUsageReportType::0000-microsoftRemoteDesktopClientUsageReport +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcClientAppUsageReportType::0001-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcCloudApp-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcCloudApp::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcCloudApp::|public|GetActionFailedErrorCode():*CloudPcCloudAppActionFailedErrorCode @@ -228614,7 +229013,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|GetOperatingSystem():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|GetOsArchitecture():*CloudPcImageOsArchitectureType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|GetOsBuildNumber():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|GetOsStatus():*CloudPcDeviceImageOsStatus github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|GetOsVersionNumber():*string @@ -228631,7 +229029,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|publi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|SetExpirationDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|SetOperatingSystem(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|SetOsArchitecture(value:*CloudPcImageOsArchitectureType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|SetOsBuildNumber(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|SetOsStatus(value:*CloudPcDeviceImageOsStatus):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImage::|public|SetOsVersionNumber(value:*string):void @@ -228647,7 +229044,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|p github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|GetExpirationDate():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|GetLastModifiedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|GetOperatingSystem():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|GetOsArchitecture():*CloudPcImageOsArchitectureType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|GetOsBuildNumber():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|GetOsStatus():*CloudPcDeviceImageOsStatus github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|GetOsVersionNumber():*string @@ -228662,7 +229058,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|p github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|SetExpirationDate(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|SetOperatingSystem(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|SetOsArchitecture(value:*CloudPcImageOsArchitectureType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|SetOsBuildNumber(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|SetOsStatus(value:*CloudPcDeviceImageOsStatus):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcDeviceImageable::|public|SetOsVersionNumber(value:*string):void @@ -229163,7 +229558,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|publ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|GetOffer():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|GetOfferDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|GetOfferName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|GetOsArchitecture():*CloudPcImageOsArchitectureType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|GetOsVersionNumber():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|GetPublisher():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|GetPublisherName():*string @@ -229182,7 +229576,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|publ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|SetOffer(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|SetOfferDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|SetOfferName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|SetOsArchitecture(value:*CloudPcImageOsArchitectureType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|SetOsVersionNumber(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|SetPublisher(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImage::|public|SetPublisherName(value:*string):void @@ -229200,7 +229593,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|GetOffer():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|GetOfferDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|GetOfferName():*string -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|GetOsArchitecture():*CloudPcImageOsArchitectureType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|GetOsVersionNumber():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|GetPublisher():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|GetPublisherName():*string @@ -229217,7 +229609,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|SetOffer(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|SetOfferDisplayName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|SetOfferName(value:*string):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|SetOsArchitecture(value:*CloudPcImageOsArchitectureType):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|SetOsVersionNumber(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|SetPublisher(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcGalleryImageable::|public|SetPublisherName(value:*string):void @@ -229290,9 +229681,6 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcHealthCheckItemable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcHealthCheckItemable::|public|SetResult(value:*CloudPcConnectivityEventResult):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcHealthCheckItemable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcHealthCheckItem~~>CloudPcHealthCheckItemable -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcImageOsArchitectureType::0000-x64 -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcImageOsArchitectureType::0001-arm64 -github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcImageOsArchitectureType::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcImportedSnapshotState::0000-notUsed github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcImportedSnapshotState::0001-inUse github.com/microsoftgraph/msgraph-beta-sdk-go/.models.cloudPcImportedSnapshotState::0002-expired @@ -234468,10 +234856,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetPerson github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetPhones():[]Phoneable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetPhoto():ProfilePhotoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetPostalAddresses():[]PhysicalAddressable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetPrimaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetProfession():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetSecondaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetSingleValueExtendedProperties():[]SingleValueLegacyExtendedPropertyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetSpouseName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetSurname():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetTertiaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetTitle():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetWebsites():[]Websiteable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|GetWeddingAnniversary():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly @@ -234507,10 +234898,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetPerson github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetPhones(value:[]Phoneable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetPhoto(value:ProfilePhotoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetPostalAddresses(value:[]PhysicalAddressable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetPrimaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetProfession(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetSecondaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetSingleValueExtendedProperties(value:[]SingleValueLegacyExtendedPropertyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetSpouseName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetSurname(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetTertiaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetTitle(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetWebsites(value:[]Websiteable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contact::|public|SetWeddingAnniversary(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void @@ -234545,10 +234939,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetPe github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetPhones():[]Phoneable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetPhoto():ProfilePhotoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetPostalAddresses():[]PhysicalAddressable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetPrimaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetProfession():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetSecondaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetSingleValueExtendedProperties():[]SingleValueLegacyExtendedPropertyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetSpouseName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetSurname():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetTertiaryEmailAddress():EmailAddressable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetTitle():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetWebsites():[]Websiteable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|GetWeddingAnniversary():*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly @@ -234582,10 +234979,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetPe github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetPhones(value:[]Phoneable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetPhoto(value:ProfilePhotoable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetPostalAddresses(value:[]PhysicalAddressable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetPrimaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetProfession(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetSecondaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetSingleValueExtendedProperties(value:[]SingleValueLegacyExtendedPropertyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetSpouseName(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetSurname(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetTertiaryEmailAddress(value:EmailAddressable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetTitle(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetWebsites(value:[]Websiteable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.contactable::|public|SetWeddingAnniversary(value:*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly):void @@ -235630,6 +236030,131 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotCommunicationsRoot: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotCommunicationsRootable::|public|GetRealtimeActivityFeed():RealtimeActivityFeedRootable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotCommunicationsRootable::|public|SetRealtimeActivityFeed(value:RealtimeActivityFeedRootable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotCommunicationsRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|GetMessages():[]CopilotConversationMessageable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|GetState():*CopilotConversationState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|GetTurnCount():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|SetMessages(value:[]CopilotConversationMessageable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|SetState(value:*CopilotConversationState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|public|SetTurnCount(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|GetMessages():[]CopilotConversationMessageable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|GetState():*CopilotConversationState +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|GetTurnCount():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|SetMessages(value:[]CopilotConversationMessageable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|SetState(value:*CopilotConversationState):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable::|public|SetTurnCount(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetAttributionSource():*CopilotConversationAttributionSource +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetAttributionType():*CopilotConversationAttributionType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetImageFavIcon():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetImageHeight():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetImageWebUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetImageWidth():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetProviderDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|GetSeeMoreWebUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetAttributionSource(value:*CopilotConversationAttributionSource):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetAttributionType(value:*CopilotConversationAttributionType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetImageFavIcon(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetImageHeight(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetImageWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetImageWidth(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetProviderDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|public|SetSeeMoreWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetAttributionSource():*CopilotConversationAttributionSource +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetAttributionType():*CopilotConversationAttributionType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetImageFavIcon():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetImageHeight():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetImageWebUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetImageWidth():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetProviderDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|GetSeeMoreWebUrl():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetAttributionSource(value:*CopilotConversationAttributionSource):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetAttributionType(value:*CopilotConversationAttributionType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetImageFavIcon(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetImageHeight(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetImageWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetImageWidth(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetProviderDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable::|public|SetSeeMoreWebUrl(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionSource::0000-grounding +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionSource::0001-model +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionSource::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionType::0000-citation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionType::0001-annotation +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttributionType::0002-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationAttribution~~>CopilotConversationAttributionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage::|public|GetText():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessageable::|public|GetText():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessageable::|public|SetText(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationMessageable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationRequestMessage-->*CopilotConversationMessage +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationRequestMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationRequestMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationRequestMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationRequestMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationRequestMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationRequestMessageable~~>CopilotConversationMessageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage-->*CopilotConversationMessage +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|GetAdaptiveCards():[]Jsonable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|GetAttributions():[]CopilotConversationAttributionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|GetSensitivityLabel():SearchSensitivityLabelInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|SetAdaptiveCards(value:[]Jsonable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|SetAttributions(value:[]CopilotConversationAttributionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|public|SetSensitivityLabel(value:SearchSensitivityLabelInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessage::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|GetAdaptiveCards():[]Jsonable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|GetAttributions():[]CopilotConversationAttributionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|GetCreatedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|GetSensitivityLabel():SearchSensitivityLabelInfoable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|SetAdaptiveCards(value:[]Jsonable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|SetAttributions(value:[]CopilotConversationAttributionable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|SetCreatedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable::|public|SetSensitivityLabel(value:SearchSensitivityLabelInfoable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationResponseMessageable~~>CopilotConversationMessageable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationState::0000-active +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationState::0001-disengagedForRai +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotConversationState::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.copilotPackage::|public|GetAvailableTo():*PackageStatus @@ -257350,6 +257875,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedPreApprovedPermi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedPreApprovedPermissionsable::|public|SetPermissionIds(value:[]string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedPreApprovedPermissionsable::|public|SetResourceApplicationId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedPreApprovedPermissionsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PreApprovedPermissionsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes-->*InheritableScopes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes::|public|GetScopes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes::|public|SetScopes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopesable::|public|GetScopes():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopesable::|public|SetScopes(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopesable~~>InheritableScopesable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopeSensitivityLabels-->*ScopeSensitivityLabels github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopeSensitivityLabels::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.enumeratedScopeSensitivityLabels::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -258098,21 +258634,117 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|con github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|GetMailboxes():[]Mailboxable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|GetMessageTraces():[]MessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|GetTracing():MessageTracingRootable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|SetMailboxes(value:[]Mailboxable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|SetMessageTraces(value:[]MessageTraceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|public|SetTracing(value:MessageTracingRootable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdmin::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdminable::|public|GetMailboxes():[]Mailboxable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdminable::|public|GetMessageTraces():[]MessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdminable::|public|GetTracing():MessageTracingRootable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdminable::|public|SetMailboxes(value:[]Mailboxable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdminable::|public|SetMessageTraces(value:[]MessageTraceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdminable::|public|SetTracing(value:MessageTracingRootable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeAdminable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeIdFormat::0000-entryId github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeIdFormat::0001-ewsId github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeIdFormat::0002-immutableEntryId github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeIdFormat::0003-restId github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeIdFormat::0004-restImmutableEntryId +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetFromIP():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetMessageId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetReceivedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetRecipientAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetSenderAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetSize():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetStatus():*ExchangeMessageTraceStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|GetToIP():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetFromIP(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetReceivedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetRecipientAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetSenderAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetSize(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetStatus(value:*ExchangeMessageTraceStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|public|SetToIP(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTrace::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetFromIP():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetMessageId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetReceivedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetRecipientAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetSenderAddress():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetSize():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetStatus():*ExchangeMessageTraceStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|GetToIP():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetFromIP(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetReceivedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetRecipientAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetSenderAddress(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetSize(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetStatus(value:*ExchangeMessageTraceStatus):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable::|public|SetToIP(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponse::|public|GetValue():[]ExchangeMessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponse::|public|SetValue(value:[]ExchangeMessageTraceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponseable::|public|GetValue():[]ExchangeMessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponseable::|public|SetValue(value:[]ExchangeMessageTraceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|GetAction():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|GetData():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|GetDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|GetEvent():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|GetMessageId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|SetData(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|SetDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|SetEvent(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|public|SetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetail::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|GetAction():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|GetData():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|GetDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|GetDescription():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|GetEvent():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|GetMessageId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|SetAction(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|SetData(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|SetDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|SetDescription(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|SetEvent(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable::|public|SetMessageId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceDetailable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0000-gettingStatus +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0001-pending +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0002-failed +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0003-delivered +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0004-expanded +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0005-quarantined +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0006-filteredAsSpam +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeMessageTraceStatus::0007-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeOnlineCrossTenantMigrationSettings::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeOnlineCrossTenantMigrationSettings::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.exchangeOnlineCrossTenantMigrationSettings::|public|GetBackingStore():BackingStore @@ -259198,6 +259830,25 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label:: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0027-priorityNormalized github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0028-reportedBy github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0029-secondaryId +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0030-personEmails +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0031-personAddresses +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0032-personAnniversaries +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0033-personName +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0034-personNote +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0035-personPhones +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0036-personCurrentPosition +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0037-personWebAccounts +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0038-personWebSite +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0039-personSkills +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0040-personProjects +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0041-personAccount +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0042-personAwards +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0043-personCertifications +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0044-personAssistants +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0045-personColleagues +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0046-personManager +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0047-personAlternateContacts +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.label::0048-personEmergencyContacts github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.properties::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.properties::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.externalconnectors.properties::|public|GetBackingStore():BackingStore @@ -262647,6 +263298,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|GetUnseenCo github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|GetUnseenCount():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|GetUnseenMessagesCount():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|GetVisibility():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|GetWelcomeMessageEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|GetWritebackConfiguration():GroupWritebackConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|Serialize(writer:SerializationWriter):void @@ -262730,6 +263382,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|SetUnseenCo github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|SetUnseenCount(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|SetUnseenMessagesCount(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|SetVisibility(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|SetWelcomeMessageEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|public|SetWritebackConfiguration(value:GroupWritebackConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.group::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|GetAcceptedSenders():[]DirectoryObjectable @@ -262812,6 +263465,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|GetUnse github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|GetUnseenCount():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|GetUnseenMessagesCount():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|GetVisibility():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|GetWelcomeMessageEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|GetWritebackConfiguration():GroupWritebackConfigurationable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetAcceptedSenders(value:[]DirectoryObjectable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetAccessType(value:*GroupAccessType):void @@ -262893,6 +263547,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetUnse github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetUnseenCount(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetUnseenMessagesCount(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetVisibility(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetWelcomeMessageEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable::|public|SetWritebackConfiguration(value:GroupWritebackConfigurationable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupable~~>DirectoryObjectable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.groupAccessType::0000-none @@ -269524,6 +270179,50 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.ingestionSource::0000-unkn github.com/microsoftgraph/msgraph-beta-sdk-go/.models.ingestionSource::0001-custom github.com/microsoftgraph/msgraph-beta-sdk-go/.models.ingestionSource::0002-builtIn github.com/microsoftgraph/msgraph-beta-sdk-go/.models.ingestionSource::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|GetInheritableScopes():InheritableScopesable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|GetResourceAppId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|SetInheritableScopes(value:InheritableScopesable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|public|SetResourceAppId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|GetInheritableScopes():InheritableScopesable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|GetResourceAppId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|SetInheritableScopes(value:InheritableScopesable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable::|public|SetResourceAppId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermissionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritablePermission~~>InheritablePermissionable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|GetKind():*ScopeCollectionKind +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|SetKind(value:*ScopeCollectionKind):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopesable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopesable::|public|GetKind():*ScopeCollectionKind +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopesable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopesable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopesable::|public|SetKind(value:*ScopeCollectionKind):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopesable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopesable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.inheritableScopes~~>InheritableScopesable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.initiator-->*Identity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.initiator::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.initiator::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -274731,6 +275430,22 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.journalLineCollectionRespo github.com/microsoftgraph/msgraph-beta-sdk-go/.models.journalLineCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.journalLine~~>JournalLineable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.journal~~>Journalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Jsonable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Jsonable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Jsonable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Jsonable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Jsonable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.Json~~>Jsonable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.justifyAction-->*InformationProtectionAction github.com/microsoftgraph/msgraph-beta-sdk-go/.models.justifyAction::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.justifyAction::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -275107,6 +275822,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.keyValuePairable::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.keyValuePairable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.keyValuePair~~>KeyValuePairable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.keyValue~~>KeyValueable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.kind::0000-unrestricted +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.kind::0001-allowedTenants +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.kind::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.kioskModeManagedHomeScreenPinComplexity::0000-notConfigured github.com/microsoftgraph/msgraph-beta-sdk-go/.models.kioskModeManagedHomeScreenPinComplexity::0001-simple github.com/microsoftgraph/msgraph-beta-sdk-go/.models.kioskModeManagedHomeScreenPinComplexity::0002-complex @@ -285474,6 +286192,11 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.matchLocationable::|public github.com/microsoftgraph/msgraph-beta-sdk-go/.models.matchLocationable::|public|SetOffset(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.matchLocationable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.matchLocation~~>MatchLocationable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.maxWorkLocationDetails::0000-unknown +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.maxWorkLocationDetails::0001-none +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.maxWorkLocationDetails::0002-approximate +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.maxWorkLocationDetails::0003-specific +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.maxWorkLocationDetails::0004-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mdmAppConfigKeyType::0000-stringType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mdmAppConfigKeyType::0001-integerType github.com/microsoftgraph/msgraph-beta-sdk-go/.models.mdmAppConfigKeyType::0002-realType @@ -287307,6 +288030,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTraceCollectionResp github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTraceCollectionResponseable::|public|GetValue():[]MessageTraceable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTraceCollectionResponseable::|public|SetValue(value:[]MessageTraceable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTraceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot::|public|GetMessageTraces():[]ExchangeMessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot::|public|SetMessageTraces(value:[]ExchangeMessageTraceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRootable::|public|GetMessageTraces():[]ExchangeMessageTraceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRootable::|public|SetMessageTraces(value:[]ExchangeMessageTraceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageTracingRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageUnpinnedEventMessageDetail-->*EventMessageDetail github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageUnpinnedEventMessageDetail::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.messageUnpinnedEventMessageDetail::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -288204,6 +288938,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.microsoftTunnelSiteCollect github.com/microsoftgraph/msgraph-beta-sdk-go/.models.microsoftTunnelSiteCollectionResponseable::|public|GetValue():[]MicrosoftTunnelSiteable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.microsoftTunnelSiteCollectionResponseable::|public|SetValue(value:[]MicrosoftTunnelSiteable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.microsoftTunnelSiteCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.migrationMode::0000-inProgress +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.migrationMode::0001-completed +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.migrationMode::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.migrationsRoot-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.migrationsRoot::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.migrationsRoot::|public|GetCrossTenantMigrationJobs():[]CrossTenantMigrationJobable @@ -293779,6 +294516,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.nonEapAuthenticationMethod github.com/microsoftgraph/msgraph-beta-sdk-go/.models.nonEapAuthenticationMethodForEapTtlsType::0003-microsoftChapVersionTwo github.com/microsoftgraph/msgraph-beta-sdk-go/.models.nonEapAuthenticationMethodForPeap::0000-none github.com/microsoftgraph/msgraph-beta-sdk-go/.models.nonEapAuthenticationMethodForPeap::0001-microsoftChapVersionTwo +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.noScopes-->*InheritableScopes +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.noScopes::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.noScopes::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.noScopes::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.noScopes::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.noScopes::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.noScopesable~~>InheritableScopesable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.note-->*OutlookItem github.com/microsoftgraph/msgraph-beta-sdk-go/.models.note::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.note::|public|GetAttachments():[]Attachmentable @@ -310637,6 +311381,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protocolType::0022-prtBrok github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protocolType::0023-prtNonBrokerBased github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protocolType::0024-onBehalfOf github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protocolType::0025-samlOnBehalfOf +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protocolType::0026-officeS2S +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.protocolType::0027-wsTrust github.com/microsoftgraph/msgraph-beta-sdk-go/.models.providerTenantSetting-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.providerTenantSetting::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.providerTenantSetting::|public|GetAzureTenantId():*string @@ -315250,6 +315996,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetail::0017-adminConf github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetail::0018-adminConfirmedAgentSafe github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetail::0019-adminConfirmedAgentCompromised github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetail::0020-adminDismissedRiskForAgent +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetail::0021-microsoftRevokedSessions github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetection-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetection::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.riskDetection::|public|GetActivity():*ActivityType @@ -318126,6 +318873,11 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeBaseable::|public|Set github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeBaseable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeBase~~>ScopeBaseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeCollectionKind::0000-allAllowed +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeCollectionKind::0001-enumerated +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeCollectionKind::0002-none +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeCollectionKind::0003-scopeKindNotSet +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopeCollectionKind::0004-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopedRoleMembership-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopedRoleMembership::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.scopedRoleMembership::|public|GetAdministrativeUnitId():*string @@ -318839,6 +319591,42 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchResultable::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchResultable::|public|SetOnClickTelemetryUrl(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchResult~~>SearchResultable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetColor():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetPriority():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetSensitivityLabelId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|GetTooltip():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetColor(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetPriority(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetSensitivityLabelId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|public|SetTooltip(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|GetColor():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|GetPriority():*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|GetSensitivityLabelId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|GetTooltip():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|SetColor(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|SetPriority(value:*int32):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|SetSensitivityLabelId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable::|public|SetTooltip(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.searchSensitivityLabelInfo~~>SearchSensitivityLabelInfoable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.secretInformationAccessAwsResourceFinding-->*AwsSecretInformationAccessFinding github.com/microsoftgraph/msgraph-beta-sdk-go/.models.secretInformationAccessAwsResourceFinding::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.secretInformationAccessAwsResourceFinding::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -319226,6 +320014,21 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.actionSource::000 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.actionSource::0001-automatic github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.actionSource::0002-recommended github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.actionSource::0003-default +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence-->*AlertEvidence +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|GetActiveDirectoryDomainName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|GetTrustedDomains():[]ActiveDirectoryDomainEvidenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|SetActiveDirectoryDomainName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|public|SetTrustedDomains(value:[]ActiveDirectoryDomainEvidenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|GetActiveDirectoryDomainName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|GetTrustedDomains():[]ActiveDirectoryDomainEvidenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|SetActiveDirectoryDomainName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidenceable::|public|SetTrustedDomains(value:[]ActiveDirectoryDomainEvidenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.activeDirectoryDomainEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.addContentFooterAction-->*InformationProtectionAction github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.addContentFooterAction::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.addContentFooterAction::|public|GetAlignment():*ContentAlignment @@ -322638,6 +323441,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|GetOsPlatform():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|GetRbacGroupId():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|GetRbacGroupName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|GetResourceAccessEvents():[]ResourceAccessEventable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|GetRiskScore():*DeviceRiskScore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|GetVersion():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|GetVmMetadata():VmMetadataable @@ -322661,6 +323465,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|SetOsPlatform(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|SetRbacGroupId(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|SetRbacGroupName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|SetResourceAccessEvents(value:[]ResourceAccessEventable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|SetRiskScore(value:*DeviceRiskScore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|SetVersion(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidence::|public|SetVmMetadata(value:VmMetadataable):void @@ -322683,6 +323488,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceabl github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|GetOsPlatform():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|GetRbacGroupId():*int32 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|GetRbacGroupName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|GetResourceAccessEvents():[]ResourceAccessEventable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|GetRiskScore():*DeviceRiskScore github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|GetVersion():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|GetVmMetadata():VmMetadataable @@ -322704,6 +323510,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceabl github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|SetOsPlatform(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|SetRbacGroupId(value:*int32):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|SetRbacGroupName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|SetResourceAccessEvents(value:[]ResourceAccessEventable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|SetRiskScore(value:*DeviceRiskScore):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|SetVersion(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.security.deviceEvidenceable::|public|SetVmMetadata(value:VmMetadataable):void @@ -332758,6 +333565,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|GetDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|GetHasProtection():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|GetIsDefault():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|GetIsEndpointProtectionEnabled():*bool @@ -332777,6 +333585,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|SetColor(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|SetHasProtection(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|SetIsDefault(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabel::|public|SetIsEndpointProtectionEnabled(value:*bool):void @@ -332795,6 +333604,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|GetColor():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|GetDescription():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|GetHasProtection():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|GetIsDefault():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|GetIsEnabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|GetIsEndpointProtectionEnabled():*bool @@ -332812,6 +333622,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|SetColor(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|SetDescription(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|SetHasProtection(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|SetIsDefault(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|SetIsEnabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sensitivityLabelable::|public|SetIsEndpointProtectionEnabled(value:*bool):void @@ -333529,6 +334340,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|GetHomepage():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|GetHomeRealmDiscoveryPolicies():[]HomeRealmDiscoveryPolicyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|GetInfo():InformationalUrlable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|GetIsDisabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|GetKeyCredentials():[]KeyCredentialable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|GetLicenseDetails():[]LicenseDetailsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|GetLoginUrl():*string @@ -333591,6 +334403,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|SetHomepage(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|SetHomeRealmDiscoveryPolicies(value:[]HomeRealmDiscoveryPolicyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|SetInfo(value:InformationalUrlable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|SetIsDisabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|SetKeyCredentials(value:[]KeyCredentialable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|SetLicenseDetails(value:[]LicenseDetailsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipal::|public|SetLoginUrl(value:*string):void @@ -333652,6 +334465,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|GetHomepage():*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|GetHomeRealmDiscoveryPolicies():[]HomeRealmDiscoveryPolicyable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|GetInfo():InformationalUrlable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|GetIsDisabled():*bool github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|GetKeyCredentials():[]KeyCredentialable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|GetLicenseDetails():[]LicenseDetailsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|GetLoginUrl():*string @@ -333712,6 +334526,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|pub github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|SetHomepage(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|SetHomeRealmDiscoveryPolicies(value:[]HomeRealmDiscoveryPolicyable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|SetInfo(value:InformationalUrlable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|SetIsDisabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|SetKeyCredentials(value:[]KeyCredentialable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|SetLicenseDetails(value:[]LicenseDetailsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.servicePrincipalable::|public|SetLoginUrl(value:*string):void @@ -335008,13 +335823,17 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityable::|p github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityable~~>Identityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|GetDeleted():Deletedable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|GetSourceOrganizationId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|SetDeleted(value:Deletedable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|public|SetSourceOrganizationId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMapping::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMappingable::|public|GetDeleted():Deletedable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMappingable::|public|GetSourceOrganizationId():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMappingable::|public|SetDeleted(value:Deletedable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMappingable::|public|SetSourceOrganizationId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMappingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.sharePointIdentityMappingGroupMigrationData::|public|constructor():void @@ -336708,6 +337527,26 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInActivityable~~>*i878 github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInActivity~~>SignInActivityable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAssistantOptions::0000-notConfigured github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAssistantOptions::0001-disabled +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|GetKind():*Kind +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|SetKind(value:*Kind):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBaseable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBaseable::|public|GetKind():*Kind +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBaseable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBaseable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBaseable::|public|SetKind(value:*Kind):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBaseable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBaseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInAudienceRestrictionsBase~~>SignInAudienceRestrictionsBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInCollectionResponse::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.signInCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -339104,6 +339943,65 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.strongAuthenticationRequir github.com/microsoftgraph/msgraph-beta-sdk-go/.models.strongAuthenticationRequirementsable::|public|SetPerUserMfaState(value:*PerUserMfaState):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.strongAuthenticationRequirementsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.strongAuthenticationRequirements~~>StrongAuthenticationRequirementsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|GetKeyEntry():StructuredDataEntryTypedValueable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|GetValueEntry():StructuredDataEntryTypedValueable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|SetKeyEntry(value:StructuredDataEntryTypedValueable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|public|SetValueEntry(value:StructuredDataEntryTypedValueable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|GetKeyEntry():StructuredDataEntryTypedValueable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|GetValueEntry():StructuredDataEntryTypedValueable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|SetKeyEntry(value:StructuredDataEntryTypedValueable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable::|public|SetValueEntry(value:StructuredDataEntryTypedValueable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|GetTypeEscaped():*StructuredDataEntryValueType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|GetValues():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|SetTypeEscaped(value:*StructuredDataEntryValueType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|public|SetValues(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|GetTypeEscaped():*StructuredDataEntryValueType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|GetValues():[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|SetTypeEscaped(value:*StructuredDataEntryValueType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable::|public|SetValues(value:[]string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValueable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryTypedValue~~>StructuredDataEntryTypedValueable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0000-dateTime +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0001-boolean +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0002-byte +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0003-string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0004-integer32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0005-unsignedInteger32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0006-integer64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0007-unsignedInteger64 +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0008-stringArray +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0009-byteArray +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntryValueType::0010-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.structuredDataEntry~~>StructuredDataEntryable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stsPolicy-->*PolicyBase github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stsPolicy::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.stsPolicy::|public|GetAppliesTo():[]DirectoryObjectable @@ -340601,6 +341499,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tabUpdatedEventMessageDeta github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tabUpdatedEventMessageDetailable::|public|SetInitiator(value:IdentitySetable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tabUpdatedEventMessageDetailable::|public|SetTabId(value:*string):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.tabUpdatedEventMessageDetailable~~>EventMessageDetailable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetAgentIdentitySponsorsOrOwners-->*UserSet +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetAgentIdentitySponsorsOrOwners::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetAgentIdentitySponsorsOrOwnersable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; UserSetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetDeviceGroup-->*Entity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetDeviceGroup::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.targetDeviceGroup::|public|GetDisplayName():*string @@ -345748,6 +346653,30 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffCollectionResponse: github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffCollectionResponseable::|public|GetValue():[]TimeOffable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffCollectionResponseable::|public|SetValue(value:[]TimeOffable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|GetIsAllDay():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|SetIsAllDay(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|GetIsAllDay():*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|GetSubject():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|SetIsAllDay(value:*bool):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable::|public|SetSubject(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffDetails~~>TimeOffDetailsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffItem-->*ScheduleEntity github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffItem::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.timeOffItem::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -348727,6 +349656,13 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unmuteParticipantOperation github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unmuteParticipantOperation::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unmuteParticipantOperation::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unmuteParticipantOperationable~~>CommsOperationable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unrestrictedAudience-->*SignInAudienceRestrictionsBase +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unrestrictedAudience::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unrestrictedAudience::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unrestrictedAudience::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unrestrictedAudience::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unrestrictedAudience::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unrestrictedAudienceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SignInAudienceRestrictionsBaseable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unsupportedDeviceConfiguration-->*DeviceConfiguration github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unsupportedDeviceConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.unsupportedDeviceConfiguration::|public|GetDetails():[]UnsupportedDeviceConfigurationDetailable @@ -350133,12 +351069,20 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration-->*Entit github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|GetBinaryData():[]byte github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|GetStructuredData():[]StructuredDataEntryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|GetXmlData():[]byte github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|SetBinaryData(value:[]byte):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|SetStructuredData(value:[]StructuredDataEntryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|public|SetXmlData(value:[]byte):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfiguration::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationable::|public|GetBinaryData():[]byte +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationable::|public|GetStructuredData():[]StructuredDataEntryable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationable::|public|GetXmlData():[]byte github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationable::|public|SetBinaryData(value:[]byte):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationable::|public|SetStructuredData(value:[]StructuredDataEntryable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationable::|public|SetXmlData(value:[]byte):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userConfigurationCollectionResponse::|public|constructor():void @@ -353806,6 +354750,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|GetR github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|GetShiftPreferences():ShiftPreferencesable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|GetStorage():UserStorageable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|GetWindows():[]WindowsSettingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|GetWorkHoursAndLocations():WorkHoursAndLocationsSettingable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|OdataType:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|SetContactMergeSuggestions(value:ContactMergeSuggestionsable):void @@ -353817,6 +354762,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|SetR github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|SetShiftPreferences(value:ShiftPreferencesable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|SetStorage(value:UserStorageable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|SetWindows(value:[]WindowsSettingable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|public|SetWorkHoursAndLocations(value:WorkHoursAndLocationsSettingable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettings::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|GetContactMergeSuggestions():ContactMergeSuggestionsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|GetContributionToContentDiscoveryAsOrganizationDisabled():*bool @@ -353827,6 +354773,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|GetShiftPreferences():ShiftPreferencesable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|GetStorage():UserStorageable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|GetWindows():[]WindowsSettingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|GetWorkHoursAndLocations():WorkHoursAndLocationsSettingable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|SetContactMergeSuggestions(value:ContactMergeSuggestionsable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|SetContributionToContentDiscoveryAsOrganizationDisabled(value:*bool):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|SetContributionToContentDiscoveryDisabled(value:*bool):void @@ -353836,6 +354783,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public| github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|SetShiftPreferences(value:ShiftPreferencesable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|SetStorage(value:UserStorageable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|SetWindows(value:[]WindowsSettingable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable::|public|SetWorkHoursAndLocations(value:WorkHoursAndLocationsSettingable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSettingsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSet~~>UserSetable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.userSignIn-->*SignInIdentity @@ -369868,6 +370816,25 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workforceIntegrationSuppor github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workforceIntegrationSupportedEntities::0009-timeOffReason github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workforceIntegrationSupportedEntities::0010-timeOff github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workforceIntegrationSupportedEntities::0011-timeOffRequest +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|GetMaxSharedWorkLocationDetails():*MaxWorkLocationDetails +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|GetOccurrences():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|GetRecurrences():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|SetMaxSharedWorkLocationDetails(value:*MaxWorkLocationDetails):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|SetOccurrences(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|public|SetRecurrences(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSetting::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSettingable::|public|GetMaxSharedWorkLocationDetails():*MaxWorkLocationDetails +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSettingable::|public|GetOccurrences():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSettingable::|public|GetRecurrences():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSettingable::|public|SetMaxSharedWorkLocationDetails(value:*MaxWorkLocationDetails):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSettingable::|public|SetOccurrences(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSettingable::|public|SetRecurrences(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workHoursAndLocationsSettingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workingHours::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workingHours::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workingHours::|public|GetBackingStore():BackingStore @@ -369917,6 +370884,9 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workLocationType::0001-off github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workLocationType::0002-remote github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workLocationType::0003-timeOff github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workLocationType::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workLocationUpdateScope::0000-currentSegment +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workLocationUpdateScope::0001-currentDay +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workLocationUpdateScope::0002-unknownFutureValue github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workplace::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workplace::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workplace::|public|GetBackingStore():BackingStore @@ -370108,6 +371078,84 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workplaceSensorType::0005- github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workplaceSensorType::0006-wifi github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workplaceSensor~~>WorkplaceSensorable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workplace~~>Workplaceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|GetRecurrenceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|GetTimeOffDetails():TimeOffDetailsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|SetRecurrenceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|SetTimeOffDetails(value:TimeOffDetailsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|GetRecurrenceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|GetTimeOffDetails():TimeOffDetailsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|SetRecurrenceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|SetTimeOffDetails(value:TimeOffDetailsable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|GetValue():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponse::|public|SetValue(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponseable::|public|GetValue():[]WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponseable::|public|SetValue(value:[]WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanOccurrenceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence-->*Entity +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|GetRecurrence():PatternedRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|SetRecurrence(value:PatternedRecurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|GetEnd():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|GetRecurrence():PatternedRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|GetStart():DateTimeTimeZoneable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|GetWorkLocationType():*WorkLocationType +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|SetEnd(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|SetRecurrence(value:PatternedRecurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|SetStart(value:DateTimeTimeZoneable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable::|public|SetWorkLocationType(value:*WorkLocationType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|GetValue():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponse::|public|SetValue(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponseable::|public|GetValue():[]WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponseable::|public|SetValue(value:[]WorkPlanRecurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPlanRecurrenceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPosition-->*ItemFacet github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPosition::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.models.workPosition::|public|GetCategories():[]string @@ -416539,12 +417587,12 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.CountRequestBui github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponse github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|public|constructor():void github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) -github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable +github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|public|Serialize(writer:SerializationWriter):void -github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable -github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable -github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable +github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable):void github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.serviceprincipals.DeltaRequestBuilder.DeltaRequestBuilderGetQueryParameters::|public|Count:*bool @@ -445770,6 +446818,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|removeEmail():*ItemChannelsItemRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|sharedWithTeams():*ItemChannelsItemSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|startMigration():*ItemChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|tabs():*ItemChannelsItemTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsChannelItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsChannelItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChannelsChannelItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -447898,6 +448947,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemSharedWithT github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationPostRequestBody~~>ItemChannelsItemStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder.ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder.ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|Post(body:ItemChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemTabsCountRequestBuilder.ItemChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemChannelsItemTabsCountRequestBuilder.ItemChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -450659,6 +451735,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBu github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|removeEmail():*ItemPrimaryChannelRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|sharedWithTeams():*ItemPrimaryChannelSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|startMigration():*ItemPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|tabs():*ItemPrimaryChannelTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelRequestBuilderGetRequestConfiguration):*RequestInformation @@ -450794,6 +451871,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelSharedWit github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationPostRequestBody~~>ItemPrimaryChannelStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder.ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder.ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|Post(body:ItemPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelTabsCountRequestBuilder.ItemPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.teams.ItemPrimaryChannelTabsCountRequestBuilder.ItemPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -452394,6 +453498,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|removeEmail():*ItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|sharedWithTeams():*ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|startMigration():*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|tabs():*ItemTeamDefinitionChannelsItemTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsChannelItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -454522,6 +455627,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody~~>ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|Post(body:ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemTabsCountRequestBuilder.ItemTeamDefinitionChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionChannelsItemTabsCountRequestBuilder.ItemTeamDefinitionChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -457283,6 +458415,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|removeEmail():*ItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|sharedWithTeams():*ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|startMigration():*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|tabs():*ItemTeamDefinitionPrimaryChannelTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration):*RequestInformation @@ -457418,6 +458551,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDe github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody~~>ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|Post(body:ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder.ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamtemplatedefinition.ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder.ItemTeamDefinitionPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -459030,6 +460190,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannels github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|removeEmail():*DeletedTeamsItemChannelsItemRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|sharedWithTeams():*DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|startMigration():*DeletedTeamsItemChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|tabs():*DeletedTeamsItemChannelsItemTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsChannelItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsChannelItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsChannelItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -461158,6 +462319,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannels github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationPostRequestBody~~>DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder.DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder.DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|Post(body:DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*DeletedTeamsItemChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemTabsCountRequestBuilder.DeletedTeamsItemChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.DeletedTeamsItemChannelsItemTabsCountRequestBuilder.DeletedTeamsItemChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -461850,6 +463038,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|removeEmail():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|sharedWithTeams():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|startMigration():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|tabs():*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -463978,6 +465167,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody~~>TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|Post(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -466739,6 +467955,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|removeEmail():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRemoveEmailRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|sharedWithTeams():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|startMigration():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|tabs():*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilderGetRequestConfiguration):*RequestInformation @@ -466874,6 +468091,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinit github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.SharedWithChannelTeamInfoable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsSharedWithChannelTeamInfoItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody~~>TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|Post(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.teamwork.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilder.TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -476369,6 +477613,82 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsCountRequestB github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsCountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable~~>ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|EndDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|StartDateTime:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|UserId:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse-->*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable~~>ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilder.ItemAdhocCallsItemRecordingsCallRecordingItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -476644,6 +477964,8 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilde github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|Count():*ItemAdhocCallsCountRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemAdhocCallsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|getAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime():*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|getAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime():*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallable; ctx:context.Context; requestConfiguration?:*ItemAdhocCallsRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallable github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemAdhocCallsRequestBuilder::|public|requestAdapter:RequestAdapter @@ -481583,6 +482905,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBui github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|removeAllAccessForUser():*ItemChatsItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|sendActivityNotification():*ItemChatsItemSendActivityNotificationRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|startMigration():*ItemChatsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|tabs():*ItemChatsItemTabsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsChatItemRequestBuilderDeleteRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemChatsChatItemRequestBuilderGetRequestConfiguration):*RequestInformation @@ -483045,6 +484368,33 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemSendActivityNo github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemSendActivityNotificationRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemSendActivityNotificationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemSendActivityNotificationRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemSendActivityNotificationRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemSendActivityNotificationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemSendActivityNotificationRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBodyable::|public|GetConversationCreationDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBodyable::|public|SetConversationCreationDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationPostRequestBody~~>ItemChatsItemStartMigrationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder.ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder.ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|Post(body:ItemChatsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemStartMigrationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemStartMigrationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemStartMigrationRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemTabsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemTabsCountRequestBuilder.ItemChatsItemTabsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemChatsItemTabsCountRequestBuilder.ItemChatsItemTabsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -506691,6 +508041,7 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsRequestBuilder: github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsRequestBuilder::|public|windows():*ItemSettingsWindowsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsRequestBuilder::|public|workHoursAndLocations():*ItemSettingsWorkHoursAndLocationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsShiftPreferencesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsShiftPreferencesRequestBuilder.ItemSettingsShiftPreferencesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsShiftPreferencesRequestBuilder.ItemSettingsShiftPreferencesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -506946,6 +508297,222 @@ github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWindowsWindowsS github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWindowsWindowsSettingItemRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WindowsSettingable; ctx:context.Context; requestConfiguration?:*ItemSettingsWindowsWindowsSettingItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWindowsWindowsSettingItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWindowsWindowsSettingItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWindowsWindowsSettingItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|ByWorkPlanOccurrenceId(workPlanOccurrenceId:string):*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|Count():*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|setCurrentLocation():*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetUpdateScope():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|GetWorkLocationType():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetUpdateScope(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|public|SetWorkLocationType(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetUpdateScope():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|GetWorkLocationType():*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetUpdateScope(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable::|public|SetWorkLocationType(value:*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody~~>ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|Post(body:ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|ToPostRequestInformation(body:ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse-->*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable::|public|GetValue():[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable::|public|SetValue(value:[]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable~~>ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter; endDateTime?:*string; startDateTime?:*string):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse-->*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable~~>ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|Put(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|ByWorkPlanRecurrenceId(workPlanRecurrenceId:string):*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|Count():*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceCollectionResponseable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|Post(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|ToPostRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|Put(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|ToPutRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder.ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|occurrences():*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|occurrencesViewWithStartDateTimeWithEndDateTime(endDateTime:*string; startDateTime:*string):*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|Patch(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|recurrences():*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|ToPatchRequestInformation(body:ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable; ctx:context.Context; requestConfiguration?:*ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSettingsWorkHoursAndLocationsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemSettingsWorkHoursAndLocationsRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSolutionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSolutionsRequestBuilder.ItemSolutionsRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-beta-sdk-go/.users.ItemSolutionsRequestBuilder.ItemSolutionsRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption diff --git a/kiota-lock.json b/kiota-lock.json index e2e2e578631..82b2d501344 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "6A09B52B6D0D5BDB6C9A9158997009125BA86A5C3AB433B1D1F3C5AC6D440A8E0FCA70A70AF3C8848AAC74BA0CD826175872C0642C55ACE86437076717D4531D", + "descriptionHash": "132BD72834B90EF960917B858EA92D356EF717B4BF993CFEAAC78E98B61A4E4B95102A7BF413BD1965D648A67409238BEF71071B3FE10E2D5011EF079245815A", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/models/agent_identity_blueprint.go b/models/agent_identity_blueprint.go index 24f0defd1dc..fd5ad457b0b 100644 --- a/models/agent_identity_blueprint.go +++ b/models/agent_identity_blueprint.go @@ -28,6 +28,22 @@ func CreateAgentIdentityBlueprintFromDiscriminatorValue(parseNode i878a80d2330e8 // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *AgentIdentityBlueprint) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Application.GetFieldDeserializers() + res["inheritablePermissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateInheritablePermissionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]InheritablePermissionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(InheritablePermissionable) + } + } + m.SetInheritablePermissions(res) + } + return nil + } res["sponsors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateDirectoryObjectFromDiscriminatorValue) if err != nil { @@ -46,6 +62,18 @@ func (m *AgentIdentityBlueprint) GetFieldDeserializers()(map[string]func(i878a80 } return res } +// GetInheritablePermissions gets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. +// returns a []InheritablePermissionable when successful +func (m *AgentIdentityBlueprint) GetInheritablePermissions()([]InheritablePermissionable) { + val, err := m.GetBackingStore().Get("inheritablePermissions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]InheritablePermissionable) + } + return nil +} // GetSponsors gets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. // returns a []DirectoryObjectable when successful func (m *AgentIdentityBlueprint) GetSponsors()([]DirectoryObjectable) { @@ -64,6 +92,18 @@ func (m *AgentIdentityBlueprint) Serialize(writer i878a80d2330e89d26896388a3f487 if err != nil { return err } + if m.GetInheritablePermissions() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetInheritablePermissions())) + for i, v := range m.GetInheritablePermissions() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("inheritablePermissions", cast) + if err != nil { + return err + } + } if m.GetSponsors() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSponsors())) for i, v := range m.GetSponsors() { @@ -78,6 +118,13 @@ func (m *AgentIdentityBlueprint) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } +// SetInheritablePermissions sets the inheritablePermissions property value. Defines scopes of a resource application that may be automatically granted to agent identities without additional consent. +func (m *AgentIdentityBlueprint) SetInheritablePermissions(value []InheritablePermissionable)() { + err := m.GetBackingStore().Set("inheritablePermissions", value) + if err != nil { + panic(err) + } +} // SetSponsors sets the sponsors property value. The sponsors for this agent identity blueprint. Sponsors are users or groups who can authorize and manage the lifecycle of agent identity instances. Required during the create operation. func (m *AgentIdentityBlueprint) SetSponsors(value []DirectoryObjectable)() { err := m.GetBackingStore().Set("sponsors", value) @@ -88,6 +135,8 @@ func (m *AgentIdentityBlueprint) SetSponsors(value []DirectoryObjectable)() { type AgentIdentityBlueprintable interface { Applicationable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetInheritablePermissions()([]InheritablePermissionable) GetSponsors()([]DirectoryObjectable) + SetInheritablePermissions(value []InheritablePermissionable)() SetSponsors(value []DirectoryObjectable)() } diff --git a/models/all_allowed_scopes.go b/models/all_allowed_scopes.go new file mode 100644 index 00000000000..36598aca0a7 --- /dev/null +++ b/models/all_allowed_scopes.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AllAllowedScopes struct { + InheritableScopes +} +// NewAllAllowedScopes instantiates a new AllAllowedScopes and sets the default values. +func NewAllAllowedScopes()(*AllAllowedScopes) { + m := &AllAllowedScopes{ + InheritableScopes: *NewInheritableScopes(), + } + odataTypeValue := "#microsoft.graph.allAllowedScopes" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAllAllowedScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllAllowedScopesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllAllowedScopes(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AllAllowedScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.InheritableScopes.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AllAllowedScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.InheritableScopes.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AllAllowedScopesable interface { + InheritableScopesable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/allowed_tenants_audience.go b/models/allowed_tenants_audience.go new file mode 100644 index 00000000000..b9d72dc7294 --- /dev/null +++ b/models/allowed_tenants_audience.go @@ -0,0 +1,124 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AllowedTenantsAudience struct { + SignInAudienceRestrictionsBase +} +// NewAllowedTenantsAudience instantiates a new AllowedTenantsAudience and sets the default values. +func NewAllowedTenantsAudience()(*AllowedTenantsAudience) { + m := &AllowedTenantsAudience{ + SignInAudienceRestrictionsBase: *NewSignInAudienceRestrictionsBase(), + } + odataTypeValue := "#microsoft.graph.allowedTenantsAudience" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAllowedTenantsAudienceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAllowedTenantsAudienceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAllowedTenantsAudience(), nil +} +// GetAllowedTenantIds gets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. +// returns a []string when successful +func (m *AllowedTenantsAudience) GetAllowedTenantIds()([]string) { + val, err := m.GetBackingStore().Get("allowedTenantIds") + 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 *AllowedTenantsAudience) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SignInAudienceRestrictionsBase.GetFieldDeserializers() + res["allowedTenantIds"] = 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.SetAllowedTenantIds(res) + } + return nil + } + res["isHomeTenantAllowed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsHomeTenantAllowed(val) + } + return nil + } + return res +} +// GetIsHomeTenantAllowed gets the isHomeTenantAllowed property value. Whether the tenant where the application is registered is allowed. Currently, only true is supported. Default is true. +// returns a *bool when successful +func (m *AllowedTenantsAudience) GetIsHomeTenantAllowed()(*bool) { + val, err := m.GetBackingStore().Get("isHomeTenantAllowed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// Serialize serializes information the current object +func (m *AllowedTenantsAudience) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SignInAudienceRestrictionsBase.Serialize(writer) + if err != nil { + return err + } + if m.GetAllowedTenantIds() != nil { + err = writer.WriteCollectionOfStringValues("allowedTenantIds", m.GetAllowedTenantIds()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isHomeTenantAllowed", m.GetIsHomeTenantAllowed()) + if err != nil { + return err + } + } + return nil +} +// SetAllowedTenantIds sets the allowedTenantIds property value. The list of Entra tenant IDs where the application can be used as either a client application or a resource application (API). Must contain at least one value. The tenant ID where the application is registered may be included, but is not required (see isHomeTenantAllowed). Required. +func (m *AllowedTenantsAudience) SetAllowedTenantIds(value []string)() { + err := m.GetBackingStore().Set("allowedTenantIds", value) + if err != nil { + panic(err) + } +} +// SetIsHomeTenantAllowed sets the isHomeTenantAllowed property value. Whether the tenant where the application is registered is allowed. Currently, only true is supported. Default is true. +func (m *AllowedTenantsAudience) SetIsHomeTenantAllowed(value *bool)() { + err := m.GetBackingStore().Set("isHomeTenantAllowed", value) + if err != nil { + panic(err) + } +} +type AllowedTenantsAudienceable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SignInAudienceRestrictionsBaseable + GetAllowedTenantIds()([]string) + GetIsHomeTenantAllowed()(*bool) + SetAllowedTenantIds(value []string)() + SetIsHomeTenantAllowed(value *bool)() +} diff --git a/models/application.go b/models/application.go index 2e76727cd65..18effd6aee5 100644 --- a/models/application.go +++ b/models/application.go @@ -486,6 +486,16 @@ func (m *Application) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["isDisabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDisabled(val) + } + return nil + } res["isFallbackPublicClient"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -690,6 +700,16 @@ func (m *Application) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26 } return nil } + res["signInAudienceRestrictions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSignInAudienceRestrictionsBaseFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSignInAudienceRestrictions(val.(SignInAudienceRestrictionsBaseable)) + } + return nil + } res["spa"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateSpaApplicationFromDiscriminatorValue) if err != nil { @@ -870,6 +890,18 @@ func (m *Application) GetIsDeviceOnlyAuthSupported()(*bool) { } return nil } +// GetIsDisabled gets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. +// returns a *bool when successful +func (m *Application) GetIsDisabled()(*bool) { + val, err := m.GetBackingStore().Get("isDisabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIsFallbackPublicClient gets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property. // returns a *bool when successful func (m *Application) GetIsFallbackPublicClient()(*bool) { @@ -1086,6 +1118,18 @@ func (m *Application) GetSignInAudience()(*string) { } return nil } +// GetSignInAudienceRestrictions gets the signInAudienceRestrictions property value. The signInAudienceRestrictions property +// returns a SignInAudienceRestrictionsBaseable when successful +func (m *Application) GetSignInAudienceRestrictions()(SignInAudienceRestrictionsBaseable) { + val, err := m.GetBackingStore().Get("signInAudienceRestrictions") + if err != nil { + panic(err) + } + if val != nil { + return val.(SignInAudienceRestrictionsBaseable) + } + return nil +} // GetSpa gets the spa property value. Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. // returns a SpaApplicationable when successful func (m *Application) GetSpa()(SpaApplicationable) { @@ -1368,6 +1412,12 @@ func (m *Application) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + { + err = writer.WriteBoolValue("isDisabled", m.GetIsDisabled()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isFallbackPublicClient", m.GetIsFallbackPublicClient()) if err != nil { @@ -1501,6 +1551,12 @@ func (m *Application) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6 return err } } + { + err = writer.WriteObjectValue("signInAudienceRestrictions", m.GetSignInAudienceRestrictions()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("spa", m.GetSpa()) if err != nil { @@ -1722,6 +1778,13 @@ func (m *Application) SetIsDeviceOnlyAuthSupported(value *bool)() { panic(err) } } +// SetIsDisabled sets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. +func (m *Application) SetIsDisabled(value *bool)() { + err := m.GetBackingStore().Set("isDisabled", value) + if err != nil { + panic(err) + } +} // SetIsFallbackPublicClient sets the isFallbackPublicClient property value. Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is false, which means the fallback application type is confidential client such as a web app. There are certain scenarios where Microsoft Entra ID can't determine the client application type. For example, the ROPC flow where the application is configured without specifying a redirect URI. In those cases Microsoft Entra ID interprets the application type based on the value of this property. func (m *Application) SetIsFallbackPublicClient(value *bool)() { err := m.GetBackingStore().Set("isFallbackPublicClient", value) @@ -1848,6 +1911,13 @@ func (m *Application) SetSignInAudience(value *string)() { panic(err) } } +// SetSignInAudienceRestrictions sets the signInAudienceRestrictions property value. The signInAudienceRestrictions property +func (m *Application) SetSignInAudienceRestrictions(value SignInAudienceRestrictionsBaseable)() { + err := m.GetBackingStore().Set("signInAudienceRestrictions", value) + if err != nil { + panic(err) + } +} // SetSpa sets the spa property value. Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. func (m *Application) SetSpa(value SpaApplicationable)() { err := m.GetBackingStore().Set("spa", value) @@ -1942,6 +2012,7 @@ type Applicationable interface { GetIdentifierUris()([]string) GetInfo()(InformationalUrlable) GetIsDeviceOnlyAuthSupported()(*bool) + GetIsDisabled()(*bool) GetIsFallbackPublicClient()(*bool) GetKeyCredentials()([]KeyCredentialable) GetLogo()([]byte) @@ -1960,6 +2031,7 @@ type Applicationable interface { GetServiceManagementReference()(*string) GetServicePrincipalLockConfiguration()(ServicePrincipalLockConfigurationable) GetSignInAudience()(*string) + GetSignInAudienceRestrictions()(SignInAudienceRestrictionsBaseable) GetSpa()(SpaApplicationable) GetSynchronization()(Synchronizationable) GetTags()([]string) @@ -1991,6 +2063,7 @@ type Applicationable interface { SetIdentifierUris(value []string)() SetInfo(value InformationalUrlable)() SetIsDeviceOnlyAuthSupported(value *bool)() + SetIsDisabled(value *bool)() SetIsFallbackPublicClient(value *bool)() SetKeyCredentials(value []KeyCredentialable)() SetLogo(value []byte)() @@ -2009,6 +2082,7 @@ type Applicationable interface { SetServiceManagementReference(value *string)() SetServicePrincipalLockConfiguration(value ServicePrincipalLockConfigurationable)() SetSignInAudience(value *string)() + SetSignInAudienceRestrictions(value SignInAudienceRestrictionsBaseable)() SetSpa(value SpaApplicationable)() SetSynchronization(value Synchronizationable)() SetTags(value []string)() diff --git a/models/audience_restriction.go b/models/audience_restriction.go index 57591c4c9f6..9babdc99201 100644 --- a/models/audience_restriction.go +++ b/models/audience_restriction.go @@ -24,6 +24,24 @@ func NewAudienceRestriction()(*AudienceRestriction) { // CreateAudienceRestrictionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value // returns a Parsable when successful func CreateAudienceRestrictionFromDiscriminatorValue(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.azureAdMultipleOrgsAudienceRestriction": + return NewAzureAdMultipleOrgsAudienceRestriction(), nil + } + } + } + } return NewAudienceRestriction(), 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. diff --git a/models/audiences_configuration.go b/models/audiences_configuration.go index 2309989f6ab..37f676b5ef0 100644 --- a/models/audiences_configuration.go +++ b/models/audiences_configuration.go @@ -39,14 +39,14 @@ func (m *AudiencesConfiguration) GetAdditionalData()(map[string]any) { return val.(map[string]any) } // GetAzureAdMultipleOrgs gets the azureAdMultipleOrgs property value. Setting to allow or disallow creation of apps with multitenant signInAudience. -// returns a AudienceRestrictionable when successful -func (m *AudiencesConfiguration) GetAzureAdMultipleOrgs()(AudienceRestrictionable) { +// returns a AzureAdMultipleOrgsAudienceRestrictionable when successful +func (m *AudiencesConfiguration) GetAzureAdMultipleOrgs()(AzureAdMultipleOrgsAudienceRestrictionable) { val, err := m.GetBackingStore().Get("azureAdMultipleOrgs") if err != nil { panic(err) } if val != nil { - return val.(AudienceRestrictionable) + return val.(AzureAdMultipleOrgsAudienceRestrictionable) } return nil } @@ -60,12 +60,12 @@ func (m *AudiencesConfiguration) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd0 func (m *AudiencesConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) res["azureAdMultipleOrgs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetObjectValue(CreateAudienceRestrictionFromDiscriminatorValue) + val, err := n.GetObjectValue(CreateAzureAdMultipleOrgsAudienceRestrictionFromDiscriminatorValue) if err != nil { return err } if val != nil { - m.SetAzureAdMultipleOrgs(val.(AudienceRestrictionable)) + m.SetAzureAdMultipleOrgs(val.(AzureAdMultipleOrgsAudienceRestrictionable)) } return nil } @@ -151,7 +151,7 @@ func (m *AudiencesConfiguration) SetAdditionalData(value map[string]any)() { } } // SetAzureAdMultipleOrgs sets the azureAdMultipleOrgs property value. Setting to allow or disallow creation of apps with multitenant signInAudience. -func (m *AudiencesConfiguration) SetAzureAdMultipleOrgs(value AudienceRestrictionable)() { +func (m *AudiencesConfiguration) SetAzureAdMultipleOrgs(value AzureAdMultipleOrgsAudienceRestrictionable)() { err := m.GetBackingStore().Set("azureAdMultipleOrgs", value) if err != nil { panic(err) @@ -179,11 +179,11 @@ type AudiencesConfigurationable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetAzureAdMultipleOrgs()(AudienceRestrictionable) + GetAzureAdMultipleOrgs()(AzureAdMultipleOrgsAudienceRestrictionable) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) GetOdataType()(*string) GetPersonalMicrosoftAccount()(AudienceRestrictionable) - SetAzureAdMultipleOrgs(value AudienceRestrictionable)() + SetAzureAdMultipleOrgs(value AzureAdMultipleOrgsAudienceRestrictionable)() SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() SetOdataType(value *string)() SetPersonalMicrosoftAccount(value AudienceRestrictionable)() diff --git a/models/azure_ad_multiple_orgs_audience_restriction.go b/models/azure_ad_multiple_orgs_audience_restriction.go new file mode 100644 index 00000000000..2f4f582401a --- /dev/null +++ b/models/azure_ad_multiple_orgs_audience_restriction.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AzureAdMultipleOrgsAudienceRestriction struct { + AudienceRestriction +} +// NewAzureAdMultipleOrgsAudienceRestriction instantiates a new AzureAdMultipleOrgsAudienceRestriction and sets the default values. +func NewAzureAdMultipleOrgsAudienceRestriction()(*AzureAdMultipleOrgsAudienceRestriction) { + m := &AzureAdMultipleOrgsAudienceRestriction{ + AudienceRestriction: *NewAudienceRestriction(), + } + odataTypeValue := "#microsoft.graph.azureAdMultipleOrgsAudienceRestriction" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAzureAdMultipleOrgsAudienceRestrictionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAzureAdMultipleOrgsAudienceRestrictionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAzureAdMultipleOrgsAudienceRestriction(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *AzureAdMultipleOrgsAudienceRestriction) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AudienceRestriction.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *AzureAdMultipleOrgsAudienceRestriction) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AudienceRestriction.Serialize(writer) + if err != nil { + return err + } + return nil +} +type AzureAdMultipleOrgsAudienceRestrictionable interface { + AudienceRestrictionable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/channel.go b/models/channel.go index da7d2d8252c..643f4c27a43 100644 --- a/models/channel.go +++ b/models/channel.go @@ -253,6 +253,16 @@ func (m *Channel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["migrationMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMigrationMode) + if err != nil { + return err + } + if val != nil { + m.SetMigrationMode(val.(*MigrationMode)) + } + return nil + } res["moderationSettings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateChannelModerationSettingsFromDiscriminatorValue) if err != nil { @@ -263,6 +273,16 @@ func (m *Channel) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["originalCreatedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetOriginalCreatedDateTime(val) + } + return nil + } res["planner"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateTeamsChannelPlannerFromDiscriminatorValue) if err != nil { @@ -421,6 +441,18 @@ func (m *Channel) GetMessages()([]ChatMessageable) { } return nil } +// GetMigrationMode gets the migrationMode property value. Indicates whether a channel is in migration mode. This value is null for channels that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. +// returns a *MigrationMode when successful +func (m *Channel) GetMigrationMode()(*MigrationMode) { + val, err := m.GetBackingStore().Get("migrationMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MigrationMode) + } + return nil +} // GetModerationSettings gets the moderationSettings property value. Settings to configure channel moderation to control who can start new posts and reply to posts in that channel. // returns a ChannelModerationSettingsable when successful func (m *Channel) GetModerationSettings()(ChannelModerationSettingsable) { @@ -433,6 +465,18 @@ func (m *Channel) GetModerationSettings()(ChannelModerationSettingsable) { } return nil } +// GetOriginalCreatedDateTime gets the originalCreatedDateTime property value. Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. +// returns a *Time when successful +func (m *Channel) GetOriginalCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("originalCreatedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} // GetPlanner gets the planner property value. Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. // returns a TeamsChannelPlannerable when successful func (m *Channel) GetPlanner()(TeamsChannelPlannerable) { @@ -615,12 +659,25 @@ func (m *Channel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + if m.GetMigrationMode() != nil { + cast := (*m.GetMigrationMode()).String() + err = writer.WriteStringValue("migrationMode", &cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("moderationSettings", m.GetModerationSettings()) if err != nil { return err } } + { + err = writer.WriteTimeValue("originalCreatedDateTime", m.GetOriginalCreatedDateTime()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("planner", m.GetPlanner()) if err != nil { @@ -762,6 +819,13 @@ func (m *Channel) SetMessages(value []ChatMessageable)() { panic(err) } } +// SetMigrationMode sets the migrationMode property value. Indicates whether a channel is in migration mode. This value is null for channels that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. +func (m *Channel) SetMigrationMode(value *MigrationMode)() { + err := m.GetBackingStore().Set("migrationMode", value) + if err != nil { + panic(err) + } +} // SetModerationSettings sets the moderationSettings property value. Settings to configure channel moderation to control who can start new posts and reply to posts in that channel. func (m *Channel) SetModerationSettings(value ChannelModerationSettingsable)() { err := m.GetBackingStore().Set("moderationSettings", value) @@ -769,6 +833,13 @@ func (m *Channel) SetModerationSettings(value ChannelModerationSettingsable)() { panic(err) } } +// SetOriginalCreatedDateTime sets the originalCreatedDateTime property value. Timestamp of the original creation time for the channel. The value is null if the channel never entered migration mode. +func (m *Channel) SetOriginalCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("originalCreatedDateTime", value) + if err != nil { + panic(err) + } +} // SetPlanner sets the planner property value. Selective Planner services available to this channel. Currently, only shared channels are supported. Read-only. Nullable. func (m *Channel) SetPlanner(value TeamsChannelPlannerable)() { err := m.GetBackingStore().Set("planner", value) @@ -827,7 +898,9 @@ type Channelable interface { GetMembers()([]ConversationMemberable) GetMembershipType()(*ChannelMembershipType) GetMessages()([]ChatMessageable) + GetMigrationMode()(*MigrationMode) GetModerationSettings()(ChannelModerationSettingsable) + GetOriginalCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetPlanner()(TeamsChannelPlannerable) GetSharedWithTeams()([]SharedWithChannelTeamInfoable) GetSummary()(ChannelSummaryable) @@ -847,7 +920,9 @@ type Channelable interface { SetMembers(value []ConversationMemberable)() SetMembershipType(value *ChannelMembershipType)() SetMessages(value []ChatMessageable)() + SetMigrationMode(value *MigrationMode)() SetModerationSettings(value ChannelModerationSettingsable)() + SetOriginalCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetPlanner(value TeamsChannelPlannerable)() SetSharedWithTeams(value []SharedWithChannelTeamInfoable)() SetSummary(value ChannelSummaryable)() diff --git a/models/chat.go b/models/chat.go index afd279ae881..939d7fa239f 100644 --- a/models/chat.go +++ b/models/chat.go @@ -171,6 +171,16 @@ func (m *Chat) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["migrationMode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMigrationMode) + if err != nil { + return err + } + if val != nil { + m.SetMigrationMode(val.(*MigrationMode)) + } + return nil + } res["onlineMeetingInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateTeamworkOnlineMeetingInfoFromDiscriminatorValue) if err != nil { @@ -197,6 +207,16 @@ func (m *Chat) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } + res["originalCreatedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetOriginalCreatedDateTime(val) + } + return nil + } res["permissionGrants"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateResourceSpecificPermissionGrantFromDiscriminatorValue) if err != nil { @@ -359,6 +379,18 @@ func (m *Chat) GetMessages()([]ChatMessageable) { } return nil } +// GetMigrationMode gets the migrationMode property value. Indicates whether a chat is in migration mode. This value is null for chats that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. +// returns a *MigrationMode when successful +func (m *Chat) GetMigrationMode()(*MigrationMode) { + val, err := m.GetBackingStore().Get("migrationMode") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MigrationMode) + } + return nil +} // GetOnlineMeetingInfo gets the onlineMeetingInfo property value. Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. // returns a TeamworkOnlineMeetingInfoable when successful func (m *Chat) GetOnlineMeetingInfo()(TeamworkOnlineMeetingInfoable) { @@ -383,6 +415,18 @@ func (m *Chat) GetOperations()([]TeamsAsyncOperationable) { } return nil } +// GetOriginalCreatedDateTime gets the originalCreatedDateTime property value. Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. +// returns a *Time when successful +func (m *Chat) GetOriginalCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("originalCreatedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} // GetPermissionGrants gets the permissionGrants property value. A collection of permissions granted to apps for the chat. // returns a []ResourceSpecificPermissionGrantable when successful func (m *Chat) GetPermissionGrants()([]ResourceSpecificPermissionGrantable) { @@ -546,6 +590,13 @@ func (m *Chat) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + if m.GetMigrationMode() != nil { + cast := (*m.GetMigrationMode()).String() + err = writer.WriteStringValue("migrationMode", &cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("onlineMeetingInfo", m.GetOnlineMeetingInfo()) if err != nil { @@ -564,6 +615,12 @@ func (m *Chat) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } + { + err = writer.WriteTimeValue("originalCreatedDateTime", m.GetOriginalCreatedDateTime()) + if err != nil { + return err + } + } if m.GetPermissionGrants() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissionGrants())) for i, v := range m.GetPermissionGrants() { @@ -689,6 +746,13 @@ func (m *Chat) SetMessages(value []ChatMessageable)() { panic(err) } } +// SetMigrationMode sets the migrationMode property value. Indicates whether a chat is in migration mode. This value is null for chats that never entered migration mode. The possible values are: inProgress, completed, unknownFutureValue. +func (m *Chat) SetMigrationMode(value *MigrationMode)() { + err := m.GetBackingStore().Set("migrationMode", value) + if err != nil { + panic(err) + } +} // SetOnlineMeetingInfo sets the onlineMeetingInfo property value. Represents details about an online meeting. If the chat isn't associated with an online meeting, the property is empty. Read-only. func (m *Chat) SetOnlineMeetingInfo(value TeamworkOnlineMeetingInfoable)() { err := m.GetBackingStore().Set("onlineMeetingInfo", value) @@ -703,6 +767,13 @@ func (m *Chat) SetOperations(value []TeamsAsyncOperationable)() { panic(err) } } +// SetOriginalCreatedDateTime sets the originalCreatedDateTime property value. Timestamp of the original creation time for the chat. The value is null if the chat never entered migration mode. +func (m *Chat) SetOriginalCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("originalCreatedDateTime", value) + if err != nil { + panic(err) + } +} // SetPermissionGrants sets the permissionGrants property value. A collection of permissions granted to apps for the chat. func (m *Chat) SetPermissionGrants(value []ResourceSpecificPermissionGrantable)() { err := m.GetBackingStore().Set("permissionGrants", value) @@ -764,8 +835,10 @@ type Chatable interface { GetLastUpdatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetMembers()([]ConversationMemberable) GetMessages()([]ChatMessageable) + GetMigrationMode()(*MigrationMode) GetOnlineMeetingInfo()(TeamworkOnlineMeetingInfoable) GetOperations()([]TeamsAsyncOperationable) + GetOriginalCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetPermissionGrants()([]ResourceSpecificPermissionGrantable) GetPinnedMessages()([]PinnedChatMessageInfoable) GetTabs()([]TeamsTabable) @@ -782,8 +855,10 @@ type Chatable interface { SetLastUpdatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetMembers(value []ConversationMemberable)() SetMessages(value []ChatMessageable)() + SetMigrationMode(value *MigrationMode)() SetOnlineMeetingInfo(value TeamworkOnlineMeetingInfoable)() SetOperations(value []TeamsAsyncOperationable)() + SetOriginalCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetPermissionGrants(value []ResourceSpecificPermissionGrantable)() SetPinnedMessages(value []PinnedChatMessageInfoable)() SetTabs(value []TeamsTabable)() diff --git a/models/cloud_pc_autopilot_configuration.go b/models/cloud_pc_autopilot_configuration.go index 173e4dce8a6..57a9923b688 100644 --- a/models/cloud_pc_autopilot_configuration.go +++ b/models/cloud_pc_autopilot_configuration.go @@ -38,7 +38,7 @@ func (m *CloudPcAutopilotConfiguration) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetApplicationTimeoutInMinutes gets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 10 and 360. Required. +// GetApplicationTimeoutInMinutes gets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 30 and 360. Required. // returns a *int32 when successful func (m *CloudPcAutopilotConfiguration) GetApplicationTimeoutInMinutes()(*int32) { val, err := m.GetBackingStore().Get("applicationTimeoutInMinutes") @@ -178,7 +178,7 @@ func (m *CloudPcAutopilotConfiguration) SetAdditionalData(value map[string]any)( panic(err) } } -// SetApplicationTimeoutInMinutes sets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 10 and 360. Required. +// SetApplicationTimeoutInMinutes sets the applicationTimeoutInMinutes property value. Indicates the number of minutes allowed for the Autopilot application to apply the device preparation profile (DPP) configurations to the device. If the Autopilot application doesn't finish within the specified time (applicationTimeoutInMinutes), the application error is added to the statusDetail property of the cloudPC object. The supported value is an integer between 30 and 360. Required. func (m *CloudPcAutopilotConfiguration) SetApplicationTimeoutInMinutes(value *int32)() { err := m.GetBackingStore().Set("applicationTimeoutInMinutes", value) if err != nil { diff --git a/models/cloud_pc_client_app_usage_report_type.go b/models/cloud_pc_client_app_usage_report_type.go new file mode 100644 index 00000000000..ea6562a778c --- /dev/null +++ b/models/cloud_pc_client_app_usage_report_type.go @@ -0,0 +1,36 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type CloudPcClientAppUsageReportType int + +const ( + MICROSOFTREMOTEDESKTOPCLIENTUSAGEREPORT_CLOUDPCCLIENTAPPUSAGEREPORTTYPE CloudPcClientAppUsageReportType = iota + UNKNOWNFUTUREVALUE_CLOUDPCCLIENTAPPUSAGEREPORTTYPE +) + +func (i CloudPcClientAppUsageReportType) String() string { + return []string{"microsoftRemoteDesktopClientUsageReport", "unknownFutureValue"}[i] +} +func ParseCloudPcClientAppUsageReportType(v string) (any, error) { + result := MICROSOFTREMOTEDESKTOPCLIENTUSAGEREPORT_CLOUDPCCLIENTAPPUSAGEREPORTTYPE + switch v { + case "microsoftRemoteDesktopClientUsageReport": + result = MICROSOFTREMOTEDESKTOPCLIENTUSAGEREPORT_CLOUDPCCLIENTAPPUSAGEREPORTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_CLOUDPCCLIENTAPPUSAGEREPORTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeCloudPcClientAppUsageReportType(values []CloudPcClientAppUsageReportType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CloudPcClientAppUsageReportType) isMultiValue() bool { + return false +} diff --git a/models/cloud_pc_device_image.go b/models/cloud_pc_device_image.go index 10e4adfdb35..5460986d65e 100644 --- a/models/cloud_pc_device_image.go +++ b/models/cloud_pc_device_image.go @@ -113,16 +113,6 @@ func (m *CloudPcDeviceImage) GetFieldDeserializers()(map[string]func(i878a80d233 } return nil } - res["osArchitecture"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetEnumValue(ParseCloudPcImageOsArchitectureType) - if err != nil { - return err - } - if val != nil { - m.SetOsArchitecture(val.(*CloudPcImageOsArchitectureType)) - } - return nil - } res["osBuildNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -245,18 +235,6 @@ func (m *CloudPcDeviceImage) GetOperatingSystem()(*string) { } return nil } -// GetOsArchitecture gets the osArchitecture property value. The osArchitecture property -// returns a *CloudPcImageOsArchitectureType when successful -func (m *CloudPcDeviceImage) GetOsArchitecture()(*CloudPcImageOsArchitectureType) { - val, err := m.GetBackingStore().Get("osArchitecture") - if err != nil { - panic(err) - } - if val != nil { - return val.(*CloudPcImageOsArchitectureType) - } - return nil -} // GetOsBuildNumber gets the osBuildNumber property value. The OS build version of the image. For example, 1909. Read-only. // returns a *string when successful func (m *CloudPcDeviceImage) GetOsBuildNumber()(*string) { @@ -402,13 +380,6 @@ func (m *CloudPcDeviceImage) Serialize(writer i878a80d2330e89d26896388a3f487eef2 return err } } - if m.GetOsArchitecture() != nil { - cast := (*m.GetOsArchitecture()).String() - err = writer.WriteStringValue("osArchitecture", &cast) - if err != nil { - return err - } - } { err = writer.WriteStringValue("osBuildNumber", m.GetOsBuildNumber()) if err != nil { @@ -503,13 +474,6 @@ func (m *CloudPcDeviceImage) SetOperatingSystem(value *string)() { panic(err) } } -// SetOsArchitecture sets the osArchitecture property value. The osArchitecture property -func (m *CloudPcDeviceImage) SetOsArchitecture(value *CloudPcImageOsArchitectureType)() { - err := m.GetBackingStore().Set("osArchitecture", value) - if err != nil { - panic(err) - } -} // SetOsBuildNumber sets the osBuildNumber property value. The OS build version of the image. For example, 1909. Read-only. func (m *CloudPcDeviceImage) SetOsBuildNumber(value *string)() { err := m.GetBackingStore().Set("osBuildNumber", value) @@ -581,7 +545,6 @@ type CloudPcDeviceImageable interface { GetExpirationDate()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) GetOperatingSystem()(*string) - GetOsArchitecture()(*CloudPcImageOsArchitectureType) GetOsBuildNumber()(*string) GetOsStatus()(*CloudPcDeviceImageOsStatus) GetOsVersionNumber()(*string) @@ -596,7 +559,6 @@ type CloudPcDeviceImageable interface { SetExpirationDate(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() SetOperatingSystem(value *string)() - SetOsArchitecture(value *CloudPcImageOsArchitectureType)() SetOsBuildNumber(value *string)() SetOsStatus(value *CloudPcDeviceImageOsStatus)() SetOsVersionNumber(value *string)() diff --git a/models/cloud_pc_gallery_image.go b/models/cloud_pc_gallery_image.go index 5c70b3de8f0..73c2134b337 100644 --- a/models/cloud_pc_gallery_image.go +++ b/models/cloud_pc_gallery_image.go @@ -122,16 +122,6 @@ func (m *CloudPcGalleryImage) GetFieldDeserializers()(map[string]func(i878a80d23 } return nil } - res["osArchitecture"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetEnumValue(ParseCloudPcImageOsArchitectureType) - if err != nil { - return err - } - if val != nil { - m.SetOsArchitecture(val.(*CloudPcImageOsArchitectureType)) - } - return nil - } res["osVersionNumber"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -270,18 +260,6 @@ func (m *CloudPcGalleryImage) GetOfferName()(*string) { } return nil } -// GetOsArchitecture gets the osArchitecture property value. The osArchitecture property -// returns a *CloudPcImageOsArchitectureType when successful -func (m *CloudPcGalleryImage) GetOsArchitecture()(*CloudPcImageOsArchitectureType) { - val, err := m.GetBackingStore().Get("osArchitecture") - if err != nil { - panic(err) - } - if val != nil { - return val.(*CloudPcImageOsArchitectureType) - } - return nil -} // GetOsVersionNumber gets the osVersionNumber property value. The operating system version of this gallery image. For example, 10.0.22000.296. Read-only. // returns a *string when successful func (m *CloudPcGalleryImage) GetOsVersionNumber()(*string) { @@ -444,13 +422,6 @@ func (m *CloudPcGalleryImage) Serialize(writer i878a80d2330e89d26896388a3f487eef return err } } - if m.GetOsArchitecture() != nil { - cast := (*m.GetOsArchitecture()).String() - err = writer.WriteStringValue("osArchitecture", &cast) - if err != nil { - return err - } - } { err = writer.WriteStringValue("osVersionNumber", m.GetOsVersionNumber()) if err != nil { @@ -556,13 +527,6 @@ func (m *CloudPcGalleryImage) SetOfferName(value *string)() { panic(err) } } -// SetOsArchitecture sets the osArchitecture property value. The osArchitecture property -func (m *CloudPcGalleryImage) SetOsArchitecture(value *CloudPcImageOsArchitectureType)() { - err := m.GetBackingStore().Set("osArchitecture", value) - if err != nil { - panic(err) - } -} // SetOsVersionNumber sets the osVersionNumber property value. The operating system version of this gallery image. For example, 10.0.22000.296. Read-only. func (m *CloudPcGalleryImage) SetOsVersionNumber(value *string)() { err := m.GetBackingStore().Set("osVersionNumber", value) @@ -642,7 +606,6 @@ type CloudPcGalleryImageable interface { GetOffer()(*string) GetOfferDisplayName()(*string) GetOfferName()(*string) - GetOsArchitecture()(*CloudPcImageOsArchitectureType) GetOsVersionNumber()(*string) GetPublisher()(*string) GetPublisherName()(*string) @@ -659,7 +622,6 @@ type CloudPcGalleryImageable interface { SetOffer(value *string)() SetOfferDisplayName(value *string)() SetOfferName(value *string)() - SetOsArchitecture(value *CloudPcImageOsArchitectureType)() SetOsVersionNumber(value *string)() SetPublisher(value *string)() SetPublisherName(value *string)() diff --git a/models/cloud_pc_image_os_architecture_type.go b/models/cloud_pc_image_os_architecture_type.go deleted file mode 100644 index 256bab6e4e4..00000000000 --- a/models/cloud_pc_image_os_architecture_type.go +++ /dev/null @@ -1,39 +0,0 @@ -// Code generated by Microsoft Kiota - DO NOT EDIT. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package models -type CloudPcImageOsArchitectureType int - -const ( - X64_CLOUDPCIMAGEOSARCHITECTURETYPE CloudPcImageOsArchitectureType = iota - ARM64_CLOUDPCIMAGEOSARCHITECTURETYPE - UNKNOWNFUTUREVALUE_CLOUDPCIMAGEOSARCHITECTURETYPE -) - -func (i CloudPcImageOsArchitectureType) String() string { - return []string{"x64", "arm64", "unknownFutureValue"}[i] -} -func ParseCloudPcImageOsArchitectureType(v string) (any, error) { - result := X64_CLOUDPCIMAGEOSARCHITECTURETYPE - switch v { - case "x64": - result = X64_CLOUDPCIMAGEOSARCHITECTURETYPE - case "arm64": - result = ARM64_CLOUDPCIMAGEOSARCHITECTURETYPE - case "unknownFutureValue": - result = UNKNOWNFUTUREVALUE_CLOUDPCIMAGEOSARCHITECTURETYPE - default: - return nil, nil - } - return &result, nil -} -func SerializeCloudPcImageOsArchitectureType(values []CloudPcImageOsArchitectureType) []string { - result := make([]string, len(values)) - for i, v := range values { - result[i] = v.String() - } - return result -} -func (i CloudPcImageOsArchitectureType) isMultiValue() bool { - return false -} diff --git a/models/contact.go b/models/contact.go index dabb45d4f46..4e16cead645 100644 --- a/models/contact.go +++ b/models/contact.go @@ -437,6 +437,16 @@ func (m *Contact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["primaryEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEmailAddressFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetPrimaryEmailAddress(val.(EmailAddressable)) + } + return nil + } res["profession"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -447,6 +457,16 @@ func (m *Contact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["secondaryEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEmailAddressFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSecondaryEmailAddress(val.(EmailAddressable)) + } + return nil + } res["singleValueExtendedProperties"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateSingleValueLegacyExtendedPropertyFromDiscriminatorValue) if err != nil { @@ -483,6 +503,16 @@ func (m *Contact) GetFieldDeserializers()(map[string]func(i878a80d2330e89d268963 } return nil } + res["tertiaryEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateEmailAddressFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTertiaryEmailAddress(val.(EmailAddressable)) + } + return nil + } res["title"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -779,6 +809,18 @@ func (m *Contact) GetPostalAddresses()([]PhysicalAddressable) { } return nil } +// GetPrimaryEmailAddress gets the primaryEmailAddress property value. The primary email address of the contact. +// returns a EmailAddressable when successful +func (m *Contact) GetPrimaryEmailAddress()(EmailAddressable) { + val, err := m.GetBackingStore().Get("primaryEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(EmailAddressable) + } + return nil +} // GetProfession gets the profession property value. The contact's profession. // returns a *string when successful func (m *Contact) GetProfession()(*string) { @@ -791,6 +833,18 @@ func (m *Contact) GetProfession()(*string) { } return nil } +// GetSecondaryEmailAddress gets the secondaryEmailAddress property value. The secondary email address of the contact. +// returns a EmailAddressable when successful +func (m *Contact) GetSecondaryEmailAddress()(EmailAddressable) { + val, err := m.GetBackingStore().Get("secondaryEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(EmailAddressable) + } + return nil +} // GetSingleValueExtendedProperties gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. // returns a []SingleValueLegacyExtendedPropertyable when successful func (m *Contact) GetSingleValueExtendedProperties()([]SingleValueLegacyExtendedPropertyable) { @@ -827,6 +881,18 @@ func (m *Contact) GetSurname()(*string) { } return nil } +// GetTertiaryEmailAddress gets the tertiaryEmailAddress property value. The tertiary email address of the contact. +// returns a EmailAddressable when successful +func (m *Contact) GetTertiaryEmailAddress()(EmailAddressable) { + val, err := m.GetBackingStore().Get("tertiaryEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(EmailAddressable) + } + return nil +} // GetTitle gets the title property value. The contact's title. // returns a *string when successful func (m *Contact) GetTitle()(*string) { @@ -1097,12 +1163,24 @@ func (m *Contact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + { + err = writer.WriteObjectValue("primaryEmailAddress", m.GetPrimaryEmailAddress()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("profession", m.GetProfession()) if err != nil { return err } } + { + err = writer.WriteObjectValue("secondaryEmailAddress", m.GetSecondaryEmailAddress()) + if err != nil { + return err + } + } if m.GetSingleValueExtendedProperties() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSingleValueExtendedProperties())) for i, v := range m.GetSingleValueExtendedProperties() { @@ -1127,6 +1205,12 @@ func (m *Contact) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010 return err } } + { + err = writer.WriteObjectValue("tertiaryEmailAddress", m.GetTertiaryEmailAddress()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("title", m.GetTitle()) if err != nil { @@ -1360,6 +1444,13 @@ func (m *Contact) SetPostalAddresses(value []PhysicalAddressable)() { panic(err) } } +// SetPrimaryEmailAddress sets the primaryEmailAddress property value. The primary email address of the contact. +func (m *Contact) SetPrimaryEmailAddress(value EmailAddressable)() { + err := m.GetBackingStore().Set("primaryEmailAddress", value) + if err != nil { + panic(err) + } +} // SetProfession sets the profession property value. The contact's profession. func (m *Contact) SetProfession(value *string)() { err := m.GetBackingStore().Set("profession", value) @@ -1367,6 +1458,13 @@ func (m *Contact) SetProfession(value *string)() { panic(err) } } +// SetSecondaryEmailAddress sets the secondaryEmailAddress property value. The secondary email address of the contact. +func (m *Contact) SetSecondaryEmailAddress(value EmailAddressable)() { + err := m.GetBackingStore().Set("secondaryEmailAddress", value) + if err != nil { + panic(err) + } +} // SetSingleValueExtendedProperties sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contact. Read-only. Nullable. func (m *Contact) SetSingleValueExtendedProperties(value []SingleValueLegacyExtendedPropertyable)() { err := m.GetBackingStore().Set("singleValueExtendedProperties", value) @@ -1388,6 +1486,13 @@ func (m *Contact) SetSurname(value *string)() { panic(err) } } +// SetTertiaryEmailAddress sets the tertiaryEmailAddress property value. The tertiary email address of the contact. +func (m *Contact) SetTertiaryEmailAddress(value EmailAddressable)() { + err := m.GetBackingStore().Set("tertiaryEmailAddress", value) + if err != nil { + panic(err) + } +} // SetTitle sets the title property value. The contact's title. func (m *Contact) SetTitle(value *string)() { err := m.GetBackingStore().Set("title", value) @@ -1460,10 +1565,13 @@ type Contactable interface { GetPhones()([]Phoneable) GetPhoto()(ProfilePhotoable) GetPostalAddresses()([]PhysicalAddressable) + GetPrimaryEmailAddress()(EmailAddressable) GetProfession()(*string) + GetSecondaryEmailAddress()(EmailAddressable) GetSingleValueExtendedProperties()([]SingleValueLegacyExtendedPropertyable) GetSpouseName()(*string) GetSurname()(*string) + GetTertiaryEmailAddress()(EmailAddressable) GetTitle()(*string) GetWebsites()([]Websiteable) GetWeddingAnniversary()(*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly) @@ -1497,10 +1605,13 @@ type Contactable interface { SetPhones(value []Phoneable)() SetPhoto(value ProfilePhotoable)() SetPostalAddresses(value []PhysicalAddressable)() + SetPrimaryEmailAddress(value EmailAddressable)() SetProfession(value *string)() + SetSecondaryEmailAddress(value EmailAddressable)() SetSingleValueExtendedProperties(value []SingleValueLegacyExtendedPropertyable)() SetSpouseName(value *string)() SetSurname(value *string)() + SetTertiaryEmailAddress(value EmailAddressable)() SetTitle(value *string)() SetWebsites(value []Websiteable)() SetWeddingAnniversary(value *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.DateOnly)() diff --git a/models/copilot_conversation.go b/models/copilot_conversation.go new file mode 100644 index 00000000000..d37bd3f4d0a --- /dev/null +++ b/models/copilot_conversation.go @@ -0,0 +1,224 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// CopilotConversation conversation is a first class object in the system, and consists of persistent metadata plus a stream of messages,typically alternating request/response, implicitly forming a turn.Represents a conversation with Copilot Chat. +type CopilotConversation struct { + Entity +} +// NewCopilotConversation instantiates a new CopilotConversation and sets the default values. +func NewCopilotConversation()(*CopilotConversation) { + m := &CopilotConversation{ + Entity: *NewEntity(), + } + return m +} +// CreateCopilotConversationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotConversationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotConversation(), nil +} +// GetCreatedDateTime gets the createdDateTime property value. The date and time when the conversation was created. +// returns a *Time when successful +func (m *CopilotConversation) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("createdDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDisplayName gets the displayName property value. The display name of the conversation. +// returns a *string when successful +func (m *CopilotConversation) 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 *CopilotConversation) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["displayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayName(val) + } + return nil + } + res["messages"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCopilotConversationMessageFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CopilotConversationMessageable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CopilotConversationMessageable) + } + } + m.SetMessages(res) + } + return nil + } + res["state"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCopilotConversationState) + if err != nil { + return err + } + if val != nil { + m.SetState(val.(*CopilotConversationState)) + } + return nil + } + res["turnCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTurnCount(val) + } + return nil + } + return res +} +// GetMessages gets the messages property value. The ordered list of messages in the conversation. +// returns a []CopilotConversationMessageable when successful +func (m *CopilotConversation) GetMessages()([]CopilotConversationMessageable) { + val, err := m.GetBackingStore().Get("messages") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CopilotConversationMessageable) + } + return nil +} +// GetState gets the state property value. The state of a Copilot conversation. +// returns a *CopilotConversationState when successful +func (m *CopilotConversation) GetState()(*CopilotConversationState) { + val, err := m.GetBackingStore().Get("state") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CopilotConversationState) + } + return nil +} +// GetTurnCount gets the turnCount property value. The number of turns in the conversation. +// returns a *int32 when successful +func (m *CopilotConversation) GetTurnCount()(*int32) { + val, err := m.GetBackingStore().Get("turnCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *CopilotConversation) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetMessages() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMessages())) + for i, v := range m.GetMessages() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("messages", cast) + if err != nil { + return err + } + } + if m.GetState() != nil { + cast := (*m.GetState()).String() + err = writer.WriteStringValue("state", &cast) + if err != nil { + return err + } + } + return nil +} +// SetCreatedDateTime sets the createdDateTime property value. The date and time when the conversation was created. +func (m *CopilotConversation) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The display name of the conversation. +func (m *CopilotConversation) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetMessages sets the messages property value. The ordered list of messages in the conversation. +func (m *CopilotConversation) SetMessages(value []CopilotConversationMessageable)() { + err := m.GetBackingStore().Set("messages", value) + if err != nil { + panic(err) + } +} +// SetState sets the state property value. The state of a Copilot conversation. +func (m *CopilotConversation) SetState(value *CopilotConversationState)() { + err := m.GetBackingStore().Set("state", value) + if err != nil { + panic(err) + } +} +// SetTurnCount sets the turnCount property value. The number of turns in the conversation. +func (m *CopilotConversation) SetTurnCount(value *int32)() { + err := m.GetBackingStore().Set("turnCount", value) + if err != nil { + panic(err) + } +} +type CopilotConversationable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDisplayName()(*string) + GetMessages()([]CopilotConversationMessageable) + GetState()(*CopilotConversationState) + GetTurnCount()(*int32) + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDisplayName(value *string)() + SetMessages(value []CopilotConversationMessageable)() + SetState(value *CopilotConversationState)() + SetTurnCount(value *int32)() +} diff --git a/models/copilot_conversation_attribution.go b/models/copilot_conversation_attribution.go new file mode 100644 index 00000000000..9e14c0aacc1 --- /dev/null +++ b/models/copilot_conversation_attribution.go @@ -0,0 +1,378 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type CopilotConversationAttribution struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewCopilotConversationAttribution instantiates a new CopilotConversationAttribution and sets the default values. +func NewCopilotConversationAttribution()(*CopilotConversationAttribution) { + m := &CopilotConversationAttribution{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateCopilotConversationAttributionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotConversationAttributionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotConversationAttribution(), 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 *CopilotConversationAttribution) 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) +} +// GetAttributionSource gets the attributionSource property value. The source of the attribution. +// returns a *CopilotConversationAttributionSource when successful +func (m *CopilotConversationAttribution) GetAttributionSource()(*CopilotConversationAttributionSource) { + val, err := m.GetBackingStore().Get("attributionSource") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CopilotConversationAttributionSource) + } + return nil +} +// GetAttributionType gets the attributionType property value. The type of attribution. +// returns a *CopilotConversationAttributionType when successful +func (m *CopilotConversationAttribution) GetAttributionType()(*CopilotConversationAttributionType) { + val, err := m.GetBackingStore().Get("attributionType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*CopilotConversationAttributionType) + } + return nil +} +// GetBackingStore gets the BackingStore property value. Stores model information. +// returns a BackingStore when successful +func (m *CopilotConversationAttribution) 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 *CopilotConversationAttribution) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["attributionSource"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCopilotConversationAttributionSource) + if err != nil { + return err + } + if val != nil { + m.SetAttributionSource(val.(*CopilotConversationAttributionSource)) + } + return nil + } + res["attributionType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseCopilotConversationAttributionType) + if err != nil { + return err + } + if val != nil { + m.SetAttributionType(val.(*CopilotConversationAttributionType)) + } + return nil + } + res["imageFavIcon"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetImageFavIcon(val) + } + return nil + } + res["imageHeight"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetImageHeight(val) + } + return nil + } + res["imageWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetImageWebUrl(val) + } + return nil + } + res["imageWidth"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetImageWidth(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["providerDisplayName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetProviderDisplayName(val) + } + return nil + } + res["seeMoreWebUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSeeMoreWebUrl(val) + } + return nil + } + return res +} +// GetImageFavIcon gets the imageFavIcon property value. The imageFavIcon property +// returns a *string when successful +func (m *CopilotConversationAttribution) GetImageFavIcon()(*string) { + val, err := m.GetBackingStore().Get("imageFavIcon") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetImageHeight gets the imageHeight property value. The imageHeight property +// returns a *int32 when successful +func (m *CopilotConversationAttribution) GetImageHeight()(*int32) { + val, err := m.GetBackingStore().Get("imageHeight") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetImageWebUrl gets the imageWebUrl property value. The imageWebUrl property +// returns a *string when successful +func (m *CopilotConversationAttribution) GetImageWebUrl()(*string) { + val, err := m.GetBackingStore().Get("imageWebUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetImageWidth gets the imageWidth property value. The imageWidth property +// returns a *int32 when successful +func (m *CopilotConversationAttribution) GetImageWidth()(*int32) { + val, err := m.GetBackingStore().Get("imageWidth") + 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 *CopilotConversationAttribution) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetProviderDisplayName gets the providerDisplayName property value. The providerDisplayName property +// returns a *string when successful +func (m *CopilotConversationAttribution) GetProviderDisplayName()(*string) { + val, err := m.GetBackingStore().Get("providerDisplayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSeeMoreWebUrl gets the seeMoreWebUrl property value. The seeMoreWebUrl property +// returns a *string when successful +func (m *CopilotConversationAttribution) GetSeeMoreWebUrl()(*string) { + val, err := m.GetBackingStore().Get("seeMoreWebUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CopilotConversationAttribution) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetAttributionSource() != nil { + cast := (*m.GetAttributionSource()).String() + err := writer.WriteStringValue("attributionSource", &cast) + if err != nil { + return err + } + } + if m.GetAttributionType() != nil { + cast := (*m.GetAttributionType()).String() + err := writer.WriteStringValue("attributionType", &cast) + 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 *CopilotConversationAttribution) SetAdditionalData(value map[string]any)() { + err := m.GetBackingStore().Set("additionalData", value) + if err != nil { + panic(err) + } +} +// SetAttributionSource sets the attributionSource property value. The source of the attribution. +func (m *CopilotConversationAttribution) SetAttributionSource(value *CopilotConversationAttributionSource)() { + err := m.GetBackingStore().Set("attributionSource", value) + if err != nil { + panic(err) + } +} +// SetAttributionType sets the attributionType property value. The type of attribution. +func (m *CopilotConversationAttribution) SetAttributionType(value *CopilotConversationAttributionType)() { + err := m.GetBackingStore().Set("attributionType", value) + if err != nil { + panic(err) + } +} +// SetBackingStore sets the BackingStore property value. Stores model information. +func (m *CopilotConversationAttribution) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetImageFavIcon sets the imageFavIcon property value. The imageFavIcon property +func (m *CopilotConversationAttribution) SetImageFavIcon(value *string)() { + err := m.GetBackingStore().Set("imageFavIcon", value) + if err != nil { + panic(err) + } +} +// SetImageHeight sets the imageHeight property value. The imageHeight property +func (m *CopilotConversationAttribution) SetImageHeight(value *int32)() { + err := m.GetBackingStore().Set("imageHeight", value) + if err != nil { + panic(err) + } +} +// SetImageWebUrl sets the imageWebUrl property value. The imageWebUrl property +func (m *CopilotConversationAttribution) SetImageWebUrl(value *string)() { + err := m.GetBackingStore().Set("imageWebUrl", value) + if err != nil { + panic(err) + } +} +// SetImageWidth sets the imageWidth property value. The imageWidth property +func (m *CopilotConversationAttribution) SetImageWidth(value *int32)() { + err := m.GetBackingStore().Set("imageWidth", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *CopilotConversationAttribution) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetProviderDisplayName sets the providerDisplayName property value. The providerDisplayName property +func (m *CopilotConversationAttribution) SetProviderDisplayName(value *string)() { + err := m.GetBackingStore().Set("providerDisplayName", value) + if err != nil { + panic(err) + } +} +// SetSeeMoreWebUrl sets the seeMoreWebUrl property value. The seeMoreWebUrl property +func (m *CopilotConversationAttribution) SetSeeMoreWebUrl(value *string)() { + err := m.GetBackingStore().Set("seeMoreWebUrl", value) + if err != nil { + panic(err) + } +} +type CopilotConversationAttributionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAttributionSource()(*CopilotConversationAttributionSource) + GetAttributionType()(*CopilotConversationAttributionType) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetImageFavIcon()(*string) + GetImageHeight()(*int32) + GetImageWebUrl()(*string) + GetImageWidth()(*int32) + GetOdataType()(*string) + GetProviderDisplayName()(*string) + GetSeeMoreWebUrl()(*string) + SetAttributionSource(value *CopilotConversationAttributionSource)() + SetAttributionType(value *CopilotConversationAttributionType)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetImageFavIcon(value *string)() + SetImageHeight(value *int32)() + SetImageWebUrl(value *string)() + SetImageWidth(value *int32)() + SetOdataType(value *string)() + SetProviderDisplayName(value *string)() + SetSeeMoreWebUrl(value *string)() +} diff --git a/models/copilot_conversation_attribution_source.go b/models/copilot_conversation_attribution_source.go new file mode 100644 index 00000000000..306bc5d400a --- /dev/null +++ b/models/copilot_conversation_attribution_source.go @@ -0,0 +1,41 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +// The source of the attribution. +type CopilotConversationAttributionSource int + +const ( + GROUNDING_COPILOTCONVERSATIONATTRIBUTIONSOURCE CopilotConversationAttributionSource = iota + MODEL_COPILOTCONVERSATIONATTRIBUTIONSOURCE + // A marker value for members added after the release of this API. + UNKNOWNFUTUREVALUE_COPILOTCONVERSATIONATTRIBUTIONSOURCE +) + +func (i CopilotConversationAttributionSource) String() string { + return []string{"grounding", "model", "unknownFutureValue"}[i] +} +func ParseCopilotConversationAttributionSource(v string) (any, error) { + result := GROUNDING_COPILOTCONVERSATIONATTRIBUTIONSOURCE + switch v { + case "grounding": + result = GROUNDING_COPILOTCONVERSATIONATTRIBUTIONSOURCE + case "model": + result = MODEL_COPILOTCONVERSATIONATTRIBUTIONSOURCE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_COPILOTCONVERSATIONATTRIBUTIONSOURCE + default: + return nil, nil + } + return &result, nil +} +func SerializeCopilotConversationAttributionSource(values []CopilotConversationAttributionSource) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CopilotConversationAttributionSource) isMultiValue() bool { + return false +} diff --git a/models/copilot_conversation_attribution_type.go b/models/copilot_conversation_attribution_type.go new file mode 100644 index 00000000000..c56514cb893 --- /dev/null +++ b/models/copilot_conversation_attribution_type.go @@ -0,0 +1,41 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +// The type of attribution. +type CopilotConversationAttributionType int + +const ( + CITATION_COPILOTCONVERSATIONATTRIBUTIONTYPE CopilotConversationAttributionType = iota + ANNOTATION_COPILOTCONVERSATIONATTRIBUTIONTYPE + // A marker value for members added after the release of this API. + UNKNOWNFUTUREVALUE_COPILOTCONVERSATIONATTRIBUTIONTYPE +) + +func (i CopilotConversationAttributionType) String() string { + return []string{"citation", "annotation", "unknownFutureValue"}[i] +} +func ParseCopilotConversationAttributionType(v string) (any, error) { + result := CITATION_COPILOTCONVERSATIONATTRIBUTIONTYPE + switch v { + case "citation": + result = CITATION_COPILOTCONVERSATIONATTRIBUTIONTYPE + case "annotation": + result = ANNOTATION_COPILOTCONVERSATIONATTRIBUTIONTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_COPILOTCONVERSATIONATTRIBUTIONTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeCopilotConversationAttributionType(values []CopilotConversationAttributionType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CopilotConversationAttributionType) isMultiValue() bool { + return false +} diff --git a/models/copilot_conversation_message.go b/models/copilot_conversation_message.go new file mode 100644 index 00000000000..fcbd8358bed --- /dev/null +++ b/models/copilot_conversation_message.go @@ -0,0 +1,100 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// CopilotConversationMessage abstract entity representing a chat message in a request or response. +type CopilotConversationMessage struct { + Entity +} +// NewCopilotConversationMessage instantiates a new CopilotConversationMessage and sets the default values. +func NewCopilotConversationMessage()(*CopilotConversationMessage) { + m := &CopilotConversationMessage{ + Entity: *NewEntity(), + } + return m +} +// CreateCopilotConversationMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotConversationMessageFromDiscriminatorValue(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.copilotConversationRequestMessage": + return NewCopilotConversationRequestMessage(), nil + case "#microsoft.graph.copilotConversationResponseMessage": + return NewCopilotConversationResponseMessage(), nil + } + } + } + } + return NewCopilotConversationMessage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CopilotConversationMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["text"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetText(val) + } + return nil + } + return res +} +// GetText gets the text property value. The text of the message. +// returns a *string when successful +func (m *CopilotConversationMessage) GetText()(*string) { + val, err := m.GetBackingStore().Get("text") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *CopilotConversationMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("text", m.GetText()) + if err != nil { + return err + } + } + return nil +} +// SetText sets the text property value. The text of the message. +func (m *CopilotConversationMessage) SetText(value *string)() { + err := m.GetBackingStore().Set("text", value) + if err != nil { + panic(err) + } +} +type CopilotConversationMessageable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetText()(*string) + SetText(value *string)() +} diff --git a/models/copilot_conversation_request_message.go b/models/copilot_conversation_request_message.go new file mode 100644 index 00000000000..8d36b38af17 --- /dev/null +++ b/models/copilot_conversation_request_message.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// CopilotConversationRequestMessage entity representing a chat message in a request. +type CopilotConversationRequestMessage struct { + CopilotConversationMessage +} +// NewCopilotConversationRequestMessage instantiates a new CopilotConversationRequestMessage and sets the default values. +func NewCopilotConversationRequestMessage()(*CopilotConversationRequestMessage) { + m := &CopilotConversationRequestMessage{ + CopilotConversationMessage: *NewCopilotConversationMessage(), + } + odataTypeValue := "#microsoft.graph.copilotConversationRequestMessage" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateCopilotConversationRequestMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotConversationRequestMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotConversationRequestMessage(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CopilotConversationRequestMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CopilotConversationMessage.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *CopilotConversationRequestMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CopilotConversationMessage.Serialize(writer) + if err != nil { + return err + } + return nil +} +type CopilotConversationRequestMessageable interface { + CopilotConversationMessageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/copilot_conversation_response_message.go b/models/copilot_conversation_response_message.go new file mode 100644 index 00000000000..9638ef3d101 --- /dev/null +++ b/models/copilot_conversation_response_message.go @@ -0,0 +1,182 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// CopilotConversationResponseMessage represents a response message in a chat. +type CopilotConversationResponseMessage struct { + CopilotConversationMessage +} +// NewCopilotConversationResponseMessage instantiates a new CopilotConversationResponseMessage and sets the default values. +func NewCopilotConversationResponseMessage()(*CopilotConversationResponseMessage) { + m := &CopilotConversationResponseMessage{ + CopilotConversationMessage: *NewCopilotConversationMessage(), + } + odataTypeValue := "#microsoft.graph.copilotConversationResponseMessage" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateCopilotConversationResponseMessageFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotConversationResponseMessageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotConversationResponseMessage(), nil +} +// GetAdaptiveCards gets the adaptiveCards property value. The adaptiveCards property +// returns a []Jsonable when successful +func (m *CopilotConversationResponseMessage) GetAdaptiveCards()([]Jsonable) { + val, err := m.GetBackingStore().Get("adaptiveCards") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Jsonable) + } + return nil +} +// GetAttributions gets the attributions property value. The attributions property +// returns a []CopilotConversationAttributionable when successful +func (m *CopilotConversationResponseMessage) GetAttributions()([]CopilotConversationAttributionable) { + val, err := m.GetBackingStore().Get("attributions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]CopilotConversationAttributionable) + } + return nil +} +// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// returns a *Time when successful +func (m *CopilotConversationResponseMessage) 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 *CopilotConversationResponseMessage) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.CopilotConversationMessage.GetFieldDeserializers() + res["adaptiveCards"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateJsonFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Jsonable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Jsonable) + } + } + m.SetAdaptiveCards(res) + } + return nil + } + res["attributions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateCopilotConversationAttributionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]CopilotConversationAttributionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(CopilotConversationAttributionable) + } + } + m.SetAttributions(res) + } + return nil + } + res["createdDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetCreatedDateTime(val) + } + return nil + } + res["sensitivityLabel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSearchSensitivityLabelInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetSensitivityLabel(val.(SearchSensitivityLabelInfoable)) + } + return nil + } + return res +} +// GetSensitivityLabel gets the sensitivityLabel property value. The sensitivityLabel property +// returns a SearchSensitivityLabelInfoable when successful +func (m *CopilotConversationResponseMessage) GetSensitivityLabel()(SearchSensitivityLabelInfoable) { + val, err := m.GetBackingStore().Get("sensitivityLabel") + if err != nil { + panic(err) + } + if val != nil { + return val.(SearchSensitivityLabelInfoable) + } + return nil +} +// Serialize serializes information the current object +func (m *CopilotConversationResponseMessage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.CopilotConversationMessage.Serialize(writer) + if err != nil { + return err + } + return nil +} +// SetAdaptiveCards sets the adaptiveCards property value. The adaptiveCards property +func (m *CopilotConversationResponseMessage) SetAdaptiveCards(value []Jsonable)() { + err := m.GetBackingStore().Set("adaptiveCards", value) + if err != nil { + panic(err) + } +} +// SetAttributions sets the attributions property value. The attributions property +func (m *CopilotConversationResponseMessage) SetAttributions(value []CopilotConversationAttributionable)() { + err := m.GetBackingStore().Set("attributions", value) + if err != nil { + panic(err) + } +} +// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +func (m *CopilotConversationResponseMessage) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("createdDateTime", value) + if err != nil { + panic(err) + } +} +// SetSensitivityLabel sets the sensitivityLabel property value. The sensitivityLabel property +func (m *CopilotConversationResponseMessage) SetSensitivityLabel(value SearchSensitivityLabelInfoable)() { + err := m.GetBackingStore().Set("sensitivityLabel", value) + if err != nil { + panic(err) + } +} +type CopilotConversationResponseMessageable interface { + CopilotConversationMessageable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAdaptiveCards()([]Jsonable) + GetAttributions()([]CopilotConversationAttributionable) + GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetSensitivityLabel()(SearchSensitivityLabelInfoable) + SetAdaptiveCards(value []Jsonable)() + SetAttributions(value []CopilotConversationAttributionable)() + SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetSensitivityLabel(value SearchSensitivityLabelInfoable)() +} diff --git a/models/copilot_conversation_state.go b/models/copilot_conversation_state.go new file mode 100644 index 00000000000..683a785b90d --- /dev/null +++ b/models/copilot_conversation_state.go @@ -0,0 +1,43 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +// The state of a Copilot conversation. +type CopilotConversationState int + +const ( + // The conversation is active and can accept requests to chat. + ACTIVE_COPILOTCONVERSATIONSTATE CopilotConversationState = iota + // Copilot has disengaged from the conversation due to a RAI issue and will reject further requests to chat. + DISENGAGEDFORRAI_COPILOTCONVERSATIONSTATE + // A marker value for members added after the release of this API. + UNKNOWNFUTUREVALUE_COPILOTCONVERSATIONSTATE +) + +func (i CopilotConversationState) String() string { + return []string{"active", "disengagedForRai", "unknownFutureValue"}[i] +} +func ParseCopilotConversationState(v string) (any, error) { + result := ACTIVE_COPILOTCONVERSATIONSTATE + switch v { + case "active": + result = ACTIVE_COPILOTCONVERSATIONSTATE + case "disengagedForRai": + result = DISENGAGEDFORRAI_COPILOTCONVERSATIONSTATE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_COPILOTCONVERSATIONSTATE + default: + return nil, nil + } + return &result, nil +} +func SerializeCopilotConversationState(values []CopilotConversationState) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i CopilotConversationState) isMultiValue() bool { + return false +} diff --git a/models/desk.go b/models/desk.go index fb5dd281618..208cae0240e 100644 --- a/models/desk.go +++ b/models/desk.go @@ -106,7 +106,7 @@ func (m *Desk) GetMailboxDetails()(MailboxDetailsable) { } return nil } -// GetMode gets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms Pro management portal.unavailablePlaceMode - Desk that is taken down for maintenance or marked as not reservable. +// GetMode gets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable. // returns a PlaceModeable when successful func (m *Desk) GetMode()(PlaceModeable) { val, err := m.GetBackingStore().Get("mode") @@ -172,7 +172,7 @@ func (m *Desk) SetMailboxDetails(value MailboxDetailsable)() { panic(err) } } -// SetMode sets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms Pro management portal.unavailablePlaceMode - Desk that is taken down for maintenance or marked as not reservable. +// SetMode sets the mode property value. The mode of the desk. The supported modes are:assignedPlaceMode - Desks that are assigned to a user.reservablePlaceMode - Desks that can be booked in advance using desk reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks, the desk is booked for you, assuming the peripheral is associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Desks that are taken down for maintenance or marked as not reservable. func (m *Desk) SetMode(value PlaceModeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { diff --git a/models/entity.go b/models/entity.go index 6727d8eec23..6c7330344ba 100644 --- a/models/entity.go +++ b/models/entity.go @@ -853,6 +853,14 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCopilotAdminSetting(), nil case "#microsoft.graph.copilotCommunicationsRoot": return NewCopilotCommunicationsRoot(), nil + case "#microsoft.graph.copilotConversation": + return NewCopilotConversation(), nil + case "#microsoft.graph.copilotConversationMessage": + return NewCopilotConversationMessage(), nil + case "#microsoft.graph.copilotConversationRequestMessage": + return NewCopilotConversationRequestMessage(), nil + case "#microsoft.graph.copilotConversationResponseMessage": + return NewCopilotConversationResponseMessage(), nil case "#microsoft.graph.copilotPackage": return NewCopilotPackage(), nil case "#microsoft.graph.copilotPackageDetail": @@ -1425,6 +1433,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewExactMatchUploadAgent(), nil case "#microsoft.graph.exchangeAdmin": return NewExchangeAdmin(), nil + case "#microsoft.graph.exchangeMessageTrace": + return NewExchangeMessageTrace(), nil + case "#microsoft.graph.exchangeMessageTraceDetail": + return NewExchangeMessageTraceDetail(), nil case "#microsoft.graph.exchangeProtectionPolicy": return NewExchangeProtectionPolicy(), nil case "#microsoft.graph.exchangeRestoreSession": @@ -2073,6 +2085,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewMessageRule(), nil case "#microsoft.graph.messageTrace": return NewMessageTrace(), nil + case "#microsoft.graph.messageTracingRoot": + return NewMessageTracingRoot(), nil case "#microsoft.graph.mfaCompletionMetric": return NewMfaCompletionMetric(), nil case "#microsoft.graph.mfaFailure": @@ -3797,10 +3811,16 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewWorkbookWorksheetProtection(), nil case "#microsoft.graph.workforceIntegration": return NewWorkforceIntegration(), nil + case "#microsoft.graph.workHoursAndLocationsSetting": + return NewWorkHoursAndLocationsSetting(), nil case "#microsoft.graph.workingTimeSchedule": return NewWorkingTimeSchedule(), nil case "#microsoft.graph.workplaceSensorDevice": return NewWorkplaceSensorDevice(), nil + case "#microsoft.graph.workPlanOccurrence": + return NewWorkPlanOccurrence(), nil + case "#microsoft.graph.workPlanRecurrence": + return NewWorkPlanRecurrence(), nil case "#microsoft.graph.workPosition": return NewWorkPosition(), nil case "#microsoft.graph.workspace": diff --git a/models/enumerated_scopes.go b/models/enumerated_scopes.go new file mode 100644 index 00000000000..bec80e4f7e8 --- /dev/null +++ b/models/enumerated_scopes.go @@ -0,0 +1,87 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type EnumeratedScopes struct { + InheritableScopes +} +// NewEnumeratedScopes instantiates a new EnumeratedScopes and sets the default values. +func NewEnumeratedScopes()(*EnumeratedScopes) { + m := &EnumeratedScopes{ + InheritableScopes: *NewInheritableScopes(), + } + odataTypeValue := "#microsoft.graph.enumeratedScopes" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateEnumeratedScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateEnumeratedScopesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewEnumeratedScopes(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *EnumeratedScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.InheritableScopes.GetFieldDeserializers() + res["scopes"] = 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.SetScopes(res) + } + return nil + } + return res +} +// GetScopes gets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. +// returns a []string when successful +func (m *EnumeratedScopes) GetScopes()([]string) { + val, err := m.GetBackingStore().Get("scopes") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *EnumeratedScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.InheritableScopes.Serialize(writer) + if err != nil { + return err + } + if m.GetScopes() != nil { + err = writer.WriteCollectionOfStringValues("scopes", m.GetScopes()) + if err != nil { + return err + } + } + return nil +} +// SetScopes sets the scopes property value. Required. Nonempty list of delegated permission scope identifiers published by the resource application to inherit. Entries must be unique and must not include any globally blocked scopes. +func (m *EnumeratedScopes) SetScopes(value []string)() { + err := m.GetBackingStore().Set("scopes", value) + if err != nil { + panic(err) + } +} +type EnumeratedScopesable interface { + InheritableScopesable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetScopes()([]string) + SetScopes(value []string)() +} diff --git a/models/exchange_admin.go b/models/exchange_admin.go index b1ebc36fb6c..8b1b74de466 100644 --- a/models/exchange_admin.go +++ b/models/exchange_admin.go @@ -58,6 +58,16 @@ func (m *ExchangeAdmin) GetFieldDeserializers()(map[string]func(i878a80d2330e89d } return nil } + res["tracing"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateMessageTracingRootFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTracing(val.(MessageTracingRootable)) + } + return nil + } return res } // GetMailboxes gets the mailboxes property value. Represents a user's mailboxes. @@ -84,6 +94,18 @@ func (m *ExchangeAdmin) GetMessageTraces()([]MessageTraceable) { } return nil } +// GetTracing gets the tracing property value. The tracing property +// returns a MessageTracingRootable when successful +func (m *ExchangeAdmin) GetTracing()(MessageTracingRootable) { + val, err := m.GetBackingStore().Get("tracing") + if err != nil { + panic(err) + } + if val != nil { + return val.(MessageTracingRootable) + } + return nil +} // Serialize serializes information the current object func (m *ExchangeAdmin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -114,6 +136,12 @@ func (m *ExchangeAdmin) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0 return err } } + { + err = writer.WriteObjectValue("tracing", m.GetTracing()) + if err != nil { + return err + } + } return nil } // SetMailboxes sets the mailboxes property value. Represents a user's mailboxes. @@ -130,11 +158,20 @@ func (m *ExchangeAdmin) SetMessageTraces(value []MessageTraceable)() { panic(err) } } +// SetTracing sets the tracing property value. The tracing property +func (m *ExchangeAdmin) SetTracing(value MessageTracingRootable)() { + err := m.GetBackingStore().Set("tracing", value) + if err != nil { + panic(err) + } +} type ExchangeAdminable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMailboxes()([]Mailboxable) GetMessageTraces()([]MessageTraceable) + GetTracing()(MessageTracingRootable) SetMailboxes(value []Mailboxable)() SetMessageTraces(value []MessageTraceable)() + SetTracing(value MessageTracingRootable)() } diff --git a/models/exchange_message_trace.go b/models/exchange_message_trace.go new file mode 100644 index 00000000000..587419d26db --- /dev/null +++ b/models/exchange_message_trace.go @@ -0,0 +1,377 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExchangeMessageTrace struct { + Entity +} +// NewExchangeMessageTrace instantiates a new ExchangeMessageTrace and sets the default values. +func NewExchangeMessageTrace()(*ExchangeMessageTrace) { + m := &ExchangeMessageTrace{ + Entity: *NewEntity(), + } + return m +} +// CreateExchangeMessageTraceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeMessageTraceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeMessageTrace(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExchangeMessageTrace) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["fromIP"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetFromIP(val) + } + return nil + } + res["messageId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMessageId(val) + } + return nil + } + res["receivedDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetReceivedDateTime(val) + } + return nil + } + res["recipientAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRecipientAddress(val) + } + return nil + } + res["senderAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSenderAddress(val) + } + return nil + } + res["size"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSize(val) + } + return nil + } + res["status"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseExchangeMessageTraceStatus) + if err != nil { + return err + } + if val != nil { + m.SetStatus(val.(*ExchangeMessageTraceStatus)) + } + return nil + } + res["subject"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubject(val) + } + return nil + } + res["toIP"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetToIP(val) + } + return nil + } + return res +} +// GetFromIP gets the fromIP property value. The fromIP property +// returns a *string when successful +func (m *ExchangeMessageTrace) GetFromIP()(*string) { + val, err := m.GetBackingStore().Get("fromIP") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetMessageId gets the messageId property value. The messageId property +// returns a *string when successful +func (m *ExchangeMessageTrace) GetMessageId()(*string) { + val, err := m.GetBackingStore().Get("messageId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetReceivedDateTime gets the receivedDateTime property value. The receivedDateTime property +// returns a *Time when successful +func (m *ExchangeMessageTrace) GetReceivedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("receivedDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetRecipientAddress gets the recipientAddress property value. The recipientAddress property +// returns a *string when successful +func (m *ExchangeMessageTrace) GetRecipientAddress()(*string) { + val, err := m.GetBackingStore().Get("recipientAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSenderAddress gets the senderAddress property value. The senderAddress property +// returns a *string when successful +func (m *ExchangeMessageTrace) GetSenderAddress()(*string) { + val, err := m.GetBackingStore().Get("senderAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSize gets the size property value. The size property +// returns a *int32 when successful +func (m *ExchangeMessageTrace) GetSize()(*int32) { + val, err := m.GetBackingStore().Get("size") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetStatus gets the status property value. The status property +// returns a *ExchangeMessageTraceStatus when successful +func (m *ExchangeMessageTrace) GetStatus()(*ExchangeMessageTraceStatus) { + val, err := m.GetBackingStore().Get("status") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ExchangeMessageTraceStatus) + } + return nil +} +// GetSubject gets the subject property value. The subject property +// returns a *string when successful +func (m *ExchangeMessageTrace) GetSubject()(*string) { + val, err := m.GetBackingStore().Get("subject") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetToIP gets the toIP property value. The toIP property +// returns a *string when successful +func (m *ExchangeMessageTrace) GetToIP()(*string) { + val, err := m.GetBackingStore().Get("toIP") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeMessageTrace) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("fromIP", m.GetFromIP()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("messageId", m.GetMessageId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("receivedDateTime", m.GetReceivedDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("recipientAddress", m.GetRecipientAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("senderAddress", m.GetSenderAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("size", m.GetSize()) + if err != nil { + return err + } + } + if m.GetStatus() != nil { + cast := (*m.GetStatus()).String() + err = writer.WriteStringValue("status", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("subject", m.GetSubject()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("toIP", m.GetToIP()) + if err != nil { + return err + } + } + return nil +} +// SetFromIP sets the fromIP property value. The fromIP property +func (m *ExchangeMessageTrace) SetFromIP(value *string)() { + err := m.GetBackingStore().Set("fromIP", value) + if err != nil { + panic(err) + } +} +// SetMessageId sets the messageId property value. The messageId property +func (m *ExchangeMessageTrace) SetMessageId(value *string)() { + err := m.GetBackingStore().Set("messageId", value) + if err != nil { + panic(err) + } +} +// SetReceivedDateTime sets the receivedDateTime property value. The receivedDateTime property +func (m *ExchangeMessageTrace) SetReceivedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("receivedDateTime", value) + if err != nil { + panic(err) + } +} +// SetRecipientAddress sets the recipientAddress property value. The recipientAddress property +func (m *ExchangeMessageTrace) SetRecipientAddress(value *string)() { + err := m.GetBackingStore().Set("recipientAddress", value) + if err != nil { + panic(err) + } +} +// SetSenderAddress sets the senderAddress property value. The senderAddress property +func (m *ExchangeMessageTrace) SetSenderAddress(value *string)() { + err := m.GetBackingStore().Set("senderAddress", value) + if err != nil { + panic(err) + } +} +// SetSize sets the size property value. The size property +func (m *ExchangeMessageTrace) SetSize(value *int32)() { + err := m.GetBackingStore().Set("size", value) + if err != nil { + panic(err) + } +} +// SetStatus sets the status property value. The status property +func (m *ExchangeMessageTrace) SetStatus(value *ExchangeMessageTraceStatus)() { + err := m.GetBackingStore().Set("status", value) + if err != nil { + panic(err) + } +} +// SetSubject sets the subject property value. The subject property +func (m *ExchangeMessageTrace) SetSubject(value *string)() { + err := m.GetBackingStore().Set("subject", value) + if err != nil { + panic(err) + } +} +// SetToIP sets the toIP property value. The toIP property +func (m *ExchangeMessageTrace) SetToIP(value *string)() { + err := m.GetBackingStore().Set("toIP", value) + if err != nil { + panic(err) + } +} +type ExchangeMessageTraceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetFromIP()(*string) + GetMessageId()(*string) + GetReceivedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetRecipientAddress()(*string) + GetSenderAddress()(*string) + GetSize()(*int32) + GetStatus()(*ExchangeMessageTraceStatus) + GetSubject()(*string) + GetToIP()(*string) + SetFromIP(value *string)() + SetMessageId(value *string)() + SetReceivedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetRecipientAddress(value *string)() + SetSenderAddress(value *string)() + SetSize(value *int32)() + SetStatus(value *ExchangeMessageTraceStatus)() + SetSubject(value *string)() + SetToIP(value *string)() +} diff --git a/models/exchange_message_trace_collection_response.go b/models/exchange_message_trace_collection_response.go new file mode 100644 index 00000000000..8c0d4cab2a8 --- /dev/null +++ b/models/exchange_message_trace_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExchangeMessageTraceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewExchangeMessageTraceCollectionResponse instantiates a new ExchangeMessageTraceCollectionResponse and sets the default values. +func NewExchangeMessageTraceCollectionResponse()(*ExchangeMessageTraceCollectionResponse) { + m := &ExchangeMessageTraceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateExchangeMessageTraceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeMessageTraceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeMessageTraceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ExchangeMessageTraceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExchangeMessageTraceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExchangeMessageTraceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExchangeMessageTraceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []ExchangeMessageTraceable when successful +func (m *ExchangeMessageTraceCollectionResponse) GetValue()([]ExchangeMessageTraceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExchangeMessageTraceable) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeMessageTraceCollectionResponse) 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 *ExchangeMessageTraceCollectionResponse) SetValue(value []ExchangeMessageTraceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ExchangeMessageTraceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ExchangeMessageTraceable) + SetValue(value []ExchangeMessageTraceable)() +} diff --git a/models/exchange_message_trace_detail.go b/models/exchange_message_trace_detail.go new file mode 100644 index 00000000000..d888516ef6d --- /dev/null +++ b/models/exchange_message_trace_detail.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ExchangeMessageTraceDetail struct { + Entity +} +// NewExchangeMessageTraceDetail instantiates a new ExchangeMessageTraceDetail and sets the default values. +func NewExchangeMessageTraceDetail()(*ExchangeMessageTraceDetail) { + m := &ExchangeMessageTraceDetail{ + Entity: *NewEntity(), + } + return m +} +// CreateExchangeMessageTraceDetailFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateExchangeMessageTraceDetailFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewExchangeMessageTraceDetail(), nil +} +// GetAction gets the action property value. The action property +// returns a *string when successful +func (m *ExchangeMessageTraceDetail) GetAction()(*string) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetData gets the data property value. The data property +// returns a *string when successful +func (m *ExchangeMessageTraceDetail) GetData()(*string) { + val, err := m.GetBackingStore().Get("data") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDateTime gets the dateTime property value. The dateTime property +// returns a *Time when successful +func (m *ExchangeMessageTraceDetail) GetDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("dateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetDescription gets the description property value. The description property +// returns a *string when successful +func (m *ExchangeMessageTraceDetail) GetDescription()(*string) { + val, err := m.GetBackingStore().Get("description") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEvent gets the event property value. The event property +// returns a *string when successful +func (m *ExchangeMessageTraceDetail) GetEvent()(*string) { + val, err := m.GetBackingStore().Get("event") + 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 *ExchangeMessageTraceDetail) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAction(val) + } + return nil + } + res["data"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetData(val) + } + return nil + } + res["dateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetDateTime(val) + } + return nil + } + res["description"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDescription(val) + } + return nil + } + res["event"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEvent(val) + } + return nil + } + res["messageId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMessageId(val) + } + return nil + } + return res +} +// GetMessageId gets the messageId property value. The messageId property +// returns a *string when successful +func (m *ExchangeMessageTraceDetail) GetMessageId()(*string) { + val, err := m.GetBackingStore().Get("messageId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ExchangeMessageTraceDetail) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("action", m.GetAction()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("data", m.GetData()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("dateTime", m.GetDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("description", m.GetDescription()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("event", m.GetEvent()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("messageId", m.GetMessageId()) + if err != nil { + return err + } + } + return nil +} +// SetAction sets the action property value. The action property +func (m *ExchangeMessageTraceDetail) SetAction(value *string)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetData sets the data property value. The data property +func (m *ExchangeMessageTraceDetail) SetData(value *string)() { + err := m.GetBackingStore().Set("data", value) + if err != nil { + panic(err) + } +} +// SetDateTime sets the dateTime property value. The dateTime property +func (m *ExchangeMessageTraceDetail) SetDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("dateTime", value) + if err != nil { + panic(err) + } +} +// SetDescription sets the description property value. The description property +func (m *ExchangeMessageTraceDetail) SetDescription(value *string)() { + err := m.GetBackingStore().Set("description", value) + if err != nil { + panic(err) + } +} +// SetEvent sets the event property value. The event property +func (m *ExchangeMessageTraceDetail) SetEvent(value *string)() { + err := m.GetBackingStore().Set("event", value) + if err != nil { + panic(err) + } +} +// SetMessageId sets the messageId property value. The messageId property +func (m *ExchangeMessageTraceDetail) SetMessageId(value *string)() { + err := m.GetBackingStore().Set("messageId", value) + if err != nil { + panic(err) + } +} +type ExchangeMessageTraceDetailable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAction()(*string) + GetData()(*string) + GetDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetDescription()(*string) + GetEvent()(*string) + GetMessageId()(*string) + SetAction(value *string)() + SetData(value *string)() + SetDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetDescription(value *string)() + SetEvent(value *string)() + SetMessageId(value *string)() +} diff --git a/models/exchange_message_trace_status.go b/models/exchange_message_trace_status.go new file mode 100644 index 00000000000..7cd24c56f20 --- /dev/null +++ b/models/exchange_message_trace_status.go @@ -0,0 +1,54 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ExchangeMessageTraceStatus int + +const ( + GETTINGSTATUS_EXCHANGEMESSAGETRACESTATUS ExchangeMessageTraceStatus = iota + PENDING_EXCHANGEMESSAGETRACESTATUS + FAILED_EXCHANGEMESSAGETRACESTATUS + DELIVERED_EXCHANGEMESSAGETRACESTATUS + EXPANDED_EXCHANGEMESSAGETRACESTATUS + QUARANTINED_EXCHANGEMESSAGETRACESTATUS + FILTEREDASSPAM_EXCHANGEMESSAGETRACESTATUS + UNKNOWNFUTUREVALUE_EXCHANGEMESSAGETRACESTATUS +) + +func (i ExchangeMessageTraceStatus) String() string { + return []string{"gettingStatus", "pending", "failed", "delivered", "expanded", "quarantined", "filteredAsSpam", "unknownFutureValue"}[i] +} +func ParseExchangeMessageTraceStatus(v string) (any, error) { + result := GETTINGSTATUS_EXCHANGEMESSAGETRACESTATUS + switch v { + case "gettingStatus": + result = GETTINGSTATUS_EXCHANGEMESSAGETRACESTATUS + case "pending": + result = PENDING_EXCHANGEMESSAGETRACESTATUS + case "failed": + result = FAILED_EXCHANGEMESSAGETRACESTATUS + case "delivered": + result = DELIVERED_EXCHANGEMESSAGETRACESTATUS + case "expanded": + result = EXPANDED_EXCHANGEMESSAGETRACESTATUS + case "quarantined": + result = QUARANTINED_EXCHANGEMESSAGETRACESTATUS + case "filteredAsSpam": + result = FILTEREDASSPAM_EXCHANGEMESSAGETRACESTATUS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_EXCHANGEMESSAGETRACESTATUS + default: + return nil, nil + } + return &result, nil +} +func SerializeExchangeMessageTraceStatus(values []ExchangeMessageTraceStatus) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ExchangeMessageTraceStatus) isMultiValue() bool { + return false +} diff --git a/models/externalconnectors/label.go b/models/externalconnectors/label.go index 4286bd0ce23..ece81c05d03 100644 --- a/models/externalconnectors/label.go +++ b/models/externalconnectors/label.go @@ -35,10 +35,29 @@ const ( PRIORITYNORMALIZED_LABEL REPORTEDBY_LABEL SECONDARYID_LABEL + PERSONEMAILS_LABEL + PERSONADDRESSES_LABEL + PERSONANNIVERSARIES_LABEL + PERSONNAME_LABEL + PERSONNOTE_LABEL + PERSONPHONES_LABEL + PERSONCURRENTPOSITION_LABEL + PERSONWEBACCOUNTS_LABEL + PERSONWEBSITE_LABEL + PERSONSKILLS_LABEL + PERSONPROJECTS_LABEL + PERSONACCOUNT_LABEL + PERSONAWARDS_LABEL + PERSONCERTIFICATIONS_LABEL + PERSONASSISTANTS_LABEL + PERSONCOLLEAGUES_LABEL + PERSONMANAGER_LABEL + PERSONALTERNATECONTACTS_LABEL + PERSONEMERGENCYCONTACTS_LABEL ) func (i Label) String() string { - return []string{"title", "url", "createdBy", "lastModifiedBy", "authors", "createdDateTime", "lastModifiedDateTime", "fileName", "fileExtension", "unknownFutureValue", "containerName", "containerUrl", "iconUrl", "assignedToPeople", "closedBy", "closedDate", "priority", "sprintName", "tags", "severity", "state", "dueDate", "itemParentId", "itemPath", "itemType", "numberOfReactions", "parentUrl", "priorityNormalized", "reportedBy", "secondaryId"}[i] + return []string{"title", "url", "createdBy", "lastModifiedBy", "authors", "createdDateTime", "lastModifiedDateTime", "fileName", "fileExtension", "unknownFutureValue", "containerName", "containerUrl", "iconUrl", "assignedToPeople", "closedBy", "closedDate", "priority", "sprintName", "tags", "severity", "state", "dueDate", "itemParentId", "itemPath", "itemType", "numberOfReactions", "parentUrl", "priorityNormalized", "reportedBy", "secondaryId", "personEmails", "personAddresses", "personAnniversaries", "personName", "personNote", "personPhones", "personCurrentPosition", "personWebAccounts", "personWebSite", "personSkills", "personProjects", "personAccount", "personAwards", "personCertifications", "personAssistants", "personColleagues", "personManager", "personAlternateContacts", "personEmergencyContacts"}[i] } func ParseLabel(v string) (any, error) { result := TITLE_LABEL @@ -103,6 +122,44 @@ func ParseLabel(v string) (any, error) { result = REPORTEDBY_LABEL case "secondaryId": result = SECONDARYID_LABEL + case "personEmails": + result = PERSONEMAILS_LABEL + case "personAddresses": + result = PERSONADDRESSES_LABEL + case "personAnniversaries": + result = PERSONANNIVERSARIES_LABEL + case "personName": + result = PERSONNAME_LABEL + case "personNote": + result = PERSONNOTE_LABEL + case "personPhones": + result = PERSONPHONES_LABEL + case "personCurrentPosition": + result = PERSONCURRENTPOSITION_LABEL + case "personWebAccounts": + result = PERSONWEBACCOUNTS_LABEL + case "personWebSite": + result = PERSONWEBSITE_LABEL + case "personSkills": + result = PERSONSKILLS_LABEL + case "personProjects": + result = PERSONPROJECTS_LABEL + case "personAccount": + result = PERSONACCOUNT_LABEL + case "personAwards": + result = PERSONAWARDS_LABEL + case "personCertifications": + result = PERSONCERTIFICATIONS_LABEL + case "personAssistants": + result = PERSONASSISTANTS_LABEL + case "personColleagues": + result = PERSONCOLLEAGUES_LABEL + case "personManager": + result = PERSONMANAGER_LABEL + case "personAlternateContacts": + result = PERSONALTERNATECONTACTS_LABEL + case "personEmergencyContacts": + result = PERSONEMERGENCYCONTACTS_LABEL default: return nil, nil } diff --git a/models/group.go b/models/group.go index a3746918898..0b37a4654a3 100644 --- a/models/group.go +++ b/models/group.go @@ -1274,6 +1274,16 @@ func (m *Group) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["welcomeMessageEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetWelcomeMessageEnabled(val) + } + return nil + } res["writebackConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateGroupWritebackConfigurationFromDiscriminatorValue) if err != nil { @@ -1982,6 +1992,18 @@ func (m *Group) GetVisibility()(*string) { } return nil } +// GetWelcomeMessageEnabled gets the welcomeMessageEnabled property value. The welcomeMessageEnabled property +// returns a *bool when successful +func (m *Group) GetWelcomeMessageEnabled()(*bool) { + val, err := m.GetBackingStore().Get("welcomeMessageEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetWritebackConfiguration gets the writebackConfiguration property value. Specifies whether or not a group is configured to write back group object properties to on-premises Active Directory. These properties are used when group writeback is configured in the Microsoft Entra Connect sync client. // returns a GroupWritebackConfigurationable when successful func (m *Group) GetWritebackConfiguration()(GroupWritebackConfigurationable) { @@ -2631,6 +2653,12 @@ func (m *Group) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteBoolValue("welcomeMessageEnabled", m.GetWelcomeMessageEnabled()) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("writebackConfiguration", m.GetWritebackConfiguration()) if err != nil { @@ -3199,6 +3227,13 @@ func (m *Group) SetVisibility(value *string)() { panic(err) } } +// SetWelcomeMessageEnabled sets the welcomeMessageEnabled property value. The welcomeMessageEnabled property +func (m *Group) SetWelcomeMessageEnabled(value *bool)() { + err := m.GetBackingStore().Set("welcomeMessageEnabled", value) + if err != nil { + panic(err) + } +} // SetWritebackConfiguration sets the writebackConfiguration property value. Specifies whether or not a group is configured to write back group object properties to on-premises Active Directory. These properties are used when group writeback is configured in the Microsoft Entra Connect sync client. func (m *Group) SetWritebackConfiguration(value GroupWritebackConfigurationable)() { err := m.GetBackingStore().Set("writebackConfiguration", value) @@ -3289,6 +3324,7 @@ type Groupable interface { GetUnseenCount()(*int32) GetUnseenMessagesCount()(*int32) GetVisibility()(*string) + GetWelcomeMessageEnabled()(*bool) GetWritebackConfiguration()(GroupWritebackConfigurationable) SetAcceptedSenders(value []DirectoryObjectable)() SetAccessType(value *GroupAccessType)() @@ -3370,5 +3406,6 @@ type Groupable interface { SetUnseenCount(value *int32)() SetUnseenMessagesCount(value *int32)() SetVisibility(value *string)() + SetWelcomeMessageEnabled(value *bool)() SetWritebackConfiguration(value GroupWritebackConfigurationable)() } diff --git a/models/inheritable_permission.go b/models/inheritable_permission.go new file mode 100644 index 00000000000..034dbcdb63e --- /dev/null +++ b/models/inheritable_permission.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type InheritablePermission struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewInheritablePermission instantiates a new InheritablePermission and sets the default values. +func NewInheritablePermission()(*InheritablePermission) { + m := &InheritablePermission{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateInheritablePermissionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateInheritablePermissionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewInheritablePermission(), 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 *InheritablePermission) 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 *InheritablePermission) 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 *InheritablePermission) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["inheritableScopes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateInheritableScopesFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetInheritableScopes(val.(InheritableScopesable)) + } + 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["resourceAppId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetResourceAppId(val) + } + return nil + } + return res +} +// GetInheritableScopes gets the inheritableScopes property value. The inheritableScopes property +// returns a InheritableScopesable when successful +func (m *InheritablePermission) GetInheritableScopes()(InheritableScopesable) { + val, err := m.GetBackingStore().Get("inheritableScopes") + if err != nil { + panic(err) + } + if val != nil { + return val.(InheritableScopesable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *InheritablePermission) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetResourceAppId gets the resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. +// returns a *string when successful +func (m *InheritablePermission) GetResourceAppId()(*string) { + val, err := m.GetBackingStore().Get("resourceAppId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *InheritablePermission) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("inheritableScopes", m.GetInheritableScopes()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("resourceAppId", m.GetResourceAppId()) + 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 *InheritablePermission) 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 *InheritablePermission) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetInheritableScopes sets the inheritableScopes property value. The inheritableScopes property +func (m *InheritablePermission) SetInheritableScopes(value InheritableScopesable)() { + err := m.GetBackingStore().Set("inheritableScopes", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *InheritablePermission) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetResourceAppId sets the resourceAppId property value. The appId of the resource application that publishes these scopes. Primary key. +func (m *InheritablePermission) SetResourceAppId(value *string)() { + err := m.GetBackingStore().Set("resourceAppId", value) + if err != nil { + panic(err) + } +} +type InheritablePermissionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetInheritableScopes()(InheritableScopesable) + GetOdataType()(*string) + GetResourceAppId()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetInheritableScopes(value InheritableScopesable)() + SetOdataType(value *string)() + SetResourceAppId(value *string)() +} diff --git a/models/inheritable_scopes.go b/models/inheritable_scopes.go new file mode 100644 index 00000000000..a3157a5f662 --- /dev/null +++ b/models/inheritable_scopes.go @@ -0,0 +1,176 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type InheritableScopes struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewInheritableScopes instantiates a new InheritableScopes and sets the default values. +func NewInheritableScopes()(*InheritableScopes) { + m := &InheritableScopes{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateInheritableScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateInheritableScopesFromDiscriminatorValue(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.allAllowedScopes": + return NewAllAllowedScopes(), nil + case "#microsoft.graph.enumeratedScopes": + return NewEnumeratedScopes(), nil + case "#microsoft.graph.noScopes": + return NewNoScopes(), nil + } + } + } + } + return NewInheritableScopes(), 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 *InheritableScopes) 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 *InheritableScopes) 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 *InheritableScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["kind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseScopeCollectionKind) + if err != nil { + return err + } + if val != nil { + m.SetKind(val.(*ScopeCollectionKind)) + } + 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 +} +// GetKind gets the kind property value. The kind property +// returns a *ScopeCollectionKind when successful +func (m *InheritableScopes) GetKind()(*ScopeCollectionKind) { + val, err := m.GetBackingStore().Get("kind") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ScopeCollectionKind) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *InheritableScopes) 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 *InheritableScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetKind() != nil { + cast := (*m.GetKind()).String() + err := writer.WriteStringValue("kind", &cast) + 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 *InheritableScopes) 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 *InheritableScopes) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetKind sets the kind property value. The kind property +func (m *InheritableScopes) SetKind(value *ScopeCollectionKind)() { + err := m.GetBackingStore().Set("kind", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *InheritableScopes) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type InheritableScopesable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetKind()(*ScopeCollectionKind) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetKind(value *ScopeCollectionKind)() + SetOdataType(value *string)() +} diff --git a/models/json.go b/models/json.go new file mode 100644 index 00000000000..6d0d1b12de5 --- /dev/null +++ b/models/json.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// Json standard way to represent a Json blob on Graph. +type Json struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewJson instantiates a new Json and sets the default values. +func NewJson()(*Json) { + m := &Json{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateJsonFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateJsonFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewJson(), 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 *Json) 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 *Json) 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 *Json) 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 *Json) 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 *Json) 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 *Json) 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 *Json) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *Json) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type Jsonable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/kind.go b/models/kind.go new file mode 100644 index 00000000000..7ad352bfb8b --- /dev/null +++ b/models/kind.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type Kind int + +const ( + UNRESTRICTED_KIND Kind = iota + ALLOWEDTENANTS_KIND + UNKNOWNFUTUREVALUE_KIND +) + +func (i Kind) String() string { + return []string{"unrestricted", "allowedTenants", "unknownFutureValue"}[i] +} +func ParseKind(v string) (any, error) { + result := UNRESTRICTED_KIND + switch v { + case "unrestricted": + result = UNRESTRICTED_KIND + case "allowedTenants": + result = ALLOWEDTENANTS_KIND + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_KIND + default: + return nil, nil + } + return &result, nil +} +func SerializeKind(values []Kind) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i Kind) isMultiValue() bool { + return false +} diff --git a/models/max_work_location_details.go b/models/max_work_location_details.go new file mode 100644 index 00000000000..f503de311d5 --- /dev/null +++ b/models/max_work_location_details.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type MaxWorkLocationDetails int + +const ( + UNKNOWN_MAXWORKLOCATIONDETAILS MaxWorkLocationDetails = iota + NONE_MAXWORKLOCATIONDETAILS + APPROXIMATE_MAXWORKLOCATIONDETAILS + SPECIFIC_MAXWORKLOCATIONDETAILS + UNKNOWNFUTUREVALUE_MAXWORKLOCATIONDETAILS +) + +func (i MaxWorkLocationDetails) String() string { + return []string{"unknown", "none", "approximate", "specific", "unknownFutureValue"}[i] +} +func ParseMaxWorkLocationDetails(v string) (any, error) { + result := UNKNOWN_MAXWORKLOCATIONDETAILS + switch v { + case "unknown": + result = UNKNOWN_MAXWORKLOCATIONDETAILS + case "none": + result = NONE_MAXWORKLOCATIONDETAILS + case "approximate": + result = APPROXIMATE_MAXWORKLOCATIONDETAILS + case "specific": + result = SPECIFIC_MAXWORKLOCATIONDETAILS + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MAXWORKLOCATIONDETAILS + default: + return nil, nil + } + return &result, nil +} +func SerializeMaxWorkLocationDetails(values []MaxWorkLocationDetails) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i MaxWorkLocationDetails) isMultiValue() bool { + return false +} diff --git a/models/message_tracing_root.go b/models/message_tracing_root.go new file mode 100644 index 00000000000..89fdb792d11 --- /dev/null +++ b/models/message_tracing_root.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type MessageTracingRoot struct { + Entity +} +// NewMessageTracingRoot instantiates a new MessageTracingRoot and sets the default values. +func NewMessageTracingRoot()(*MessageTracingRoot) { + m := &MessageTracingRoot{ + Entity: *NewEntity(), + } + return m +} +// CreateMessageTracingRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMessageTracingRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMessageTracingRoot(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *MessageTracingRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["messageTraces"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateExchangeMessageTraceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ExchangeMessageTraceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ExchangeMessageTraceable) + } + } + m.SetMessageTraces(res) + } + return nil + } + return res +} +// GetMessageTraces gets the messageTraces property value. The messageTraces property +// returns a []ExchangeMessageTraceable when successful +func (m *MessageTracingRoot) GetMessageTraces()([]ExchangeMessageTraceable) { + val, err := m.GetBackingStore().Get("messageTraces") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ExchangeMessageTraceable) + } + return nil +} +// Serialize serializes information the current object +func (m *MessageTracingRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetMessageTraces() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMessageTraces())) + for i, v := range m.GetMessageTraces() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("messageTraces", cast) + if err != nil { + return err + } + } + return nil +} +// SetMessageTraces sets the messageTraces property value. The messageTraces property +func (m *MessageTracingRoot) SetMessageTraces(value []ExchangeMessageTraceable)() { + err := m.GetBackingStore().Set("messageTraces", value) + if err != nil { + panic(err) + } +} +type MessageTracingRootable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetMessageTraces()([]ExchangeMessageTraceable) + SetMessageTraces(value []ExchangeMessageTraceable)() +} diff --git a/models/migration_mode.go b/models/migration_mode.go new file mode 100644 index 00000000000..bf7e4d3b063 --- /dev/null +++ b/models/migration_mode.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type MigrationMode int + +const ( + INPROGRESS_MIGRATIONMODE MigrationMode = iota + COMPLETED_MIGRATIONMODE + UNKNOWNFUTUREVALUE_MIGRATIONMODE +) + +func (i MigrationMode) String() string { + return []string{"inProgress", "completed", "unknownFutureValue"}[i] +} +func ParseMigrationMode(v string) (any, error) { + result := INPROGRESS_MIGRATIONMODE + switch v { + case "inProgress": + result = INPROGRESS_MIGRATIONMODE + case "completed": + result = COMPLETED_MIGRATIONMODE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_MIGRATIONMODE + default: + return nil, nil + } + return &result, nil +} +func SerializeMigrationMode(values []MigrationMode) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i MigrationMode) isMultiValue() bool { + return false +} diff --git a/models/networkaccess/custom_block_page.go b/models/networkaccess/custom_block_page.go index a0d0a90e541..ab04af6b892 100644 --- a/models/networkaccess/custom_block_page.go +++ b/models/networkaccess/custom_block_page.go @@ -23,7 +23,7 @@ func NewCustomBlockPage()(*CustomBlockPage) { func CreateCustomBlockPageFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCustomBlockPage(), nil } -// GetConfiguration gets the configuration property value. The configuration property +// GetConfiguration gets the configuration property value. The current configuration of the customized message. The body can be input in limited markdown language, supporting links via the format: link. // returns a BlockPageConfigurationBaseable when successful func (m *CustomBlockPage) GetConfiguration()(BlockPageConfigurationBaseable) { val, err := m.GetBackingStore().Get("configuration") @@ -94,7 +94,7 @@ func (m *CustomBlockPage) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// SetConfiguration sets the configuration property value. The configuration property +// SetConfiguration sets the configuration property value. The current configuration of the customized message. The body can be input in limited markdown language, supporting links via the format: link. func (m *CustomBlockPage) SetConfiguration(value BlockPageConfigurationBaseable)() { err := m.GetBackingStore().Set("configuration", value) if err != nil { diff --git a/models/networkaccess/markdown_block_message_configuration.go b/models/networkaccess/markdown_block_message_configuration.go index 3ac8b451dfe..abff31197a6 100644 --- a/models/networkaccess/markdown_block_message_configuration.go +++ b/models/networkaccess/markdown_block_message_configuration.go @@ -24,7 +24,7 @@ func NewMarkdownBlockMessageConfiguration()(*MarkdownBlockMessageConfiguration) func CreateMarkdownBlockMessageConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMarkdownBlockMessageConfiguration(), nil } -// GetBody gets the body property value. The body property +// GetBody gets the body property value. Body field of HTML error generated by the Global Secure Access service. Can be programmed in limited Markdown language, with a limit of 1024 characters. // returns a *string when successful func (m *MarkdownBlockMessageConfiguration) GetBody()(*string) { val, err := m.GetBackingStore().Get("body") @@ -66,7 +66,7 @@ func (m *MarkdownBlockMessageConfiguration) Serialize(writer i878a80d2330e89d268 } return nil } -// SetBody sets the body property value. The body property +// SetBody sets the body property value. Body field of HTML error generated by the Global Secure Access service. Can be programmed in limited Markdown language, with a limit of 1024 characters. func (m *MarkdownBlockMessageConfiguration) SetBody(value *string)() { err := m.GetBackingStore().Set("body", value) if err != nil { diff --git a/models/no_scopes.go b/models/no_scopes.go new file mode 100644 index 00000000000..a9fac95bf19 --- /dev/null +++ b/models/no_scopes.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type NoScopes struct { + InheritableScopes +} +// NewNoScopes instantiates a new NoScopes and sets the default values. +func NewNoScopes()(*NoScopes) { + m := &NoScopes{ + InheritableScopes: *NewInheritableScopes(), + } + odataTypeValue := "#microsoft.graph.noScopes" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateNoScopesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateNoScopesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewNoScopes(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *NoScopes) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.InheritableScopes.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *NoScopes) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.InheritableScopes.Serialize(writer) + if err != nil { + return err + } + return nil +} +type NoScopesable interface { + InheritableScopesable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/protocol_type.go b/models/protocol_type.go index 471d2148ed7..b5ad31084c7 100644 --- a/models/protocol_type.go +++ b/models/protocol_type.go @@ -35,12 +35,14 @@ const ( PRTNONBROKERBASED_PROTOCOLTYPE = 8388608 ONBEHALFOF_PROTOCOLTYPE = 16777216 SAMLONBEHALFOF_PROTOCOLTYPE = 33554432 + OFFICES2S_PROTOCOLTYPE = 67108864 + WSTRUST_PROTOCOLTYPE = 134217728 ) func (i ProtocolType) String() string { var values []string - options := []string{"none", "oAuth2", "ropc", "wsFederation", "saml20", "deviceCode", "unknownFutureValue", "authenticationTransfer", "nativeAuth", "implicitAccessTokenAndGetResponseMode", "implicitIdTokenAndGetResponseMode", "implicitAccessTokenAndPostResponseMode", "implicitIdTokenAndPostResponseMode", "authorizationCodeWithoutPkce", "authorizationCodeWithPkce", "clientCredentials", "refreshTokenGrant", "encryptedAuthorizeResponse", "directUserGrant", "kerberos", "prtGrant", "seamlessSso", "prtBrokerBased", "prtNonBrokerBased", "onBehalfOf", "samlOnBehalfOf"} - for p := 0; p < 26; p++ { + options := []string{"none", "oAuth2", "ropc", "wsFederation", "saml20", "deviceCode", "unknownFutureValue", "authenticationTransfer", "nativeAuth", "implicitAccessTokenAndGetResponseMode", "implicitIdTokenAndGetResponseMode", "implicitAccessTokenAndPostResponseMode", "implicitIdTokenAndPostResponseMode", "authorizationCodeWithoutPkce", "authorizationCodeWithPkce", "clientCredentials", "refreshTokenGrant", "encryptedAuthorizeResponse", "directUserGrant", "kerberos", "prtGrant", "seamlessSso", "prtBrokerBased", "prtNonBrokerBased", "onBehalfOf", "samlOnBehalfOf", "officeS2S", "wsTrust"} + for p := 0; p < 28; p++ { mantis := ProtocolType(int(math.Pow(2, float64(p)))) if i&mantis == mantis { values = append(values, options[p]) @@ -105,6 +107,10 @@ func ParseProtocolType(v string) (any, error) { result |= ONBEHALFOF_PROTOCOLTYPE case "samlOnBehalfOf": result |= SAMLONBEHALFOF_PROTOCOLTYPE + case "officeS2S": + result |= OFFICES2S_PROTOCOLTYPE + case "wsTrust": + result |= WSTRUST_PROTOCOLTYPE default: return nil, nil } diff --git a/models/restore_point_search_result.go b/models/restore_point_search_result.go index 9dfebbcd5f6..4882f360799 100644 --- a/models/restore_point_search_result.go +++ b/models/restore_point_search_result.go @@ -38,7 +38,7 @@ func (m *RestorePointSearchResult) GetAdditionalData()(map[string]any) { } return val.(map[string]any) } -// GetArtifactHitCount gets the artifactHitCount property value. Total number of artifacts restored. +// GetArtifactHitCount gets the artifactHitCount property value. Total number of mailbox items that can be restored for a granular restore session. // returns a *int32 when successful func (m *RestorePointSearchResult) GetArtifactHitCount()(*int32) { val, err := m.GetBackingStore().Get("artifactHitCount") @@ -150,7 +150,7 @@ func (m *RestorePointSearchResult) SetAdditionalData(value map[string]any)() { panic(err) } } -// SetArtifactHitCount sets the artifactHitCount property value. Total number of artifacts restored. +// SetArtifactHitCount sets the artifactHitCount property value. Total number of mailbox items that can be restored for a granular restore session. func (m *RestorePointSearchResult) SetArtifactHitCount(value *int32)() { err := m.GetBackingStore().Set("artifactHitCount", value) if err != nil { diff --git a/models/risk_detail.go b/models/risk_detail.go index 59ed8a0143a..36ea28fa717 100644 --- a/models/risk_detail.go +++ b/models/risk_detail.go @@ -26,10 +26,11 @@ const ( ADMINCONFIRMEDAGENTSAFE_RISKDETAIL ADMINCONFIRMEDAGENTCOMPROMISED_RISKDETAIL ADMINDISMISSEDRISKFORAGENT_RISKDETAIL + MICROSOFTREVOKEDSESSIONS_RISKDETAIL ) func (i RiskDetail) String() string { - return []string{"none", "adminGeneratedTemporaryPassword", "userPerformedSecuredPasswordChange", "userPerformedSecuredPasswordReset", "adminConfirmedSigninSafe", "aiConfirmedSigninSafe", "userPassedMFADrivenByRiskBasedPolicy", "adminDismissedAllRiskForUser", "adminConfirmedSigninCompromised", "hidden", "adminConfirmedUserCompromised", "unknownFutureValue", "adminConfirmedServicePrincipalCompromised", "adminDismissedAllRiskForServicePrincipal", "m365DAdminDismissedDetection", "userChangedPasswordOnPremises", "adminDismissedRiskForSignIn", "adminConfirmedAccountSafe", "adminConfirmedAgentSafe", "adminConfirmedAgentCompromised", "adminDismissedRiskForAgent"}[i] + return []string{"none", "adminGeneratedTemporaryPassword", "userPerformedSecuredPasswordChange", "userPerformedSecuredPasswordReset", "adminConfirmedSigninSafe", "aiConfirmedSigninSafe", "userPassedMFADrivenByRiskBasedPolicy", "adminDismissedAllRiskForUser", "adminConfirmedSigninCompromised", "hidden", "adminConfirmedUserCompromised", "unknownFutureValue", "adminConfirmedServicePrincipalCompromised", "adminDismissedAllRiskForServicePrincipal", "m365DAdminDismissedDetection", "userChangedPasswordOnPremises", "adminDismissedRiskForSignIn", "adminConfirmedAccountSafe", "adminConfirmedAgentSafe", "adminConfirmedAgentCompromised", "adminDismissedRiskForAgent", "microsoftRevokedSessions"}[i] } func ParseRiskDetail(v string) (any, error) { result := NONE_RISKDETAIL @@ -76,6 +77,8 @@ func ParseRiskDetail(v string) (any, error) { result = ADMINCONFIRMEDAGENTCOMPROMISED_RISKDETAIL case "adminDismissedRiskForAgent": result = ADMINDISMISSEDRISKFORAGENT_RISKDETAIL + case "microsoftRevokedSessions": + result = MICROSOFTREVOKEDSESSIONS_RISKDETAIL default: return nil, nil } diff --git a/models/room.go b/models/room.go index a250f46b782..e0778a7875b 100644 --- a/models/room.go +++ b/models/room.go @@ -280,7 +280,7 @@ func (m *Room) GetNickname()(*string) { } return nil } -// GetPlaceId gets the placeId property value. An alternate immutable unique identifier of the room. Read-only. +// GetPlaceId gets the placeId property value. An alternative immutable unique identifier of the room. Read-only. // returns a *string when successful func (m *Room) GetPlaceId()(*string) { val, err := m.GetBackingStore().Get("placeId") @@ -474,7 +474,7 @@ func (m *Room) SetNickname(value *string)() { panic(err) } } -// SetPlaceId sets the placeId property value. An alternate immutable unique identifier of the room. Read-only. +// SetPlaceId sets the placeId property value. An alternative immutable unique identifier of the room. Read-only. func (m *Room) SetPlaceId(value *string)() { err := m.GetBackingStore().Set("placeId", value) if err != nil { diff --git a/models/scope_collection_kind.go b/models/scope_collection_kind.go new file mode 100644 index 00000000000..6ff650569f4 --- /dev/null +++ b/models/scope_collection_kind.go @@ -0,0 +1,45 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type ScopeCollectionKind int + +const ( + ALLALLOWED_SCOPECOLLECTIONKIND ScopeCollectionKind = iota + ENUMERATED_SCOPECOLLECTIONKIND + NONE_SCOPECOLLECTIONKIND + SCOPEKINDNOTSET_SCOPECOLLECTIONKIND + UNKNOWNFUTUREVALUE_SCOPECOLLECTIONKIND +) + +func (i ScopeCollectionKind) String() string { + return []string{"allAllowed", "enumerated", "none", "scopeKindNotSet", "unknownFutureValue"}[i] +} +func ParseScopeCollectionKind(v string) (any, error) { + result := ALLALLOWED_SCOPECOLLECTIONKIND + switch v { + case "allAllowed": + result = ALLALLOWED_SCOPECOLLECTIONKIND + case "enumerated": + result = ENUMERATED_SCOPECOLLECTIONKIND + case "none": + result = NONE_SCOPECOLLECTIONKIND + case "scopeKindNotSet": + result = SCOPEKINDNOTSET_SCOPECOLLECTIONKIND + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SCOPECOLLECTIONKIND + default: + return nil, nil + } + return &result, nil +} +func SerializeScopeCollectionKind(values []ScopeCollectionKind) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ScopeCollectionKind) isMultiValue() bool { + return false +} diff --git a/models/search_sensitivity_label_info.go b/models/search_sensitivity_label_info.go new file mode 100644 index 00000000000..aa405490f41 --- /dev/null +++ b/models/search_sensitivity_label_info.go @@ -0,0 +1,272 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +// SearchSensitivityLabelInfo represents a sensitivityLabel.This model is shared with the CCS retrieval API and search where it is already unhidden. +type SearchSensitivityLabelInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSearchSensitivityLabelInfo instantiates a new SearchSensitivityLabelInfo and sets the default values. +func NewSearchSensitivityLabelInfo()(*SearchSensitivityLabelInfo) { + m := &SearchSensitivityLabelInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSearchSensitivityLabelInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSearchSensitivityLabelInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSearchSensitivityLabelInfo(), 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 *SearchSensitivityLabelInfo) 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 *SearchSensitivityLabelInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetColor gets the color property value. The color property +// returns a *string when successful +func (m *SearchSensitivityLabelInfo) GetColor()(*string) { + val, err := m.GetBackingStore().Get("color") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The displayName property +// returns a *string when successful +func (m *SearchSensitivityLabelInfo) 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 *SearchSensitivityLabelInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["color"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetColor(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["@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["priority"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetPriority(val) + } + return nil + } + res["sensitivityLabelId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSensitivityLabelId(val) + } + return nil + } + res["tooltip"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetTooltip(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *SearchSensitivityLabelInfo) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetPriority gets the priority property value. The priority property +// returns a *int32 when successful +func (m *SearchSensitivityLabelInfo) GetPriority()(*int32) { + val, err := m.GetBackingStore().Get("priority") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetSensitivityLabelId gets the sensitivityLabelId property value. The sensitivityLabelId property +// returns a *string when successful +func (m *SearchSensitivityLabelInfo) GetSensitivityLabelId()(*string) { + val, err := m.GetBackingStore().Get("sensitivityLabelId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTooltip gets the tooltip property value. The tooltip property +// returns a *string when successful +func (m *SearchSensitivityLabelInfo) GetTooltip()(*string) { + val, err := m.GetBackingStore().Get("tooltip") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SearchSensitivityLabelInfo) 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 *SearchSensitivityLabelInfo) 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 *SearchSensitivityLabelInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetColor sets the color property value. The color property +func (m *SearchSensitivityLabelInfo) SetColor(value *string)() { + err := m.GetBackingStore().Set("color", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The displayName property +func (m *SearchSensitivityLabelInfo) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *SearchSensitivityLabelInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetPriority sets the priority property value. The priority property +func (m *SearchSensitivityLabelInfo) SetPriority(value *int32)() { + err := m.GetBackingStore().Set("priority", value) + if err != nil { + panic(err) + } +} +// SetSensitivityLabelId sets the sensitivityLabelId property value. The sensitivityLabelId property +func (m *SearchSensitivityLabelInfo) SetSensitivityLabelId(value *string)() { + err := m.GetBackingStore().Set("sensitivityLabelId", value) + if err != nil { + panic(err) + } +} +// SetTooltip sets the tooltip property value. The tooltip property +func (m *SearchSensitivityLabelInfo) SetTooltip(value *string)() { + err := m.GetBackingStore().Set("tooltip", value) + if err != nil { + panic(err) + } +} +type SearchSensitivityLabelInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetColor()(*string) + GetDisplayName()(*string) + GetOdataType()(*string) + GetPriority()(*int32) + GetSensitivityLabelId()(*string) + GetTooltip()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetColor(value *string)() + SetDisplayName(value *string)() + SetOdataType(value *string)() + SetPriority(value *int32)() + SetSensitivityLabelId(value *string)() + SetTooltip(value *string)() +} diff --git a/models/security/active_directory_domain_evidence.go b/models/security/active_directory_domain_evidence.go new file mode 100644 index 00000000000..92719bdba14 --- /dev/null +++ b/models/security/active_directory_domain_evidence.go @@ -0,0 +1,130 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type ActiveDirectoryDomainEvidence struct { + AlertEvidence +} +// NewActiveDirectoryDomainEvidence instantiates a new ActiveDirectoryDomainEvidence and sets the default values. +func NewActiveDirectoryDomainEvidence()(*ActiveDirectoryDomainEvidence) { + m := &ActiveDirectoryDomainEvidence{ + AlertEvidence: *NewAlertEvidence(), + } + odataTypeValue := "#microsoft.graph.security.activeDirectoryDomainEvidence" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateActiveDirectoryDomainEvidenceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateActiveDirectoryDomainEvidenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewActiveDirectoryDomainEvidence(), nil +} +// GetActiveDirectoryDomainName gets the activeDirectoryDomainName property value. The activeDirectoryDomainName property +// returns a *string when successful +func (m *ActiveDirectoryDomainEvidence) GetActiveDirectoryDomainName()(*string) { + val, err := m.GetBackingStore().Get("activeDirectoryDomainName") + 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 *ActiveDirectoryDomainEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AlertEvidence.GetFieldDeserializers() + res["activeDirectoryDomainName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetActiveDirectoryDomainName(val) + } + return nil + } + res["trustedDomains"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateActiveDirectoryDomainEvidenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ActiveDirectoryDomainEvidenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ActiveDirectoryDomainEvidenceable) + } + } + m.SetTrustedDomains(res) + } + return nil + } + return res +} +// GetTrustedDomains gets the trustedDomains property value. The trustedDomains property +// returns a []ActiveDirectoryDomainEvidenceable when successful +func (m *ActiveDirectoryDomainEvidence) GetTrustedDomains()([]ActiveDirectoryDomainEvidenceable) { + val, err := m.GetBackingStore().Get("trustedDomains") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ActiveDirectoryDomainEvidenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *ActiveDirectoryDomainEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AlertEvidence.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("activeDirectoryDomainName", m.GetActiveDirectoryDomainName()) + if err != nil { + return err + } + } + if m.GetTrustedDomains() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetTrustedDomains())) + for i, v := range m.GetTrustedDomains() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("trustedDomains", cast) + if err != nil { + return err + } + } + return nil +} +// SetActiveDirectoryDomainName sets the activeDirectoryDomainName property value. The activeDirectoryDomainName property +func (m *ActiveDirectoryDomainEvidence) SetActiveDirectoryDomainName(value *string)() { + err := m.GetBackingStore().Set("activeDirectoryDomainName", value) + if err != nil { + panic(err) + } +} +// SetTrustedDomains sets the trustedDomains property value. The trustedDomains property +func (m *ActiveDirectoryDomainEvidence) SetTrustedDomains(value []ActiveDirectoryDomainEvidenceable)() { + err := m.GetBackingStore().Set("trustedDomains", value) + if err != nil { + panic(err) + } +} +type ActiveDirectoryDomainEvidenceable interface { + AlertEvidenceable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActiveDirectoryDomainName()(*string) + GetTrustedDomains()([]ActiveDirectoryDomainEvidenceable) + SetActiveDirectoryDomainName(value *string)() + SetTrustedDomains(value []ActiveDirectoryDomainEvidenceable)() +} diff --git a/models/security/alert_evidence.go b/models/security/alert_evidence.go index da8be54c8f3..f988f47c70e 100644 --- a/models/security/alert_evidence.go +++ b/models/security/alert_evidence.go @@ -36,6 +36,8 @@ func CreateAlertEvidenceFromDiscriminatorValue(parseNode i878a80d2330e89d2689638 } if mappingValue != nil { switch *mappingValue { + case "#microsoft.graph.security.activeDirectoryDomainEvidence": + return NewActiveDirectoryDomainEvidence(), nil case "#microsoft.graph.security.aiAgentEvidence": return NewAiAgentEvidence(), nil case "#microsoft.graph.security.amazonResourceEvidence": diff --git a/models/security/device_evidence.go b/models/security/device_evidence.go index 60a3c1df7d9..444aebc893e 100644 --- a/models/security/device_evidence.go +++ b/models/security/device_evidence.go @@ -37,7 +37,7 @@ func (m *DeviceEvidence) GetAzureAdDeviceId()(*string) { } return nil } -// GetDefenderAvStatus gets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. +// GetDefenderAvStatus gets the defenderAvStatus property value. State of the Defender anti-malware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. // returns a *DefenderAvStatus when successful func (m *DeviceEvidence) GetDefenderAvStatus()(*DefenderAvStatus) { val, err := m.GetBackingStore().Get("defenderAvStatus") @@ -269,6 +269,22 @@ func (m *DeviceEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89 } return nil } + res["resourceAccessEvents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateResourceAccessEventFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ResourceAccessEventable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ResourceAccessEventable) + } + } + m.SetResourceAccessEvents(res) + } + return nil + } res["riskScore"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetEnumValue(ParseDeviceRiskScore) if err != nil { @@ -469,6 +485,18 @@ func (m *DeviceEvidence) GetRbacGroupName()(*string) { } return nil } +// GetResourceAccessEvents gets the resourceAccessEvents property value. Information on resource access attempts made by the user account. +// returns a []ResourceAccessEventable when successful +func (m *DeviceEvidence) GetResourceAccessEvents()([]ResourceAccessEventable) { + val, err := m.GetBackingStore().Get("resourceAccessEvents") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ResourceAccessEventable) + } + return nil +} // GetRiskScore gets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue. // returns a *DeviceRiskScore when successful func (m *DeviceEvidence) GetRiskScore()(*DeviceRiskScore) { @@ -628,6 +656,18 @@ func (m *DeviceEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a return err } } + if m.GetResourceAccessEvents() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetResourceAccessEvents())) + for i, v := range m.GetResourceAccessEvents() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("resourceAccessEvents", cast) + if err != nil { + return err + } + } if m.GetRiskScore() != nil { cast := (*m.GetRiskScore()).String() err = writer.WriteStringValue("riskScore", &cast) @@ -656,7 +696,7 @@ func (m *DeviceEvidence) SetAzureAdDeviceId(value *string)() { panic(err) } } -// SetDefenderAvStatus sets the defenderAvStatus property value. State of the Defender AntiMalware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. +// SetDefenderAvStatus sets the defenderAvStatus property value. State of the Defender anti-malware engine. The possible values are: notReporting, disabled, notUpdated, updated, unknown, notSupported, unknownFutureValue. func (m *DeviceEvidence) SetDefenderAvStatus(value *DefenderAvStatus)() { err := m.GetBackingStore().Set("defenderAvStatus", value) if err != nil { @@ -775,6 +815,13 @@ func (m *DeviceEvidence) SetRbacGroupName(value *string)() { panic(err) } } +// SetResourceAccessEvents sets the resourceAccessEvents property value. Information on resource access attempts made by the user account. +func (m *DeviceEvidence) SetResourceAccessEvents(value []ResourceAccessEventable)() { + err := m.GetBackingStore().Set("resourceAccessEvents", value) + if err != nil { + panic(err) + } +} // SetRiskScore sets the riskScore property value. Risk score as evaluated by Microsoft Defender for Endpoint. The possible values are: none, informational, low, medium, high, unknownFutureValue. func (m *DeviceEvidence) SetRiskScore(value *DeviceRiskScore)() { err := m.GetBackingStore().Set("riskScore", value) @@ -817,6 +864,7 @@ type DeviceEvidenceable interface { GetOsPlatform()(*string) GetRbacGroupId()(*int32) GetRbacGroupName()(*string) + GetResourceAccessEvents()([]ResourceAccessEventable) GetRiskScore()(*DeviceRiskScore) GetVersion()(*string) GetVmMetadata()(VmMetadataable) @@ -838,6 +886,7 @@ type DeviceEvidenceable interface { SetOsPlatform(value *string)() SetRbacGroupId(value *int32)() SetRbacGroupName(value *string)() + SetResourceAccessEvents(value []ResourceAccessEventable)() SetRiskScore(value *DeviceRiskScore)() SetVersion(value *string)() SetVmMetadata(value VmMetadataable)() diff --git a/models/security/identity_container.go b/models/security/identity_container.go index 65e2b14577a..bc4fbc493cc 100644 --- a/models/security/identity_container.go +++ b/models/security/identity_container.go @@ -149,7 +149,7 @@ func (m *IdentityContainer) GetSensorCandidateActivationConfiguration()(SensorCa } return nil } -// GetSensorCandidates gets the sensorCandidates property value. Represents Microsoft Defender for Identity sensors that are ready to be activated. +// GetSensorCandidates gets the sensorCandidates property value. The sensorCandidates property // returns a []SensorCandidateable when successful func (m *IdentityContainer) GetSensorCandidates()([]SensorCandidateable) { val, err := m.GetBackingStore().Get("sensorCandidates") @@ -173,7 +173,7 @@ func (m *IdentityContainer) GetSensors()([]Sensorable) { } return nil } -// GetSettings gets the settings property value. Represents a container for security identities settings APIs. +// GetSettings gets the settings property value. The settings property // returns a SettingsContainerable when successful func (m *IdentityContainer) GetSettings()(SettingsContainerable) { val, err := m.GetBackingStore().Get("settings") @@ -274,7 +274,7 @@ func (m *IdentityContainer) SetSensorCandidateActivationConfiguration(value Sens panic(err) } } -// SetSensorCandidates sets the sensorCandidates property value. Represents Microsoft Defender for Identity sensors that are ready to be activated. +// SetSensorCandidates sets the sensorCandidates property value. The sensorCandidates property func (m *IdentityContainer) SetSensorCandidates(value []SensorCandidateable)() { err := m.GetBackingStore().Set("sensorCandidates", value) if err != nil { @@ -288,7 +288,7 @@ func (m *IdentityContainer) SetSensors(value []Sensorable)() { panic(err) } } -// SetSettings sets the settings property value. Represents a container for security identities settings APIs. +// SetSettings sets the settings property value. The settings property func (m *IdentityContainer) SetSettings(value SettingsContainerable)() { err := m.GetBackingStore().Set("settings", value) if err != nil { diff --git a/models/security/mailbox_configuration_evidence.go b/models/security/mailbox_configuration_evidence.go index 974ca9c25dd..974709736ba 100644 --- a/models/security/mailbox_configuration_evidence.go +++ b/models/security/mailbox_configuration_evidence.go @@ -25,7 +25,7 @@ func NewMailboxConfigurationEvidence()(*MailboxConfigurationEvidence) { func CreateMailboxConfigurationEvidenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewMailboxConfigurationEvidence(), nil } -// GetConfigurationId gets the configurationId property value. The configurationId property +// GetConfigurationId gets the configurationId property value. The unique identifier of the mailbox configuration. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetConfigurationId()(*string) { val, err := m.GetBackingStore().Get("configurationId") @@ -37,7 +37,7 @@ func (m *MailboxConfigurationEvidence) GetConfigurationId()(*string) { } return nil } -// GetConfigurationType gets the configurationType property value. The configurationType property +// GetConfigurationType gets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. // returns a *MailboxConfigurationType when successful func (m *MailboxConfigurationEvidence) GetConfigurationType()(*MailboxConfigurationType) { val, err := m.GetBackingStore().Get("configurationType") @@ -49,7 +49,7 @@ func (m *MailboxConfigurationEvidence) GetConfigurationType()(*MailboxConfigurat } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the mailbox. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -61,7 +61,7 @@ func (m *MailboxConfigurationEvidence) GetDisplayName()(*string) { } return nil } -// GetExternalDirectoryObjectId gets the externalDirectoryObjectId property value. The externalDirectoryObjectId property +// GetExternalDirectoryObjectId gets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. // returns a *UUID when successful func (m *MailboxConfigurationEvidence) GetExternalDirectoryObjectId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) { val, err := m.GetBackingStore().Get("externalDirectoryObjectId") @@ -139,7 +139,7 @@ func (m *MailboxConfigurationEvidence) GetFieldDeserializers()(map[string]func(i } return res } -// GetMailboxPrimaryAddress gets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property +// GetMailboxPrimaryAddress gets the mailboxPrimaryAddress property value. The primary email address of the mailbox. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetMailboxPrimaryAddress()(*string) { val, err := m.GetBackingStore().Get("mailboxPrimaryAddress") @@ -151,7 +151,7 @@ func (m *MailboxConfigurationEvidence) GetMailboxPrimaryAddress()(*string) { } return nil } -// GetUpn gets the upn property value. The upn property +// GetUpn gets the upn property value. The user principal name (UPN) of the mailbox. // returns a *string when successful func (m *MailboxConfigurationEvidence) GetUpn()(*string) { val, err := m.GetBackingStore().Get("upn") @@ -208,42 +208,42 @@ func (m *MailboxConfigurationEvidence) Serialize(writer i878a80d2330e89d26896388 } return nil } -// SetConfigurationId sets the configurationId property value. The configurationId property +// SetConfigurationId sets the configurationId property value. The unique identifier of the mailbox configuration. func (m *MailboxConfigurationEvidence) SetConfigurationId(value *string)() { err := m.GetBackingStore().Set("configurationId", value) if err != nil { panic(err) } } -// SetConfigurationType sets the configurationType property value. The configurationType property +// SetConfigurationType sets the configurationType property value. The type of mailbox configuration. The possible values are: mailForwardingRule, owaSettings, ewsSettings, mailDelegation, userInboxRule, unknownFutureValue. func (m *MailboxConfigurationEvidence) SetConfigurationType(value *MailboxConfigurationType)() { err := m.GetBackingStore().Set("configurationType", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the mailbox. func (m *MailboxConfigurationEvidence) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetExternalDirectoryObjectId sets the externalDirectoryObjectId property value. The externalDirectoryObjectId property +// SetExternalDirectoryObjectId sets the externalDirectoryObjectId property value. The external directory object identifier of the mailbox. func (m *MailboxConfigurationEvidence) SetExternalDirectoryObjectId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { err := m.GetBackingStore().Set("externalDirectoryObjectId", value) if err != nil { panic(err) } } -// SetMailboxPrimaryAddress sets the mailboxPrimaryAddress property value. The mailboxPrimaryAddress property +// SetMailboxPrimaryAddress sets the mailboxPrimaryAddress property value. The primary email address of the mailbox. func (m *MailboxConfigurationEvidence) SetMailboxPrimaryAddress(value *string)() { err := m.GetBackingStore().Set("mailboxPrimaryAddress", value) if err != nil { panic(err) } } -// SetUpn sets the upn property value. The upn property +// SetUpn sets the upn property value. The user principal name (UPN) of the mailbox. func (m *MailboxConfigurationEvidence) SetUpn(value *string)() { err := m.GetBackingStore().Set("upn", value) if err != nil { diff --git a/models/sensitivity_label.go b/models/sensitivity_label.go index 7e6bfc98340..dbde3120da1 100644 --- a/models/sensitivity_label.go +++ b/models/sensitivity_label.go @@ -180,6 +180,16 @@ func (m *SensitivityLabel) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["hasProtection"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetHasProtection(val) + } + return nil + } res["isDefault"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetBoolValue() if err != nil { @@ -288,6 +298,18 @@ func (m *SensitivityLabel) GetFieldDeserializers()(map[string]func(i878a80d2330e } return res } +// GetHasProtection gets the hasProtection property value. The hasProtection property +// returns a *bool when successful +func (m *SensitivityLabel) GetHasProtection()(*bool) { + val, err := m.GetBackingStore().Get("hasProtection") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetIsDefault gets the isDefault property value. The isDefault property // returns a *bool when successful func (m *SensitivityLabel) GetIsDefault()(*bool) { @@ -459,6 +481,12 @@ func (m *SensitivityLabel) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + { + err = writer.WriteBoolValue("hasProtection", m.GetHasProtection()) + if err != nil { + return err + } + } { err = writer.WriteBoolValue("isDefault", m.GetIsDefault()) if err != nil { @@ -576,6 +604,13 @@ func (m *SensitivityLabel) SetDisplayName(value *string)() { panic(err) } } +// SetHasProtection sets the hasProtection property value. The hasProtection property +func (m *SensitivityLabel) SetHasProtection(value *bool)() { + err := m.GetBackingStore().Set("hasProtection", value) + if err != nil { + panic(err) + } +} // SetIsDefault sets the isDefault property value. The isDefault property func (m *SensitivityLabel) SetIsDefault(value *bool)() { err := m.GetBackingStore().Set("isDefault", value) @@ -656,6 +691,7 @@ type SensitivityLabelable interface { GetColor()(*string) GetDescription()(*string) GetDisplayName()(*string) + GetHasProtection()(*bool) GetIsDefault()(*bool) GetIsEnabled()(*bool) GetIsEndpointProtectionEnabled()(*bool) @@ -673,6 +709,7 @@ type SensitivityLabelable interface { SetColor(value *string)() SetDescription(value *string)() SetDisplayName(value *string)() + SetHasProtection(value *bool)() SetIsDefault(value *bool)() SetIsEnabled(value *bool)() SetIsEndpointProtectionEnabled(value *bool)() diff --git a/models/service_principal.go b/models/service_principal.go index 2f8dd3ef880..170df38bc6c 100644 --- a/models/service_principal.go +++ b/models/service_principal.go @@ -702,6 +702,16 @@ func (m *ServicePrincipal) GetFieldDeserializers()(map[string]func(i878a80d2330e } return nil } + res["isDisabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsDisabled(val) + } + return nil + } res["keyCredentials"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreateKeyCredentialFromDiscriminatorValue) if err != nil { @@ -1156,6 +1166,18 @@ func (m *ServicePrincipal) GetInfo()(InformationalUrlable) { } return nil } +// GetIsDisabled gets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. +// returns a *bool when successful +func (m *ServicePrincipal) GetIsDisabled()(*bool) { + val, err := m.GetBackingStore().Get("isDisabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} // GetKeyCredentials gets the keyCredentials property value. The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). // returns a []KeyCredentialable when successful func (m *ServicePrincipal) GetKeyCredentials()([]KeyCredentialable) { @@ -1780,6 +1802,12 @@ func (m *ServicePrincipal) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return err } } + { + err = writer.WriteBoolValue("isDisabled", m.GetIsDisabled()) + if err != nil { + return err + } + } if m.GetKeyCredentials() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetKeyCredentials())) for i, v := range m.GetKeyCredentials() { @@ -2242,6 +2270,13 @@ func (m *ServicePrincipal) SetInfo(value InformationalUrlable)() { panic(err) } } +// SetIsDisabled sets the isDisabled property value. Specifies whether the service principal of the app in a tenant or across tenants for multi-tenant apps can obtain new access tokens or access protected resources. When set to true, existing tokens remain valid until they expire based on their configured lifetimes, and the app stays visible in the Enterprise apps list but users cannot sign in.true if the application is deactivated (disabled); otherwise false. +func (m *ServicePrincipal) SetIsDisabled(value *bool)() { + err := m.GetBackingStore().Set("isDisabled", value) + if err != nil { + panic(err) + } +} // SetKeyCredentials sets the keyCredentials property value. The collection of key credentials associated with the service principal. Not nullable. Supports $filter (eq, not, ge, le). func (m *ServicePrincipal) SetKeyCredentials(value []KeyCredentialable)() { err := m.GetBackingStore().Set("keyCredentials", value) @@ -2497,6 +2532,7 @@ type ServicePrincipalable interface { GetHomepage()(*string) GetHomeRealmDiscoveryPolicies()([]HomeRealmDiscoveryPolicyable) GetInfo()(InformationalUrlable) + GetIsDisabled()(*bool) GetKeyCredentials()([]KeyCredentialable) GetLicenseDetails()([]LicenseDetailsable) GetLoginUrl()(*string) @@ -2557,6 +2593,7 @@ type ServicePrincipalable interface { SetHomepage(value *string)() SetHomeRealmDiscoveryPolicies(value []HomeRealmDiscoveryPolicyable)() SetInfo(value InformationalUrlable)() + SetIsDisabled(value *bool)() SetKeyCredentials(value []KeyCredentialable)() SetLicenseDetails(value []LicenseDetailsable)() SetLoginUrl(value *string)() diff --git a/models/share_point_identity_mapping.go b/models/share_point_identity_mapping.go index c1175e00d3d..153461f9f30 100644 --- a/models/share_point_identity_mapping.go +++ b/models/share_point_identity_mapping.go @@ -43,10 +43,32 @@ func CreateSharePointIdentityMappingFromDiscriminatorValue(parseNode i878a80d233 } return NewSharePointIdentityMapping(), nil } +// GetDeleted gets the deleted property value. Indicates that an identity mapping was deleted successfully. +// returns a Deletedable when successful +func (m *SharePointIdentityMapping) GetDeleted()(Deletedable) { + val, err := m.GetBackingStore().Get("deleted") + if err != nil { + panic(err) + } + if val != nil { + return val.(Deletedable) + } + return nil +} // GetFieldDeserializers the deserialization information for the current model // returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful func (m *SharePointIdentityMapping) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Entity.GetFieldDeserializers() + res["deleted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDeletedFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetDeleted(val.(Deletedable)) + } + return nil + } res["sourceOrganizationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetUUIDValue() if err != nil { @@ -77,6 +99,12 @@ func (m *SharePointIdentityMapping) Serialize(writer i878a80d2330e89d26896388a3f if err != nil { return err } + { + err = writer.WriteObjectValue("deleted", m.GetDeleted()) + if err != nil { + return err + } + } { err = writer.WriteUUIDValue("sourceOrganizationId", m.GetSourceOrganizationId()) if err != nil { @@ -85,6 +113,13 @@ func (m *SharePointIdentityMapping) Serialize(writer i878a80d2330e89d26896388a3f } return nil } +// SetDeleted sets the deleted property value. Indicates that an identity mapping was deleted successfully. +func (m *SharePointIdentityMapping) SetDeleted(value Deletedable)() { + err := m.GetBackingStore().Set("deleted", value) + if err != nil { + panic(err) + } +} // SetSourceOrganizationId sets the sourceOrganizationId property value. The unique identifier of the source organization in the migration. func (m *SharePointIdentityMapping) SetSourceOrganizationId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() { err := m.GetBackingStore().Set("sourceOrganizationId", value) @@ -95,6 +130,8 @@ func (m *SharePointIdentityMapping) SetSourceOrganizationId(value *i561e97a8befe type SharePointIdentityMappingable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetDeleted()(Deletedable) GetSourceOrganizationId()(*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID) + SetDeleted(value Deletedable)() SetSourceOrganizationId(value *i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID)() } diff --git a/models/sign_in_audience_restrictions_base.go b/models/sign_in_audience_restrictions_base.go new file mode 100644 index 00000000000..84e9e7fc47f --- /dev/null +++ b/models/sign_in_audience_restrictions_base.go @@ -0,0 +1,174 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type SignInAudienceRestrictionsBase struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSignInAudienceRestrictionsBase instantiates a new SignInAudienceRestrictionsBase and sets the default values. +func NewSignInAudienceRestrictionsBase()(*SignInAudienceRestrictionsBase) { + m := &SignInAudienceRestrictionsBase{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSignInAudienceRestrictionsBaseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSignInAudienceRestrictionsBaseFromDiscriminatorValue(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.allowedTenantsAudience": + return NewAllowedTenantsAudience(), nil + case "#microsoft.graph.unrestrictedAudience": + return NewUnrestrictedAudience(), nil + } + } + } + } + return NewSignInAudienceRestrictionsBase(), 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 *SignInAudienceRestrictionsBase) 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 *SignInAudienceRestrictionsBase) 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 *SignInAudienceRestrictionsBase) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["kind"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseKind) + if err != nil { + return err + } + if val != nil { + m.SetKind(val.(*Kind)) + } + 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 +} +// GetKind gets the kind property value. The kind property +// returns a *Kind when successful +func (m *SignInAudienceRestrictionsBase) GetKind()(*Kind) { + val, err := m.GetBackingStore().Get("kind") + if err != nil { + panic(err) + } + if val != nil { + return val.(*Kind) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *SignInAudienceRestrictionsBase) 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 *SignInAudienceRestrictionsBase) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetKind() != nil { + cast := (*m.GetKind()).String() + err := writer.WriteStringValue("kind", &cast) + 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 *SignInAudienceRestrictionsBase) 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 *SignInAudienceRestrictionsBase) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetKind sets the kind property value. The kind property +func (m *SignInAudienceRestrictionsBase) SetKind(value *Kind)() { + err := m.GetBackingStore().Set("kind", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *SignInAudienceRestrictionsBase) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type SignInAudienceRestrictionsBaseable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetKind()(*Kind) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetKind(value *Kind)() + SetOdataType(value *string)() +} diff --git a/models/structured_data_entry.go b/models/structured_data_entry.go new file mode 100644 index 00000000000..8c49975827f --- /dev/null +++ b/models/structured_data_entry.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type StructuredDataEntry struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewStructuredDataEntry instantiates a new StructuredDataEntry and sets the default values. +func NewStructuredDataEntry()(*StructuredDataEntry) { + m := &StructuredDataEntry{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateStructuredDataEntryFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateStructuredDataEntryFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewStructuredDataEntry(), 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 *StructuredDataEntry) 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 *StructuredDataEntry) 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 *StructuredDataEntry) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["keyEntry"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateStructuredDataEntryTypedValueFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetKeyEntry(val.(StructuredDataEntryTypedValueable)) + } + 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["valueEntry"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateStructuredDataEntryTypedValueFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetValueEntry(val.(StructuredDataEntryTypedValueable)) + } + return nil + } + return res +} +// GetKeyEntry gets the keyEntry property value. The keyEntry property +// returns a StructuredDataEntryTypedValueable when successful +func (m *StructuredDataEntry) GetKeyEntry()(StructuredDataEntryTypedValueable) { + val, err := m.GetBackingStore().Get("keyEntry") + if err != nil { + panic(err) + } + if val != nil { + return val.(StructuredDataEntryTypedValueable) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *StructuredDataEntry) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValueEntry gets the valueEntry property value. The valueEntry property +// returns a StructuredDataEntryTypedValueable when successful +func (m *StructuredDataEntry) GetValueEntry()(StructuredDataEntryTypedValueable) { + val, err := m.GetBackingStore().Get("valueEntry") + if err != nil { + panic(err) + } + if val != nil { + return val.(StructuredDataEntryTypedValueable) + } + return nil +} +// Serialize serializes information the current object +func (m *StructuredDataEntry) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("keyEntry", m.GetKeyEntry()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteObjectValue("valueEntry", m.GetValueEntry()) + 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 *StructuredDataEntry) 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 *StructuredDataEntry) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetKeyEntry sets the keyEntry property value. The keyEntry property +func (m *StructuredDataEntry) SetKeyEntry(value StructuredDataEntryTypedValueable)() { + err := m.GetBackingStore().Set("keyEntry", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *StructuredDataEntry) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetValueEntry sets the valueEntry property value. The valueEntry property +func (m *StructuredDataEntry) SetValueEntry(value StructuredDataEntryTypedValueable)() { + err := m.GetBackingStore().Set("valueEntry", value) + if err != nil { + panic(err) + } +} +type StructuredDataEntryable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetKeyEntry()(StructuredDataEntryTypedValueable) + GetOdataType()(*string) + GetValueEntry()(StructuredDataEntryTypedValueable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetKeyEntry(value StructuredDataEntryTypedValueable)() + SetOdataType(value *string)() + SetValueEntry(value StructuredDataEntryTypedValueable)() +} diff --git a/models/structured_data_entry_typed_value.go b/models/structured_data_entry_typed_value.go new file mode 100644 index 00000000000..769cdef7ea7 --- /dev/null +++ b/models/structured_data_entry_typed_value.go @@ -0,0 +1,197 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type StructuredDataEntryTypedValue struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewStructuredDataEntryTypedValue instantiates a new StructuredDataEntryTypedValue and sets the default values. +func NewStructuredDataEntryTypedValue()(*StructuredDataEntryTypedValue) { + m := &StructuredDataEntryTypedValue{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateStructuredDataEntryTypedValueFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateStructuredDataEntryTypedValueFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewStructuredDataEntryTypedValue(), 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 *StructuredDataEntryTypedValue) 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 *StructuredDataEntryTypedValue) 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 *StructuredDataEntryTypedValue) 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["type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseStructuredDataEntryValueType) + if err != nil { + return err + } + if val != nil { + m.SetTypeEscaped(val.(*StructuredDataEntryValueType)) + } + return nil + } + res["values"] = 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.SetValues(res) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *StructuredDataEntryTypedValue) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTypeEscaped gets the type property value. The type property +// returns a *StructuredDataEntryValueType when successful +func (m *StructuredDataEntryTypedValue) GetTypeEscaped()(*StructuredDataEntryValueType) { + val, err := m.GetBackingStore().Get("typeEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.(*StructuredDataEntryValueType) + } + return nil +} +// GetValues gets the values property value. Represents the value. The contained elements might be one of the following cases: when the type is stringArray, it contains arbitrary string values; otherwise, it contains exactly one string value. The caller is responsible for data type conversion. +// returns a []string when successful +func (m *StructuredDataEntryTypedValue) GetValues()([]string) { + val, err := m.GetBackingStore().Get("values") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} +// Serialize serializes information the current object +func (m *StructuredDataEntryTypedValue) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + if m.GetTypeEscaped() != nil { + cast := (*m.GetTypeEscaped()).String() + err := writer.WriteStringValue("type", &cast) + if err != nil { + return err + } + } + if m.GetValues() != nil { + err := writer.WriteCollectionOfStringValues("values", m.GetValues()) + 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 *StructuredDataEntryTypedValue) 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 *StructuredDataEntryTypedValue) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *StructuredDataEntryTypedValue) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetTypeEscaped sets the type property value. The type property +func (m *StructuredDataEntryTypedValue) SetTypeEscaped(value *StructuredDataEntryValueType)() { + err := m.GetBackingStore().Set("typeEscaped", value) + if err != nil { + panic(err) + } +} +// SetValues sets the values property value. Represents the value. The contained elements might be one of the following cases: when the type is stringArray, it contains arbitrary string values; otherwise, it contains exactly one string value. The caller is responsible for data type conversion. +func (m *StructuredDataEntryTypedValue) SetValues(value []string)() { + err := m.GetBackingStore().Set("values", value) + if err != nil { + panic(err) + } +} +type StructuredDataEntryTypedValueable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + GetTypeEscaped()(*StructuredDataEntryValueType) + GetValues()([]string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() + SetTypeEscaped(value *StructuredDataEntryValueType)() + SetValues(value []string)() +} diff --git a/models/structured_data_entry_value_type.go b/models/structured_data_entry_value_type.go new file mode 100644 index 00000000000..3b32c663bfa --- /dev/null +++ b/models/structured_data_entry_value_type.go @@ -0,0 +1,63 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type StructuredDataEntryValueType int + +const ( + DATETIME_STRUCTUREDDATAENTRYVALUETYPE StructuredDataEntryValueType = iota + BOOLEAN_STRUCTUREDDATAENTRYVALUETYPE + BYTE_STRUCTUREDDATAENTRYVALUETYPE + STRING_STRUCTUREDDATAENTRYVALUETYPE + INTEGER32_STRUCTUREDDATAENTRYVALUETYPE + UNSIGNEDINTEGER32_STRUCTUREDDATAENTRYVALUETYPE + INTEGER64_STRUCTUREDDATAENTRYVALUETYPE + UNSIGNEDINTEGER64_STRUCTUREDDATAENTRYVALUETYPE + STRINGARRAY_STRUCTUREDDATAENTRYVALUETYPE + BYTEARRAY_STRUCTUREDDATAENTRYVALUETYPE + UNKNOWNFUTUREVALUE_STRUCTUREDDATAENTRYVALUETYPE +) + +func (i StructuredDataEntryValueType) String() string { + return []string{"dateTime", "boolean", "byte", "string", "integer32", "unsignedInteger32", "integer64", "unsignedInteger64", "stringArray", "byteArray", "unknownFutureValue"}[i] +} +func ParseStructuredDataEntryValueType(v string) (any, error) { + result := DATETIME_STRUCTUREDDATAENTRYVALUETYPE + switch v { + case "dateTime": + result = DATETIME_STRUCTUREDDATAENTRYVALUETYPE + case "boolean": + result = BOOLEAN_STRUCTUREDDATAENTRYVALUETYPE + case "byte": + result = BYTE_STRUCTUREDDATAENTRYVALUETYPE + case "string": + result = STRING_STRUCTUREDDATAENTRYVALUETYPE + case "integer32": + result = INTEGER32_STRUCTUREDDATAENTRYVALUETYPE + case "unsignedInteger32": + result = UNSIGNEDINTEGER32_STRUCTUREDDATAENTRYVALUETYPE + case "integer64": + result = INTEGER64_STRUCTUREDDATAENTRYVALUETYPE + case "unsignedInteger64": + result = UNSIGNEDINTEGER64_STRUCTUREDDATAENTRYVALUETYPE + case "stringArray": + result = STRINGARRAY_STRUCTUREDDATAENTRYVALUETYPE + case "byteArray": + result = BYTEARRAY_STRUCTUREDDATAENTRYVALUETYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_STRUCTUREDDATAENTRYVALUETYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeStructuredDataEntryValueType(values []StructuredDataEntryValueType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i StructuredDataEntryValueType) isMultiValue() bool { + return false +} diff --git a/models/target_agent_identity_sponsors_or_owners.go b/models/target_agent_identity_sponsors_or_owners.go new file mode 100644 index 00000000000..03c1605e547 --- /dev/null +++ b/models/target_agent_identity_sponsors_or_owners.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type TargetAgentIdentitySponsorsOrOwners struct { + UserSet +} +// NewTargetAgentIdentitySponsorsOrOwners instantiates a new TargetAgentIdentitySponsorsOrOwners and sets the default values. +func NewTargetAgentIdentitySponsorsOrOwners()(*TargetAgentIdentitySponsorsOrOwners) { + m := &TargetAgentIdentitySponsorsOrOwners{ + UserSet: *NewUserSet(), + } + odataTypeValue := "#microsoft.graph.targetAgentIdentitySponsorsOrOwners" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateTargetAgentIdentitySponsorsOrOwnersFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTargetAgentIdentitySponsorsOrOwnersFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTargetAgentIdentitySponsorsOrOwners(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *TargetAgentIdentitySponsorsOrOwners) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.UserSet.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *TargetAgentIdentitySponsorsOrOwners) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.UserSet.Serialize(writer) + if err != nil { + return err + } + return nil +} +type TargetAgentIdentitySponsorsOrOwnersable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + UserSetable +} diff --git a/models/teamsadministration/teams_user_configuration.go b/models/teamsadministration/teams_user_configuration.go index 7d1613ed399..659f9a3692f 100644 --- a/models/teamsadministration/teams_user_configuration.go +++ b/models/teamsadministration/teams_user_configuration.go @@ -24,7 +24,7 @@ func NewTeamsUserConfiguration()(*TeamsUserConfiguration) { func CreateTeamsUserConfigurationFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTeamsUserConfiguration(), nil } -// GetAccountType gets the accountType property value. The type of the account in the Teams context. The possible values are: user, resourceAccount, guest, sfbOnPremUser, unknown, unknownFutureValue, ineligibleUser. Use the Prefer: include-unknown-enum-members request header to get the following value from this enum evolvable enum: ineligibleUser. +// GetAccountType gets the accountType property value. The accountType property // returns a *AccountType when successful func (m *TeamsUserConfiguration) GetAccountType()(*AccountType) { val, err := m.GetBackingStore().Get("accountType") @@ -349,7 +349,7 @@ func (m *TeamsUserConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487 } return nil } -// SetAccountType sets the accountType property value. The type of the account in the Teams context. The possible values are: user, resourceAccount, guest, sfbOnPremUser, unknown, unknownFutureValue, ineligibleUser. Use the Prefer: include-unknown-enum-members request header to get the following value from this enum evolvable enum: ineligibleUser. +// SetAccountType sets the accountType property value. The accountType property func (m *TeamsUserConfiguration) SetAccountType(value *AccountType)() { err := m.GetBackingStore().Set("accountType", value) if err != nil { diff --git a/models/time_off_details.go b/models/time_off_details.go new file mode 100644 index 00000000000..570cd1d5a89 --- /dev/null +++ b/models/time_off_details.go @@ -0,0 +1,190 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TimeOffDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTimeOffDetails instantiates a new TimeOffDetails and sets the default values. +func NewTimeOffDetails()(*TimeOffDetails) { + m := &TimeOffDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTimeOffDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTimeOffDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTimeOffDetails(), 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 *TimeOffDetails) 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 *TimeOffDetails) 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 *TimeOffDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["isAllDay"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsAllDay(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["subject"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetSubject(val) + } + return nil + } + return res +} +// GetIsAllDay gets the isAllDay property value. Indicates whether the time-off entry spans the entire day. +// returns a *bool when successful +func (m *TimeOffDetails) GetIsAllDay()(*bool) { + val, err := m.GetBackingStore().Get("isAllDay") + 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 *TimeOffDetails) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSubject gets the subject property value. The subject or reason for the time-off entry. +// returns a *string when successful +func (m *TimeOffDetails) GetSubject()(*string) { + val, err := m.GetBackingStore().Get("subject") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *TimeOffDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteBoolValue("isAllDay", m.GetIsAllDay()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("subject", m.GetSubject()) + 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 *TimeOffDetails) 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 *TimeOffDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIsAllDay sets the isAllDay property value. Indicates whether the time-off entry spans the entire day. +func (m *TimeOffDetails) SetIsAllDay(value *bool)() { + err := m.GetBackingStore().Set("isAllDay", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *TimeOffDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetSubject sets the subject property value. The subject or reason for the time-off entry. +func (m *TimeOffDetails) SetSubject(value *string)() { + err := m.GetBackingStore().Set("subject", value) + if err != nil { + panic(err) + } +} +type TimeOffDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIsAllDay()(*bool) + GetOdataType()(*string) + GetSubject()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIsAllDay(value *bool)() + SetOdataType(value *string)() + SetSubject(value *string)() +} diff --git a/models/unavailable_place_mode.go b/models/unavailable_place_mode.go index 3f9ba1dbec0..d57e80ad8ea 100644 --- a/models/unavailable_place_mode.go +++ b/models/unavailable_place_mode.go @@ -40,7 +40,7 @@ func (m *UnavailablePlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2 } return res } -// GetReason gets the reason property value. Reason for marking a place unavailable. +// GetReason gets the reason property value. The reason a place is marked unavailable. // returns a *string when successful func (m *UnavailablePlaceMode) GetReason()(*string) { val, err := m.GetBackingStore().Get("reason") @@ -66,7 +66,7 @@ func (m *UnavailablePlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487ee } return nil } -// SetReason sets the reason property value. Reason for marking a place unavailable. +// SetReason sets the reason property value. The reason a place is marked unavailable. func (m *UnavailablePlaceMode) SetReason(value *string)() { err := m.GetBackingStore().Set("reason", value) if err != nil { diff --git a/models/unrestricted_audience.go b/models/unrestricted_audience.go new file mode 100644 index 00000000000..c49e0bd69fc --- /dev/null +++ b/models/unrestricted_audience.go @@ -0,0 +1,44 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UnrestrictedAudience struct { + SignInAudienceRestrictionsBase +} +// NewUnrestrictedAudience instantiates a new UnrestrictedAudience and sets the default values. +func NewUnrestrictedAudience()(*UnrestrictedAudience) { + m := &UnrestrictedAudience{ + SignInAudienceRestrictionsBase: *NewSignInAudienceRestrictionsBase(), + } + odataTypeValue := "#microsoft.graph.unrestrictedAudience" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUnrestrictedAudienceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUnrestrictedAudienceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUnrestrictedAudience(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UnrestrictedAudience) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SignInAudienceRestrictionsBase.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *UnrestrictedAudience) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SignInAudienceRestrictionsBase.Serialize(writer) + if err != nil { + return err + } + return nil +} +type UnrestrictedAudienceable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SignInAudienceRestrictionsBaseable +} diff --git a/models/user_configuration.go b/models/user_configuration.go index 9beae86a520..85240fef4dd 100644 --- a/models/user_configuration.go +++ b/models/user_configuration.go @@ -48,8 +48,58 @@ func (m *UserConfiguration) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["structuredData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateStructuredDataEntryFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]StructuredDataEntryable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(StructuredDataEntryable) + } + } + m.SetStructuredData(res) + } + return nil + } + res["xmlData"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetByteArrayValue() + if err != nil { + return err + } + if val != nil { + m.SetXmlData(val) + } + return nil + } return res } +// GetStructuredData gets the structuredData property value. Key-value pairs of supported data types. +// returns a []StructuredDataEntryable when successful +func (m *UserConfiguration) GetStructuredData()([]StructuredDataEntryable) { + val, err := m.GetBackingStore().Get("structuredData") + if err != nil { + panic(err) + } + if val != nil { + return val.([]StructuredDataEntryable) + } + return nil +} +// GetXmlData gets the xmlData property value. Binary data for storing serialized XML. +// returns a []byte when successful +func (m *UserConfiguration) GetXmlData()([]byte) { + val, err := m.GetBackingStore().Get("xmlData") + if err != nil { + panic(err) + } + if val != nil { + return val.([]byte) + } + return nil +} // Serialize serializes information the current object func (m *UserConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -62,6 +112,24 @@ func (m *UserConfiguration) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + if m.GetStructuredData() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetStructuredData())) + for i, v := range m.GetStructuredData() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("structuredData", cast) + if err != nil { + return err + } + } + { + err = writer.WriteByteArrayValue("xmlData", m.GetXmlData()) + if err != nil { + return err + } + } return nil } // SetBinaryData sets the binaryData property value. Arbitrary binary data. @@ -71,9 +139,27 @@ func (m *UserConfiguration) SetBinaryData(value []byte)() { panic(err) } } +// SetStructuredData sets the structuredData property value. Key-value pairs of supported data types. +func (m *UserConfiguration) SetStructuredData(value []StructuredDataEntryable)() { + err := m.GetBackingStore().Set("structuredData", value) + if err != nil { + panic(err) + } +} +// SetXmlData sets the xmlData property value. Binary data for storing serialized XML. +func (m *UserConfiguration) SetXmlData(value []byte)() { + err := m.GetBackingStore().Set("xmlData", value) + if err != nil { + panic(err) + } +} type UserConfigurationable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBinaryData()([]byte) + GetStructuredData()([]StructuredDataEntryable) + GetXmlData()([]byte) SetBinaryData(value []byte)() + SetStructuredData(value []StructuredDataEntryable)() + SetXmlData(value []byte)() } diff --git a/models/user_set.go b/models/user_set.go index 9224ca80165..3eae663394f 100644 --- a/models/user_set.go +++ b/models/user_set.go @@ -49,6 +49,8 @@ func CreateUserSetFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f48 return NewRequestorManager(), nil case "#microsoft.graph.singleUser": return NewSingleUser(), nil + case "#microsoft.graph.targetAgentIdentitySponsorsOrOwners": + return NewTargetAgentIdentitySponsorsOrOwners(), nil case "#microsoft.graph.targetUserSponsors": return NewTargetUserSponsors(), nil } diff --git a/models/user_settings.go b/models/user_settings.go index d3e290a429b..f0435fd88d0 100644 --- a/models/user_settings.go +++ b/models/user_settings.go @@ -170,6 +170,16 @@ func (m *UserSettings) GetFieldDeserializers()(map[string]func(i878a80d2330e89d2 } return nil } + res["workHoursAndLocations"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateWorkHoursAndLocationsSettingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetWorkHoursAndLocations(val.(WorkHoursAndLocationsSettingable)) + } + return nil + } return res } // GetItemInsights gets the itemInsights property value. The user's settings for the visibility of meeting hour insights, and insights derived between a user and other items in Microsoft 365, such as documents or sites. Get userInsightsSettings through this navigation property. @@ -232,6 +242,18 @@ func (m *UserSettings) GetWindows()([]WindowsSettingable) { } return nil } +// GetWorkHoursAndLocations gets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. +// returns a WorkHoursAndLocationsSettingable when successful +func (m *UserSettings) GetWorkHoursAndLocations()(WorkHoursAndLocationsSettingable) { + val, err := m.GetBackingStore().Get("workHoursAndLocations") + if err != nil { + panic(err) + } + if val != nil { + return val.(WorkHoursAndLocationsSettingable) + } + return nil +} // Serialize serializes information the current object func (m *UserSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -298,6 +320,12 @@ func (m *UserSettings) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e return err } } + { + err = writer.WriteObjectValue("workHoursAndLocations", m.GetWorkHoursAndLocations()) + if err != nil { + return err + } + } return nil } // SetContactMergeSuggestions sets the contactMergeSuggestions property value. The user's settings for the visibility of merge suggestion for the duplicate contacts in the user's contact list. @@ -363,6 +391,13 @@ func (m *UserSettings) SetWindows(value []WindowsSettingable)() { panic(err) } } +// SetWorkHoursAndLocations sets the workHoursAndLocations property value. The user's settings for work hours and location preferences for scheduling and availability management. +func (m *UserSettings) SetWorkHoursAndLocations(value WorkHoursAndLocationsSettingable)() { + err := m.GetBackingStore().Set("workHoursAndLocations", value) + if err != nil { + panic(err) + } +} type UserSettingsable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -375,6 +410,7 @@ type UserSettingsable interface { GetShiftPreferences()(ShiftPreferencesable) GetStorage()(UserStorageable) GetWindows()([]WindowsSettingable) + GetWorkHoursAndLocations()(WorkHoursAndLocationsSettingable) SetContactMergeSuggestions(value ContactMergeSuggestionsable)() SetContributionToContentDiscoveryAsOrganizationDisabled(value *bool)() SetContributionToContentDiscoveryDisabled(value *bool)() @@ -384,4 +420,5 @@ type UserSettingsable interface { SetShiftPreferences(value ShiftPreferencesable)() SetStorage(value UserStorageable)() SetWindows(value []WindowsSettingable)() + SetWorkHoursAndLocations(value WorkHoursAndLocationsSettingable)() } diff --git a/models/user_work_location.go b/models/user_work_location.go index e18c7f801b5..ad7b6ff821a 100644 --- a/models/user_work_location.go +++ b/models/user_work_location.go @@ -101,7 +101,7 @@ func (m *UserWorkLocation) GetOdataType()(*string) { } return nil } -// GetPlaceId gets the placeId property value. Identifier of the place (when applicable). +// GetPlaceId gets the placeId property value. Identifier of the place, if applicable. // returns a *string when successful func (m *UserWorkLocation) GetPlaceId()(*string) { val, err := m.GetBackingStore().Get("placeId") @@ -191,7 +191,7 @@ func (m *UserWorkLocation) SetOdataType(value *string)() { panic(err) } } -// SetPlaceId sets the placeId property value. Identifier of the place (when applicable). +// SetPlaceId sets the placeId property value. Identifier of the place, if applicable. func (m *UserWorkLocation) SetPlaceId(value *string)() { err := m.GetBackingStore().Set("placeId", value) if err != nil { diff --git a/models/work_hours_and_locations_setting.go b/models/work_hours_and_locations_setting.go new file mode 100644 index 00000000000..97c25f2db86 --- /dev/null +++ b/models/work_hours_and_locations_setting.go @@ -0,0 +1,178 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkHoursAndLocationsSetting struct { + Entity +} +// NewWorkHoursAndLocationsSetting instantiates a new WorkHoursAndLocationsSetting and sets the default values. +func NewWorkHoursAndLocationsSetting()(*WorkHoursAndLocationsSetting) { + m := &WorkHoursAndLocationsSetting{ + Entity: *NewEntity(), + } + return m +} +// CreateWorkHoursAndLocationsSettingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkHoursAndLocationsSettingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkHoursAndLocationsSetting(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkHoursAndLocationsSetting) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["maxSharedWorkLocationDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseMaxWorkLocationDetails) + if err != nil { + return err + } + if val != nil { + m.SetMaxSharedWorkLocationDetails(val.(*MaxWorkLocationDetails)) + } + return nil + } + res["occurrences"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanOccurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanOccurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanOccurrenceable) + } + } + m.SetOccurrences(res) + } + return nil + } + res["recurrences"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanRecurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanRecurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanRecurrenceable) + } + } + m.SetRecurrences(res) + } + return nil + } + return res +} +// GetMaxSharedWorkLocationDetails gets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property +// returns a *MaxWorkLocationDetails when successful +func (m *WorkHoursAndLocationsSetting) GetMaxSharedWorkLocationDetails()(*MaxWorkLocationDetails) { + val, err := m.GetBackingStore().Get("maxSharedWorkLocationDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(*MaxWorkLocationDetails) + } + return nil +} +// GetOccurrences gets the occurrences property value. Collection of work plan occurrences. +// returns a []WorkPlanOccurrenceable when successful +func (m *WorkHoursAndLocationsSetting) GetOccurrences()([]WorkPlanOccurrenceable) { + val, err := m.GetBackingStore().Get("occurrences") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanOccurrenceable) + } + return nil +} +// GetRecurrences gets the recurrences property value. Collection of recurring work plans defined by the user. +// returns a []WorkPlanRecurrenceable when successful +func (m *WorkHoursAndLocationsSetting) GetRecurrences()([]WorkPlanRecurrenceable) { + val, err := m.GetBackingStore().Get("recurrences") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanRecurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkHoursAndLocationsSetting) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetMaxSharedWorkLocationDetails() != nil { + cast := (*m.GetMaxSharedWorkLocationDetails()).String() + err = writer.WriteStringValue("maxSharedWorkLocationDetails", &cast) + if err != nil { + return err + } + } + if m.GetOccurrences() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetOccurrences())) + for i, v := range m.GetOccurrences() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("occurrences", cast) + if err != nil { + return err + } + } + if m.GetRecurrences() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetRecurrences())) + for i, v := range m.GetRecurrences() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("recurrences", cast) + if err != nil { + return err + } + } + return nil +} +// SetMaxSharedWorkLocationDetails sets the maxSharedWorkLocationDetails property value. The maxSharedWorkLocationDetails property +func (m *WorkHoursAndLocationsSetting) SetMaxSharedWorkLocationDetails(value *MaxWorkLocationDetails)() { + err := m.GetBackingStore().Set("maxSharedWorkLocationDetails", value) + if err != nil { + panic(err) + } +} +// SetOccurrences sets the occurrences property value. Collection of work plan occurrences. +func (m *WorkHoursAndLocationsSetting) SetOccurrences(value []WorkPlanOccurrenceable)() { + err := m.GetBackingStore().Set("occurrences", value) + if err != nil { + panic(err) + } +} +// SetRecurrences sets the recurrences property value. Collection of recurring work plans defined by the user. +func (m *WorkHoursAndLocationsSetting) SetRecurrences(value []WorkPlanRecurrenceable)() { + err := m.GetBackingStore().Set("recurrences", value) + if err != nil { + panic(err) + } +} +type WorkHoursAndLocationsSettingable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetMaxSharedWorkLocationDetails()(*MaxWorkLocationDetails) + GetOccurrences()([]WorkPlanOccurrenceable) + GetRecurrences()([]WorkPlanRecurrenceable) + SetMaxSharedWorkLocationDetails(value *MaxWorkLocationDetails)() + SetOccurrences(value []WorkPlanOccurrenceable)() + SetRecurrences(value []WorkPlanRecurrenceable)() +} diff --git a/models/work_location_update_scope.go b/models/work_location_update_scope.go new file mode 100644 index 00000000000..8c4d1086cf1 --- /dev/null +++ b/models/work_location_update_scope.go @@ -0,0 +1,39 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models +type WorkLocationUpdateScope int + +const ( + CURRENTSEGMENT_WORKLOCATIONUPDATESCOPE WorkLocationUpdateScope = iota + CURRENTDAY_WORKLOCATIONUPDATESCOPE + UNKNOWNFUTUREVALUE_WORKLOCATIONUPDATESCOPE +) + +func (i WorkLocationUpdateScope) String() string { + return []string{"currentSegment", "currentDay", "unknownFutureValue"}[i] +} +func ParseWorkLocationUpdateScope(v string) (any, error) { + result := CURRENTSEGMENT_WORKLOCATIONUPDATESCOPE + switch v { + case "currentSegment": + result = CURRENTSEGMENT_WORKLOCATIONUPDATESCOPE + case "currentDay": + result = CURRENTDAY_WORKLOCATIONUPDATESCOPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_WORKLOCATIONUPDATESCOPE + default: + return nil, nil + } + return &result, nil +} +func SerializeWorkLocationUpdateScope(values []WorkLocationUpdateScope) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i WorkLocationUpdateScope) isMultiValue() bool { + return false +} diff --git a/models/work_plan_occurrence.go b/models/work_plan_occurrence.go new file mode 100644 index 00000000000..2c1167b0e6a --- /dev/null +++ b/models/work_plan_occurrence.go @@ -0,0 +1,265 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanOccurrence struct { + Entity +} +// NewWorkPlanOccurrence instantiates a new WorkPlanOccurrence and sets the default values. +func NewWorkPlanOccurrence()(*WorkPlanOccurrence) { + m := &WorkPlanOccurrence{ + Entity: *NewEntity(), + } + return m +} +// CreateWorkPlanOccurrenceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanOccurrenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanOccurrence(), nil +} +// GetEnd gets the end property value. The end property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanOccurrence) GetEnd()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("end") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanOccurrence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["end"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEnd(val.(DateTimeTimeZoneable)) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["recurrenceId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetRecurrenceId(val) + } + return nil + } + res["start"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetStart(val.(DateTimeTimeZoneable)) + } + return nil + } + res["timeOffDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateTimeOffDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetTimeOffDetails(val.(TimeOffDetailsable)) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +// returns a *string when successful +func (m *WorkPlanOccurrence) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRecurrenceId gets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. +// returns a *string when successful +func (m *WorkPlanOccurrence) GetRecurrenceId()(*string) { + val, err := m.GetBackingStore().Get("recurrenceId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetStart gets the start property value. The start property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanOccurrence) GetStart()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("start") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetTimeOffDetails gets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. +// returns a TimeOffDetailsable when successful +func (m *WorkPlanOccurrence) GetTimeOffDetails()(TimeOffDetailsable) { + val, err := m.GetBackingStore().Get("timeOffDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(TimeOffDetailsable) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *WorkPlanOccurrence) GetWorkLocationType()(*WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanOccurrence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("end", m.GetEnd()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("recurrenceId", m.GetRecurrenceId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("start", m.GetStart()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("timeOffDetails", m.GetTimeOffDetails()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err = writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + return nil +} +// SetEnd sets the end property value. The end property +func (m *WorkPlanOccurrence) SetEnd(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("end", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +func (m *WorkPlanOccurrence) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetRecurrenceId sets the recurrenceId property value. The identifier of the parent recurrence pattern that generated this occurrence. The value is null for time-off occurrences because they don't have a parent recurrence. +func (m *WorkPlanOccurrence) SetRecurrenceId(value *string)() { + err := m.GetBackingStore().Set("recurrenceId", value) + if err != nil { + panic(err) + } +} +// SetStart sets the start property value. The start property +func (m *WorkPlanOccurrence) SetStart(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("start", value) + if err != nil { + panic(err) + } +} +// SetTimeOffDetails sets the timeOffDetails property value. The details about the time off. Only applicable when workLocationType is set to timeOff. +func (m *WorkPlanOccurrence) SetTimeOffDetails(value TimeOffDetailsable)() { + err := m.GetBackingStore().Set("timeOffDetails", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *WorkPlanOccurrence) SetWorkLocationType(value *WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type WorkPlanOccurrenceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEnd()(DateTimeTimeZoneable) + GetPlaceId()(*string) + GetRecurrenceId()(*string) + GetStart()(DateTimeTimeZoneable) + GetTimeOffDetails()(TimeOffDetailsable) + GetWorkLocationType()(*WorkLocationType) + SetEnd(value DateTimeTimeZoneable)() + SetPlaceId(value *string)() + SetRecurrenceId(value *string)() + SetStart(value DateTimeTimeZoneable)() + SetTimeOffDetails(value TimeOffDetailsable)() + SetWorkLocationType(value *WorkLocationType)() +} diff --git a/models/work_plan_occurrence_collection_response.go b/models/work_plan_occurrence_collection_response.go new file mode 100644 index 00000000000..5eb3d2dbbfb --- /dev/null +++ b/models/work_plan_occurrence_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanOccurrenceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWorkPlanOccurrenceCollectionResponse instantiates a new WorkPlanOccurrenceCollectionResponse and sets the default values. +func NewWorkPlanOccurrenceCollectionResponse()(*WorkPlanOccurrenceCollectionResponse) { + m := &WorkPlanOccurrenceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanOccurrenceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanOccurrenceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanOccurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanOccurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanOccurrenceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WorkPlanOccurrenceable when successful +func (m *WorkPlanOccurrenceCollectionResponse) GetValue()([]WorkPlanOccurrenceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanOccurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanOccurrenceCollectionResponse) 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 *WorkPlanOccurrenceCollectionResponse) SetValue(value []WorkPlanOccurrenceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WorkPlanOccurrenceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WorkPlanOccurrenceable) + SetValue(value []WorkPlanOccurrenceable)() +} diff --git a/models/work_plan_recurrence.go b/models/work_plan_recurrence.go new file mode 100644 index 00000000000..a640370d0dc --- /dev/null +++ b/models/work_plan_recurrence.go @@ -0,0 +1,228 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanRecurrence struct { + Entity +} +// NewWorkPlanRecurrence instantiates a new WorkPlanRecurrence and sets the default values. +func NewWorkPlanRecurrence()(*WorkPlanRecurrence) { + m := &WorkPlanRecurrence{ + Entity: *NewEntity(), + } + return m +} +// CreateWorkPlanRecurrenceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanRecurrenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanRecurrence(), nil +} +// GetEnd gets the end property value. The end property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanRecurrence) GetEnd()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("end") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanRecurrence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["end"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetEnd(val.(DateTimeTimeZoneable)) + } + return nil + } + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["recurrence"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePatternedRecurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetRecurrence(val.(PatternedRecurrenceable)) + } + return nil + } + res["start"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateDateTimeTimeZoneFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetStart(val.(DateTimeTimeZoneable)) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +// returns a *string when successful +func (m *WorkPlanRecurrence) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetRecurrence gets the recurrence property value. The recurrence property +// returns a PatternedRecurrenceable when successful +func (m *WorkPlanRecurrence) GetRecurrence()(PatternedRecurrenceable) { + val, err := m.GetBackingStore().Get("recurrence") + if err != nil { + panic(err) + } + if val != nil { + return val.(PatternedRecurrenceable) + } + return nil +} +// GetStart gets the start property value. The start property +// returns a DateTimeTimeZoneable when successful +func (m *WorkPlanRecurrence) GetStart()(DateTimeTimeZoneable) { + val, err := m.GetBackingStore().Get("start") + if err != nil { + panic(err) + } + if val != nil { + return val.(DateTimeTimeZoneable) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *WorkPlanRecurrence) GetWorkLocationType()(*WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanRecurrence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("end", m.GetEnd()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("recurrence", m.GetRecurrence()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("start", m.GetStart()) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err = writer.WriteStringValue("workLocationType", &cast) + if err != nil { + return err + } + } + return nil +} +// SetEnd sets the end property value. The end property +func (m *WorkPlanRecurrence) SetEnd(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("end", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. Identifier of a place from the Microsoft Graph Places Directory API. Only applicable when workLocationType is set to office. +func (m *WorkPlanRecurrence) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetRecurrence sets the recurrence property value. The recurrence property +func (m *WorkPlanRecurrence) SetRecurrence(value PatternedRecurrenceable)() { + err := m.GetBackingStore().Set("recurrence", value) + if err != nil { + panic(err) + } +} +// SetStart sets the start property value. The start property +func (m *WorkPlanRecurrence) SetStart(value DateTimeTimeZoneable)() { + err := m.GetBackingStore().Set("start", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *WorkPlanRecurrence) SetWorkLocationType(value *WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type WorkPlanRecurrenceable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEnd()(DateTimeTimeZoneable) + GetPlaceId()(*string) + GetRecurrence()(PatternedRecurrenceable) + GetStart()(DateTimeTimeZoneable) + GetWorkLocationType()(*WorkLocationType) + SetEnd(value DateTimeTimeZoneable)() + SetPlaceId(value *string)() + SetRecurrence(value PatternedRecurrenceable)() + SetStart(value DateTimeTimeZoneable)() + SetWorkLocationType(value *WorkLocationType)() +} diff --git a/models/work_plan_recurrence_collection_response.go b/models/work_plan_recurrence_collection_response.go new file mode 100644 index 00000000000..492d6a3815f --- /dev/null +++ b/models/work_plan_recurrence_collection_response.go @@ -0,0 +1,91 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type WorkPlanRecurrenceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWorkPlanRecurrenceCollectionResponse instantiates a new WorkPlanRecurrenceCollectionResponse and sets the default values. +func NewWorkPlanRecurrenceCollectionResponse()(*WorkPlanRecurrenceCollectionResponse) { + m := &WorkPlanRecurrenceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkPlanRecurrenceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkPlanRecurrenceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkPlanRecurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]WorkPlanRecurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(WorkPlanRecurrenceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WorkPlanRecurrenceable when successful +func (m *WorkPlanRecurrenceCollectionResponse) GetValue()([]WorkPlanRecurrenceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]WorkPlanRecurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkPlanRecurrenceCollectionResponse) 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 *WorkPlanRecurrenceCollectionResponse) SetValue(value []WorkPlanRecurrenceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WorkPlanRecurrenceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]WorkPlanRecurrenceable) + SetValue(value []WorkPlanRecurrenceable)() +} diff --git a/models/workspace.go b/models/workspace.go index 22c0d9ecdaa..094b154dacd 100644 --- a/models/workspace.go +++ b/models/workspace.go @@ -192,7 +192,7 @@ func (m *Workspace) GetFloorNumber()(*int32) { } return nil } -// GetMode gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. +// GetMode gets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. // returns a PlaceModeable when successful func (m *Workspace) GetMode()(PlaceModeable) { val, err := m.GetBackingStore().Get("mode") @@ -216,7 +216,7 @@ func (m *Workspace) GetNickname()(*string) { } return nil } -// GetPlaceId gets the placeId property value. An alternate immutable unique identifier of the workspace. Read-only. +// GetPlaceId gets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. // returns a *string when successful func (m *Workspace) GetPlaceId()(*string) { val, err := m.GetBackingStore().Get("placeId") @@ -332,7 +332,7 @@ func (m *Workspace) SetFloorNumber(value *int32)() { panic(err) } } -// SetMode sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms Pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. +// SetMode sets the mode property value. The mode for a workspace. The supported modes are:reservablePlaceMode - Workspaces that can be booked in advance using desk pool reservation tools.dropInPlaceMode - First come, first served desks. When you plug into a peripheral on one of these desks in the workspace, the desk is booked for you, assuming that the peripheral has been associated with the desk in the Microsoft Teams Rooms pro management portal.unavailablePlaceMode - Workspaces that are taken down for maintenance or marked as not reservable. func (m *Workspace) SetMode(value PlaceModeable)() { err := m.GetBackingStore().Set("mode", value) if err != nil { @@ -346,7 +346,7 @@ func (m *Workspace) SetNickname(value *string)() { panic(err) } } -// SetPlaceId sets the placeId property value. An alternate immutable unique identifier of the workspace. Read-only. +// SetPlaceId sets the placeId property value. An alternative immutable unique identifier of the workspace. Read-only. func (m *Workspace) SetPlaceId(value *string)() { err := m.GetBackingStore().Set("placeId", value) if err != nil { diff --git a/networkaccess/settings_custom_block_page_request_builder.go b/networkaccess/settings_custom_block_page_request_builder.go index 7bb934901fe..601b2d34ab4 100644 --- a/networkaccess/settings_custom_block_page_request_builder.go +++ b/networkaccess/settings_custom_block_page_request_builder.go @@ -21,7 +21,7 @@ type SettingsCustomBlockPageRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// SettingsCustomBlockPageRequestBuilderGetQueryParameters get customBlockPage from networkAccess +// SettingsCustomBlockPageRequestBuilderGetQueryParameters read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. type SettingsCustomBlockPageRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,9 +73,12 @@ func (m *SettingsCustomBlockPageRequestBuilder) Delete(ctx context.Context, requ } return nil } -// Get get customBlockPage from networkAccess +// Get read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. // returns a CustomBlockPageable 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/networkaccess-customblockpage-get?view=graph-rest-beta func (m *SettingsCustomBlockPageRequestBuilder) Get(ctx context.Context, requestConfiguration *SettingsCustomBlockPageRequestBuilderGetRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CustomBlockPageable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -93,9 +96,12 @@ func (m *SettingsCustomBlockPageRequestBuilder) Get(ctx context.Context, request } return res.(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CustomBlockPageable), nil } -// Patch update the navigation property customBlockPage in networkAccess +// Patch update the properties of a customBlockPage object. // returns a CustomBlockPageable 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/networkaccess-customblockpage-update?view=graph-rest-beta func (m *SettingsCustomBlockPageRequestBuilder) Patch(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CustomBlockPageable, requestConfiguration *SettingsCustomBlockPageRequestBuilderPatchRequestConfiguration)(i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CustomBlockPageable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -124,7 +130,7 @@ func (m *SettingsCustomBlockPageRequestBuilder) ToDeleteRequestInformation(ctx c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get customBlockPage from networkAccess +// ToGetRequestInformation read the properties and relationships of microsoft.graph.networkaccess.customBlockPage object. // returns a *RequestInformation when successful func (m *SettingsCustomBlockPageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *SettingsCustomBlockPageRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -138,7 +144,7 @@ func (m *SettingsCustomBlockPageRequestBuilder) ToGetRequestInformation(ctx cont requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property customBlockPage in networkAccess +// ToPatchRequestInformation update the properties of a customBlockPage object. // returns a *RequestInformation when successful func (m *SettingsCustomBlockPageRequestBuilder) ToPatchRequestInformation(ctx context.Context, body i43e723cc778f0f3f3a05d36b9df74faa56771e9360d8ed793c50bdaacec8d5d2.CustomBlockPageable, requestConfiguration *SettingsCustomBlockPageRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go b/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go index b12025ddb7d..1838df54a5d 100644 --- a/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go +++ b/security/identities_sensor_candidates_sensor_candidate_item_request_builder.go @@ -21,7 +21,7 @@ type IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderDeleteRequestCon // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters represents Microsoft Defender for Identity sensors that are ready to be activated. +// IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters get sensorCandidates from security type IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) Delete(ctx } return nil } -// Get represents Microsoft Defender for Identity sensors that are ready to be activated. +// Get get sensorCandidates from security // returns a SensorCandidateable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SensorCandidateable, error) { @@ -124,7 +124,7 @@ func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) ToDeleteRe requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents Microsoft Defender for Identity sensors that are ready to be activated. +// ToGetRequestInformation get sensorCandidates from security // returns a *RequestInformation when successful func (m *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSensorCandidatesSensorCandidateItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/security/identities_settings_request_builder.go b/security/identities_settings_request_builder.go index a51bae3d525..19ae76b3998 100644 --- a/security/identities_settings_request_builder.go +++ b/security/identities_settings_request_builder.go @@ -21,7 +21,7 @@ type IdentitiesSettingsRequestBuilderDeleteRequestConfiguration struct { // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// IdentitiesSettingsRequestBuilderGetQueryParameters represents a container for security identities settings APIs. +// IdentitiesSettingsRequestBuilderGetQueryParameters get settings from security type IdentitiesSettingsRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -73,7 +73,7 @@ func (m *IdentitiesSettingsRequestBuilder) Delete(ctx context.Context, requestCo } return nil } -// Get represents a container for security identities settings APIs. +// Get get settings from security // returns a SettingsContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *IdentitiesSettingsRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesSettingsRequestBuilderGetRequestConfiguration)(i084fa7ab3bba802bf5cc3b408e230cc64c167a57976e0d42c37e17154afd5b78.SettingsContainerable, error) { @@ -124,7 +124,7 @@ func (m *IdentitiesSettingsRequestBuilder) ToDeleteRequestInformation(ctx contex requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation represents a container for security identities settings APIs. +// ToGetRequestInformation get settings from security // returns a *RequestInformation when successful func (m *IdentitiesSettingsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesSettingsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/serviceprincipals/delta_get_response.go b/serviceprincipals/delta_get_response.go index 3ff85b6bcd8..518394f7e8d 100644 --- a/serviceprincipals/delta_get_response.go +++ b/serviceprincipals/delta_get_response.go @@ -28,15 +28,15 @@ func CreateDeltaGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d2689 func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.BaseDeltaFunctionResponse.GetFieldDeserializers() res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateDirectoryObjectFromDiscriminatorValue) + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateServicePrincipalFromDiscriminatorValue) if err != nil { return err } if val != nil { - res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable, len(val)) + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable, len(val)) for i, v := range val { if v != nil { - res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable) } } m.SetValue(res) @@ -46,14 +46,14 @@ func (m *DeltaGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e return res } // GetValue gets the value property value. The value property -// returns a []DirectoryObjectable when successful -func (m *DeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) { +// returns a []ServicePrincipalable when successful +func (m *DeltaGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable) { val, err := m.GetBackingStore().Get("value") if err != nil { panic(err) } if val != nil { - return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable) } return nil } @@ -78,7 +78,7 @@ func (m *DeltaGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b return nil } // SetValue sets the value property value. The value property -func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() { +func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable)() { err := m.GetBackingStore().Set("value", value) if err != nil { panic(err) @@ -87,6 +87,6 @@ func (m *DeltaGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde type DeltaGetResponseable interface { ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseDeltaFunctionResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable - GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable) - SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.DirectoryObjectable)() + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ServicePrincipalable)() } diff --git a/serviceprincipals/delta_request_builder.go b/serviceprincipals/delta_request_builder.go index 4eee71be7ff..c9d08399179 100644 --- a/serviceprincipals/delta_request_builder.go +++ b/serviceprincipals/delta_request_builder.go @@ -13,7 +13,7 @@ import ( type DeltaRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// DeltaRequestBuilderGetQueryParameters get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. type DeltaRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -54,13 +54,13 @@ func NewDeltaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb urlParams["request-raw-url"] = rawUrl return NewDeltaRequestBuilderInternal(urlParams, requestAdapter) } -// Get get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// Get get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // Deprecated: This method is obsolete. Use GetAsDeltaGetResponse instead. // returns a DeltaResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -78,12 +78,12 @@ func (m *DeltaRequestBuilder) Get(ctx context.Context, requestConfiguration *Del } return res.(DeltaResponseable), nil } -// GetAsDeltaGetResponse get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// GetAsDeltaGetResponse get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a DeltaGetResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // -// [Find more info here]: https://learn.microsoft.com/graph/api/directoryobject-delta?view=graph-rest-beta +// [Find more info here]: https://learn.microsoft.com/graph/api/serviceprincipal-delta?view=graph-rest-beta func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(DeltaGetResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -101,7 +101,7 @@ func (m *DeltaRequestBuilder) GetAsDeltaGetResponse(ctx context.Context, request } return res.(DeltaGetResponseable), nil } -// ToGetRequestInformation get newly created, updated, or deleted directory objects without performing a full read of the entire directoryObject collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. +// ToGetRequestInformation get newly created, updated, or deleted service principals, agent identities, and agent identity blueprints without having to perform a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details. // returns a *RequestInformation when successful func (m *DeltaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DeltaRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/teams/item_channels_channel_item_request_builder.go b/teams/item_channels_channel_item_request_builder.go index d716d746b7d..9e800d3a3db 100644 --- a/teams/item_channels_channel_item_request_builder.go +++ b/teams/item_channels_channel_item_request_builder.go @@ -182,6 +182,11 @@ func (m *ItemChannelsChannelItemRequestBuilder) RemoveEmail()(*ItemChannelsItemR func (m *ItemChannelsChannelItemRequestBuilder) SharedWithTeams()(*ItemChannelsItemSharedWithTeamsRequestBuilder) { return NewItemChannelsItemSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemChannelsItemStartMigrationRequestBuilder when successful +func (m *ItemChannelsChannelItemRequestBuilder) StartMigration()(*ItemChannelsItemStartMigrationRequestBuilder) { + return NewItemChannelsItemStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *ItemChannelsItemTabsRequestBuilder when successful func (m *ItemChannelsChannelItemRequestBuilder) Tabs()(*ItemChannelsItemTabsRequestBuilder) { diff --git a/teams/item_channels_item_start_migration_post_request_body.go b/teams/item_channels_item_start_migration_post_request_body.go new file mode 100644 index 00000000000..f1a7ff51a84 --- /dev/null +++ b/teams/item_channels_item_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChannelsItemStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChannelsItemStartMigrationPostRequestBody instantiates a new ItemChannelsItemStartMigrationPostRequestBody and sets the default values. +func NewItemChannelsItemStartMigrationPostRequestBody()(*ItemChannelsItemStartMigrationPostRequestBody) { + m := &ItemChannelsItemStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChannelsItemStartMigrationPostRequestBody(), 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 *ItemChannelsItemStartMigrationPostRequestBody) 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 *ItemChannelsItemStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemChannelsItemStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemChannelsItemStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemChannelsItemStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemChannelsItemStartMigrationPostRequestBody) 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 *ItemChannelsItemStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemChannelsItemStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemChannelsItemStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/teams/item_channels_item_start_migration_request_builder.go b/teams/item_channels_item_start_migration_request_builder.go new file mode 100644 index 00000000000..0dd26e2880b --- /dev/null +++ b/teams/item_channels_item_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemChannelsItemStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemChannelsItemStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChannelsItemStartMigrationRequestBuilderInternal instantiates a new ItemChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewItemChannelsItemStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemStartMigrationRequestBuilder) { + m := &ItemChannelsItemStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/startMigration", pathParameters), + } + return m +} +// NewItemChannelsItemStartMigrationRequestBuilder instantiates a new ItemChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewItemChannelsItemStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChannelsItemStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChannelsItemStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *ItemChannelsItemStartMigrationRequestBuilder) Post(ctx context.Context, body ItemChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemChannelsItemStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemChannelsItemStartMigrationRequestBuilder when successful +func (m *ItemChannelsItemStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemChannelsItemStartMigrationRequestBuilder) { + return NewItemChannelsItemStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teams/item_primary_channel_request_builder.go b/teams/item_primary_channel_request_builder.go index 316c0bf1e9a..43ec0a1a8bd 100644 --- a/teams/item_primary_channel_request_builder.go +++ b/teams/item_primary_channel_request_builder.go @@ -176,6 +176,11 @@ func (m *ItemPrimaryChannelRequestBuilder) RemoveEmail()(*ItemPrimaryChannelRemo func (m *ItemPrimaryChannelRequestBuilder) SharedWithTeams()(*ItemPrimaryChannelSharedWithTeamsRequestBuilder) { return NewItemPrimaryChannelSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemPrimaryChannelStartMigrationRequestBuilder when successful +func (m *ItemPrimaryChannelRequestBuilder) StartMigration()(*ItemPrimaryChannelStartMigrationRequestBuilder) { + return NewItemPrimaryChannelStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *ItemPrimaryChannelTabsRequestBuilder when successful func (m *ItemPrimaryChannelRequestBuilder) Tabs()(*ItemPrimaryChannelTabsRequestBuilder) { diff --git a/teams/item_primary_channel_start_migration_post_request_body.go b/teams/item_primary_channel_start_migration_post_request_body.go new file mode 100644 index 00000000000..c0da2c19d62 --- /dev/null +++ b/teams/item_primary_channel_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemPrimaryChannelStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemPrimaryChannelStartMigrationPostRequestBody instantiates a new ItemPrimaryChannelStartMigrationPostRequestBody and sets the default values. +func NewItemPrimaryChannelStartMigrationPostRequestBody()(*ItemPrimaryChannelStartMigrationPostRequestBody) { + m := &ItemPrimaryChannelStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemPrimaryChannelStartMigrationPostRequestBody(), 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 *ItemPrimaryChannelStartMigrationPostRequestBody) 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 *ItemPrimaryChannelStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemPrimaryChannelStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemPrimaryChannelStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemPrimaryChannelStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemPrimaryChannelStartMigrationPostRequestBody) 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 *ItemPrimaryChannelStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemPrimaryChannelStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemPrimaryChannelStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/teams/item_primary_channel_start_migration_request_builder.go b/teams/item_primary_channel_start_migration_request_builder.go new file mode 100644 index 00000000000..effeff8e0a8 --- /dev/null +++ b/teams/item_primary_channel_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teams + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemPrimaryChannelStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemPrimaryChannelStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemPrimaryChannelStartMigrationRequestBuilderInternal instantiates a new ItemPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewItemPrimaryChannelStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelStartMigrationRequestBuilder) { + m := &ItemPrimaryChannelStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/startMigration", pathParameters), + } + return m +} +// NewItemPrimaryChannelStartMigrationRequestBuilder instantiates a new ItemPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewItemPrimaryChannelStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemPrimaryChannelStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemPrimaryChannelStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *ItemPrimaryChannelStartMigrationRequestBuilder) Post(ctx context.Context, body ItemPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemPrimaryChannelStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *ItemPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemPrimaryChannelStartMigrationRequestBuilder when successful +func (m *ItemPrimaryChannelStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemPrimaryChannelStartMigrationRequestBuilder) { + return NewItemPrimaryChannelStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go index a072b8706e8..8c0f125ffff 100644 --- a/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_channels_channel_item_request_builder.go @@ -173,6 +173,11 @@ func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) RemoveEmail()(*Ite func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) SharedWithTeams()(*ItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) { return NewItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) StartMigration()(*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + return NewItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *ItemTeamDefinitionChannelsItemTabsRequestBuilder when successful func (m *ItemTeamDefinitionChannelsChannelItemRequestBuilder) Tabs()(*ItemTeamDefinitionChannelsItemTabsRequestBuilder) { diff --git a/teamtemplatedefinition/item_team_definition_channels_item_start_migration_post_request_body.go b/teamtemplatedefinition/item_team_definition_channels_item_start_migration_post_request_body.go new file mode 100644 index 00000000000..b9f5e75a645 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamtemplatedefinition + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamDefinitionChannelsItemStartMigrationPostRequestBody instantiates a new ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody and sets the default values. +func NewItemTeamDefinitionChannelsItemStartMigrationPostRequestBody()(*ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) { + m := &ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionChannelsItemStartMigrationPostRequestBody(), 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 *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) 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 *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) 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 *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/teamtemplatedefinition/item_team_definition_channels_item_start_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_channels_item_start_migration_request_builder.go new file mode 100644 index 00000000000..ca114e966da --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_channels_item_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal instantiates a new ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + m := &ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration", pathParameters), + } + return m +} +// NewItemTeamDefinitionChannelsItemStartMigrationRequestBuilder instantiates a new ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewItemTeamDefinitionChannelsItemStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder when successful +func (m *ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + return NewItemTeamDefinitionChannelsItemStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go index bc70ddb0d5a..5938e4dcae7 100644 --- a/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go +++ b/teamtemplatedefinition/item_team_definition_primary_channel_request_builder.go @@ -173,6 +173,11 @@ func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) RemoveEmail()(*ItemTeam func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) SharedWithTeams()(*ItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) { return NewItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) StartMigration()(*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *ItemTeamDefinitionPrimaryChannelTabsRequestBuilder when successful func (m *ItemTeamDefinitionPrimaryChannelRequestBuilder) Tabs()(*ItemTeamDefinitionPrimaryChannelTabsRequestBuilder) { diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_start_migration_post_request_body.go b/teamtemplatedefinition/item_team_definition_primary_channel_start_migration_post_request_body.go new file mode 100644 index 00000000000..0cf02cb58cf --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamtemplatedefinition + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody instantiates a new ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody and sets the default values. +func NewItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody()(*ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) { + m := &ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody(), 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 *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) 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 *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/teamtemplatedefinition/item_team_definition_primary_channel_start_migration_request_builder.go b/teamtemplatedefinition/item_team_definition_primary_channel_start_migration_request_builder.go new file mode 100644 index 00000000000..adf14dcce75 --- /dev/null +++ b/teamtemplatedefinition/item_team_definition_primary_channel_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamtemplatedefinition + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal instantiates a new ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + m := &ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamTemplateDefinition/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration", pathParameters), + } + return m +} +// NewItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder instantiates a new ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) Post(ctx context.Context, body ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder when successful +func (m *ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + return NewItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/77970f7c582231ab675a9f14f10abd2cede14a1e2424807899b313b680ca4101.go b/teamwork/77970f7c582231ab675a9f14f10abd2cede14a1e2424807899b313b680ca4101.go new file mode 100644 index 00000000000..7ef2f0fcfa3 --- /dev/null +++ b/teamwork/77970f7c582231ab675a9f14f10abd2cede14a1e2424807899b313b680ca4101.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody(), 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go index 3fbc075ef8c..fdaf665237b 100644 --- a/teamwork/deleted_teams_item_channels_channel_item_request_builder.go +++ b/teamwork/deleted_teams_item_channels_channel_item_request_builder.go @@ -173,6 +173,11 @@ func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) RemoveEmail()(*Delet func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) SharedWithTeams()(*DeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilder) { return NewDeletedTeamsItemChannelsItemSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *DeletedTeamsItemChannelsItemStartMigrationRequestBuilder when successful +func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) StartMigration()(*DeletedTeamsItemChannelsItemStartMigrationRequestBuilder) { + return NewDeletedTeamsItemChannelsItemStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *DeletedTeamsItemChannelsItemTabsRequestBuilder when successful func (m *DeletedTeamsItemChannelsChannelItemRequestBuilder) Tabs()(*DeletedTeamsItemChannelsItemTabsRequestBuilder) { diff --git a/teamwork/deleted_teams_item_channels_item_start_migration_post_request_body.go b/teamwork/deleted_teams_item_channels_item_start_migration_post_request_body.go new file mode 100644 index 00000000000..54d9cd8b92c --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type DeletedTeamsItemChannelsItemStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewDeletedTeamsItemChannelsItemStartMigrationPostRequestBody instantiates a new DeletedTeamsItemChannelsItemStartMigrationPostRequestBody and sets the default values. +func NewDeletedTeamsItemChannelsItemStartMigrationPostRequestBody()(*DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) { + m := &DeletedTeamsItemChannelsItemStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateDeletedTeamsItemChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeletedTeamsItemChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeletedTeamsItemChannelsItemStartMigrationPostRequestBody(), 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 *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) 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 *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) 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 *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *DeletedTeamsItemChannelsItemStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/teamwork/deleted_teams_item_channels_item_start_migration_request_builder.go b/teamwork/deleted_teams_item_channels_item_start_migration_request_builder.go new file mode 100644 index 00000000000..70c3e6c52a7 --- /dev/null +++ b/teamwork/deleted_teams_item_channels_item_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// DeletedTeamsItemChannelsItemStartMigrationRequestBuilder provides operations to call the startMigration method. +type DeletedTeamsItemChannelsItemStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewDeletedTeamsItemChannelsItemStartMigrationRequestBuilderInternal instantiates a new DeletedTeamsItemChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemStartMigrationRequestBuilder) { + m := &DeletedTeamsItemChannelsItemStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/startMigration", pathParameters), + } + return m +} +// NewDeletedTeamsItemChannelsItemStartMigrationRequestBuilder instantiates a new DeletedTeamsItemChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewDeletedTeamsItemChannelsItemStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*DeletedTeamsItemChannelsItemStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewDeletedTeamsItemChannelsItemStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *DeletedTeamsItemChannelsItemStartMigrationRequestBuilder) Post(ctx context.Context, body DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *DeletedTeamsItemChannelsItemStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body DeletedTeamsItemChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *DeletedTeamsItemChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(*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 *DeletedTeamsItemChannelsItemStartMigrationRequestBuilder when successful +func (m *DeletedTeamsItemChannelsItemStartMigrationRequestBuilder) WithUrl(rawUrl string)(*DeletedTeamsItemChannelsItemStartMigrationRequestBuilder) { + return NewDeletedTeamsItemChannelsItemStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go index 0e5f5f2c923..6ae78f8294e 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_channel_item_request_builder.go @@ -173,6 +173,11 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemReques func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) SharedWithTeams()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) StartMigration()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsChannelItemRequestBuilder) Tabs()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemTabsRequestBuilder) { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_start_migration_post_request_body.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_start_migration_post_request_body.go new file mode 100644 index 00000000000..998835d4a40 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody()(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody(), 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) 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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_channels_item_start_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_start_migration_request_builder.go new file mode 100644 index 00000000000..66be3021587 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_channels_item_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder provides operations to call the startMigration method. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/channels/{channel%2Did}/startMigration", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionChannelsItemStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go index afd2a5e9c17..933711dc760 100644 --- a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_request_builder.go @@ -173,6 +173,11 @@ func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuil func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) SharedWithTeams()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilder) { return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelSharedWithTeamsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) StartMigration()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.channel entity. // returns a *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder when successful func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelRequestBuilder) Tabs()(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelTabsRequestBuilder) { diff --git a/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_start_migration_request_builder.go b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_start_migration_request_builder.go new file mode 100644 index 00000000000..fc6b1578a10 --- /dev/null +++ b/teamwork/team_templates_item_definitions_item_team_definition_primary_channel_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package teamwork + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder provides operations to call the startMigration method. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + m := &TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/teamwork/teamTemplates/{teamTemplate%2Did}/definitions/{teamTemplateDefinition%2Did}/teamDefinition/primaryChannel/startMigration", pathParameters), + } + return m +} +// NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder instantiates a new TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder and sets the default values. +func NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// 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/channel-startmigration?view=graph-rest-beta +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) Post(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing channel. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. Users are also allowed to define a minimum timestamp for content to be migrated, allowing them to import messages from the past. The provided timestamp must be older than the current createdDateTime for a channel. The provided timestamp is used to replace the existing createdDateTime of the channel. This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationPostRequestBodyable, requestConfiguration *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilderPostRequestConfiguration)(*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 *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder when successful +func (m *TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) WithUrl(rawUrl string)(*TeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder) { + return NewTeamTemplatesItemDefinitionsItemTeamDefinitionPrimaryChannelStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/04c73c772562d8f7f9a2e4d7a7044dfbc9093b1f25289ab79dcbb6f38a54bd3a.go b/users/04c73c772562d8f7f9a2e4d7a7044dfbc9093b1f25289ab79dcbb6f38a54bd3a.go new file mode 100644 index 00000000000..241bcceb946 --- /dev/null +++ b/users/04c73c772562d8f7f9a2e4d7a7044dfbc9093b1f25289ab79dcbb6f38a54bd3a.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instantiates a new ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse()(*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) { + m := &ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallTranscriptFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallTranscriptable when successful +func (m *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) 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 *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallTranscriptable)() +} diff --git a/users/092e90d7619737d992c7966e068a244f5245fff7ad377bc60aa2e9d6960c511b.go b/users/092e90d7619737d992c7966e068a244f5245fff7ad377bc60aa2e9d6960c511b.go new file mode 100644 index 00000000000..2193e89a464 --- /dev/null +++ b/users/092e90d7619737d992c7966e068a244f5245fff7ad377bc60aa2e9d6960c511b.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse()(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWorkPlanOccurrenceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []WorkPlanOccurrenceable when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) 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 *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable)() +} diff --git a/users/373e376fec1be2647a22d0c6092b6aaa5b4adb07021aec1906ee0f77942b4449.go b/users/373e376fec1be2647a22d0c6092b6aaa5b4adb07021aec1906ee0f77942b4449.go new file mode 100644 index 00000000000..d3a7e11c56e --- /dev/null +++ b/users/373e376fec1be2647a22d0c6092b6aaa5b4adb07021aec1906ee0f77942b4449.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be "github.com/microsoftgraph/msgraph-beta-sdk-go/models" +) + +type ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse struct { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponse +} +// NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instantiates a new ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse and sets the default values. +func NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse()(*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) { + m := &ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse{ + BaseCollectionPaginationCountResponse: *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateCallRecordingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []CallRecordingable when successful +func (m *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) 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 *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse) SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable interface { + ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable) + SetValue(value []ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CallRecordingable)() +} diff --git a/users/4045882f5310e3bbdefe281f8fef00657f52095aeedca4e2989b46396dda063d.go b/users/4045882f5310e3bbdefe281f8fef00657f52095aeedca4e2989b46396dda063d.go new file mode 100644 index 00000000000..417c69925ce --- /dev/null +++ b/users/4045882f5310e3bbdefe281f8fef00657f52095aeedca4e2989b46396dda063d.go @@ -0,0 +1,123 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the getAllTranscripts method. +type ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getAllTranscripts +type ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Usage: endDateTime=@endDateTime + EndDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"endDateTime"` + // 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"` + // Usage: startDateTime=@startDateTime + StartDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"startDateTime"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` + // Usage: userId='@userId' + UserId *string `uriparametername:"userId"` +} +// ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/getAllTranscripts(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters), + } + return m +} +// NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function getAllTranscripts +// Deprecated: This method is obsolete. Use GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable, 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, CreateItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse invoke function getAllTranscripts +// returns a ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable, 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, CreateItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation invoke function getAllTranscripts +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*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 *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/8a34ca337b4b2ef232b68a9aae8ad85c039ff6788a7f4fe49912a2c09d71112e.go b/users/8a34ca337b4b2ef232b68a9aae8ad85c039ff6788a7f4fe49912a2c09d71112e.go new file mode 100644 index 00000000000..540cee00afb --- /dev/null +++ b/users/8a34ca337b4b2ef232b68a9aae8ad85c039ff6788a7f4fe49912a2c09d71112e.go @@ -0,0 +1,123 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the getAllRecordings method. +type ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters invoke function getAllRecordings +type ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters struct { + // Include count of items + Count *bool `uriparametername:"%24count"` + // Usage: endDateTime=@endDateTime + EndDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"endDateTime"` + // 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"` + // Usage: startDateTime=@startDateTime + StartDateTime *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"startDateTime"` + // Show only the first n items + Top *int32 `uriparametername:"%24top"` + // Usage: userId='@userId' + UserId *string `uriparametername:"userId"` +} +// ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/adhocCalls/getAllRecordings(userId='@userId',startDateTime=@startDateTime,endDateTime=@endDateTime){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top,endDateTime*,startDateTime*,userId*}", pathParameters), + } + return m +} +// NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function getAllRecordings +// Deprecated: This method is obsolete. Use GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable, 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, CreateItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse invoke function getAllRecordings +// returns a ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable, 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, CreateItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation invoke function getAllRecordings +// returns a *RequestInformation when successful +func (m *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*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 *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/8b0aaf99e5bad865513e9d25f9a61770c1e7768d39012046f7324274d2ed73c6.go b/users/8b0aaf99e5bad865513e9d25f9a61770c1e7768d39012046f7324274d2ed73c6.go new file mode 100644 index 00000000000..fc108b38364 --- /dev/null +++ b/users/8b0aaf99e5bad865513e9d25f9a61770c1e7768d39012046f7324274d2ed73c6.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse struct { + ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse()(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse{ + ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse: *NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable interface { + ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/users/ec60ae41866c70634c76e050f19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go b/users/ec60ae41866c70634c76e050f19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go new file mode 100644 index 00000000000..02a08765d24 --- /dev/null +++ b/users/ec60ae41866c70634c76e050f19ed19d9b4dd5654c45db6b4eab7de4dbdf4921.go @@ -0,0 +1,128 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder provides operations to call the occurrencesView method. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters 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"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetQueryParameters +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, endDateTime *string, startDateTime *string)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + if endDateTime != nil { + m.BaseRequestBuilder.PathParameters["endDateTime"] = *endDateTime + } + if startDateTime != nil { + m.BaseRequestBuilder.PathParameters["startDateTime"] = *startDateTime + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal(urlParams, requestAdapter, nil, nil) +} +// Get get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +// Deprecated: This method is obsolete. Use GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse instead. +// returns a ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable 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/workhoursandlocationssetting-occurrencesview?view=graph-rest-beta +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable, 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, CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeResponseable), nil +} +// GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +// returns a ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable 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/workhoursandlocationssetting-occurrencesview?view=graph-rest-beta +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) GetAsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable, 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, CreateItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeGetResponseable), nil +} +// ToGetRequestInformation get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderGetRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_response.go b/users/item_adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_response.go new file mode 100644 index 00000000000..c4471a12b50 --- /dev/null +++ b/users/item_adhoc_calls_get_all_recordingsuser_id_user_id_with_start_date_time_with_end_date_time_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse struct { + ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +} +// NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse instantiates a new ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse()(*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse) { + m := &ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse{ + ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse: *NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable interface { + ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/users/item_adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_response.go b/users/item_adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_response.go new file mode 100644 index 00000000000..0668bf54838 --- /dev/null +++ b/users/item_adhoc_calls_get_all_transcriptsuser_id_user_id_with_start_date_time_with_end_date_time_response.go @@ -0,0 +1,30 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse struct { + ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse +} +// NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse instantiates a new ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse and sets the default values. +func NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse()(*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse) { + m := &ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse{ + ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse: *NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponse(), + } + return m +} +// CreateItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable instead. +type ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeResponseable interface { + ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/users/item_adhoc_calls_request_builder.go b/users/item_adhoc_calls_request_builder.go index 73ffbada212..71a6755c070 100644 --- a/users/item_adhoc_calls_request_builder.go +++ b/users/item_adhoc_calls_request_builder.go @@ -99,6 +99,16 @@ func (m *ItemAdhocCallsRequestBuilder) Get(ctx context.Context, requestConfigura } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.AdhocCallCollectionResponseable), nil } +// GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime provides operations to call the getAllRecordings method. +// returns a *ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemAdhocCallsRequestBuilder) GetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTime()(*ItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemAdhocCallsGetAllRecordingsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime provides operations to call the getAllTranscripts method. +// returns a *ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemAdhocCallsRequestBuilder) GetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTime()(*ItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemAdhocCallsGetAllTranscriptsuserIdUserIdWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Post create new navigation property to adhocCalls for users // returns a AdhocCallable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/users/item_chats_chat_item_request_builder.go b/users/item_chats_chat_item_request_builder.go index 7fdba392100..0a43e429551 100644 --- a/users/item_chats_chat_item_request_builder.go +++ b/users/item_chats_chat_item_request_builder.go @@ -181,6 +181,11 @@ func (m *ItemChatsChatItemRequestBuilder) RemoveAllAccessForUser()(*ItemChatsIte func (m *ItemChatsChatItemRequestBuilder) SendActivityNotification()(*ItemChatsItemSendActivityNotificationRequestBuilder) { return NewItemChatsItemSendActivityNotificationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// StartMigration provides operations to call the startMigration method. +// returns a *ItemChatsItemStartMigrationRequestBuilder when successful +func (m *ItemChatsChatItemRequestBuilder) StartMigration()(*ItemChatsItemStartMigrationRequestBuilder) { + return NewItemChatsItemStartMigrationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Tabs provides operations to manage the tabs property of the microsoft.graph.chat entity. // returns a *ItemChatsItemTabsRequestBuilder when successful func (m *ItemChatsChatItemRequestBuilder) Tabs()(*ItemChatsItemTabsRequestBuilder) { diff --git a/users/item_chats_item_start_migration_post_request_body.go b/users/item_chats_item_start_migration_post_request_body.go new file mode 100644 index 00000000000..a50361d0c3f --- /dev/null +++ b/users/item_chats_item_start_migration_post_request_body.go @@ -0,0 +1,117 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemStartMigrationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemStartMigrationPostRequestBody instantiates a new ItemChatsItemStartMigrationPostRequestBody and sets the default values. +func NewItemChatsItemStartMigrationPostRequestBody()(*ItemChatsItemStartMigrationPostRequestBody) { + m := &ItemChatsItemStartMigrationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemStartMigrationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemStartMigrationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemStartMigrationPostRequestBody(), 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 *ItemChatsItemStartMigrationPostRequestBody) 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 *ItemChatsItemStartMigrationPostRequestBody) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetConversationCreationDateTime gets the conversationCreationDateTime property value. The conversationCreationDateTime property +// returns a *Time when successful +func (m *ItemChatsItemStartMigrationPostRequestBody) GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("conversationCreationDateTime") + 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 *ItemChatsItemStartMigrationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["conversationCreationDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetConversationCreationDateTime(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *ItemChatsItemStartMigrationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteTimeValue("conversationCreationDateTime", m.GetConversationCreationDateTime()) + 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 *ItemChatsItemStartMigrationPostRequestBody) 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 *ItemChatsItemStartMigrationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetConversationCreationDateTime sets the conversationCreationDateTime property value. The conversationCreationDateTime property +func (m *ItemChatsItemStartMigrationPostRequestBody) SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("conversationCreationDateTime", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemStartMigrationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetConversationCreationDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetConversationCreationDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() +} diff --git a/users/item_chats_item_start_migration_request_builder.go b/users/item_chats_item_start_migration_request_builder.go new file mode 100644 index 00000000000..4cc61653e76 --- /dev/null +++ b/users/item_chats_item_start_migration_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemChatsItemStartMigrationRequestBuilder provides operations to call the startMigration method. +type ItemChatsItemStartMigrationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemStartMigrationRequestBuilderInternal instantiates a new ItemChatsItemStartMigrationRequestBuilder and sets the default values. +func NewItemChatsItemStartMigrationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemStartMigrationRequestBuilder) { + m := &ItemChatsItemStartMigrationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/startMigration", pathParameters), + } + return m +} +// NewItemChatsItemStartMigrationRequestBuilder instantiates a new ItemChatsItemStartMigrationRequestBuilder and sets the default values. +func NewItemChatsItemStartMigrationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemStartMigrationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemStartMigrationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. +// 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/chat-startmigration?view=graph-rest-beta +func (m *ItemChatsItemStartMigrationRequestBuilder) Post(ctx context.Context, body ItemChatsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration)(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 start the migration of external messages by enabling migration mode in an existing chat. Import operations were limited to newly created standard channels that were in an empty state. For more information, see Import third-party platform messages to Teams using Microsoft Graph. You can define a minimum timestamp for content migration that enables the import of messages from the past. The specified timestamp must be earlier than the current createdDateTime of the chat. Imported content is always limited by the createdDateTime of the target thread. An optional createdDateTime property in the payload allows you to update this value, but with strict rules: This API supportes the following channel types. +// returns a *RequestInformation when successful +func (m *ItemChatsItemStartMigrationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemStartMigrationPostRequestBodyable, requestConfiguration *ItemChatsItemStartMigrationRequestBuilderPostRequestConfiguration)(*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 *ItemChatsItemStartMigrationRequestBuilder when successful +func (m *ItemChatsItemStartMigrationRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemStartMigrationRequestBuilder) { + return NewItemChatsItemStartMigrationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_presence_set_automatic_location_request_builder.go b/users/item_presence_set_automatic_location_request_builder.go index 9e98f474a3b..3e2b3c0ef7e 100644 --- a/users/item_presence_set_automatic_location_request_builder.go +++ b/users/item_presence_set_automatic_location_request_builder.go @@ -33,7 +33,7 @@ func NewItemPresenceSetAutomaticLocationRequestBuilder(rawUrl string, requestAda urlParams["request-raw-url"] = rawUrl return NewItemPresenceSetAutomaticLocationRequestBuilderInternal(urlParams, requestAdapter) } -// Post update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// Post update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *ItemPresenceSetAutomaticLocationRequestBuilder) Post(ctx context.Contex } return nil } -// ToPostRequestInformation update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network/location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. +// ToPostRequestInformation update the automatic work location for a user. The automatic layer participates in the standard precedence model: Use this operation from clients or services that automatically detect location (for example, Teams, network and location agents, or OEM docking apps). It doesn't clear manual or scheduled signals. // returns a *RequestInformation when successful func (m *ItemPresenceSetAutomaticLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPresenceSetAutomaticLocationPostRequestBodyable, requestConfiguration *ItemPresenceSetAutomaticLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_presence_set_manual_location_request_builder.go b/users/item_presence_set_manual_location_request_builder.go index 0315a8c919e..58cc5122422 100644 --- a/users/item_presence_set_manual_location_request_builder.go +++ b/users/item_presence_set_manual_location_request_builder.go @@ -33,7 +33,7 @@ func NewItemPresenceSetManualLocationRequestBuilder(rawUrl string, requestAdapte urlParams["request-raw-url"] = rawUrl return NewItemPresenceSetManualLocationRequestBuilderInternal(urlParams, requestAdapter) } -// Post set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. +// Post set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] // @@ -52,7 +52,7 @@ func (m *ItemPresenceSetManualLocationRequestBuilder) Post(ctx context.Context, } return nil } -// ToPostRequestInformation set the manual work location signal for a user. The explicit value chosen by a user (or an authorized client) overrides any automatically detected or scheduled working hours and location. +// ToPostRequestInformation set the manual work location signal for a user. The explicit value chosen by a user or an authorized client overrides any automatically detected or scheduled working hours and location. // returns a *RequestInformation when successful func (m *ItemPresenceSetManualLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPresenceSetManualLocationPostRequestBodyable, requestConfiguration *ItemPresenceSetManualLocationRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_settings_request_builder.go b/users/item_settings_request_builder.go index 8942c9f9ab1..e47b8a89d92 100644 --- a/users/item_settings_request_builder.go +++ b/users/item_settings_request_builder.go @@ -193,3 +193,8 @@ func (m *ItemSettingsRequestBuilder) Windows()(*ItemSettingsWindowsRequestBuilde func (m *ItemSettingsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsRequestBuilder) { return NewItemSettingsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } +// WorkHoursAndLocations provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. +// returns a *ItemSettingsWorkHoursAndLocationsRequestBuilder when successful +func (m *ItemSettingsRequestBuilder) WorkHoursAndLocations()(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/users/item_settings_work_hours_and_locations_occurrences_count_request_builder.go b/users/item_settings_work_hours_and_locations_occurrences_count_request_builder.go new file mode 100644 index 00000000000..c89bec7a190 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_occurrences_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder provides operations to count the resources in the collection. +type ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetQueryParameters +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal(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 *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderGetRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_work_hours_and_locations_occurrences_request_builder.go b/users/item_settings_work_hours_and_locations_occurrences_request_builder.go new file mode 100644 index 00000000000..e544f9b54a5 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_occurrences_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package 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" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters collection of work plan occurrences. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters 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"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWorkPlanOccurrenceId provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) ByWorkPlanOccurrenceId(workPlanOccurrenceId string)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if workPlanOccurrenceId != "" { + urlTplParams["workPlanOccurrence%2Did"] = workPlanOccurrenceId + } + return NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) Count()(*ItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get collection of work plan occurrences. +// returns a WorkPlanOccurrenceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceCollectionResponseable, 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.CreateWorkPlanOccurrenceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceCollectionResponseable), nil +} +// Post create new navigation property to occurrences for users +// returns a WorkPlanOccurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, 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.CreateWorkPlanOccurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable), nil +} +// SetCurrentLocation provides operations to call the setCurrentLocation method. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) SetCurrentLocation()(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation collection of work plan occurrences. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderGetRequestConfiguration)(*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 occurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderPostRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_work_hours_and_locations_occurrences_set_current_location_post_request_body.go b/users/item_settings_work_hours_and_locations_occurrences_set_current_location_post_request_body.go new file mode 100644 index 00000000000..dd63fba6ab6 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_occurrences_set_current_location_post_request_body.go @@ -0,0 +1,193 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +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 ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody()(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody(), 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 *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) 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 *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) 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 *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + res["updateScope"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseWorkLocationUpdateScope) + if err != nil { + return err + } + if val != nil { + m.SetUpdateScope(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope)) + } + return nil + } + res["workLocationType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.ParseWorkLocationType) + if err != nil { + return err + } + if val != nil { + m.SetWorkLocationType(val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType)) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetUpdateScope gets the updateScope property value. The updateScope property +// returns a *WorkLocationUpdateScope when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetUpdateScope()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope) { + val, err := m.GetBackingStore().Get("updateScope") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope) + } + return nil +} +// GetWorkLocationType gets the workLocationType property value. The workLocationType property +// returns a *WorkLocationType when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) GetWorkLocationType()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType) { + val, err := m.GetBackingStore().Get("workLocationType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetUpdateScope() != nil { + cast := (*m.GetUpdateScope()).String() + err := writer.WriteStringValue("updateScope", &cast) + if err != nil { + return err + } + } + if m.GetWorkLocationType() != nil { + cast := (*m.GetWorkLocationType()).String() + err := writer.WriteStringValue("workLocationType", &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 *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) 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 *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetUpdateScope sets the updateScope property value. The updateScope property +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetUpdateScope(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope)() { + err := m.GetBackingStore().Set("updateScope", value) + if err != nil { + panic(err) + } +} +// SetWorkLocationType sets the workLocationType property value. The workLocationType property +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBody) SetWorkLocationType(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType)() { + err := m.GetBackingStore().Set("workLocationType", value) + if err != nil { + panic(err) + } +} +type ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetPlaceId()(*string) + GetUpdateScope()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope) + GetWorkLocationType()(*ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetPlaceId(value *string)() + SetUpdateScope(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationUpdateScope)() + SetWorkLocationType(value *ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkLocationType)() +} diff --git a/users/item_settings_work_hours_and_locations_occurrences_set_current_location_request_builder.go b/users/item_settings_work_hours_and_locations_occurrences_set_current_location_request_builder.go new file mode 100644 index 00000000000..ef283af9889 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_occurrences_set_current_location_request_builder.go @@ -0,0 +1,74 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder provides operations to call the setCurrentLocation method. +type ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderInternal(urlParams, requestAdapter) +} +// Post update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. +// 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/workplanoccurrence-setcurrentlocation?view=graph-rest-beta +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) Post(ctx context.Context, body ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration)(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 update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationPostRequestBodyable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilderPostRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesSetCurrentLocationRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_work_hours_and_locations_occurrences_work_plan_occurrence_item_request_builder.go b/users/item_settings_work_hours_and_locations_occurrences_work_plan_occurrence_item_request_builder.go new file mode 100644 index 00000000000..4728a06e547 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_occurrences_work_plan_occurrence_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package 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" +) + +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters collection of work plan occurrences. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/{workPlanOccurrence%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property occurrences for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration)(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 work plan occurrences. +// returns a WorkPlanOccurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, 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.CreateWorkPlanOccurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable), nil +} +// Put update the navigation property occurrences in users +// returns a WorkPlanOccurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWorkPlanOccurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable), nil +} +// ToDeleteRequestInformation delete navigation property occurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderDeleteRequestConfiguration)(*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 work plan occurrences. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderGetRequestConfiguration)(*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 +} +// ToPutRequestInformation update the navigation property occurrences in users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanOccurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, 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 *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesWorkPlanOccurrenceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_work_hours_and_locations_recurrences_count_request_builder.go b/users/item_settings_work_hours_and_locations_recurrences_count_request_builder.go new file mode 100644 index 00000000000..881f61bfc93 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_recurrences_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package users + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459 "github.com/microsoftgraph/msgraph-beta-sdk-go/models/odataerrors" +) + +// ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder provides operations to count the resources in the collection. +type ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetQueryParameters +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal(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 *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderGetRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_work_hours_and_locations_recurrences_request_builder.go b/users/item_settings_work_hours_and_locations_recurrences_request_builder.go new file mode 100644 index 00000000000..da4a64b4b0f --- /dev/null +++ b/users/item_settings_work_hours_and_locations_recurrences_request_builder.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package 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" +) + +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters collection of recurring work plans defined by the user. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters 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"` +} +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWorkPlanRecurrenceId provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) ByWorkPlanRecurrenceId(workPlanRecurrenceId string)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if workPlanRecurrenceId != "" { + urlTplParams["workPlanRecurrence%2Did"] = workPlanRecurrenceId + } + return NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) Count()(*ItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get collection of recurring work plans defined by the user. +// returns a WorkPlanRecurrenceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceCollectionResponseable, 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.CreateWorkPlanRecurrenceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceCollectionResponseable), nil +} +// Post create new navigation property to recurrences for users +// returns a WorkPlanRecurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable, 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.CreateWorkPlanRecurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable), nil +} +// ToGetRequestInformation collection of recurring work plans defined by the user. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderGetRequestConfiguration)(*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 recurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderPostRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_work_hours_and_locations_recurrences_work_plan_recurrence_item_request_builder.go b/users/item_settings_work_hours_and_locations_recurrences_work_plan_recurrence_item_request_builder.go new file mode 100644 index 00000000000..4b689e62839 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_recurrences_work_plan_recurrence_item_request_builder.go @@ -0,0 +1,160 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package 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" +) + +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters collection of recurring work plans defined by the user. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/recurrences/{workPlanRecurrence%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property recurrences for users +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration)(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 recurring work plans defined by the user. +// returns a WorkPlanRecurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable, 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.CreateWorkPlanRecurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable), nil +} +// Put update the navigation property recurrences in users +// returns a WorkPlanRecurrenceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) Put(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable, error) { + requestInfo, err := m.ToPutRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": i20a3050780ee0b0cde0a884a4f35429a20d60067e3bcda382ec5400079147459.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.CreateWorkPlanRecurrenceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable), nil +} +// ToDeleteRequestInformation delete navigation property recurrences for users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderDeleteRequestConfiguration)(*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 recurring work plans defined by the user. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderGetRequestConfiguration)(*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 +} +// ToPutRequestInformation update the navigation property recurrences in users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkPlanRecurrenceable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilderPutRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, 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 *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesWorkPlanRecurrenceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_settings_work_hours_and_locations_request_builder.go b/users/item_settings_work_hours_and_locations_request_builder.go new file mode 100644 index 00000000000..cc2e822bca9 --- /dev/null +++ b/users/item_settings_work_hours_and_locations_request_builder.go @@ -0,0 +1,141 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +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" +) + +// ItemSettingsWorkHoursAndLocationsRequestBuilder provides operations to manage the workHoursAndLocations property of the microsoft.graph.userSettings entity. +type ItemSettingsWorkHoursAndLocationsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters the user's settings for work hours and location preferences for scheduling and availability management. +type ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemSettingsWorkHoursAndLocationsRequestBuilderGetQueryParameters +} +// ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal instantiates a new ItemSettingsWorkHoursAndLocationsRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + m := &ItemSettingsWorkHoursAndLocationsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemSettingsWorkHoursAndLocationsRequestBuilder instantiates a new ItemSettingsWorkHoursAndLocationsRequestBuilder and sets the default values. +func NewItemSettingsWorkHoursAndLocationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemSettingsWorkHoursAndLocationsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get the user's settings for work hours and location preferences for scheduling and availability management. +// returns a WorkHoursAndLocationsSettingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable, 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.CreateWorkHoursAndLocationsSettingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable), nil +} +// Occurrences provides operations to manage the occurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Occurrences()(*ItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// OccurrencesViewWithStartDateTimeWithEndDateTime provides operations to call the occurrencesView method. +// returns a *ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) OccurrencesViewWithStartDateTimeWithEndDateTime(endDateTime *string, startDateTime *string)(*ItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsOccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter, endDateTime, startDateTime) +} +// Patch update the navigation property workHoursAndLocations in users +// returns a WorkHoursAndLocationsSettingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable, 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.CreateWorkHoursAndLocationsSettingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable), nil +} +// Recurrences provides operations to manage the recurrences property of the microsoft.graph.workHoursAndLocationsSetting entity. +// returns a *ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) Recurrences()(*ItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRecurrencesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation the user's settings for work hours and location preferences for scheduling and availability management. +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderGetRequestConfiguration)(*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 workHoursAndLocations in users +// returns a *RequestInformation when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.WorkHoursAndLocationsSettingable, requestConfiguration *ItemSettingsWorkHoursAndLocationsRequestBuilderPatchRequestConfiguration)(*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 *ItemSettingsWorkHoursAndLocationsRequestBuilder when successful +func (m *ItemSettingsWorkHoursAndLocationsRequestBuilder) WithUrl(rawUrl string)(*ItemSettingsWorkHoursAndLocationsRequestBuilder) { + return NewItemSettingsWorkHoursAndLocationsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +}