diff --git a/chats/chat_item_request_builder.go b/chats/chat_item_request_builder.go index 9d99708c21..1a6646ee78 100644 --- a/chats/chat_item_request_builder.go +++ b/chats/chat_item_request_builder.go @@ -167,6 +167,11 @@ func (m *ChatItemRequestBuilder) PermissionGrants()(*ItemPermissionGrantsRequest func (m *ChatItemRequestBuilder) PinnedMessages()(*ItemPinnedMessagesRequestBuilder) { return NewItemPinnedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RemoveAllAccessForUser provides operations to call the removeAllAccessForUser method. +// returns a *ItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ChatItemRequestBuilder) RemoveAllAccessForUser()(*ItemRemoveAllAccessForUserRequestBuilder) { + return NewItemRemoveAllAccessForUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SendActivityNotification provides operations to call the sendActivityNotification method. // returns a *ItemSendActivityNotificationRequestBuilder when successful func (m *ChatItemRequestBuilder) SendActivityNotification()(*ItemSendActivityNotificationRequestBuilder) { diff --git a/chats/item_remove_all_access_for_user_post_request_body.go b/chats/item_remove_all_access_for_user_post_request_body.go new file mode 100644 index 0000000000..c4d2f79140 --- /dev/null +++ b/chats/item_remove_all_access_for_user_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 ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemRemoveAllAccessForUserPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemRemoveAllAccessForUserPostRequestBody instantiates a new ItemRemoveAllAccessForUserPostRequestBody and sets the default values. +func NewItemRemoveAllAccessForUserPostRequestBody()(*ItemRemoveAllAccessForUserPostRequestBody) { + m := &ItemRemoveAllAccessForUserPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemRemoveAllAccessForUserPostRequestBody(), 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 *ItemRemoveAllAccessForUserPostRequestBody) 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 *ItemRemoveAllAccessForUserPostRequestBody) 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 *ItemRemoveAllAccessForUserPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["user"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTeamworkUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUser(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)) + } + return nil + } + return res +} +// GetUser gets the user property value. The user property +// returns a TeamworkUserIdentityable when successful +func (m *ItemRemoveAllAccessForUserPostRequestBody) GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) { + val, err := m.GetBackingStore().Get("user") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemRemoveAllAccessForUserPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("user", m.GetUser()) + 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 *ItemRemoveAllAccessForUserPostRequestBody) 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 *ItemRemoveAllAccessForUserPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetUser sets the user property value. The user property +func (m *ItemRemoveAllAccessForUserPostRequestBody) SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() { + err := m.GetBackingStore().Set("user", value) + if err != nil { + panic(err) + } +} +type ItemRemoveAllAccessForUserPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() +} diff --git a/chats/item_remove_all_access_for_user_request_builder.go b/chats/item_remove_all_access_for_user_request_builder.go new file mode 100644 index 0000000000..4649cb3ec0 --- /dev/null +++ b/chats/item_remove_all_access_for_user_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" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemRemoveAllAccessForUserRequestBuilder provides operations to call the removeAllAccessForUser method. +type ItemRemoveAllAccessForUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemRemoveAllAccessForUserRequestBuilderInternal instantiates a new ItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemRemoveAllAccessForUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRemoveAllAccessForUserRequestBuilder) { + m := &ItemRemoveAllAccessForUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/chats/{chat%2Did}/removeAllAccessForUser", pathParameters), + } + return m +} +// NewItemRemoveAllAccessForUserRequestBuilder instantiates a new ItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemRemoveAllAccessForUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemRemoveAllAccessForUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemRemoveAllAccessForUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove access to a chat for a user. +// 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-removeallaccessforuser?view=graph-rest-1.0 +func (m *ItemRemoveAllAccessForUserRequestBuilder) Post(ctx context.Context, body ItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation remove access to a chat for a user. +// returns a *RequestInformation when successful +func (m *ItemRemoveAllAccessForUserRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(*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 *ItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ItemRemoveAllAccessForUserRequestBuilder) WithUrl(rawUrl string)(*ItemRemoveAllAccessForUserRequestBuilder) { + return NewItemRemoveAllAccessForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/drives/item_items_item_retention_label_request_builder.go b/drives/item_items_item_retention_label_request_builder.go index 1a020c9564..9702a6340b 100644 --- a/drives/item_items_item_retention_label_request_builder.go +++ b/drives/item_items_item_retention_label_request_builder.go @@ -21,7 +21,7 @@ type ItemItemsItemRetentionLabelRequestBuilderDeleteRequestConfiguration struct // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters information about retention label and settings enforced on the driveItem. Read-write. +// ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. type ItemItemsItemRetentionLabelRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` @@ -76,9 +76,12 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) Delete(ctx context.Context, } return nil } -// Get information about retention label and settings enforced on the driveItem. Read-write. +// Get get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a ItemRetentionLabelable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/driveitem-getretentionlabel?view=graph-rest-1.0 func (m *ItemItemsItemRetentionLabelRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ItemRetentionLabelable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -130,7 +133,7 @@ func (m *ItemItemsItemRetentionLabelRequestBuilder) ToDeleteRequestInformation(c requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation information about retention label and settings enforced on the driveItem. Read-write. +// ToGetRequestInformation get metadata information for a retention label applied on a driveItem. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. // returns a *RequestInformation when successful func (m *ItemItemsItemRetentionLabelRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemItemsItemRetentionLabelRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/kiota-dom-export.txt b/kiota-dom-export.txt index 0f9696d672..83839220e0 100644 --- a/kiota-dom-export.txt +++ b/kiota-dom-export.txt @@ -4669,6 +4669,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public| github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|permissionGrants():*ItemPermissionGrantsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|pinnedMessages():*ItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|removeAllAccessForUser():*ItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|sendActivityNotification():*ItemSendActivityNotificationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ChatItemRequestBuilder::|public|tabs():*ItemTabsRequestBuilder @@ -5828,6 +5829,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PinnedChatMessageInfoable; ctx:context.Context; requestConfiguration?:*ItemPinnedMessagesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemPinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserPostRequestBody~~>ItemRemoveAllAccessForUserPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder.ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder.ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|Post(body:ItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:ItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemRemoveAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):*ItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.chats.ItemSendActivityNotificationPostRequestBody::|public|GetAdditionalData():map[string]any @@ -124116,6 +124144,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicenseable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicenseable::|public|SetSkuId(value:*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID):void github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicenseable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.assignedLicense~~>AssignedLicenseable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode-->*PlaceMode +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|GetAssignedUserEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|GetAssignedUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|SetAssignedUserEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|public|SetAssignedUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|GetAssignedUserEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|GetAssignedUserId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|SetAssignedUserEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable::|public|SetAssignedUserId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlaceModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlan::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlan::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.assignedPlan::|public|GetAssignedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -126852,6 +126895,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable::|public|Se github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable::|public|SetLastModifiedDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable::|public|SetPublication(value:PublicationFacetable):void github.com/microsoftgraph/msgraph-sdk-go/.models.baseItemVersionable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|GetProperties():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|public|SetProperties(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeature::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeatureable::|public|GetProperties():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeatureable::|public|SetProperties(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.baseMapFeatureable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.baseSitePage-->*BaseItem github.com/microsoftgraph/msgraph-sdk-go/.models.baseSitePage::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.baseSitePage::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -128373,6 +128427,50 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty:: github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty::0001-keyAsString github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty::0002-keyAsNumber github.com/microsoftgraph/msgraph-sdk-go/.models.bucketAggregationSortProperty::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.building-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|GetMapEscaped():BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|GetResourceLinks():[]ResourceLinkable +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|SetMapEscaped(value:BuildingMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|public|SetResourceLinks(value:[]ResourceLinkable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.building::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|GetMapEscaped():BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|GetResourceLinks():[]ResourceLinkable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|SetMapEscaped(value:BuildingMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable::|public|SetResourceLinks(value:[]ResourceLinkable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|GetValue():[]Buildingable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|public|SetValue(value:[]Buildingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponseable::|public|GetValue():[]Buildingable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponseable::|public|SetValue(value:[]Buildingable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|GetFootprints():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|GetLevels():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|SetFootprints(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|SetLevels(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|GetFootprints():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|GetLevels():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|SetFootprints(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|SetLevels(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.buildingMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.builtInIdentityProvider-->*IdentityProviderBase github.com/microsoftgraph/msgraph-sdk-go/.models.builtInIdentityProvider::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.builtInIdentityProvider::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -133320,10 +133418,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsEncryptedIdentity github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsEncryptedIdentityable~~>Identityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity-->*Identity github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|GetEmail():*string github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|public|SetEmail(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentity::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentityable::|public|GetEmail():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentityable::|public|SetEmail(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsGuestIdentityable~~>Identityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsIdentitySet-->*IdentitySet github.com/microsoftgraph/msgraph-sdk-go/.models.communicationsIdentitySet::|public|constructor():void @@ -135195,6 +135297,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSetting::|static|pu github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable::|public|GetLimitedMode():CopilotAdminLimitedModeable github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable::|public|SetLimitedMode(value:CopilotAdminLimitedModeable):void github.com/microsoftgraph/msgraph-sdk-go/.models.copilotAdminSettingable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRoot::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.copilotReportRootable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.CopyNotebookModel::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.CopyNotebookModel::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.CopyNotebookModel::|public|GetBackingStore():BackingStore @@ -136863,6 +136972,35 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable::|public| github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable::|public|SetParticipants(value:[]Participantable):void github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable::|public|SetSequenceNumber(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.deltaParticipantsable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.desk-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|GetMailboxDetails():MailboxDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|SetMailboxDetails(value:MailboxDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.desk::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|GetMailboxDetails():MailboxDetailsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|SetMailboxDetails(value:MailboxDetailsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|GetValue():[]Deskable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|public|SetValue(value:[]Deskable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponseable::|public|GetValue():[]Deskable +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponseable::|public|SetValue(value:[]Deskable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.deskCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.destinationType::0000-new github.com/microsoftgraph/msgraph-sdk-go/.models.destinationType::0001-inPlace github.com/microsoftgraph/msgraph-sdk-go/.models.destinationType::0002-unknownFutureValue @@ -141033,6 +141171,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditi github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditionRequestCollectionResponseable::|public|GetValue():[]DriveRestoreArtifactsBulkAdditionRequestable github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditionRequestCollectionResponseable::|public|SetValue(value:[]DriveRestoreArtifactsBulkAdditionRequestable):void github.com/microsoftgraph/msgraph-sdk-go/.models.driveRestoreArtifactsBulkAdditionRequestCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode-->*PlaceMode +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.dropInPlaceModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.eBookInstallSummary-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.eBookInstallSummary::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.eBookInstallSummary::|public|GetFailedDeviceCount():*int32 @@ -145704,6 +145849,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|G github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetDrive():Driveable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetLockState():*SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetMigrationJobs():[]SharePointMigrationJobable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetPermissions():[]Permissionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|GetSettings():FileStorageContainerSettingsable @@ -145719,6 +145865,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|S github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetDrive(value:Driveable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetLockState(value:*SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetMigrationJobs(value:[]SharePointMigrationJobable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetPermissions(value:[]Permissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainer::|public|SetSettings(value:FileStorageContainerSettingsable):void @@ -145733,6 +145880,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetDrive():Driveable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetLockState():*SiteLockState +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetMigrationJobs():[]SharePointMigrationJobable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetPermissions():[]Permissionable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetRecycleBin():RecycleBinable github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|GetSettings():FileStorageContainerSettingsable @@ -145746,6 +145894,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|publ github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetDrive(value:Driveable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetLockState(value:*SiteLockState):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetMigrationJobs(value:[]SharePointMigrationJobable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetPermissions(value:[]Permissionable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetRecycleBin(value:RecycleBinable):void github.com/microsoftgraph/msgraph-sdk-go/.models.fileStorageContainerable::|public|SetSettings(value:FileStorageContainerSettingsable):void @@ -145992,6 +146141,48 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPacketQueueingMethodTyp github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPreSharedKeyEncodingMethodType::0000-deviceDefault github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPreSharedKeyEncodingMethodType::0001-none github.com/microsoftgraph/msgraph-sdk-go/.models.firewallPreSharedKeyEncodingMethodType::0002-utF8 +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|GetValue():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|public|SetValue(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponseable::|public|GetValue():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponseable::|public|SetValue(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.fixtureMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.floor-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|GetSortOrder():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|public|SetSortOrder(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floor::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorable::|public|GetSortOrder():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.floorable::|public|SetSortOrder(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|GetValue():[]Floorable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|public|SetValue(value:[]Floorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponseable::|public|GetValue():[]Floorable +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponseable::|public|SetValue(value:[]Floorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.floorCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.folder::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.folder::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.folder::|public|GetBackingStore():BackingStore @@ -146079,6 +146270,23 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlagStatus::0000-notFla github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlagStatus::0001-complete github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlagStatus::0002-flagged github.com/microsoftgraph/msgraph-sdk-go/.models.followupFlag~~>FollowupFlagable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|GetValue():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|public|SetValue(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponseable::|public|GetValue():[]FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponseable::|public|SetValue(value:[]FootprintMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.footprintMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.fraudProtectionConfiguration::|public|GetBackingStore():BackingStore @@ -147863,6 +148071,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttri github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttributeable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttributeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.triggerAttribute~~>TriggerAttributeable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger-->*WorkflowExecutionTrigger +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|GetInactivityPeriodInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|public|SetInactivityPeriodInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTrigger::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTriggerable::|public|GetInactivityPeriodInDays():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTriggerable::|public|SetInactivityPeriodInDays(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userInactivityTriggerable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; WorkflowExecutionTriggerable github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.identitygovernance.userProcessingResult::|public|GetCompletedDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time @@ -151700,6 +151919,39 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.level::0000-beginner github.com/microsoftgraph/msgraph-sdk-go/.models.level::0001-intermediate github.com/microsoftgraph/msgraph-sdk-go/.models.level::0002-advanced github.com/microsoftgraph/msgraph-sdk-go/.models.level::0003-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetFixtures():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetSections():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|GetUnits():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetFixtures(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetSections(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|public|SetUnits(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetFixtures():[]FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetSections():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|GetUnits():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetFixtures(value:[]FixtureMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetSections(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable::|public|SetUnits(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|GetValue():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|public|SetValue(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponseable::|public|GetValue():[]LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponseable::|public|SetValue(value:[]LevelMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.levelMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.licenseAssignmentState::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.licenseAssignmentState::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.licenseAssignmentState::|public|GetAssignedByGroup():*string @@ -152899,6 +153151,30 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable::|pub github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable::|public|SetMessageUri(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable::|public|SetRecipientEmail(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.mailAssessmentRequestable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; ThreatAssessmentRequestable +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetExternalDirectoryObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetExternalDirectoryObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetExternalDirectoryObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetExternalDirectoryObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetailsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxDetails~~>MailboxDetailsable github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxProtectionRule-->*ProtectionRuleBase github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxProtectionRule::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.mailboxProtectionRule::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -161530,26 +161806,58 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetCheckIns():[] github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetGeoCoordinates():OutlookGeoCoordinatesable +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetIsWheelChairAccessible():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetLabel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetParentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetPhone():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|GetTags():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetAddress(value:PhysicalAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetCheckIns(value:[]CheckInClaimable):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetGeoCoordinates(value:OutlookGeoCoordinatesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetIsWheelChairAccessible(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetLabel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetParentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetPhone(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.place::|public|SetTags(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.place::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetAddress():PhysicalAddressable github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetCheckIns():[]CheckInClaimable github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetDisplayName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetGeoCoordinates():OutlookGeoCoordinatesable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetIsWheelChairAccessible():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetLabel():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetParentId():*string github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetPhone():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|GetTags():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetAddress(value:PhysicalAddressable):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetCheckIns(value:[]CheckInClaimable):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetDisplayName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetGeoCoordinates(value:OutlookGeoCoordinatesable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetIsWheelChairAccessible(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetLabel(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetParentId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetPhone(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeable::|public|SetTags(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.placeable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.placeModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.placeMode~~>PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.planner-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.planner::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.planner::|public|GetBuckets():[]PlannerBucketable @@ -167821,6 +168129,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelations github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelationshipable::|public|SetIndirectProviderTenantId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelationshipable::|public|SetIsPartnerConsentPending(value:*bool):void github.com/microsoftgraph/msgraph-sdk-go/.models.resellerDelegatedAdminRelationshipable~~>DelegatedAdminRelationshipable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode-->*PlaceMode +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceMode::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.reservablePlaceModeable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; PlaceModeable github.com/microsoftgraph/msgraph-sdk-go/.models.resetPasscodeActionResult-->*DeviceActionResult github.com/microsoftgraph/msgraph-sdk-go/.models.resetPasscodeActionResult::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.resetPasscodeActionResult::|public|GetErrorCode():*int32 @@ -167884,6 +168199,36 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.resourceActionable::|public|Set github.com/microsoftgraph/msgraph-sdk-go/.models.resourceActionable::|public|SetOdataType(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.resourceActionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.resourceAction~~>ResourceActionable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetLinkType():*ResourceLinkType +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetLinkType(value:*ResourceLinkType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetLinkType():*ResourceLinkType +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|GetValue():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetLinkType(value:*ResourceLinkType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable::|public|SetValue(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkType::0000-url +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLinkType::0001-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.resourceLink~~>ResourceLinkable github.com/microsoftgraph/msgraph-sdk-go/.models.resourceOperation-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.resourceOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.resourceOperation::|public|GetActionName():*string @@ -169143,10 +169488,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetEmailAddress() github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetFloorLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetFloorNumber():*int32 -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetIsWheelChairAccessible():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetNickname():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetTags():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|GetVideoDeviceName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|Serialize(writer:SerializationWriter):void @@ -169158,10 +169500,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetDisplayDeviceN github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetFloorLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetFloorNumber(value:*int32):void -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetIsWheelChairAccessible(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetNickname(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetTags(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|public|SetVideoDeviceName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.room::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetAudioDeviceName():*string @@ -169172,10 +169511,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetDisplayDev github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetEmailAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetFloorLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetFloorNumber():*int32 -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetIsWheelChairAccessible():*bool -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetLabel():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetNickname():*string -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetTags():[]string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|GetVideoDeviceName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetAudioDeviceName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetBookingType(value:*BookingType):void @@ -169185,10 +169521,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetDisplayDev github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetFloorLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetFloorNumber(value:*int32):void -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetIsWheelChairAccessible(value:*bool):void -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetLabel(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetNickname(value:*string):void -github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetTags(value:[]string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable::|public|SetVideoDeviceName(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable github.com/microsoftgraph/msgraph-sdk-go/.models.roomCollectionResponse-->*BaseCollectionPaginationCountResponse @@ -169206,15 +169539,19 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|constructor() github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|GetEmailAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|GetRooms():[]Roomable +github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|GetWorkspaces():[]Workspaceable github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|SetRooms(value:[]Roomable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|public|SetWorkspaces(value:[]Workspaceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomList::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|GetEmailAddress():*string github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|GetRooms():[]Roomable +github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|GetWorkspaces():[]Workspaceable github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|SetEmailAddress(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|SetRooms(value:[]Roomable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable::|public|SetWorkspaces(value:[]Workspaceable):void github.com/microsoftgraph/msgraph-sdk-go/.models.roomListable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable github.com/microsoftgraph/msgraph-sdk-go/.models.roomListCollectionResponse-->*BaseCollectionPaginationCountResponse github.com/microsoftgraph/msgraph-sdk-go/.models.roomListCollectionResponse::|public|constructor():void @@ -170525,6 +170862,23 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.searchResultable::|public|SetOd github.com/microsoftgraph/msgraph-sdk-go/.models.searchResultable::|public|SetOnClickTelemetryUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.searchResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.searchResult~~>SearchResultable +github.com/microsoftgraph/msgraph-sdk-go/.models.section-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.section::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|GetValue():[]Sectionable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|public|SetValue(value:[]Sectionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponseable::|public|GetValue():[]Sectionable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponseable::|public|SetValue(value:[]Sectionable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sectionEmphasisType::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.sectionEmphasisType::0001-neutral github.com/microsoftgraph/msgraph-sdk-go/.models.sectionEmphasisType::0002-soft @@ -170595,6 +170949,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinksable::|public|SetOn github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinksable::|public|SetOneNoteWebUrl(value:ExternalLinkable):void github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinksable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sectionLinks~~>SectionLinksable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|GetValue():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|public|SetValue(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponseable::|public|GetValue():[]SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponseable::|public|SetValue(value:[]SectionMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sectionMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.secureScore-->*Entity github.com/microsoftgraph/msgraph-sdk-go/.models.secureScore::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.secureScore::|public|GetActiveUserCount():*int32 @@ -170789,6 +171164,41 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.secureSignInSessionControl::|pu github.com/microsoftgraph/msgraph-sdk-go/.models.secureSignInSessionControl::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.secureSignInSessionControlable~~>ConditionalAccessSessionControlable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetActions():[]Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetActions(value:[]Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetActions():[]Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetActions(value:[]Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.accountable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.account~~>Accountable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0000-disable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0001-enable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0002-forcePasswordReset +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0003-revokeAllSessions +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0004-requireUserToSignInAgain +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0005-markUserAsCompromised +github.com/microsoftgraph/msgraph-sdk-go/.models.security.action::0006-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0000-none github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0001-delete github.com/microsoftgraph/msgraph-sdk-go/.models.security.actionAfterRetentionPeriod::0002-startDispositionReview @@ -170818,6 +171228,34 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::001 github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0012-friendlyName github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0013-splitSource github.com/microsoftgraph/msgraph-sdk-go/.models.security.additionalOptions::0014-includeReport +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence-->*AlertEvidence +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetAgentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetAgentName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetHostingPlatformType():*AiAgentPlatform +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|GetInstructions():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetAgentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetAgentName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetHostingPlatformType(value:*AiAgentPlatform):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|public|SetInstructions(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidence::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetAgentId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetAgentName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetHostingPlatformType():*AiAgentPlatform +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|GetInstructions():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetAgentId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetAgentName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetHostingPlatformType(value:*AiAgentPlatform):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable::|public|SetInstructions(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0000-unknown +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0001-azureAIFoundry +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0002-copilotStudio +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0003-copilot +github.com/microsoftgraph/msgraph-sdk-go/.models.security.aiAgentPlatform::0004-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.alert::|public|GetActorDisplayName():*string @@ -173892,29 +174330,78 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlinkable::|public github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlinkable::|public|SetUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlinkable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.hyperlink~~>Hyperlinkable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetAccounts():[]Accountable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetCloudSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetAccounts(value:[]Accountable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetCloudSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccounts::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetAccounts():[]Accountable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetCloudSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetDisplayName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetDomain():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetIsEnabled():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|GetOnPremisesSecurityIdentifier():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetAccounts(value:[]Accountable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetCloudSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetDisplayName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetDomain(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetIsEnabled(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable::|public|SetOnPremisesSecurityIdentifier(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|GetValue():[]IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|public|SetValue(value:[]IdentityAccountsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponseable::|public|GetValue():[]IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponseable::|public|SetValue(value:[]IdentityAccountsable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityAccountsCollectionResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetIdentityAccounts():[]IdentityAccountsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetSensorCandidateActivationConfiguration():SensorCandidateActivationConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetSensorCandidates():[]SensorCandidateable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|GetSensors():[]Sensorable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|OdataType:*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetIdentityAccounts(value:[]IdentityAccountsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetSensorCandidateActivationConfiguration(value:SensorCandidateActivationConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetSensorCandidates(value:[]SensorCandidateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|public|SetSensors(value:[]Sensorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainer::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetHealthIssues():[]HealthIssueable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetIdentityAccounts():[]IdentityAccountsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetSensorCandidateActivationConfiguration():SensorCandidateActivationConfigurationable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetSensorCandidates():[]SensorCandidateable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|GetSensors():[]Sensorable github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetHealthIssues(value:[]HealthIssueable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetIdentityAccounts(value:[]IdentityAccountsable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetSensorCandidateActivationConfiguration(value:SensorCandidateActivationConfigurationable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetSensorCandidates(value:[]SensorCandidateable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable::|public|SetSensors(value:[]Sensorable):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityContainerable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0000-entraID +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0001-activeDirectory +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0002-okta +github.com/microsoftgraph/msgraph-sdk-go/.models.security.identityProvider::0003-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.incident::|public|GetAlerts():[]Alertable @@ -174161,6 +174648,38 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::00 github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0016-terminatedByUser github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0017-terminatedBySystem github.com/microsoftgraph/msgraph-sdk-go/.models.security.investigationState::0018-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetAction():*Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetAction(value:*Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetAction():*Action +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetIdentityProvider():*IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetAction(value:*Action):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetIdentityProvider(value:*IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResultable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.invokeActionResult~~>InvokeActionResultable github.com/microsoftgraph/msgraph-sdk-go/.models.security.ioTDeviceEvidence-->*AlertEvidence github.com/microsoftgraph/msgraph-sdk-go/.models.security.ioTDeviceEvidence::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.ioTDeviceEvidence::|public|GetDeviceId():*string @@ -176259,6 +176778,21 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidence::|static|p github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable::|public|GetUrl():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable::|public|SetUrl(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.security.urlEvidenceable~~>AlertEvidenceable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user-->*IdentityAccounts +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|GetUserPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|public|SetUserPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.user::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|GetUserPrincipalName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable::|public|SetUserPrincipalName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.security.userable~~>IdentityAccountsable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetAccountName():*string github.com/microsoftgraph/msgraph-sdk-go/.models.security.userAccount::|public|GetActiveDirectoryObjectGuid():*i561e97a8befe7661a44c8f54600992b4207a3a0cf6770e5559949bc276de2e22.UUID @@ -178387,6 +178921,287 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIdsable::|public|SetT github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIdsable::|public|SetWebId(value:*string):void github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIdsable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.sharepointIds~~>SharepointIdsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetDataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetEncryptionKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetMetadataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetDataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetEncryptionKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetMetadataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetDataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetEncryptionKey():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetMetadataContainerUri():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|GetOdataType():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetDataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetEncryptionKey(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetMetadataContainerUri(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable::|public|SetOdataType(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfoable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationContainerInfo~~>SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|GetJobId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|public|SetJobId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|GetCorrelationId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|GetEventDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|GetJobId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|SetCorrelationId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|SetEventDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable::|public|SetJobId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|GetValue():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|public|SetValue(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponseable::|public|GetValue():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponseable::|public|SetValue(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationEventCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|GetManifestFileName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|public|SetManifestFileName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEventable::|public|GetManifestFileName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEventable::|public|SetManifestFileName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationFinishManifestFileUploadEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob-->*Entity +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|GetContainerInfo():SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|GetProgressEvents():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|SetContainerInfo(value:SharePointMigrationContainerInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|public|SetProgressEvents(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJob::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|GetContainerInfo():SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|GetProgressEvents():[]SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|SetContainerInfo(value:SharePointMigrationContainerInfoable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable::|public|SetProgressEvents(value:[]SharePointMigrationEventable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|GetIsCancelledByUser():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|SetIsCancelledByUser(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|GetIsCancelledByUser():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|SetIsCancelledByUser(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCancelledEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|GetValue():[]SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|public|SetValue(value:[]SharePointMigrationJobable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponseable::|public|GetValue():[]SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponseable::|public|SetValue(value:[]SharePointMigrationJobable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobDeletedEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetError():PublicErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetErrorLevel():*SharePointMigrationJobErrorLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetObjectType():*SharePointMigrationObjectType +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetObjectUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetError(value:PublicErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetErrorLevel(value:*SharePointMigrationJobErrorLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetObjectType(value:*SharePointMigrationObjectType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetObjectUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetError():PublicErrorable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetErrorLevel():*SharePointMigrationJobErrorLevel +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetObjectType():*SharePointMigrationObjectType +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetObjectUrl():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetError(value:PublicErrorable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetErrorLevel(value:*SharePointMigrationJobErrorLevel):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetObjectType(value:*SharePointMigrationObjectType):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetObjectUrl(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0000-important +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0001-warning +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0002-error +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0003-fatalError +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobErrorLevel::0004-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetJobsInQueue():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetNextPickupDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetJobsInQueue(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetNextPickupDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetJobsInQueue():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetNextPickupDateTime():*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetReason():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetJobsInQueue(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetNextPickupDateTime(value:*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetReason(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobPostponedEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetBytesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetBytesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetCpuDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetFilesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetFilesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetIsCompleted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetLastProcessedObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetObjectsProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetSqlDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetSqlQueryCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalErrors():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalExpectedBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalExpectedObjects():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetTotalWarnings():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|GetWaitTimeOnSqlThrottlingMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetBytesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetBytesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetCpuDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetFilesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetFilesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetIsCompleted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetLastProcessedObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetObjectsProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetSqlDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetSqlQueryCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalErrors(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalExpectedBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalExpectedObjects(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetTotalWarnings(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|public|SetWaitTimeOnSqlThrottlingMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetBytesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetBytesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetCpuDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetFilesProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetFilesProcessedOnlyCurrentVersion():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetIsCompleted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetLastProcessedObjectId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetObjectsProcessed():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetSqlDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetSqlQueryCount():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalDurationMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalErrors():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalExpectedBytes():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalExpectedObjects():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetTotalWarnings():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|GetWaitTimeOnSqlThrottlingMs():*int64 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetBytesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetBytesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetCpuDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetFilesProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetFilesProcessedOnlyCurrentVersion(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetIsCompleted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetLastProcessedObjectId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetObjectsProcessed(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetSqlDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetSqlQueryCount(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalDurationMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalErrors(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalExpectedBytes(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalExpectedObjects(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetTotalWarnings(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable::|public|SetWaitTimeOnSqlThrottlingMs(value:*int64):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobProgressEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobQueuedEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent-->*SharePointMigrationEvent +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|GetIsRestarted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|SetIsRestarted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEvent::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|GetIsRestarted():*bool +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|GetTotalRetryCount():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|SetIsRestarted(value:*bool):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable::|public|SetTotalRetryCount(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationJobStartEventable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0000-site +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0001-web +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0002-folder +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0003-list +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0004-listItem +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0005-file +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0006-alert +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0007-sharedWithObject +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0008-invalid +github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointMigrationObjectType::0009-unknownFutureValue github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointOneDriveOptions::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointOneDriveOptions::|public|GetAdditionalData():map[string]any github.com/microsoftgraph/msgraph-sdk-go/.models.sharePointOneDriveOptions::|public|GetBackingStore():BackingStore @@ -186199,6 +187014,27 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable::|publi github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable::|public|SetTotal(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable::|public|SetUsed(value:*int64):void github.com/microsoftgraph/msgraph-sdk-go/.models.unifiedStorageQuotaable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap-->*BaseMapFeature +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMap::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapable::|public|GetPlaceId():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapable::|public|SetPlaceId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapable~~>BaseMapFeatureable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|GetValue():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|public|SetValue(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponseable::|public|GetValue():[]UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponseable::|public|SetValue(value:[]UnitMapable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.unitMapCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.unmuteParticipantOperation-->*CommsOperation github.com/microsoftgraph/msgraph-sdk-go/.models.unmuteParticipantOperation::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.models.unmuteParticipantOperation::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) @@ -196197,6 +197033,43 @@ github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeSchedule::|public|Od github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeSchedule::|public|Serialize(writer:SerializationWriter):void github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeSchedule::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.workingTimeScheduleable~~>Entityable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace-->*Place +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetCapacity():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|GetNickname():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|OdataType:*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetCapacity(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|public|SetNickname(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspace::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetCapacity():*int32 +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetDisplayDeviceName():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetEmailAddress():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetMode():PlaceModeable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|GetNickname():*string +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetCapacity(value:*int32):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetDisplayDeviceName(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetEmailAddress(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetMode(value:PlaceModeable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable::|public|SetNickname(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable; Placeable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse-->*BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|GetValue():[]Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|public|SetValue(value:[]Workspaceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponseable::|public|GetValue():[]Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponseable::|public|SetValue(value:[]Workspaceable):void +github.com/microsoftgraph/msgraph-sdk-go/.models.workspaceCollectionResponseable~~>BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAffinityLevel::0000-low github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAffinityLevel::0001-high github.com/microsoftgraph/msgraph-sdk-go/.models.x509CertificateAffinityLevel::0002-unknownFutureValue @@ -197814,6 +198687,111 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|re github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*CountRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.CountRequestBuilder::|public|WithUrl(rawUrl:string):*CountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder.GraphBuildingCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphBuildingCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphBuildingCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphBuildingCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphBuildingCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder.GraphBuildingRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphBuildingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|Count():*GraphBuildingCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphBuildingRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphBuildingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphBuildingRequestBuilder::|public|WithUrl(rawUrl:string):*GraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder.GraphDeskCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphDeskCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphDeskCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphDeskCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphDeskCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder.GraphDeskRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphDeskRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|Count():*GraphDeskCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphDeskRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeskCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphDeskRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphDeskRequestBuilder::|public|WithUrl(rawUrl:string):*GraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder.GraphFloorCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphFloorCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphFloorCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphFloorCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphFloorCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder.GraphFloorRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphFloorRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|Count():*GraphFloorCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphFloorRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FloorCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphFloorRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphFloorRequestBuilder::|public|WithUrl(rawUrl:string):*GraphFloorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomCountRequestBuilder.GraphRoomCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomCountRequestBuilder.GraphRoomCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -197884,6 +198862,76 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|publi github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphRoomRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.GraphRoomRequestBuilder::|public|WithUrl(rawUrl:string):*GraphRoomRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder.GraphSectionCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphSectionCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphSectionCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphSectionCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphSectionCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder.GraphSectionRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphSectionRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|Count():*GraphSectionCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphSectionRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphSectionRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphSectionRequestBuilder::|public|WithUrl(rawUrl:string):*GraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder.GraphWorkspaceCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphWorkspaceCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphWorkspaceCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphWorkspaceCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceCountRequestBuilder::|public|WithUrl(rawUrl:string):*GraphWorkspaceCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder.GraphWorkspaceRequestBuilderGetRequestConfiguration::|public|queryParameters:*GraphWorkspaceRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|Count():*GraphWorkspaceCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*GraphWorkspaceRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*GraphWorkspaceRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.GraphWorkspaceRequestBuilder::|public|WithUrl(rawUrl:string):*GraphWorkspaceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -197946,6 +198994,610 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|pu github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse-->*iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponseable::|public|GetValue():[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponseable::|public|SetValue(value:[]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsGetResponseable~~>iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder.ItemDescendantsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemDescendantsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemDescendantsRequestBuilderGetRequestConfiguration):ItemDescendantsResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|GetAsDescendantsGetResponse(ctx:context.Context; requestConfiguration?:*ItemDescendantsRequestBuilderGetRequestConfiguration):ItemDescendantsGetResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemDescendantsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemDescendantsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponse-->*ItemDescendantsGetResponse +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponse::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponse::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemDescendantsResponseable~~>ItemDescendantsGetResponseable; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder.ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder.ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|Count():*ItemGraphBuildingCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder.ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapFootprintsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder.ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|ByFootprintMapId(footprintMapId:string):*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|Count():*ItemGraphBuildingMapFootprintsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapFootprintsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapFootprintsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder.ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder.ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|ByFixtureMapId(fixtureMapId:string):*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemFixturesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|BySectionMapId(sectionMapId:string):*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|ByUnitMapId(unitMapId:string):*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|fixtures():*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|sections():*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|units():*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder.ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|ByLevelMapId(levelMapId:string):*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|Count():*ItemGraphBuildingMapLevelsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapLevelsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapLevelsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingMapRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder.ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|footprints():*ItemGraphBuildingMapFootprintsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|levels():*ItemGraphBuildingMapLevelsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable; ctx:context.Context; requestConfiguration?:*ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingMapRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingMapRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder.ItemGraphBuildingRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphBuildingRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|checkIns():*ItemGraphBuildingCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Buildingable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|mapEscaped():*ItemGraphBuildingMapRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphBuildingRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphBuildingRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder.ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder.ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|Count():*ItemGraphDeskCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder.ItemGraphDeskRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphDeskRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|checkIns():*ItemGraphDeskCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphDeskRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Deskable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphDeskRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphDeskRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder.ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder.ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|Count():*ItemGraphFloorCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder.ItemGraphFloorRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphFloorRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|checkIns():*ItemGraphFloorCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphFloorRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Floorable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphFloorRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphFloorRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphFloorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -198086,6 +199738,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRequestBuilder::|public|workspaces():*ItemGraphRoomListWorkspacesRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder.ItemGraphRoomListRoomsCountRequestBuilderGetQueryParameters::|public|Filter:*string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsCountRequestBuilder.ItemGraphRoomListRoomsCountRequestBuilderGetQueryParameters::|public|Search:*string @@ -198211,6 +199864,131 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemR github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Roomable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListRoomsRoomItemRequestBuilderPatchRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListRoomsRoomItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListRoomsRoomItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder.ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|Count():*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder.ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|ByWorkspaceId(workspaceId:string):*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|Count():*ItemGraphRoomListWorkspacesCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|checkIns():*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable; ctx:context.Context; requestConfiguration?:*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder.ItemGraphRoomRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder.ItemGraphRoomRequestBuilderGetQueryParameters::|public|Select:[]string @@ -198226,6 +200004,160 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|p github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphRoomRequestBuilderGetRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphRoomRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphRoomRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder.ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder.ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|Count():*ItemGraphSectionCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder.ItemGraphSectionRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphSectionRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|checkIns():*ItemGraphSectionCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphSectionRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Sectionable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphSectionRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphSectionRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder.ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsCountRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder.ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId:string):*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|Count():*ItemGraphWorkspaceCheckInsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable; ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceCheckInsRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder.ItemGraphWorkspaceRequestBuilderGetRequestConfiguration::|public|queryParameters:*ItemGraphWorkspaceRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|checkIns():*ItemGraphWorkspaceCheckInsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*ItemGraphWorkspaceRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.places.ItemGraphWorkspaceRequestBuilder::|public|WithUrl(rawUrl:string):*ItemGraphWorkspaceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder.PlaceItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder.PlaceItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -198235,8 +200167,14 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|publi github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*PlaceItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|descendants():*ItemDescendantsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphBuilding():*ItemGraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphDesk():*ItemGraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphFloor():*ItemGraphFloorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphRoom():*ItemGraphRoomRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphRoomList():*ItemGraphRoomListRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphSection():*ItemGraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|graphWorkspace():*ItemGraphWorkspaceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable; ctx:context.Context; requestConfiguration?:*PlaceItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.places.PlaceItemRequestBuilder::|public|requestAdapter:RequestAdapter @@ -198251,8 +200189,13 @@ github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|B github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|Count():*CountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphBuilding():*GraphBuildingRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphDesk():*GraphDeskRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphFloor():*GraphFloorRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphRoom():*GraphRoomRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphRoomList():*GraphRoomListRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphSection():*GraphSectionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|graphWorkspace():*GraphWorkspaceRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable; ctx:context.Context; requestConfiguration?:*PlacesRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable github.com/microsoftgraph/msgraph-sdk-go/.places.placesRequestBuilder::|public|requestAdapter:RequestAdapter @@ -212027,6 +213970,104 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequest github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.HealthIssueable; ctx:context.Context; requestConfiguration?:*IdentitiesHealthIssuesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesHealthIssuesRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesHealthIssuesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder.IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsCountRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|microsoftGraphSecurityInvokeAction():*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|ToPatchRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetAction():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|GetIdentityProvider():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetAction(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|public|SetIdentityProvider(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetAccountId():*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetAction():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|GetIdentityProvider():*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetAccountId(value:*string):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetAction(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable::|public|SetIdentityProvider(value:*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody~~>IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|Post(body:IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.InvokeActionResultable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|ToPostRequestInformation(body:IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration::|public|queryParameters:*IdentitiesIdentityAccountsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder.IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|ByIdentityAccountsId(identityAccountsId:string):*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|Count():*IdentitiesIdentityAccountsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|Post(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|ToPostRequestInformation(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable; ctx:context.Context; requestConfiguration?:*IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesIdentityAccountsRequestBuilder::|public|WithUrl(rawUrl:string):*IdentitiesIdentityAccountsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder.IdentitiesRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder.IdentitiesRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption @@ -212042,6 +214083,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|pu github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderDeleteRequestConfiguration):void github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderGetRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|healthIssues():*IdentitiesHealthIssuesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|identityAccounts():*IdentitiesIdentityAccountsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|Patch(body:idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable; ctx:context.Context; requestConfiguration?:*IdentitiesRequestBuilderPatchRequestConfiguration):idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityContainerable github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.security.IdentitiesRequestBuilder::|public|requestAdapter:RequestAdapter @@ -238945,10 +240987,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStora github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageContainersItemDriveRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|migrationJobs():*FileStorageContainersItemMigrationJobsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageContainersItemPermanentDeleteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|permissions():*FileStorageContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers():*FileStorageContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageContainersItemRecycleBinRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageContainersItemRestoreRequestBuilder @@ -239087,6 +241131,131 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockR github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder.FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|BySharePointMigrationEventId(sharePointMigrationEventId:string):*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Count():*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder.FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|BySharePointMigrationJobId(sharePointMigrationJobId:string):*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|Count():*FileStorageContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|progressEvents():*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermanentDeleteRequestBuilder.FileStorageContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -239207,6 +241376,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermi github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageContainersItemPermissionsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder.FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder.FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemProvisionMigrationContainersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -239652,10 +241832,12 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFi github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|drive():*FileStorageDeletedContainersItemDriveRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|lock():*FileStorageDeletedContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|migrationJobs():*FileStorageDeletedContainersItemMigrationJobsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersFileStorageContainerItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FileStorageContainerable github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|permanentDelete():*FileStorageDeletedContainersItemPermanentDeleteRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|permissions():*FileStorageDeletedContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|provisionMigrationContainers():*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|recycleBin():*FileStorageDeletedContainersItemRecycleBinRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersFileStorageContainerItemRequestBuilder::|public|restore():*FileStorageDeletedContainersItemRestoreRequestBuilder @@ -239794,6 +241976,131 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersIt github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|ToPostRequestInformation(body:FileStorageDeletedContainersItemLockPostRequestBodyable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemLockRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemLockRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemLockRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|BySharePointMigrationEventId(sharePointMigrationEventId:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Count:*bool +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Filter:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Orderby:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Search:*string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Skip:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters::|public|Top:*int32 +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder.FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|BySharePointMigrationJobId(sharePointMigrationJobId:string):*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|Count():*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|Post(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Expand:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters::|public|Select:[]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration::|public|queryParameters:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Delete(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Get(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|Patch(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|progressEvents():*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToDeleteRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToGetRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|ToPatchRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermanentDeleteRequestBuilder.FileStorageDeletedContainersItemPermanentDeleteRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption @@ -239914,6 +242221,17 @@ github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersIt github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Permissionable; ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemPermissionsRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemPermissionsRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemPermissionsRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|Post(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|ToPostRequestInformation(ctx:context.Context; requestConfiguration?:*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder::|public|WithUrl(rawUrl:string):*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Expand:[]string github.com/microsoftgraph/msgraph-sdk-go/.storage.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilder.FileStorageDeletedContainersItemRecycleBinCreatedByUserMailboxSettingsRequestBuilderGetQueryParameters::|public|Select:[]string @@ -251047,6 +253365,7 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder: github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|pathParameters:map[string]string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|permissionGrants():*ItemChatsItemPermissionGrantsRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|pinnedMessages():*ItemChatsItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|removeAllAccessForUser():*ItemChatsItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|requestAdapter:RequestAdapter github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|sendActivityNotification():*ItemChatsItemSendActivityNotificationRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsChatItemRequestBuilder::|public|tabs():*ItemChatsItemTabsRequestBuilder @@ -252178,6 +254497,33 @@ github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesReque github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesRequestBuilder::|public|ToPostRequestInformation(body:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PinnedChatMessageInfoable; ctx:context.Context; requestConfiguration?:*ItemChatsItemPinnedMessagesRequestBuilderPostRequestConfiguration):*RequestInformation github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesRequestBuilder::|public|urlTemplate:string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemPinnedMessagesRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemPinnedMessagesRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|constructor():void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|GetAdditionalData():map[string]any +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|getFieldDeserializers():map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|Serialize(writer:SerializationWriter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|SetAdditionalData(value:map[string]any):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody::|static|public|CreateFromDiscriminatorValue(parseNode:ParseNode):Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|GetBackingStore():BackingStore +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|GetUser():iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|SetBackingStore(value:BackingStore):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable::|public|SetUser(value:iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBodyable~~>*i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder; *ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel; *i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserPostRequestBody~~>ItemChatsItemRemoveAllAccessForUserPostRequestBodyable +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder-->*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder.ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|headers:*RequestHeaders +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder.ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration::|public|options:[]RequestOption +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|constructor(pathParameters:map[string]string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|constructor(rawUrl:string; requestAdapter:RequestAdapter):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|pathParameters:map[string]string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|Post(body:ItemChatsItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):void +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|requestAdapter:RequestAdapter +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|ToPostRequestInformation(body:ItemChatsItemRemoveAllAccessForUserPostRequestBodyable; ctx:context.Context; requestConfiguration?:*ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration):*RequestInformation +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|urlTemplate:string +github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemRemoveAllAccessForUserRequestBuilder::|public|WithUrl(rawUrl:string):*ItemChatsItemRemoveAllAccessForUserRequestBuilder github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|constructor():void github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetActivityType():*string github.com/microsoftgraph/msgraph-sdk-go/.users.ItemChatsItemSendActivityNotificationPostRequestBody::|public|GetAdditionalData():map[string]any diff --git a/kiota-lock.json b/kiota-lock.json index a3602ed146..61b08e9822 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "D282F35F1C4502D8A194AC720C40CD42328A0D407D96EA32125D5E6F3F4483C6070BED2C504A5E1B5E49A4B1ABA6C9BEBA0FE6749B51318AC512B5FF4DD00ECC", + "descriptionHash": "B243F90AAC3F548EAA1D4BB9C012663E5F123A401E193B25D219B7D016381FF78B94701C2AF3F0DBDF12C8E8952F4095F9956FF17DE3320747B1A1BB91287751", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/models/assigned_place_mode.go b/models/assigned_place_mode.go new file mode 100644 index 0000000000..fbc97637b7 --- /dev/null +++ b/models/assigned_place_mode.go @@ -0,0 +1,118 @@ +// 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 AssignedPlaceMode struct { + PlaceMode +} +// NewAssignedPlaceMode instantiates a new AssignedPlaceMode and sets the default values. +func NewAssignedPlaceMode()(*AssignedPlaceMode) { + m := &AssignedPlaceMode{ + PlaceMode: *NewPlaceMode(), + } + odataTypeValue := "#microsoft.graph.assignedPlaceMode" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAssignedPlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAssignedPlaceModeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAssignedPlaceMode(), nil +} +// GetAssignedUserEmailAddress gets the assignedUserEmailAddress property value. The assignedUserEmailAddress property +// returns a *string when successful +func (m *AssignedPlaceMode) GetAssignedUserEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("assignedUserEmailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAssignedUserId gets the assignedUserId property value. The assignedUserId property +// returns a *string when successful +func (m *AssignedPlaceMode) GetAssignedUserId()(*string) { + val, err := m.GetBackingStore().Get("assignedUserId") + 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 *AssignedPlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PlaceMode.GetFieldDeserializers() + res["assignedUserEmailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssignedUserEmailAddress(val) + } + return nil + } + res["assignedUserId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAssignedUserId(val) + } + return nil + } + return res +} +// Serialize serializes information the current object +func (m *AssignedPlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PlaceMode.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("assignedUserEmailAddress", m.GetAssignedUserEmailAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("assignedUserId", m.GetAssignedUserId()) + if err != nil { + return err + } + } + return nil +} +// SetAssignedUserEmailAddress sets the assignedUserEmailAddress property value. The assignedUserEmailAddress property +func (m *AssignedPlaceMode) SetAssignedUserEmailAddress(value *string)() { + err := m.GetBackingStore().Set("assignedUserEmailAddress", value) + if err != nil { + panic(err) + } +} +// SetAssignedUserId sets the assignedUserId property value. The assignedUserId property +func (m *AssignedPlaceMode) SetAssignedUserId(value *string)() { + err := m.GetBackingStore().Set("assignedUserId", value) + if err != nil { + panic(err) + } +} +type AssignedPlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PlaceModeable + GetAssignedUserEmailAddress()(*string) + GetAssignedUserId()(*string) + SetAssignedUserEmailAddress(value *string)() + SetAssignedUserId(value *string)() +} diff --git a/models/base_map_feature.go b/models/base_map_feature.go new file mode 100644 index 0000000000..bccce5b637 --- /dev/null +++ b/models/base_map_feature.go @@ -0,0 +1,107 @@ +// 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 BaseMapFeature struct { + Entity +} +// NewBaseMapFeature instantiates a new BaseMapFeature and sets the default values. +func NewBaseMapFeature()(*BaseMapFeature) { + m := &BaseMapFeature{ + Entity: *NewEntity(), + } + return m +} +// CreateBaseMapFeatureFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBaseMapFeatureFromDiscriminatorValue(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.buildingMap": + return NewBuildingMap(), nil + case "#microsoft.graph.fixtureMap": + return NewFixtureMap(), nil + case "#microsoft.graph.footprintMap": + return NewFootprintMap(), nil + case "#microsoft.graph.levelMap": + return NewLevelMap(), nil + case "#microsoft.graph.sectionMap": + return NewSectionMap(), nil + case "#microsoft.graph.unitMap": + return NewUnitMap(), nil + } + } + } + } + return NewBaseMapFeature(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BaseMapFeature) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["properties"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetProperties(val) + } + return nil + } + return res +} +// GetProperties gets the properties property value. The properties property +// returns a *string when successful +func (m *BaseMapFeature) GetProperties()(*string) { + val, err := m.GetBackingStore().Get("properties") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *BaseMapFeature) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("properties", m.GetProperties()) + if err != nil { + return err + } + } + return nil +} +// SetProperties sets the properties property value. The properties property +func (m *BaseMapFeature) SetProperties(value *string)() { + err := m.GetBackingStore().Set("properties", value) + if err != nil { + panic(err) + } +} +type BaseMapFeatureable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetProperties()(*string) + SetProperties(value *string)() +} diff --git a/models/building.go b/models/building.go new file mode 100644 index 0000000000..1d83f63942 --- /dev/null +++ b/models/building.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 models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Building struct { + Place +} +// NewBuilding instantiates a new Building and sets the default values. +func NewBuilding()(*Building) { + m := &Building{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.building" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateBuildingFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBuildingFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBuilding(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Building) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["map"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateBuildingMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMapEscaped(val.(BuildingMapable)) + } + return nil + } + res["resourceLinks"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateResourceLinkFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]ResourceLinkable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(ResourceLinkable) + } + } + m.SetResourceLinks(res) + } + return nil + } + return res +} +// GetMapEscaped gets the map property value. The map property +// returns a BuildingMapable when successful +func (m *Building) GetMapEscaped()(BuildingMapable) { + val, err := m.GetBackingStore().Get("mapEscaped") + if err != nil { + panic(err) + } + if val != nil { + return val.(BuildingMapable) + } + return nil +} +// GetResourceLinks gets the resourceLinks property value. The resourceLinks property +// returns a []ResourceLinkable when successful +func (m *Building) GetResourceLinks()([]ResourceLinkable) { + val, err := m.GetBackingStore().Get("resourceLinks") + if err != nil { + panic(err) + } + if val != nil { + return val.([]ResourceLinkable) + } + return nil +} +// Serialize serializes information the current object +func (m *Building) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("map", m.GetMapEscaped()) + if err != nil { + return err + } + } + if m.GetResourceLinks() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetResourceLinks())) + for i, v := range m.GetResourceLinks() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("resourceLinks", cast) + if err != nil { + return err + } + } + return nil +} +// SetMapEscaped sets the map property value. The map property +func (m *Building) SetMapEscaped(value BuildingMapable)() { + err := m.GetBackingStore().Set("mapEscaped", value) + if err != nil { + panic(err) + } +} +// SetResourceLinks sets the resourceLinks property value. The resourceLinks property +func (m *Building) SetResourceLinks(value []ResourceLinkable)() { + err := m.GetBackingStore().Set("resourceLinks", value) + if err != nil { + panic(err) + } +} +type Buildingable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetMapEscaped()(BuildingMapable) + GetResourceLinks()([]ResourceLinkable) + SetMapEscaped(value BuildingMapable)() + SetResourceLinks(value []ResourceLinkable)() +} diff --git a/models/building_collection_response.go b/models/building_collection_response.go new file mode 100644 index 0000000000..3292b0ec15 --- /dev/null +++ b/models/building_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 BuildingCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewBuildingCollectionResponse instantiates a new BuildingCollectionResponse and sets the default values. +func NewBuildingCollectionResponse()(*BuildingCollectionResponse) { + m := &BuildingCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateBuildingCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBuildingCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBuildingCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BuildingCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateBuildingFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Buildingable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Buildingable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Buildingable when successful +func (m *BuildingCollectionResponse) GetValue()([]Buildingable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Buildingable) + } + return nil +} +// Serialize serializes information the current object +func (m *BuildingCollectionResponse) 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 *BuildingCollectionResponse) SetValue(value []Buildingable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type BuildingCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Buildingable) + SetValue(value []Buildingable)() +} diff --git a/models/building_map.go b/models/building_map.go new file mode 100644 index 0000000000..5942c56751 --- /dev/null +++ b/models/building_map.go @@ -0,0 +1,179 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type BuildingMap struct { + BaseMapFeature +} +// NewBuildingMap instantiates a new BuildingMap and sets the default values. +func NewBuildingMap()(*BuildingMap) { + m := &BuildingMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.buildingMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateBuildingMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateBuildingMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewBuildingMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *BuildingMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["footprints"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFootprintMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FootprintMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FootprintMapable) + } + } + m.SetFootprints(res) + } + return nil + } + res["levels"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateLevelMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]LevelMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(LevelMapable) + } + } + m.SetLevels(res) + } + 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 + } + return res +} +// GetFootprints gets the footprints property value. The footprints property +// returns a []FootprintMapable when successful +func (m *BuildingMap) GetFootprints()([]FootprintMapable) { + val, err := m.GetBackingStore().Get("footprints") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FootprintMapable) + } + return nil +} +// GetLevels gets the levels property value. The levels property +// returns a []LevelMapable when successful +func (m *BuildingMap) GetLevels()([]LevelMapable) { + val, err := m.GetBackingStore().Get("levels") + if err != nil { + panic(err) + } + if val != nil { + return val.([]LevelMapable) + } + return nil +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *BuildingMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *BuildingMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + if m.GetFootprints() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetFootprints())) + for i, v := range m.GetFootprints() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("footprints", cast) + if err != nil { + return err + } + } + if m.GetLevels() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetLevels())) + for i, v := range m.GetLevels() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("levels", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetFootprints sets the footprints property value. The footprints property +func (m *BuildingMap) SetFootprints(value []FootprintMapable)() { + err := m.GetBackingStore().Set("footprints", value) + if err != nil { + panic(err) + } +} +// SetLevels sets the levels property value. The levels property +func (m *BuildingMap) SetLevels(value []LevelMapable)() { + err := m.GetBackingStore().Set("levels", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *BuildingMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type BuildingMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetFootprints()([]FootprintMapable) + GetLevels()([]LevelMapable) + GetPlaceId()(*string) + SetFootprints(value []FootprintMapable)() + SetLevels(value []LevelMapable)() + SetPlaceId(value *string)() +} diff --git a/models/channel.go b/models/channel.go index a5df734f65..8a629e7d1e 100644 --- a/models/channel.go +++ b/models/channel.go @@ -327,7 +327,7 @@ func (m *Channel) GetMembers()([]ConversationMemberable) { } return nil } -// GetMembershipType gets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. +// GetMembershipType gets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: shared. // returns a *ChannelMembershipType when successful func (m *Channel) GetMembershipType()(*ChannelMembershipType) { val, err := m.GetBackingStore().Get("membershipType") @@ -609,7 +609,7 @@ func (m *Channel) SetMembers(value []ConversationMemberable)() { panic(err) } } -// SetMembershipType sets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: shared. +// SetMembershipType sets the membershipType property value. The type of the channel. Can be set during creation and can't be changed. The possible values are: standard, private, unknownFutureValue, shared. The default value is standard. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: shared. func (m *Channel) SetMembershipType(value *ChannelMembershipType)() { err := m.GetBackingStore().Set("membershipType", value) if err != nil { diff --git a/models/communications_guest_identity.go b/models/communications_guest_identity.go index f7050aa75e..d7baa0a9f9 100644 --- a/models/communications_guest_identity.go +++ b/models/communications_guest_identity.go @@ -24,10 +24,32 @@ func NewCommunicationsGuestIdentity()(*CommunicationsGuestIdentity) { func CreateCommunicationsGuestIdentityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewCommunicationsGuestIdentity(), nil } +// GetEmail gets the email property value. The email of the guest user. +// returns a *string when successful +func (m *CommunicationsGuestIdentity) GetEmail()(*string) { + val, err := m.GetBackingStore().Get("email") + 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 *CommunicationsGuestIdentity) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { res := m.Identity.GetFieldDeserializers() + res["email"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmail(val) + } + return nil + } return res } // Serialize serializes information the current object @@ -36,9 +58,24 @@ func (m *CommunicationsGuestIdentity) Serialize(writer i878a80d2330e89d26896388a if err != nil { return err } + { + err = writer.WriteStringValue("email", m.GetEmail()) + if err != nil { + return err + } + } return nil } +// SetEmail sets the email property value. The email of the guest user. +func (m *CommunicationsGuestIdentity) SetEmail(value *string)() { + err := m.GetBackingStore().Set("email", value) + if err != nil { + panic(err) + } +} type CommunicationsGuestIdentityable interface { Identityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEmail()(*string) + SetEmail(value *string)() } diff --git a/models/copilot_report_root.go b/models/copilot_report_root.go new file mode 100644 index 0000000000..c92637924f --- /dev/null +++ b/models/copilot_report_root.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type CopilotReportRoot struct { + Entity +} +// NewCopilotReportRoot instantiates a new CopilotReportRoot and sets the default values. +func NewCopilotReportRoot()(*CopilotReportRoot) { + m := &CopilotReportRoot{ + Entity: *NewEntity(), + } + return m +} +// CreateCopilotReportRootFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateCopilotReportRootFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewCopilotReportRoot(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *CopilotReportRoot) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *CopilotReportRoot) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + return nil +} +type CopilotReportRootable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/desk.go b/models/desk.go new file mode 100644 index 0000000000..aaba6bde3a --- /dev/null +++ b/models/desk.go @@ -0,0 +1,155 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Desk struct { + Place +} +// NewDesk instantiates a new Desk and sets the default values. +func NewDesk()(*Desk) { + m := &Desk{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.desk" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDeskFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeskFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDesk(), nil +} +// GetDisplayDeviceName gets the displayDeviceName property value. The displayDeviceName property +// returns a *string when successful +func (m *Desk) GetDisplayDeviceName()(*string) { + val, err := m.GetBackingStore().Get("displayDeviceName") + 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 *Desk) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["displayDeviceName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayDeviceName(val) + } + return nil + } + res["mailboxDetails"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateMailboxDetailsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMailboxDetails(val.(MailboxDetailsable)) + } + return nil + } + res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePlaceModeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMode(val.(PlaceModeable)) + } + return nil + } + return res +} +// GetMailboxDetails gets the mailboxDetails property value. The mailboxDetails property +// returns a MailboxDetailsable when successful +func (m *Desk) GetMailboxDetails()(MailboxDetailsable) { + val, err := m.GetBackingStore().Get("mailboxDetails") + if err != nil { + panic(err) + } + if val != nil { + return val.(MailboxDetailsable) + } + return nil +} +// GetMode gets the mode property value. The mode property +// returns a PlaceModeable when successful +func (m *Desk) GetMode()(PlaceModeable) { + val, err := m.GetBackingStore().Get("mode") + if err != nil { + panic(err) + } + if val != nil { + return val.(PlaceModeable) + } + return nil +} +// Serialize serializes information the current object +func (m *Desk) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("displayDeviceName", m.GetDisplayDeviceName()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("mailboxDetails", m.GetMailboxDetails()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("mode", m.GetMode()) + if err != nil { + return err + } + } + return nil +} +// SetDisplayDeviceName sets the displayDeviceName property value. The displayDeviceName property +func (m *Desk) SetDisplayDeviceName(value *string)() { + err := m.GetBackingStore().Set("displayDeviceName", value) + if err != nil { + panic(err) + } +} +// SetMailboxDetails sets the mailboxDetails property value. The mailboxDetails property +func (m *Desk) SetMailboxDetails(value MailboxDetailsable)() { + err := m.GetBackingStore().Set("mailboxDetails", value) + if err != nil { + panic(err) + } +} +// SetMode sets the mode property value. The mode property +func (m *Desk) SetMode(value PlaceModeable)() { + err := m.GetBackingStore().Set("mode", value) + if err != nil { + panic(err) + } +} +type Deskable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetDisplayDeviceName()(*string) + GetMailboxDetails()(MailboxDetailsable) + GetMode()(PlaceModeable) + SetDisplayDeviceName(value *string)() + SetMailboxDetails(value MailboxDetailsable)() + SetMode(value PlaceModeable)() +} diff --git a/models/desk_collection_response.go b/models/desk_collection_response.go new file mode 100644 index 0000000000..43f7cc12fc --- /dev/null +++ b/models/desk_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 DeskCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewDeskCollectionResponse instantiates a new DeskCollectionResponse and sets the default values. +func NewDeskCollectionResponse()(*DeskCollectionResponse) { + m := &DeskCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateDeskCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDeskCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDeskCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DeskCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateDeskFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Deskable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Deskable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Deskable when successful +func (m *DeskCollectionResponse) GetValue()([]Deskable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Deskable) + } + return nil +} +// Serialize serializes information the current object +func (m *DeskCollectionResponse) 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 *DeskCollectionResponse) SetValue(value []Deskable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type DeskCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Deskable) + SetValue(value []Deskable)() +} diff --git a/models/drop_in_place_mode.go b/models/drop_in_place_mode.go new file mode 100644 index 0000000000..e59c5680aa --- /dev/null +++ b/models/drop_in_place_mode.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 DropInPlaceMode struct { + PlaceMode +} +// NewDropInPlaceMode instantiates a new DropInPlaceMode and sets the default values. +func NewDropInPlaceMode()(*DropInPlaceMode) { + m := &DropInPlaceMode{ + PlaceMode: *NewPlaceMode(), + } + odataTypeValue := "#microsoft.graph.dropInPlaceMode" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateDropInPlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateDropInPlaceModeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewDropInPlaceMode(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *DropInPlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PlaceMode.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *DropInPlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PlaceMode.Serialize(writer) + if err != nil { + return err + } + return nil +} +type DropInPlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PlaceModeable +} diff --git a/models/education_assignment.go b/models/education_assignment.go index e62061e9ec..99545ad6ac 100644 --- a/models/education_assignment.go +++ b/models/education_assignment.go @@ -671,7 +671,7 @@ func (m *EducationAssignment) GetRubric()(EducationRubricable) { } return nil } -// GetStatus gets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. +// GetStatus gets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: inactive. // returns a *EducationAssignmentStatus when successful func (m *EducationAssignment) GetStatus()(*EducationAssignmentStatus) { val, err := m.GetBackingStore().Get("status") @@ -1044,7 +1044,7 @@ func (m *EducationAssignment) SetRubric(value EducationRubricable)() { panic(err) } } -// SetStatus sets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: inactive. +// SetStatus sets the status property value. Status of the assignment. You can't PATCH this value. Possible values are: draft, scheduled, published, assigned, unknownFutureValue, inactive. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: inactive. func (m *EducationAssignment) SetStatus(value *EducationAssignmentStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/education_assignment_defaults.go b/models/education_assignment_defaults.go index 359fb2fa3c..1134c8ed73 100644 --- a/models/education_assignment_defaults.go +++ b/models/education_assignment_defaults.go @@ -34,7 +34,7 @@ func (m *EducationAssignmentDefaults) GetAddedStudentAction()(*EducationAddedStu } return nil } -// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. +// GetAddToCalendarAction gets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: studentsOnly. The default value is none. // returns a *EducationAddToCalendarOptions when successful func (m *EducationAssignmentDefaults) GetAddToCalendarAction()(*EducationAddToCalendarOptions) { val, err := m.GetBackingStore().Get("addToCalendarAction") @@ -157,7 +157,7 @@ func (m *EducationAssignmentDefaults) SetAddedStudentAction(value *EducationAdde panic(err) } } -// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: studentsOnly. The default value is none. +// SetAddToCalendarAction sets the addToCalendarAction property value. Optional field to control adding assignments to students' and teachers' calendars when the assignment is published. The possible values are: none, studentsAndPublisher, studentsAndTeamOwners, unknownFutureValue, and studentsOnly. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: studentsOnly. The default value is none. func (m *EducationAssignmentDefaults) SetAddToCalendarAction(value *EducationAddToCalendarOptions)() { err := m.GetBackingStore().Set("addToCalendarAction", value) if err != nil { diff --git a/models/entity.go b/models/entity.go index ae6fcaabc4..daff9a1e80 100644 --- a/models/entity.go +++ b/models/entity.go @@ -245,6 +245,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewBaseItem(), nil case "#microsoft.graph.baseItemVersion": return NewBaseItemVersion(), nil + case "#microsoft.graph.baseMapFeature": + return NewBaseMapFeature(), nil case "#microsoft.graph.baseSitePage": return NewBaseSitePage(), nil case "#microsoft.graph.bitlocker": @@ -275,6 +277,10 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewBrowserSite(), nil case "#microsoft.graph.browserSiteList": return NewBrowserSiteList(), nil + case "#microsoft.graph.building": + return NewBuilding(), nil + case "#microsoft.graph.buildingMap": + return NewBuildingMap(), nil case "#microsoft.graph.builtInIdentityProvider": return NewBuiltInIdentityProvider(), nil case "#microsoft.graph.bulkUpload": @@ -389,6 +395,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewCopilotAdminLimitedMode(), nil case "#microsoft.graph.copilotAdminSetting": return NewCopilotAdminSetting(), nil + case "#microsoft.graph.copilotReportRoot": + return NewCopilotReportRoot(), nil case "#microsoft.graph.countryNamedLocation": return NewCountryNamedLocation(), nil case "#microsoft.graph.crossTenantAccessPolicy": @@ -433,6 +441,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewDeletedTeam(), nil case "#microsoft.graph.deltaParticipants": return NewDeltaParticipants(), nil + case "#microsoft.graph.desk": + return NewDesk(), nil case "#microsoft.graph.detectedApp": return NewDetectedApp(), nil case "#microsoft.graph.device": @@ -695,6 +705,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewFileStorageContainer(), nil case "#microsoft.graph.filterOperatorSchema": return NewFilterOperatorSchema(), nil + case "#microsoft.graph.fixtureMap": + return NewFixtureMap(), nil + case "#microsoft.graph.floor": + return NewFloor(), nil + case "#microsoft.graph.footprintMap": + return NewFootprintMap(), nil case "#microsoft.graph.fraudProtectionProvider": return NewFraudProtectionProvider(), nil case "#microsoft.graph.governanceInsight": @@ -819,6 +835,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewLearningProvider(), nil case "#microsoft.graph.learningSelfInitiatedCourse": return NewLearningSelfInitiatedCourse(), nil + case "#microsoft.graph.levelMap": + return NewLevelMap(), nil case "#microsoft.graph.licenseDetails": return NewLicenseDetails(), nil case "#microsoft.graph.linkedResource": @@ -1285,8 +1303,12 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewScopedRoleMembership(), nil case "#microsoft.graph.searchEntity": return NewSearchEntity(), nil + case "#microsoft.graph.section": + return NewSection(), nil case "#microsoft.graph.sectionGroup": return NewSectionGroup(), nil + case "#microsoft.graph.sectionMap": + return NewSectionMap(), nil case "#microsoft.graph.secureScore": return NewSecureScore(), nil case "#microsoft.graph.secureScoreControlProfile": @@ -1331,6 +1353,26 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewSharedWithChannelTeamInfo(), nil case "#microsoft.graph.sharepoint": return NewSharepoint(), nil + case "#microsoft.graph.sharePointMigrationEvent": + return NewSharePointMigrationEvent(), nil + case "#microsoft.graph.sharePointMigrationFinishManifestFileUploadEvent": + return NewSharePointMigrationFinishManifestFileUploadEvent(), nil + case "#microsoft.graph.sharePointMigrationJob": + return NewSharePointMigrationJob(), nil + case "#microsoft.graph.sharePointMigrationJobCancelledEvent": + return NewSharePointMigrationJobCancelledEvent(), nil + case "#microsoft.graph.sharePointMigrationJobDeletedEvent": + return NewSharePointMigrationJobDeletedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobErrorEvent": + return NewSharePointMigrationJobErrorEvent(), nil + case "#microsoft.graph.sharePointMigrationJobPostponedEvent": + return NewSharePointMigrationJobPostponedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobProgressEvent": + return NewSharePointMigrationJobProgressEvent(), nil + case "#microsoft.graph.sharePointMigrationJobQueuedEvent": + return NewSharePointMigrationJobQueuedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobStartEvent": + return NewSharePointMigrationJobStartEvent(), nil case "#microsoft.graph.sharePointProtectionPolicy": return NewSharePointProtectionPolicy(), nil case "#microsoft.graph.sharePointRestoreSession": @@ -1543,6 +1585,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewUnifiedRoleScheduleInstanceBase(), nil case "#microsoft.graph.unifiedStorageQuota": return NewUnifiedStorageQuota(), nil + case "#microsoft.graph.unitMap": + return NewUnitMap(), nil case "#microsoft.graph.unmuteParticipantOperation": return NewUnmuteParticipantOperation(), nil case "#microsoft.graph.updateRecordingStatusOperation": @@ -1845,6 +1889,8 @@ func CreateEntityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487 return NewWorkforceIntegration(), nil case "#microsoft.graph.workingTimeSchedule": return NewWorkingTimeSchedule(), nil + case "#microsoft.graph.workspace": + return NewWorkspace(), nil case "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration": return NewX509CertificateAuthenticationMethodConfiguration(), nil case "#microsoft.graph.x509CertificateCombinationConfiguration": diff --git a/models/externalconnectors/property.go b/models/externalconnectors/property.go index 36405e8ddf..497dd3ec60 100644 --- a/models/externalconnectors/property.go +++ b/models/externalconnectors/property.go @@ -211,7 +211,7 @@ func (m *Property) GetIsSearchable()(*bool) { } return nil } -// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. +// GetLabels gets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. // returns a []Label when successful func (m *Property) GetLabels()([]Label) { val, err := m.GetBackingStore().Get("labels") @@ -370,7 +370,7 @@ func (m *Property) SetIsSearchable(value *bool)() { panic(err) } } -// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl. +// SetLabels sets the labels property value. Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: iconUrl. func (m *Property) SetLabels(value []Label)() { err := m.GetBackingStore().Set("labels", value) if err != nil { diff --git a/models/file_storage_container.go b/models/file_storage_container.go index 982e27548d..7700ff96ab 100644 --- a/models/file_storage_container.go +++ b/models/file_storage_container.go @@ -198,6 +198,22 @@ func (m *FileStorageContainer) GetFieldDeserializers()(map[string]func(i878a80d2 } return nil } + res["migrationJobs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationJobFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationJobable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationJobable) + } + } + m.SetMigrationJobs(res) + } + return nil + } res["permissions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetCollectionOfObjectValues(CreatePermissionFromDiscriminatorValue) if err != nil { @@ -268,6 +284,18 @@ func (m *FileStorageContainer) GetLockState()(*SiteLockState) { } return nil } +// GetMigrationJobs gets the migrationJobs property value. The collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a []SharePointMigrationJobable when successful +func (m *FileStorageContainer) GetMigrationJobs()([]SharePointMigrationJobable) { + val, err := m.GetBackingStore().Get("migrationJobs") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationJobable) + } + return nil +} // GetPermissions gets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. // returns a []Permissionable when successful func (m *FileStorageContainer) GetPermissions()([]Permissionable) { @@ -389,6 +417,18 @@ func (m *FileStorageContainer) Serialize(writer i878a80d2330e89d26896388a3f487ee return err } } + if m.GetMigrationJobs() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetMigrationJobs())) + for i, v := range m.GetMigrationJobs() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("migrationJobs", cast) + if err != nil { + return err + } + } if m.GetPermissions() != nil { cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetPermissions())) for i, v := range m.GetPermissions() { @@ -484,6 +524,13 @@ func (m *FileStorageContainer) SetLockState(value *SiteLockState)() { panic(err) } } +// SetMigrationJobs sets the migrationJobs property value. The collection of sharePointMigrationJob objects local to the container. Read-write. +func (m *FileStorageContainer) SetMigrationJobs(value []SharePointMigrationJobable)() { + err := m.GetBackingStore().Set("migrationJobs", value) + if err != nil { + panic(err) + } +} // SetPermissions sets the permissions property value. The set of permissions for users in the fileStorageContainer. Permission for each user is set by the roles property. The possible values are: reader, writer, manager, and owner. Read-write. func (m *FileStorageContainer) SetPermissions(value []Permissionable)() { err := m.GetBackingStore().Set("permissions", value) @@ -530,6 +577,7 @@ type FileStorageContainerable interface { GetDisplayName()(*string) GetDrive()(Driveable) GetLockState()(*SiteLockState) + GetMigrationJobs()([]SharePointMigrationJobable) GetPermissions()([]Permissionable) GetRecycleBin()(RecycleBinable) GetSettings()(FileStorageContainerSettingsable) @@ -543,6 +591,7 @@ type FileStorageContainerable interface { SetDisplayName(value *string)() SetDrive(value Driveable)() SetLockState(value *SiteLockState)() + SetMigrationJobs(value []SharePointMigrationJobable)() SetPermissions(value []Permissionable)() SetRecycleBin(value RecycleBinable)() SetSettings(value FileStorageContainerSettingsable)() diff --git a/models/fixture_map.go b/models/fixture_map.go new file mode 100644 index 0000000000..7d6a944b54 --- /dev/null +++ b/models/fixture_map.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type FixtureMap struct { + BaseMapFeature +} +// NewFixtureMap instantiates a new FixtureMap and sets the default values. +func NewFixtureMap()(*FixtureMap) { + m := &FixtureMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.fixtureMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFixtureMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFixtureMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFixtureMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FixtureMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *FixtureMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *FixtureMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *FixtureMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type FixtureMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPlaceId()(*string) + SetPlaceId(value *string)() +} diff --git a/models/fixture_map_collection_response.go b/models/fixture_map_collection_response.go new file mode 100644 index 0000000000..212cde5919 --- /dev/null +++ b/models/fixture_map_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 FixtureMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFixtureMapCollectionResponse instantiates a new FixtureMapCollectionResponse and sets the default values. +func NewFixtureMapCollectionResponse()(*FixtureMapCollectionResponse) { + m := &FixtureMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFixtureMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFixtureMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFixtureMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FixtureMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFixtureMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FixtureMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FixtureMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FixtureMapable when successful +func (m *FixtureMapCollectionResponse) GetValue()([]FixtureMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FixtureMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *FixtureMapCollectionResponse) 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 *FixtureMapCollectionResponse) SetValue(value []FixtureMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FixtureMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FixtureMapable) + SetValue(value []FixtureMapable)() +} diff --git a/models/floor.go b/models/floor.go new file mode 100644 index 0000000000..b77ac155ce --- /dev/null +++ b/models/floor.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type Floor struct { + Place +} +// NewFloor instantiates a new Floor and sets the default values. +func NewFloor()(*Floor) { + m := &Floor{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.floor" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFloorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFloorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFloor(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Floor) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["sortOrder"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetSortOrder(val) + } + return nil + } + return res +} +// GetSortOrder gets the sortOrder property value. The sortOrder property +// returns a *int32 when successful +func (m *Floor) GetSortOrder()(*int32) { + val, err := m.GetBackingStore().Get("sortOrder") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *Floor) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("sortOrder", m.GetSortOrder()) + if err != nil { + return err + } + } + return nil +} +// SetSortOrder sets the sortOrder property value. The sortOrder property +func (m *Floor) SetSortOrder(value *int32)() { + err := m.GetBackingStore().Set("sortOrder", value) + if err != nil { + panic(err) + } +} +type Floorable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetSortOrder()(*int32) + SetSortOrder(value *int32)() +} diff --git a/models/floor_collection_response.go b/models/floor_collection_response.go new file mode 100644 index 0000000000..081d13a811 --- /dev/null +++ b/models/floor_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 FloorCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFloorCollectionResponse instantiates a new FloorCollectionResponse and sets the default values. +func NewFloorCollectionResponse()(*FloorCollectionResponse) { + m := &FloorCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFloorCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFloorCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFloorCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FloorCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFloorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Floorable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Floorable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Floorable when successful +func (m *FloorCollectionResponse) GetValue()([]Floorable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Floorable) + } + return nil +} +// Serialize serializes information the current object +func (m *FloorCollectionResponse) 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 *FloorCollectionResponse) SetValue(value []Floorable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FloorCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Floorable) + SetValue(value []Floorable)() +} diff --git a/models/footprint_map.go b/models/footprint_map.go new file mode 100644 index 0000000000..6b56216ba4 --- /dev/null +++ b/models/footprint_map.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 FootprintMap struct { + BaseMapFeature +} +// NewFootprintMap instantiates a new FootprintMap and sets the default values. +func NewFootprintMap()(*FootprintMap) { + m := &FootprintMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.footprintMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateFootprintMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFootprintMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFootprintMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FootprintMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *FootprintMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + return nil +} +type FootprintMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/models/footprint_map_collection_response.go b/models/footprint_map_collection_response.go new file mode 100644 index 0000000000..ae1a8cf635 --- /dev/null +++ b/models/footprint_map_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 FootprintMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewFootprintMapCollectionResponse instantiates a new FootprintMapCollectionResponse and sets the default values. +func NewFootprintMapCollectionResponse()(*FootprintMapCollectionResponse) { + m := &FootprintMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateFootprintMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateFootprintMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewFootprintMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *FootprintMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFootprintMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FootprintMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FootprintMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []FootprintMapable when successful +func (m *FootprintMapCollectionResponse) GetValue()([]FootprintMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FootprintMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *FootprintMapCollectionResponse) 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 *FootprintMapCollectionResponse) SetValue(value []FootprintMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type FootprintMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]FootprintMapable) + SetValue(value []FootprintMapable)() +} diff --git a/models/identitygovernance/user_inactivity_trigger.go b/models/identitygovernance/user_inactivity_trigger.go new file mode 100644 index 0000000000..44254d0c89 --- /dev/null +++ b/models/identitygovernance/user_inactivity_trigger.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package identitygovernance + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UserInactivityTrigger struct { + WorkflowExecutionTrigger +} +// NewUserInactivityTrigger instantiates a new UserInactivityTrigger and sets the default values. +func NewUserInactivityTrigger()(*UserInactivityTrigger) { + m := &UserInactivityTrigger{ + WorkflowExecutionTrigger: *NewWorkflowExecutionTrigger(), + } + odataTypeValue := "#microsoft.graph.identityGovernance.userInactivityTrigger" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUserInactivityTriggerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserInactivityTriggerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUserInactivityTrigger(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UserInactivityTrigger) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.WorkflowExecutionTrigger.GetFieldDeserializers() + res["inactivityPeriodInDays"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetInactivityPeriodInDays(val) + } + return nil + } + return res +} +// GetInactivityPeriodInDays gets the inactivityPeriodInDays property value. The number of days a user must be inactive before triggering workflow execution. +// returns a *int32 when successful +func (m *UserInactivityTrigger) GetInactivityPeriodInDays()(*int32) { + val, err := m.GetBackingStore().Get("inactivityPeriodInDays") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *UserInactivityTrigger) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.WorkflowExecutionTrigger.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("inactivityPeriodInDays", m.GetInactivityPeriodInDays()) + if err != nil { + return err + } + } + return nil +} +// SetInactivityPeriodInDays sets the inactivityPeriodInDays property value. The number of days a user must be inactive before triggering workflow execution. +func (m *UserInactivityTrigger) SetInactivityPeriodInDays(value *int32)() { + err := m.GetBackingStore().Set("inactivityPeriodInDays", value) + if err != nil { + panic(err) + } +} +type UserInactivityTriggerable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + WorkflowExecutionTriggerable + GetInactivityPeriodInDays()(*int32) + SetInactivityPeriodInDays(value *int32)() +} diff --git a/models/identitygovernance/workflow_execution_trigger.go b/models/identitygovernance/workflow_execution_trigger.go index 5a2c7d53a5..8357af3cc1 100644 --- a/models/identitygovernance/workflow_execution_trigger.go +++ b/models/identitygovernance/workflow_execution_trigger.go @@ -41,6 +41,8 @@ func CreateWorkflowExecutionTriggerFromDiscriminatorValue(parseNode i878a80d2330 return NewMembershipChangeTrigger(), nil case "#microsoft.graph.identityGovernance.timeBasedAttributeTrigger": return NewTimeBasedAttributeTrigger(), nil + case "#microsoft.graph.identityGovernance.userInactivityTrigger": + return NewUserInactivityTrigger(), nil } } } diff --git a/models/level_map.go b/models/level_map.go new file mode 100644 index 0000000000..e29a89b74c --- /dev/null +++ b/models/level_map.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 LevelMap struct { + BaseMapFeature +} +// NewLevelMap instantiates a new LevelMap and sets the default values. +func NewLevelMap()(*LevelMap) { + m := &LevelMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.levelMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateLevelMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLevelMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLevelMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LevelMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["fixtures"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateFixtureMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]FixtureMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(FixtureMapable) + } + } + m.SetFixtures(res) + } + 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["sections"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSectionMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SectionMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SectionMapable) + } + } + m.SetSections(res) + } + return nil + } + res["units"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateUnitMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]UnitMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(UnitMapable) + } + } + m.SetUnits(res) + } + return nil + } + return res +} +// GetFixtures gets the fixtures property value. The fixtures property +// returns a []FixtureMapable when successful +func (m *LevelMap) GetFixtures()([]FixtureMapable) { + val, err := m.GetBackingStore().Get("fixtures") + if err != nil { + panic(err) + } + if val != nil { + return val.([]FixtureMapable) + } + return nil +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *LevelMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetSections gets the sections property value. The sections property +// returns a []SectionMapable when successful +func (m *LevelMap) GetSections()([]SectionMapable) { + val, err := m.GetBackingStore().Get("sections") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SectionMapable) + } + return nil +} +// GetUnits gets the units property value. The units property +// returns a []UnitMapable when successful +func (m *LevelMap) GetUnits()([]UnitMapable) { + val, err := m.GetBackingStore().Get("units") + if err != nil { + panic(err) + } + if val != nil { + return val.([]UnitMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *LevelMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + if m.GetFixtures() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetFixtures())) + for i, v := range m.GetFixtures() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("fixtures", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + if m.GetSections() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetSections())) + for i, v := range m.GetSections() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("sections", cast) + if err != nil { + return err + } + } + if m.GetUnits() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetUnits())) + for i, v := range m.GetUnits() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("units", cast) + if err != nil { + return err + } + } + return nil +} +// SetFixtures sets the fixtures property value. The fixtures property +func (m *LevelMap) SetFixtures(value []FixtureMapable)() { + err := m.GetBackingStore().Set("fixtures", value) + if err != nil { + panic(err) + } +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *LevelMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +// SetSections sets the sections property value. The sections property +func (m *LevelMap) SetSections(value []SectionMapable)() { + err := m.GetBackingStore().Set("sections", value) + if err != nil { + panic(err) + } +} +// SetUnits sets the units property value. The units property +func (m *LevelMap) SetUnits(value []UnitMapable)() { + err := m.GetBackingStore().Set("units", value) + if err != nil { + panic(err) + } +} +type LevelMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetFixtures()([]FixtureMapable) + GetPlaceId()(*string) + GetSections()([]SectionMapable) + GetUnits()([]UnitMapable) + SetFixtures(value []FixtureMapable)() + SetPlaceId(value *string)() + SetSections(value []SectionMapable)() + SetUnits(value []UnitMapable)() +} diff --git a/models/level_map_collection_response.go b/models/level_map_collection_response.go new file mode 100644 index 0000000000..7f82f23611 --- /dev/null +++ b/models/level_map_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 LevelMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewLevelMapCollectionResponse instantiates a new LevelMapCollectionResponse and sets the default values. +func NewLevelMapCollectionResponse()(*LevelMapCollectionResponse) { + m := &LevelMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateLevelMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateLevelMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewLevelMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *LevelMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateLevelMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]LevelMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(LevelMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []LevelMapable when successful +func (m *LevelMapCollectionResponse) GetValue()([]LevelMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]LevelMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *LevelMapCollectionResponse) 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 *LevelMapCollectionResponse) SetValue(value []LevelMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type LevelMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]LevelMapable) + SetValue(value []LevelMapable)() +} diff --git a/models/mailbox_details.go b/models/mailbox_details.go new file mode 100644 index 0000000000..755f6bd5e2 --- /dev/null +++ b/models/mailbox_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 MailboxDetails struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewMailboxDetails instantiates a new MailboxDetails and sets the default values. +func NewMailboxDetails()(*MailboxDetails) { + m := &MailboxDetails{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateMailboxDetailsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateMailboxDetailsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewMailboxDetails(), 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 *MailboxDetails) 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 *MailboxDetails) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetEmailAddress gets the emailAddress property value. The emailAddress property +// returns a *string when successful +func (m *MailboxDetails) GetEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("emailAddress") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetExternalDirectoryObjectId gets the externalDirectoryObjectId property value. The externalDirectoryObjectId property +// returns a *string when successful +func (m *MailboxDetails) GetExternalDirectoryObjectId()(*string) { + val, err := m.GetBackingStore().Get("externalDirectoryObjectId") + 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 *MailboxDetails) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["emailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailAddress(val) + } + return nil + } + res["externalDirectoryObjectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetExternalDirectoryObjectId(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *MailboxDetails) 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 *MailboxDetails) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("emailAddress", m.GetEmailAddress()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("externalDirectoryObjectId", m.GetExternalDirectoryObjectId()) + 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 *MailboxDetails) 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 *MailboxDetails) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetEmailAddress sets the emailAddress property value. The emailAddress property +func (m *MailboxDetails) SetEmailAddress(value *string)() { + err := m.GetBackingStore().Set("emailAddress", value) + if err != nil { + panic(err) + } +} +// SetExternalDirectoryObjectId sets the externalDirectoryObjectId property value. The externalDirectoryObjectId property +func (m *MailboxDetails) SetExternalDirectoryObjectId(value *string)() { + err := m.GetBackingStore().Set("externalDirectoryObjectId", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *MailboxDetails) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type MailboxDetailsable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetEmailAddress()(*string) + GetExternalDirectoryObjectId()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetEmailAddress(value *string)() + SetExternalDirectoryObjectId(value *string)() + SetOdataType(value *string)() +} diff --git a/models/place.go b/models/place.go index 2cda1fc295..14fa58d954 100644 --- a/models/place.go +++ b/models/place.go @@ -32,10 +32,20 @@ func CreatePlaceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487e } if mappingValue != nil { switch *mappingValue { + case "#microsoft.graph.building": + return NewBuilding(), nil + case "#microsoft.graph.desk": + return NewDesk(), nil + case "#microsoft.graph.floor": + return NewFloor(), nil case "#microsoft.graph.room": return NewRoom(), nil case "#microsoft.graph.roomList": return NewRoomList(), nil + case "#microsoft.graph.section": + return NewSection(), nil + case "#microsoft.graph.workspace": + return NewWorkspace(), nil } } } @@ -128,6 +138,36 @@ func (m *Place) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["isWheelChairAccessible"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsWheelChairAccessible(val) + } + return nil + } + res["label"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLabel(val) + } + return nil + } + res["parentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetParentId(val) + } + return nil + } res["phone"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -138,6 +178,22 @@ func (m *Place) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388 } return nil } + res["tags"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfPrimitiveValues("string") + if err != nil { + return err + } + if val != nil { + res := make([]string, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*string)) + } + } + m.SetTags(res) + } + return nil + } return res } // GetGeoCoordinates gets the geoCoordinates property value. Specifies the place location in latitude, longitude, and (optionally) altitude coordinates. @@ -152,6 +208,42 @@ func (m *Place) GetGeoCoordinates()(OutlookGeoCoordinatesable) { } return nil } +// GetIsWheelChairAccessible gets the isWheelChairAccessible property value. The isWheelChairAccessible property +// returns a *bool when successful +func (m *Place) GetIsWheelChairAccessible()(*bool) { + val, err := m.GetBackingStore().Get("isWheelChairAccessible") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLabel gets the label property value. The label property +// returns a *string when successful +func (m *Place) GetLabel()(*string) { + val, err := m.GetBackingStore().Get("label") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetParentId gets the parentId property value. The parentId property +// returns a *string when successful +func (m *Place) GetParentId()(*string) { + val, err := m.GetBackingStore().Get("parentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} // GetPhone gets the phone property value. The phone number of the place. // returns a *string when successful func (m *Place) GetPhone()(*string) { @@ -164,6 +256,18 @@ func (m *Place) GetPhone()(*string) { } return nil } +// GetTags gets the tags property value. The tags property +// returns a []string when successful +func (m *Place) GetTags()([]string) { + val, err := m.GetBackingStore().Get("tags") + if err != nil { + panic(err) + } + if val != nil { + return val.([]string) + } + return nil +} // Serialize serializes information the current object func (m *Place) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Entity.Serialize(writer) @@ -200,12 +304,36 @@ func (m *Place) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c4 return err } } + { + err = writer.WriteBoolValue("isWheelChairAccessible", m.GetIsWheelChairAccessible()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("label", m.GetLabel()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("parentId", m.GetParentId()) + if err != nil { + return err + } + } { err = writer.WriteStringValue("phone", m.GetPhone()) if err != nil { return err } } + if m.GetTags() != nil { + err = writer.WriteCollectionOfStringValues("tags", m.GetTags()) + if err != nil { + return err + } + } return nil } // SetAddress sets the address property value. The street address of the place. @@ -236,6 +364,27 @@ func (m *Place) SetGeoCoordinates(value OutlookGeoCoordinatesable)() { panic(err) } } +// SetIsWheelChairAccessible sets the isWheelChairAccessible property value. The isWheelChairAccessible property +func (m *Place) SetIsWheelChairAccessible(value *bool)() { + err := m.GetBackingStore().Set("isWheelChairAccessible", value) + if err != nil { + panic(err) + } +} +// SetLabel sets the label property value. The label property +func (m *Place) SetLabel(value *string)() { + err := m.GetBackingStore().Set("label", value) + if err != nil { + panic(err) + } +} +// SetParentId sets the parentId property value. The parentId property +func (m *Place) SetParentId(value *string)() { + err := m.GetBackingStore().Set("parentId", value) + if err != nil { + panic(err) + } +} // SetPhone sets the phone property value. The phone number of the place. func (m *Place) SetPhone(value *string)() { err := m.GetBackingStore().Set("phone", value) @@ -243,6 +392,13 @@ func (m *Place) SetPhone(value *string)() { panic(err) } } +// SetTags sets the tags property value. The tags property +func (m *Place) SetTags(value []string)() { + err := m.GetBackingStore().Set("tags", value) + if err != nil { + panic(err) + } +} type Placeable interface { Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable @@ -250,10 +406,18 @@ type Placeable interface { GetCheckIns()([]CheckInClaimable) GetDisplayName()(*string) GetGeoCoordinates()(OutlookGeoCoordinatesable) + GetIsWheelChairAccessible()(*bool) + GetLabel()(*string) + GetParentId()(*string) GetPhone()(*string) + GetTags()([]string) SetAddress(value PhysicalAddressable)() SetCheckIns(value []CheckInClaimable)() SetDisplayName(value *string)() SetGeoCoordinates(value OutlookGeoCoordinatesable)() + SetIsWheelChairAccessible(value *bool)() + SetLabel(value *string)() + SetParentId(value *string)() SetPhone(value *string)() + SetTags(value []string)() } diff --git a/models/place_mode.go b/models/place_mode.go new file mode 100644 index 0000000000..fe850270a0 --- /dev/null +++ b/models/place_mode.go @@ -0,0 +1,138 @@ +// 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 PlaceMode struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewPlaceMode instantiates a new PlaceMode and sets the default values. +func NewPlaceMode()(*PlaceMode) { + m := &PlaceMode{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreatePlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreatePlaceModeFromDiscriminatorValue(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.assignedPlaceMode": + return NewAssignedPlaceMode(), nil + case "#microsoft.graph.dropInPlaceMode": + return NewDropInPlaceMode(), nil + case "#microsoft.graph.reservablePlaceMode": + return NewReservablePlaceMode(), nil + } + } + } + } + return NewPlaceMode(), 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 *PlaceMode) 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 *PlaceMode) 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 *PlaceMode) 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 *PlaceMode) 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 *PlaceMode) 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 *PlaceMode) 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 *PlaceMode) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *PlaceMode) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type PlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetOdataType(value *string)() +} diff --git a/models/planner_plan_container.go b/models/planner_plan_container.go index a168336e12..a23dd0290a 100644 --- a/models/planner_plan_container.go +++ b/models/planner_plan_container.go @@ -113,7 +113,7 @@ func (m *PlannerPlanContainer) GetOdataType()(*string) { } return nil } -// GetTypeEscaped gets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. +// GetTypeEscaped gets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: roster. Optional. // returns a *PlannerContainerType when successful func (m *PlannerPlanContainer) GetTypeEscaped()(*PlannerContainerType) { val, err := m.GetBackingStore().Get("typeEscaped") @@ -197,7 +197,7 @@ func (m *PlannerPlanContainer) SetOdataType(value *string)() { panic(err) } } -// SetTypeEscaped sets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: roster. Optional. +// SetTypeEscaped sets the type property value. The type of the resource that contains the plan. For supported types, see the previous table. Possible values are: group, unknownFutureValue, roster. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: roster. Optional. func (m *PlannerPlanContainer) SetTypeEscaped(value *PlannerContainerType)() { err := m.GetBackingStore().Set("typeEscaped", value) if err != nil { diff --git a/models/reservable_place_mode.go b/models/reservable_place_mode.go new file mode 100644 index 0000000000..d0e88ff4e3 --- /dev/null +++ b/models/reservable_place_mode.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 ReservablePlaceMode struct { + PlaceMode +} +// NewReservablePlaceMode instantiates a new ReservablePlaceMode and sets the default values. +func NewReservablePlaceMode()(*ReservablePlaceMode) { + m := &ReservablePlaceMode{ + PlaceMode: *NewPlaceMode(), + } + odataTypeValue := "#microsoft.graph.reservablePlaceMode" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateReservablePlaceModeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateReservablePlaceModeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewReservablePlaceMode(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ReservablePlaceMode) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.PlaceMode.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *ReservablePlaceMode) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.PlaceMode.Serialize(writer) + if err != nil { + return err + } + return nil +} +type ReservablePlaceModeable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + PlaceModeable +} diff --git a/models/resource_link.go b/models/resource_link.go new file mode 100644 index 0000000000..b28aabcac6 --- /dev/null +++ b/models/resource_link.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" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ResourceLink struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewResourceLink instantiates a new ResourceLink and sets the default values. +func NewResourceLink()(*ResourceLink) { + m := &ResourceLink{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateResourceLinkFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateResourceLinkFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewResourceLink(), 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 *ResourceLink) 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 *ResourceLink) 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 *ResourceLink) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["linkType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseResourceLinkType) + if err != nil { + return err + } + if val != nil { + m.SetLinkType(val.(*ResourceLinkType)) + } + return nil + } + res["name"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetName(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetValue(val) + } + return nil + } + return res +} +// GetLinkType gets the linkType property value. The linkType property +// returns a *ResourceLinkType when successful +func (m *ResourceLink) GetLinkType()(*ResourceLinkType) { + val, err := m.GetBackingStore().Get("linkType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*ResourceLinkType) + } + return nil +} +// GetName gets the name property value. The name property +// returns a *string when successful +func (m *ResourceLink) GetName()(*string) { + val, err := m.GetBackingStore().Get("name") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *ResourceLink) GetOdataType()(*string) { + val, err := m.GetBackingStore().Get("odataType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetValue gets the value property value. The value property +// returns a *string when successful +func (m *ResourceLink) GetValue()(*string) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *ResourceLink) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetLinkType() != nil { + cast := (*m.GetLinkType()).String() + err := writer.WriteStringValue("linkType", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("name", m.GetName()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("@odata.type", m.GetOdataType()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("value", m.GetValue()) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *ResourceLink) 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 *ResourceLink) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetLinkType sets the linkType property value. The linkType property +func (m *ResourceLink) SetLinkType(value *ResourceLinkType)() { + err := m.GetBackingStore().Set("linkType", value) + if err != nil { + panic(err) + } +} +// SetName sets the name property value. The name property +func (m *ResourceLink) SetName(value *string)() { + err := m.GetBackingStore().Set("name", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *ResourceLink) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +// SetValue sets the value property value. The value property +func (m *ResourceLink) SetValue(value *string)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ResourceLinkable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetLinkType()(*ResourceLinkType) + GetName()(*string) + GetOdataType()(*string) + GetValue()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetLinkType(value *ResourceLinkType)() + SetName(value *string)() + SetOdataType(value *string)() + SetValue(value *string)() +} diff --git a/models/resource_link_type.go b/models/resource_link_type.go new file mode 100644 index 0000000000..10fe521397 --- /dev/null +++ b/models/resource_link_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 ResourceLinkType int + +const ( + URL_RESOURCELINKTYPE ResourceLinkType = iota + UNKNOWNFUTUREVALUE_RESOURCELINKTYPE +) + +func (i ResourceLinkType) String() string { + return []string{"url", "unknownFutureValue"}[i] +} +func ParseResourceLinkType(v string) (any, error) { + result := URL_RESOURCELINKTYPE + switch v { + case "url": + result = URL_RESOURCELINKTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_RESOURCELINKTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeResourceLinkType(values []ResourceLinkType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i ResourceLinkType) isMultiValue() bool { + return false +} diff --git a/models/restore_session_base.go b/models/restore_session_base.go index 3771475929..4c9105a9b7 100644 --- a/models/restore_session_base.go +++ b/models/restore_session_base.go @@ -237,7 +237,7 @@ func (m *RestoreSessionBase) GetRestoreSessionArtifactCount()(RestoreSessionArti } return nil } -// GetStatus gets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. +// GetStatus gets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: failed. // returns a *RestoreSessionStatus when successful func (m *RestoreSessionBase) GetStatus()(*RestoreSessionStatus) { val, err := m.GetBackingStore().Get("status") @@ -369,7 +369,7 @@ func (m *RestoreSessionBase) SetRestoreSessionArtifactCount(value RestoreSession panic(err) } } -// SetStatus sets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: failed. +// SetStatus sets the status property value. Status of the restore session. The value is an aggregated status of the restored artifacts. The possible values are: draft, activating, active, completedWithError, completed, unknownFutureValue, failed. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: failed. func (m *RestoreSessionBase) SetStatus(value *RestoreSessionStatus)() { err := m.GetBackingStore().Set("status", value) if err != nil { diff --git a/models/risk_detection.go b/models/risk_detection.go index 38edae6a79..2f74ade481 100644 --- a/models/risk_detection.go +++ b/models/risk_detection.go @@ -339,7 +339,7 @@ func (m *RiskDetection) GetRequestId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. // returns a *RiskDetail when successful func (m *RiskDetection) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -645,7 +645,7 @@ func (m *RiskDetection) SetRequestId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. The possible values are: none, adminGeneratedTemporaryPassword, userChangedPasswordOnPremises, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, m365DAdminDismissedDetection. Use the Prefer: include - unknown -enum-members request header to get the following value(s) in this evolvable enum: m365DAdminDismissedDetection. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. func (m *RiskDetection) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/risk_service_principal_activity.go b/models/risk_service_principal_activity.go index 3bf0bdefca..d3a8a5afaf 100644 --- a/models/risk_service_principal_activity.go +++ b/models/risk_service_principal_activity.go @@ -43,7 +43,7 @@ func (m *RiskServicePrincipalActivity) GetAdditionalData()(map[string]any) { func (m *RiskServicePrincipalActivity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDetail gets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// GetDetail gets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. // returns a *RiskDetail when successful func (m *RiskServicePrincipalActivity) GetDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("detail") @@ -161,7 +161,7 @@ func (m *RiskServicePrincipalActivity) SetAdditionalData(value map[string]any)() func (m *RiskServicePrincipalActivity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDetail sets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// SetDetail sets the detail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. func (m *RiskServicePrincipalActivity) SetDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("detail", value) if err != nil { diff --git a/models/risk_user_activity.go b/models/risk_user_activity.go index eb76a62ada..265ee9a128 100644 --- a/models/risk_user_activity.go +++ b/models/risk_user_activity.go @@ -43,7 +43,7 @@ func (m *RiskUserActivity) GetAdditionalData()(map[string]any) { func (m *RiskUserActivity) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetDetail gets the detail property value. Details of the detected risk. Possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. For more information about each value, see Risk types and detection. +// GetDetail gets the detail property value. For more information, see riskDetail. // returns a *RiskDetail when successful func (m *RiskUserActivity) GetDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("detail") @@ -161,7 +161,7 @@ func (m *RiskUserActivity) SetAdditionalData(value map[string]any)() { func (m *RiskUserActivity) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetDetail sets the detail property value. Details of the detected risk. Possible values are: none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue. For more information about each value, see Risk types and detection. +// SetDetail sets the detail property value. For more information, see riskDetail. func (m *RiskUserActivity) SetDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("detail", value) if err != nil { diff --git a/models/risky_service_principal.go b/models/risky_service_principal.go index 648e5926bf..7e18c32394 100644 --- a/models/risky_service_principal.go +++ b/models/risky_service_principal.go @@ -213,7 +213,7 @@ func (m *RiskyServicePrincipal) GetIsProcessing()(*bool) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. // returns a *RiskDetail when successful func (m *RiskyServicePrincipal) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -385,7 +385,7 @@ func (m *RiskyServicePrincipal) SetIsProcessing(value *bool)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. func (m *RiskyServicePrincipal) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/risky_user.go b/models/risky_user.go index da50a3f7be..01bbc776ef 100644 --- a/models/risky_user.go +++ b/models/risky_user.go @@ -179,7 +179,7 @@ func (m *RiskyUser) GetIsProcessing()(*bool) { } return nil } -// GetRiskDetail gets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. // returns a *RiskDetail when successful func (m *RiskyUser) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -343,7 +343,7 @@ func (m *RiskyUser) SetIsProcessing(value *bool)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. func (m *RiskyUser) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/room.go b/models/room.go index 1aa83dda91..b470f68b12 100644 --- a/models/room.go +++ b/models/room.go @@ -180,26 +180,6 @@ func (m *Room) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } - res["isWheelChairAccessible"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetBoolValue() - if err != nil { - return err - } - if val != nil { - m.SetIsWheelChairAccessible(val) - } - return nil - } - res["label"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetStringValue() - if err != nil { - return err - } - if val != nil { - m.SetLabel(val) - } - return nil - } res["nickname"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -210,22 +190,6 @@ func (m *Room) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a } return nil } - res["tags"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { - val, err := n.GetCollectionOfPrimitiveValues("string") - if err != nil { - return err - } - if val != nil { - res := make([]string, len(val)) - for i, v := range val { - if v != nil { - res[i] = *(v.(*string)) - } - } - m.SetTags(res) - } - return nil - } res["videoDeviceName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetStringValue() if err != nil { @@ -262,30 +226,6 @@ func (m *Room) GetFloorNumber()(*int32) { } return nil } -// GetIsWheelChairAccessible gets the isWheelChairAccessible property value. Specifies whether the room is wheelchair accessible. -// returns a *bool when successful -func (m *Room) GetIsWheelChairAccessible()(*bool) { - val, err := m.GetBackingStore().Get("isWheelChairAccessible") - if err != nil { - panic(err) - } - if val != nil { - return val.(*bool) - } - return nil -} -// GetLabel gets the label property value. Specifies a descriptive label for the room, for example, a number or name. -// returns a *string when successful -func (m *Room) GetLabel()(*string) { - val, err := m.GetBackingStore().Get("label") - if err != nil { - panic(err) - } - if val != nil { - return val.(*string) - } - return nil -} // GetNickname gets the nickname property value. Specifies a nickname for the room, for example, 'conf room'. // returns a *string when successful func (m *Room) GetNickname()(*string) { @@ -298,18 +238,6 @@ func (m *Room) GetNickname()(*string) { } return nil } -// GetTags gets the tags property value. Specifies other features of the room, for example, details like the type of view or furniture type. -// returns a []string when successful -func (m *Room) GetTags()([]string) { - val, err := m.GetBackingStore().Get("tags") - if err != nil { - panic(err) - } - if val != nil { - return val.([]string) - } - return nil -} // GetVideoDeviceName gets the videoDeviceName property value. Specifies the name of the video device in the room. // returns a *string when successful func (m *Room) GetVideoDeviceName()(*string) { @@ -377,30 +305,12 @@ func (m *Room) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c49 return err } } - { - err = writer.WriteBoolValue("isWheelChairAccessible", m.GetIsWheelChairAccessible()) - if err != nil { - return err - } - } - { - err = writer.WriteStringValue("label", m.GetLabel()) - if err != nil { - return err - } - } { err = writer.WriteStringValue("nickname", m.GetNickname()) if err != nil { return err } } - if m.GetTags() != nil { - err = writer.WriteCollectionOfStringValues("tags", m.GetTags()) - if err != nil { - return err - } - } { err = writer.WriteStringValue("videoDeviceName", m.GetVideoDeviceName()) if err != nil { @@ -465,20 +375,6 @@ func (m *Room) SetFloorNumber(value *int32)() { panic(err) } } -// SetIsWheelChairAccessible sets the isWheelChairAccessible property value. Specifies whether the room is wheelchair accessible. -func (m *Room) SetIsWheelChairAccessible(value *bool)() { - err := m.GetBackingStore().Set("isWheelChairAccessible", value) - if err != nil { - panic(err) - } -} -// SetLabel sets the label property value. Specifies a descriptive label for the room, for example, a number or name. -func (m *Room) SetLabel(value *string)() { - err := m.GetBackingStore().Set("label", value) - if err != nil { - panic(err) - } -} // SetNickname sets the nickname property value. Specifies a nickname for the room, for example, 'conf room'. func (m *Room) SetNickname(value *string)() { err := m.GetBackingStore().Set("nickname", value) @@ -486,13 +382,6 @@ func (m *Room) SetNickname(value *string)() { panic(err) } } -// SetTags sets the tags property value. Specifies other features of the room, for example, details like the type of view or furniture type. -func (m *Room) SetTags(value []string)() { - err := m.GetBackingStore().Set("tags", value) - if err != nil { - panic(err) - } -} // SetVideoDeviceName sets the videoDeviceName property value. Specifies the name of the video device in the room. func (m *Room) SetVideoDeviceName(value *string)() { err := m.GetBackingStore().Set("videoDeviceName", value) @@ -511,10 +400,7 @@ type Roomable interface { GetEmailAddress()(*string) GetFloorLabel()(*string) GetFloorNumber()(*int32) - GetIsWheelChairAccessible()(*bool) - GetLabel()(*string) GetNickname()(*string) - GetTags()([]string) GetVideoDeviceName()(*string) SetAudioDeviceName(value *string)() SetBookingType(value *BookingType)() @@ -524,9 +410,6 @@ type Roomable interface { SetEmailAddress(value *string)() SetFloorLabel(value *string)() SetFloorNumber(value *int32)() - SetIsWheelChairAccessible(value *bool)() - SetLabel(value *string)() SetNickname(value *string)() - SetTags(value []string)() SetVideoDeviceName(value *string)() } diff --git a/models/room_list.go b/models/room_list.go index 276962e75d..4fa4efd39f 100644 --- a/models/room_list.go +++ b/models/room_list.go @@ -66,6 +66,22 @@ func (m *RoomList) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896 } return nil } + res["workspaces"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkspaceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Workspaceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Workspaceable) + } + } + m.SetWorkspaces(res) + } + return nil + } return res } // GetRooms gets the rooms property value. The rooms property @@ -80,6 +96,18 @@ func (m *RoomList) GetRooms()([]Roomable) { } return nil } +// GetWorkspaces gets the workspaces property value. The workspaces property +// returns a []Workspaceable when successful +func (m *RoomList) GetWorkspaces()([]Workspaceable) { + val, err := m.GetBackingStore().Get("workspaces") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Workspaceable) + } + return nil +} // Serialize serializes information the current object func (m *RoomList) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { err := m.Place.Serialize(writer) @@ -104,6 +132,18 @@ func (m *RoomList) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c01 return err } } + if m.GetWorkspaces() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetWorkspaces())) + for i, v := range m.GetWorkspaces() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("workspaces", cast) + if err != nil { + return err + } + } return nil } // SetEmailAddress sets the emailAddress property value. The email address of the room list. @@ -120,11 +160,20 @@ func (m *RoomList) SetRooms(value []Roomable)() { panic(err) } } +// SetWorkspaces sets the workspaces property value. The workspaces property +func (m *RoomList) SetWorkspaces(value []Workspaceable)() { + err := m.GetBackingStore().Set("workspaces", value) + if err != nil { + panic(err) + } +} type RoomListable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable Placeable GetEmailAddress()(*string) GetRooms()([]Roomable) + GetWorkspaces()([]Workspaceable) SetEmailAddress(value *string)() SetRooms(value []Roomable)() + SetWorkspaces(value []Workspaceable)() } diff --git a/models/search_request.go b/models/search_request.go index 5b4d78a27e..bf94084f42 100644 --- a/models/search_request.go +++ b/models/search_request.go @@ -103,7 +103,7 @@ func (m *SearchRequest) GetEnableTopResults()(*bool) { } return nil } -// GetEntityTypes gets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. +// GetEntityTypes gets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. // returns a []EntityType when successful func (m *SearchRequest) GetEntityTypes()([]EntityType) { val, err := m.GetBackingStore().Get("entityTypes") @@ -613,7 +613,7 @@ func (m *SearchRequest) SetEnableTopResults(value *bool)() { panic(err) } } -// SetEntityTypes sets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. +// SetEntityTypes sets the entityTypes property value. One or more types of resources expected in the response. Possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required. func (m *SearchRequest) SetEntityTypes(value []EntityType)() { err := m.GetBackingStore().Set("entityTypes", value) if err != nil { diff --git a/models/section.go b/models/section.go new file mode 100644 index 0000000000..2008cf67e2 --- /dev/null +++ b/models/section.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 Section struct { + Place +} +// NewSection instantiates a new Section and sets the default values. +func NewSection()(*Section) { + m := &Section{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.section" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateSectionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSection(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *Section) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *Section) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + return nil +} +type Sectionable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable +} diff --git a/models/section_collection_response.go b/models/section_collection_response.go new file mode 100644 index 0000000000..f65fc11e4d --- /dev/null +++ b/models/section_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 SectionCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSectionCollectionResponse instantiates a new SectionCollectionResponse and sets the default values. +func NewSectionCollectionResponse()(*SectionCollectionResponse) { + m := &SectionCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSectionCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSectionCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSectionCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SectionCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSectionFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Sectionable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Sectionable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Sectionable when successful +func (m *SectionCollectionResponse) GetValue()([]Sectionable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Sectionable) + } + return nil +} +// Serialize serializes information the current object +func (m *SectionCollectionResponse) 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 *SectionCollectionResponse) SetValue(value []Sectionable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SectionCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Sectionable) + SetValue(value []Sectionable)() +} diff --git a/models/section_map.go b/models/section_map.go new file mode 100644 index 0000000000..1ca48e5e09 --- /dev/null +++ b/models/section_map.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SectionMap struct { + BaseMapFeature +} +// NewSectionMap instantiates a new SectionMap and sets the default values. +func NewSectionMap()(*SectionMap) { + m := &SectionMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.sectionMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateSectionMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSectionMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSectionMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SectionMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *SectionMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SectionMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *SectionMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type SectionMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPlaceId()(*string) + SetPlaceId(value *string)() +} diff --git a/models/section_map_collection_response.go b/models/section_map_collection_response.go new file mode 100644 index 0000000000..5d081bd188 --- /dev/null +++ b/models/section_map_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 SectionMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSectionMapCollectionResponse instantiates a new SectionMapCollectionResponse and sets the default values. +func NewSectionMapCollectionResponse()(*SectionMapCollectionResponse) { + m := &SectionMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSectionMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSectionMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSectionMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SectionMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSectionMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SectionMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SectionMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SectionMapable when successful +func (m *SectionMapCollectionResponse) GetValue()([]SectionMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SectionMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *SectionMapCollectionResponse) 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 *SectionMapCollectionResponse) SetValue(value []SectionMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SectionMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SectionMapable) + SetValue(value []SectionMapable)() +} diff --git a/models/security/account.go b/models/security/account.go new file mode 100644 index 0000000000..55197c7822 --- /dev/null +++ b/models/security/account.go @@ -0,0 +1,234 @@ +// 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" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type Account struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewAccount instantiates a new Account and sets the default values. +func NewAccount()(*Account) { + m := &Account{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateAccountFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAccountFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAccount(), nil +} +// GetActions gets the actions property value. List of the type of action. The possible values are: disable, enable, forcePasswordReset, revokeAllSessions, requireUserToSignInAgain, markUserAsCompromised, unknownFutureValue. +// returns a []Action when successful +func (m *Account) GetActions()([]Action) { + val, err := m.GetBackingStore().Get("actions") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Action) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *Account) 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 *Account) 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 *Account) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["actions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfEnumValues(ParseAction) + if err != nil { + return err + } + if val != nil { + res := make([]Action, len(val)) + for i, v := range val { + if v != nil { + res[i] = *(v.(*Action)) + } + } + m.SetActions(res) + } + return nil + } + res["identifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetIdentifier(val) + } + return nil + } + res["identityProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseIdentityProvider) + if err != nil { + return err + } + if val != nil { + m.SetIdentityProvider(val.(*IdentityProvider)) + } + 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 +} +// GetIdentifier gets the identifier property value. The account ID. +// returns a *string when successful +func (m *Account) GetIdentifier()(*string) { + val, err := m.GetBackingStore().Get("identifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetIdentityProvider gets the identityProvider property value. The identityProvider property +// returns a *IdentityProvider when successful +func (m *Account) GetIdentityProvider()(*IdentityProvider) { + val, err := m.GetBackingStore().Get("identityProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*IdentityProvider) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *Account) 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 *Account) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + if m.GetActions() != nil { + err := writer.WriteCollectionOfStringValues("actions", SerializeAction(m.GetActions())) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("identifier", m.GetIdentifier()) + if err != nil { + return err + } + } + if m.GetIdentityProvider() != nil { + cast := (*m.GetIdentityProvider()).String() + err := writer.WriteStringValue("identityProvider", &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 +} +// SetActions sets the actions property value. List of the type of action. The possible values are: disable, enable, forcePasswordReset, revokeAllSessions, requireUserToSignInAgain, markUserAsCompromised, unknownFutureValue. +func (m *Account) SetActions(value []Action)() { + err := m.GetBackingStore().Set("actions", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *Account) 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 *Account) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIdentifier sets the identifier property value. The account ID. +func (m *Account) SetIdentifier(value *string)() { + err := m.GetBackingStore().Set("identifier", value) + if err != nil { + panic(err) + } +} +// SetIdentityProvider sets the identityProvider property value. The identityProvider property +func (m *Account) SetIdentityProvider(value *IdentityProvider)() { + err := m.GetBackingStore().Set("identityProvider", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *Account) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type Accountable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetActions()([]Action) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIdentifier()(*string) + GetIdentityProvider()(*IdentityProvider) + GetOdataType()(*string) + SetActions(value []Action)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIdentifier(value *string)() + SetIdentityProvider(value *IdentityProvider)() + SetOdataType(value *string)() +} diff --git a/models/security/action.go b/models/security/action.go new file mode 100644 index 0000000000..f21518f698 --- /dev/null +++ b/models/security/action.go @@ -0,0 +1,51 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type Action int + +const ( + DISABLE_ACTION Action = iota + ENABLE_ACTION + FORCEPASSWORDRESET_ACTION + REVOKEALLSESSIONS_ACTION + REQUIREUSERTOSIGNINAGAIN_ACTION + MARKUSERASCOMPROMISED_ACTION + UNKNOWNFUTUREVALUE_ACTION +) + +func (i Action) String() string { + return []string{"disable", "enable", "forcePasswordReset", "revokeAllSessions", "requireUserToSignInAgain", "markUserAsCompromised", "unknownFutureValue"}[i] +} +func ParseAction(v string) (any, error) { + result := DISABLE_ACTION + switch v { + case "disable": + result = DISABLE_ACTION + case "enable": + result = ENABLE_ACTION + case "forcePasswordReset": + result = FORCEPASSWORDRESET_ACTION + case "revokeAllSessions": + result = REVOKEALLSESSIONS_ACTION + case "requireUserToSignInAgain": + result = REQUIREUSERTOSIGNINAGAIN_ACTION + case "markUserAsCompromised": + result = MARKUSERASCOMPROMISED_ACTION + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_ACTION + default: + return nil, nil + } + return &result, nil +} +func SerializeAction(values []Action) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i Action) isMultiValue() bool { + return false +} diff --git a/models/security/ai_agent_evidence.go b/models/security/ai_agent_evidence.go new file mode 100644 index 0000000000..76c8c173f7 --- /dev/null +++ b/models/security/ai_agent_evidence.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 security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type AiAgentEvidence struct { + AlertEvidence +} +// NewAiAgentEvidence instantiates a new AiAgentEvidence and sets the default values. +func NewAiAgentEvidence()(*AiAgentEvidence) { + m := &AiAgentEvidence{ + AlertEvidence: *NewAlertEvidence(), + } + odataTypeValue := "#microsoft.graph.security.aiAgentEvidence" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateAiAgentEvidenceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateAiAgentEvidenceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewAiAgentEvidence(), nil +} +// GetAgentId gets the agentId property value. The unique identifier for the AI agent. +// returns a *string when successful +func (m *AiAgentEvidence) GetAgentId()(*string) { + val, err := m.GetBackingStore().Get("agentId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAgentName gets the agentName property value. The display name for the AI agent. +// returns a *string when successful +func (m *AiAgentEvidence) GetAgentName()(*string) { + val, err := m.GetBackingStore().Get("agentName") + 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 *AiAgentEvidence) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.AlertEvidence.GetFieldDeserializers() + res["agentId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAgentId(val) + } + return nil + } + res["agentName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAgentName(val) + } + return nil + } + res["hostingPlatformType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAiAgentPlatform) + if err != nil { + return err + } + if val != nil { + m.SetHostingPlatformType(val.(*AiAgentPlatform)) + } + return nil + } + res["instructions"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetInstructions(val) + } + return nil + } + return res +} +// GetHostingPlatformType gets the hostingPlatformType property value. Type of the platform the agent runs on. Possible values are: unknown, azureAIFoundry, copilotStudio, copilot, unknownFutureValue. +// returns a *AiAgentPlatform when successful +func (m *AiAgentEvidence) GetHostingPlatformType()(*AiAgentPlatform) { + val, err := m.GetBackingStore().Get("hostingPlatformType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*AiAgentPlatform) + } + return nil +} +// GetInstructions gets the instructions property value. The instructions of the agent. +// returns a *string when successful +func (m *AiAgentEvidence) GetInstructions()(*string) { + val, err := m.GetBackingStore().Get("instructions") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *AiAgentEvidence) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.AlertEvidence.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("agentId", m.GetAgentId()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("agentName", m.GetAgentName()) + if err != nil { + return err + } + } + if m.GetHostingPlatformType() != nil { + cast := (*m.GetHostingPlatformType()).String() + err = writer.WriteStringValue("hostingPlatformType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("instructions", m.GetInstructions()) + if err != nil { + return err + } + } + return nil +} +// SetAgentId sets the agentId property value. The unique identifier for the AI agent. +func (m *AiAgentEvidence) SetAgentId(value *string)() { + err := m.GetBackingStore().Set("agentId", value) + if err != nil { + panic(err) + } +} +// SetAgentName sets the agentName property value. The display name for the AI agent. +func (m *AiAgentEvidence) SetAgentName(value *string)() { + err := m.GetBackingStore().Set("agentName", value) + if err != nil { + panic(err) + } +} +// SetHostingPlatformType sets the hostingPlatformType property value. Type of the platform the agent runs on. Possible values are: unknown, azureAIFoundry, copilotStudio, copilot, unknownFutureValue. +func (m *AiAgentEvidence) SetHostingPlatformType(value *AiAgentPlatform)() { + err := m.GetBackingStore().Set("hostingPlatformType", value) + if err != nil { + panic(err) + } +} +// SetInstructions sets the instructions property value. The instructions of the agent. +func (m *AiAgentEvidence) SetInstructions(value *string)() { + err := m.GetBackingStore().Set("instructions", value) + if err != nil { + panic(err) + } +} +type AiAgentEvidenceable interface { + AlertEvidenceable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAgentId()(*string) + GetAgentName()(*string) + GetHostingPlatformType()(*AiAgentPlatform) + GetInstructions()(*string) + SetAgentId(value *string)() + SetAgentName(value *string)() + SetHostingPlatformType(value *AiAgentPlatform)() + SetInstructions(value *string)() +} diff --git a/models/security/ai_agent_platform.go b/models/security/ai_agent_platform.go new file mode 100644 index 0000000000..8610f48eb2 --- /dev/null +++ b/models/security/ai_agent_platform.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 security +type AiAgentPlatform int + +const ( + UNKNOWN_AIAGENTPLATFORM AiAgentPlatform = iota + AZUREAIFOUNDRY_AIAGENTPLATFORM + COPILOTSTUDIO_AIAGENTPLATFORM + COPILOT_AIAGENTPLATFORM + UNKNOWNFUTUREVALUE_AIAGENTPLATFORM +) + +func (i AiAgentPlatform) String() string { + return []string{"unknown", "azureAIFoundry", "copilotStudio", "copilot", "unknownFutureValue"}[i] +} +func ParseAiAgentPlatform(v string) (any, error) { + result := UNKNOWN_AIAGENTPLATFORM + switch v { + case "unknown": + result = UNKNOWN_AIAGENTPLATFORM + case "azureAIFoundry": + result = AZUREAIFOUNDRY_AIAGENTPLATFORM + case "copilotStudio": + result = COPILOTSTUDIO_AIAGENTPLATFORM + case "copilot": + result = COPILOT_AIAGENTPLATFORM + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_AIAGENTPLATFORM + default: + return nil, nil + } + return &result, nil +} +func SerializeAiAgentPlatform(values []AiAgentPlatform) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i AiAgentPlatform) isMultiValue() bool { + return false +} diff --git a/models/security/alert_evidence.go b/models/security/alert_evidence.go index fa1160844a..da8be54c8f 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.aiAgentEvidence": + return NewAiAgentEvidence(), nil case "#microsoft.graph.security.amazonResourceEvidence": return NewAmazonResourceEvidence(), nil case "#microsoft.graph.security.analyzedMessageEvidence": diff --git a/models/security/ediscovery_export_operation.go b/models/security/ediscovery_export_operation.go index e3e418ff41..b449ee3941 100644 --- a/models/security/ediscovery_export_operation.go +++ b/models/security/ediscovery_export_operation.go @@ -58,7 +58,7 @@ func (m *EdiscoveryExportOperation) GetExportOptions()(*ExportOptions) { } return nil } -// GetExportStructure gets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: msg. The directory member is deprecated. It remains in v1.0 for backward compatibility. Going forward, use either pst or msg. +// GetExportStructure gets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following members from this evolvable enum: msg. The directory member is deprecated. It remains in v1.0 for backward compatibility. Going forward, use either pst or msg. // returns a *ExportFileStructure when successful func (m *EdiscoveryExportOperation) GetExportStructure()(*ExportFileStructure) { val, err := m.GetBackingStore().Get("exportStructure") @@ -267,7 +267,7 @@ func (m *EdiscoveryExportOperation) SetExportOptions(value *ExportOptions)() { panic(err) } } -// SetExportStructure sets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: msg. The directory member is deprecated. It remains in v1.0 for backward compatibility. Going forward, use either pst or msg. +// SetExportStructure sets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following members from this evolvable enum: msg. The directory member is deprecated. It remains in v1.0 for backward compatibility. Going forward, use either pst or msg. func (m *EdiscoveryExportOperation) SetExportStructure(value *ExportFileStructure)() { err := m.GetBackingStore().Set("exportStructure", value) if err != nil { diff --git a/models/security/identity_accounts.go b/models/security/identity_accounts.go new file mode 100644 index 0000000000..9b2e8d1028 --- /dev/null +++ b/models/security/identity_accounts.go @@ -0,0 +1,295 @@ +// 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" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type IdentityAccounts struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entity +} +// NewIdentityAccounts instantiates a new IdentityAccounts and sets the default values. +func NewIdentityAccounts()(*IdentityAccounts) { + m := &IdentityAccounts{ + Entity: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewEntity(), + } + return m +} +// CreateIdentityAccountsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIdentityAccountsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + if parseNode != nil { + mappingValueNode, err := parseNode.GetChildNode("@odata.type") + if err != nil { + return nil, err + } + if mappingValueNode != nil { + mappingValue, err := mappingValueNode.GetStringValue() + if err != nil { + return nil, err + } + if mappingValue != nil { + switch *mappingValue { + case "#microsoft.graph.security.user": + return NewUser(), nil + } + } + } + } + return NewIdentityAccounts(), nil +} +// GetAccounts gets the accounts property value. Collection of accounts of the identity in different identity providers. +// returns a []Accountable when successful +func (m *IdentityAccounts) GetAccounts()([]Accountable) { + val, err := m.GetBackingStore().Get("accounts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Accountable) + } + return nil +} +// GetCloudSecurityIdentifier gets the cloudSecurityIdentifier property value. The cloud security identifier of the identityAccount. +// returns a *string when successful +func (m *IdentityAccounts) GetCloudSecurityIdentifier()(*string) { + val, err := m.GetBackingStore().Get("cloudSecurityIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDisplayName gets the displayName property value. The Active Directory display name of the identityAccount. +// returns a *string when successful +func (m *IdentityAccounts) GetDisplayName()(*string) { + val, err := m.GetBackingStore().Get("displayName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetDomain gets the domain property value. The Active Directory domain name of the identityAccount. +// returns a *string when successful +func (m *IdentityAccounts) GetDomain()(*string) { + val, err := m.GetBackingStore().Get("domain") + 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 *IdentityAccounts) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["accounts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateAccountFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Accountable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Accountable) + } + } + m.SetAccounts(res) + } + return nil + } + res["cloudSecurityIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCloudSecurityIdentifier(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["domain"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDomain(val) + } + return nil + } + res["isEnabled"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsEnabled(val) + } + return nil + } + res["onPremisesSecurityIdentifier"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOnPremisesSecurityIdentifier(val) + } + return nil + } + return res +} +// GetIsEnabled gets the isEnabled property value. Boolean indicating if the identityAccounts is enabled. +// returns a *bool when successful +func (m *IdentityAccounts) GetIsEnabled()(*bool) { + val, err := m.GetBackingStore().Get("isEnabled") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetOnPremisesSecurityIdentifier gets the onPremisesSecurityIdentifier property value. The on-premises security identifier of the identityAccount. +// returns a *string when successful +func (m *IdentityAccounts) GetOnPremisesSecurityIdentifier()(*string) { + val, err := m.GetBackingStore().Get("onPremisesSecurityIdentifier") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *IdentityAccounts) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + if m.GetAccounts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetAccounts())) + for i, v := range m.GetAccounts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("accounts", cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("cloudSecurityIdentifier", m.GetCloudSecurityIdentifier()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayName", m.GetDisplayName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("domain", m.GetDomain()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isEnabled", m.GetIsEnabled()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("onPremisesSecurityIdentifier", m.GetOnPremisesSecurityIdentifier()) + if err != nil { + return err + } + } + return nil +} +// SetAccounts sets the accounts property value. Collection of accounts of the identity in different identity providers. +func (m *IdentityAccounts) SetAccounts(value []Accountable)() { + err := m.GetBackingStore().Set("accounts", value) + if err != nil { + panic(err) + } +} +// SetCloudSecurityIdentifier sets the cloudSecurityIdentifier property value. The cloud security identifier of the identityAccount. +func (m *IdentityAccounts) SetCloudSecurityIdentifier(value *string)() { + err := m.GetBackingStore().Set("cloudSecurityIdentifier", value) + if err != nil { + panic(err) + } +} +// SetDisplayName sets the displayName property value. The Active Directory display name of the identityAccount. +func (m *IdentityAccounts) SetDisplayName(value *string)() { + err := m.GetBackingStore().Set("displayName", value) + if err != nil { + panic(err) + } +} +// SetDomain sets the domain property value. The Active Directory domain name of the identityAccount. +func (m *IdentityAccounts) SetDomain(value *string)() { + err := m.GetBackingStore().Set("domain", value) + if err != nil { + panic(err) + } +} +// SetIsEnabled sets the isEnabled property value. Boolean indicating if the identityAccounts is enabled. +func (m *IdentityAccounts) SetIsEnabled(value *bool)() { + err := m.GetBackingStore().Set("isEnabled", value) + if err != nil { + panic(err) + } +} +// SetOnPremisesSecurityIdentifier sets the onPremisesSecurityIdentifier property value. The on-premises security identifier of the identityAccount. +func (m *IdentityAccounts) SetOnPremisesSecurityIdentifier(value *string)() { + err := m.GetBackingStore().Set("onPremisesSecurityIdentifier", value) + if err != nil { + panic(err) + } +} +type IdentityAccountsable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccounts()([]Accountable) + GetCloudSecurityIdentifier()(*string) + GetDisplayName()(*string) + GetDomain()(*string) + GetIsEnabled()(*bool) + GetOnPremisesSecurityIdentifier()(*string) + SetAccounts(value []Accountable)() + SetCloudSecurityIdentifier(value *string)() + SetDisplayName(value *string)() + SetDomain(value *string)() + SetIsEnabled(value *bool)() + SetOnPremisesSecurityIdentifier(value *string)() +} diff --git a/models/security/identity_accounts_collection_response.go b/models/security/identity_accounts_collection_response.go new file mode 100644 index 0000000000..93752104c3 --- /dev/null +++ b/models/security/identity_accounts_collection_response.go @@ -0,0 +1,92 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type IdentityAccountsCollectionResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewIdentityAccountsCollectionResponse instantiates a new IdentityAccountsCollectionResponse and sets the default values. +func NewIdentityAccountsCollectionResponse()(*IdentityAccountsCollectionResponse) { + m := &IdentityAccountsCollectionResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateIdentityAccountsCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIdentityAccountsCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIdentityAccountsCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *IdentityAccountsCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIdentityAccountsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IdentityAccountsable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IdentityAccountsable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []IdentityAccountsable when successful +func (m *IdentityAccountsCollectionResponse) GetValue()([]IdentityAccountsable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IdentityAccountsable) + } + return nil +} +// Serialize serializes information the current object +func (m *IdentityAccountsCollectionResponse) 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 *IdentityAccountsCollectionResponse) SetValue(value []IdentityAccountsable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type IdentityAccountsCollectionResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]IdentityAccountsable) + SetValue(value []IdentityAccountsable)() +} diff --git a/models/security/identity_container.go b/models/security/identity_container.go index f8503c802d..41d111e684 100644 --- a/models/security/identity_container.go +++ b/models/security/identity_container.go @@ -43,6 +43,22 @@ func (m *IdentityContainer) GetFieldDeserializers()(map[string]func(i878a80d2330 } return nil } + res["identityAccounts"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateIdentityAccountsFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]IdentityAccountsable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(IdentityAccountsable) + } + } + m.SetIdentityAccounts(res) + } + return nil + } res["sensorCandidateActivationConfiguration"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { val, err := n.GetObjectValue(CreateSensorCandidateActivationConfigurationFromDiscriminatorValue) if err != nil { @@ -99,6 +115,18 @@ func (m *IdentityContainer) GetHealthIssues()([]HealthIssueable) { } return nil } +// GetIdentityAccounts gets the identityAccounts property value. Represents an identity's details in the context of Microsoft Defender for Identity. +// returns a []IdentityAccountsable when successful +func (m *IdentityContainer) GetIdentityAccounts()([]IdentityAccountsable) { + val, err := m.GetBackingStore().Get("identityAccounts") + if err != nil { + panic(err) + } + if val != nil { + return val.([]IdentityAccountsable) + } + return nil +} // GetSensorCandidateActivationConfiguration gets the sensorCandidateActivationConfiguration property value. The sensorCandidateActivationConfiguration property // returns a SensorCandidateActivationConfigurationable when successful func (m *IdentityContainer) GetSensorCandidateActivationConfiguration()(SensorCandidateActivationConfigurationable) { @@ -153,6 +181,18 @@ func (m *IdentityContainer) Serialize(writer i878a80d2330e89d26896388a3f487eef27 return err } } + if m.GetIdentityAccounts() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetIdentityAccounts())) + for i, v := range m.GetIdentityAccounts() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("identityAccounts", cast) + if err != nil { + return err + } + } { err = writer.WriteObjectValue("sensorCandidateActivationConfiguration", m.GetSensorCandidateActivationConfiguration()) if err != nil { @@ -192,6 +232,13 @@ func (m *IdentityContainer) SetHealthIssues(value []HealthIssueable)() { panic(err) } } +// SetIdentityAccounts sets the identityAccounts property value. Represents an identity's details in the context of Microsoft Defender for Identity. +func (m *IdentityContainer) SetIdentityAccounts(value []IdentityAccountsable)() { + err := m.GetBackingStore().Set("identityAccounts", value) + if err != nil { + panic(err) + } +} // SetSensorCandidateActivationConfiguration sets the sensorCandidateActivationConfiguration property value. The sensorCandidateActivationConfiguration property func (m *IdentityContainer) SetSensorCandidateActivationConfiguration(value SensorCandidateActivationConfigurationable)() { err := m.GetBackingStore().Set("sensorCandidateActivationConfiguration", value) @@ -217,10 +264,12 @@ type IdentityContainerable interface { iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Entityable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetHealthIssues()([]HealthIssueable) + GetIdentityAccounts()([]IdentityAccountsable) GetSensorCandidateActivationConfiguration()(SensorCandidateActivationConfigurationable) GetSensorCandidates()([]SensorCandidateable) GetSensors()([]Sensorable) SetHealthIssues(value []HealthIssueable)() + SetIdentityAccounts(value []IdentityAccountsable)() SetSensorCandidateActivationConfiguration(value SensorCandidateActivationConfigurationable)() SetSensorCandidates(value []SensorCandidateable)() SetSensors(value []Sensorable)() diff --git a/models/security/identity_provider.go b/models/security/identity_provider.go new file mode 100644 index 0000000000..451db82c7d --- /dev/null +++ b/models/security/identity_provider.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security +type IdentityProvider int + +const ( + ENTRAID_IDENTITYPROVIDER IdentityProvider = iota + ACTIVEDIRECTORY_IDENTITYPROVIDER + OKTA_IDENTITYPROVIDER + UNKNOWNFUTUREVALUE_IDENTITYPROVIDER +) + +func (i IdentityProvider) String() string { + return []string{"entraID", "activeDirectory", "okta", "unknownFutureValue"}[i] +} +func ParseIdentityProvider(v string) (any, error) { + result := ENTRAID_IDENTITYPROVIDER + switch v { + case "entraID": + result = ENTRAID_IDENTITYPROVIDER + case "activeDirectory": + result = ACTIVEDIRECTORY_IDENTITYPROVIDER + case "okta": + result = OKTA_IDENTITYPROVIDER + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_IDENTITYPROVIDER + default: + return nil, nil + } + return &result, nil +} +func SerializeIdentityProvider(values []IdentityProvider) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i IdentityProvider) isMultiValue() bool { + return false +} diff --git a/models/security/invoke_action_result.go b/models/security/invoke_action_result.go new file mode 100644 index 0000000000..326f94e320 --- /dev/null +++ b/models/security/invoke_action_result.go @@ -0,0 +1,266 @@ +// 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" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type InvokeActionResult struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewInvokeActionResult instantiates a new InvokeActionResult and sets the default values. +func NewInvokeActionResult()(*InvokeActionResult) { + m := &InvokeActionResult{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateInvokeActionResultFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateInvokeActionResultFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewInvokeActionResult(), nil +} +// GetAccountId gets the accountId property value. The account ID. +// returns a *string when successful +func (m *InvokeActionResult) GetAccountId()(*string) { + val, err := m.GetBackingStore().Get("accountId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAction gets the action property value. The action property +// returns a *Action when successful +func (m *InvokeActionResult) GetAction()(*Action) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*Action) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *InvokeActionResult) 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 *InvokeActionResult) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetCorrelationId gets the correlationId property value. The unique identifier for tracking the request. +// returns a *string when successful +func (m *InvokeActionResult) GetCorrelationId()(*string) { + val, err := m.GetBackingStore().Get("correlationId") + 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 *InvokeActionResult) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["accountId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAccountId(val) + } + return nil + } + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseAction) + if err != nil { + return err + } + if val != nil { + m.SetAction(val.(*Action)) + } + return nil + } + res["correlationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCorrelationId(val) + } + return nil + } + res["identityProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseIdentityProvider) + if err != nil { + return err + } + if val != nil { + m.SetIdentityProvider(val.(*IdentityProvider)) + } + 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 +} +// GetIdentityProvider gets the identityProvider property value. The identityProvider property +// returns a *IdentityProvider when successful +func (m *InvokeActionResult) GetIdentityProvider()(*IdentityProvider) { + val, err := m.GetBackingStore().Get("identityProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*IdentityProvider) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *InvokeActionResult) 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 *InvokeActionResult) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("accountId", m.GetAccountId()) + if err != nil { + return err + } + } + if m.GetAction() != nil { + cast := (*m.GetAction()).String() + err := writer.WriteStringValue("action", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("correlationId", m.GetCorrelationId()) + if err != nil { + return err + } + } + if m.GetIdentityProvider() != nil { + cast := (*m.GetIdentityProvider()).String() + err := writer.WriteStringValue("identityProvider", &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 +} +// SetAccountId sets the accountId property value. The account ID. +func (m *InvokeActionResult) SetAccountId(value *string)() { + err := m.GetBackingStore().Set("accountId", value) + if err != nil { + panic(err) + } +} +// SetAction sets the action property value. The action property +func (m *InvokeActionResult) SetAction(value *Action)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *InvokeActionResult) 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 *InvokeActionResult) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetCorrelationId sets the correlationId property value. The unique identifier for tracking the request. +func (m *InvokeActionResult) SetCorrelationId(value *string)() { + err := m.GetBackingStore().Set("correlationId", value) + if err != nil { + panic(err) + } +} +// SetIdentityProvider sets the identityProvider property value. The identityProvider property +func (m *InvokeActionResult) SetIdentityProvider(value *IdentityProvider)() { + err := m.GetBackingStore().Set("identityProvider", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *InvokeActionResult) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type InvokeActionResultable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccountId()(*string) + GetAction()(*Action) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetCorrelationId()(*string) + GetIdentityProvider()(*IdentityProvider) + GetOdataType()(*string) + SetAccountId(value *string)() + SetAction(value *Action)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetCorrelationId(value *string)() + SetIdentityProvider(value *IdentityProvider)() + SetOdataType(value *string)() +} diff --git a/models/security/user.go b/models/security/user.go new file mode 100644 index 0000000000..82869c1933 --- /dev/null +++ b/models/security/user.go @@ -0,0 +1,118 @@ +// 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 User struct { + IdentityAccounts +} +// NewUser instantiates a new User and sets the default values. +func NewUser()(*User) { + m := &User{ + IdentityAccounts: *NewIdentityAccounts(), + } + odataTypeValue := "#microsoft.graph.security.user" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUser(), nil +} +// GetEmailAddress gets the emailAddress property value. Email address of the user. +// returns a *string when successful +func (m *User) GetEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("emailAddress") + 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 *User) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.IdentityAccounts.GetFieldDeserializers() + res["emailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailAddress(val) + } + return nil + } + res["userPrincipalName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetUserPrincipalName(val) + } + return nil + } + return res +} +// GetUserPrincipalName gets the userPrincipalName property value. The user principal name. +// returns a *string when successful +func (m *User) GetUserPrincipalName()(*string) { + val, err := m.GetBackingStore().Get("userPrincipalName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *User) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.IdentityAccounts.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("emailAddress", m.GetEmailAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("userPrincipalName", m.GetUserPrincipalName()) + if err != nil { + return err + } + } + return nil +} +// SetEmailAddress sets the emailAddress property value. Email address of the user. +func (m *User) SetEmailAddress(value *string)() { + err := m.GetBackingStore().Set("emailAddress", value) + if err != nil { + panic(err) + } +} +// SetUserPrincipalName sets the userPrincipalName property value. The user principal name. +func (m *User) SetUserPrincipalName(value *string)() { + err := m.GetBackingStore().Set("userPrincipalName", value) + if err != nil { + panic(err) + } +} +type Userable interface { + IdentityAccountsable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetEmailAddress()(*string) + GetUserPrincipalName()(*string) + SetEmailAddress(value *string)() + SetUserPrincipalName(value *string)() +} diff --git a/models/service_principal_risk_detection.go b/models/service_principal_risk_detection.go index 6982534ada..f17de25e13 100644 --- a/models/service_principal_risk_detection.go +++ b/models/service_principal_risk_detection.go @@ -23,7 +23,7 @@ func NewServicePrincipalRiskDetection()(*ServicePrincipalRiskDetection) { func CreateServicePrincipalRiskDetectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewServicePrincipalRiskDetection(), nil } -// GetActivity gets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. +// GetActivity gets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: servicePrincipal. // returns a *ActivityType when successful func (m *ServicePrincipalRiskDetection) GetActivity()(*ActivityType) { val, err := m.GetBackingStore().Get("activity") @@ -379,7 +379,7 @@ func (m *ServicePrincipalRiskDetection) GetRequestId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// GetRiskDetail gets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. // returns a *RiskDetail when successful func (m *ServicePrincipalRiskDetection) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -609,7 +609,7 @@ func (m *ServicePrincipalRiskDetection) Serialize(writer i878a80d2330e89d2689638 } return nil } -// SetActivity sets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: servicePrincipal. +// SetActivity sets the activity property value. Indicates the activity type the detected risk is linked to. The possible values are: signin, servicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: servicePrincipal. func (m *ServicePrincipalRiskDetection) SetActivity(value *ActivityType)() { err := m.GetBackingStore().Set("activity", value) if err != nil { @@ -693,7 +693,7 @@ func (m *ServicePrincipalRiskDetection) SetRequestId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. The possible values are: none, hidden, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: adminConfirmedServicePrincipalCompromised , adminDismissedAllRiskForServicePrincipal. +// SetRiskDetail sets the riskDetail property value. Details of the detected risk. Note: Details for this property are only available for Workload Identities Premium customers. Events in tenants without this license will be returned hidden. func (m *ServicePrincipalRiskDetection) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/share_point_migration_container_info.go b/models/share_point_migration_container_info.go new file mode 100644 index 0000000000..7caf5aa52f --- /dev/null +++ b/models/share_point_migration_container_info.go @@ -0,0 +1,227 @@ +// 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 SharePointMigrationContainerInfo struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewSharePointMigrationContainerInfo instantiates a new SharePointMigrationContainerInfo and sets the default values. +func NewSharePointMigrationContainerInfo()(*SharePointMigrationContainerInfo) { + m := &SharePointMigrationContainerInfo{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateSharePointMigrationContainerInfoFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationContainerInfoFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationContainerInfo(), 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 *SharePointMigrationContainerInfo) 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 *SharePointMigrationContainerInfo) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { + return m.backingStore +} +// GetDataContainerUri gets the dataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file content. Read-only. +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) GetDataContainerUri()(*string) { + val, err := m.GetBackingStore().Get("dataContainerUri") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEncryptionKey gets the encryptionKey property value. Provides the AES-256-CBC encryption key if files stored in Azure blob containers are encrypted. The key is Base64-encoded. Read-only. +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) GetEncryptionKey()(*string) { + val, err := m.GetBackingStore().Get("encryptionKey") + 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 *SharePointMigrationContainerInfo) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["dataContainerUri"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDataContainerUri(val) + } + return nil + } + res["encryptionKey"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEncryptionKey(val) + } + return nil + } + res["metadataContainerUri"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetMetadataContainerUri(val) + } + return nil + } + res["@odata.type"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetOdataType(val) + } + return nil + } + return res +} +// GetMetadataContainerUri gets the metadataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file metadata. Read-only. +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) GetMetadataContainerUri()(*string) { + val, err := m.GetBackingStore().Get("metadataContainerUri") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetOdataType gets the @odata.type property value. The OdataType property +// returns a *string when successful +func (m *SharePointMigrationContainerInfo) 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 *SharePointMigrationContainerInfo) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("dataContainerUri", m.GetDataContainerUri()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("encryptionKey", m.GetEncryptionKey()) + if err != nil { + return err + } + } + { + err := writer.WriteStringValue("metadataContainerUri", m.GetMetadataContainerUri()) + 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 *SharePointMigrationContainerInfo) 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 *SharePointMigrationContainerInfo) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetDataContainerUri sets the dataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file content. Read-only. +func (m *SharePointMigrationContainerInfo) SetDataContainerUri(value *string)() { + err := m.GetBackingStore().Set("dataContainerUri", value) + if err != nil { + panic(err) + } +} +// SetEncryptionKey sets the encryptionKey property value. Provides the AES-256-CBC encryption key if files stored in Azure blob containers are encrypted. The key is Base64-encoded. Read-only. +func (m *SharePointMigrationContainerInfo) SetEncryptionKey(value *string)() { + err := m.GetBackingStore().Set("encryptionKey", value) + if err != nil { + panic(err) + } +} +// SetMetadataContainerUri sets the metadataContainerUri property value. A valid URL with a SAS token for accessing the Azure blob storage container that contains the file metadata. Read-only. +func (m *SharePointMigrationContainerInfo) SetMetadataContainerUri(value *string)() { + err := m.GetBackingStore().Set("metadataContainerUri", value) + if err != nil { + panic(err) + } +} +// SetOdataType sets the @odata.type property value. The OdataType property +func (m *SharePointMigrationContainerInfo) SetOdataType(value *string)() { + err := m.GetBackingStore().Set("odataType", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationContainerInfoable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetDataContainerUri()(*string) + GetEncryptionKey()(*string) + GetMetadataContainerUri()(*string) + GetOdataType()(*string) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetDataContainerUri(value *string)() + SetEncryptionKey(value *string)() + SetMetadataContainerUri(value *string)() + SetOdataType(value *string)() +} diff --git a/models/share_point_migration_event.go b/models/share_point_migration_event.go new file mode 100644 index 0000000000..6d0cc8c7a8 --- /dev/null +++ b/models/share_point_migration_event.go @@ -0,0 +1,186 @@ +// 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 SharePointMigrationEvent struct { + Entity +} +// NewSharePointMigrationEvent instantiates a new SharePointMigrationEvent and sets the default values. +func NewSharePointMigrationEvent()(*SharePointMigrationEvent) { + m := &SharePointMigrationEvent{ + Entity: *NewEntity(), + } + return m +} +// CreateSharePointMigrationEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationEventFromDiscriminatorValue(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.sharePointMigrationFinishManifestFileUploadEvent": + return NewSharePointMigrationFinishManifestFileUploadEvent(), nil + case "#microsoft.graph.sharePointMigrationJobCancelledEvent": + return NewSharePointMigrationJobCancelledEvent(), nil + case "#microsoft.graph.sharePointMigrationJobDeletedEvent": + return NewSharePointMigrationJobDeletedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobErrorEvent": + return NewSharePointMigrationJobErrorEvent(), nil + case "#microsoft.graph.sharePointMigrationJobPostponedEvent": + return NewSharePointMigrationJobPostponedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobProgressEvent": + return NewSharePointMigrationJobProgressEvent(), nil + case "#microsoft.graph.sharePointMigrationJobQueuedEvent": + return NewSharePointMigrationJobQueuedEvent(), nil + case "#microsoft.graph.sharePointMigrationJobStartEvent": + return NewSharePointMigrationJobStartEvent(), nil + } + } + } + } + return NewSharePointMigrationEvent(), nil +} +// GetCorrelationId gets the correlationId property value. The correlation ID of a migration job. Read-only. +// returns a *string when successful +func (m *SharePointMigrationEvent) GetCorrelationId()(*string) { + val, err := m.GetBackingStore().Get("correlationId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEventDateTime gets the eventDateTime property value. The date and time when the job status changes. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *SharePointMigrationEvent) GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("eventDateTime") + 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 *SharePointMigrationEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["correlationId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetCorrelationId(val) + } + return nil + } + res["eventDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetEventDateTime(val) + } + return nil + } + res["jobId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetJobId(val) + } + return nil + } + return res +} +// GetJobId gets the jobId property value. The unique identifier of a migration job. Read-only. +// returns a *string when successful +func (m *SharePointMigrationEvent) GetJobId()(*string) { + val, err := m.GetBackingStore().Get("jobId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("correlationId", m.GetCorrelationId()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("eventDateTime", m.GetEventDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("jobId", m.GetJobId()) + if err != nil { + return err + } + } + return nil +} +// SetCorrelationId sets the correlationId property value. The correlation ID of a migration job. Read-only. +func (m *SharePointMigrationEvent) SetCorrelationId(value *string)() { + err := m.GetBackingStore().Set("correlationId", value) + if err != nil { + panic(err) + } +} +// SetEventDateTime sets the eventDateTime property value. The date and time when the job status changes. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *SharePointMigrationEvent) SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("eventDateTime", value) + if err != nil { + panic(err) + } +} +// SetJobId sets the jobId property value. The unique identifier of a migration job. Read-only. +func (m *SharePointMigrationEvent) SetJobId(value *string)() { + err := m.GetBackingStore().Set("jobId", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationEventable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetCorrelationId()(*string) + GetEventDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetJobId()(*string) + SetCorrelationId(value *string)() + SetEventDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetJobId(value *string)() +} diff --git a/models/share_point_migration_event_collection_response.go b/models/share_point_migration_event_collection_response.go new file mode 100644 index 0000000000..8b74771c0b --- /dev/null +++ b/models/share_point_migration_event_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 SharePointMigrationEventCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointMigrationEventCollectionResponse instantiates a new SharePointMigrationEventCollectionResponse and sets the default values. +func NewSharePointMigrationEventCollectionResponse()(*SharePointMigrationEventCollectionResponse) { + m := &SharePointMigrationEventCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationEventCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationEventCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationEventFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationEventable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationEventable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointMigrationEventable when successful +func (m *SharePointMigrationEventCollectionResponse) GetValue()([]SharePointMigrationEventable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationEventable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationEventCollectionResponse) 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 *SharePointMigrationEventCollectionResponse) SetValue(value []SharePointMigrationEventable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationEventCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointMigrationEventable) + SetValue(value []SharePointMigrationEventable)() +} diff --git a/models/share_point_migration_finish_manifest_file_upload_event.go b/models/share_point_migration_finish_manifest_file_upload_event.go new file mode 100644 index 0000000000..e16534b6e3 --- /dev/null +++ b/models/share_point_migration_finish_manifest_file_upload_event.go @@ -0,0 +1,79 @@ +// 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 SharePointMigrationFinishManifestFileUploadEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationFinishManifestFileUploadEvent instantiates a new SharePointMigrationFinishManifestFileUploadEvent and sets the default values. +func NewSharePointMigrationFinishManifestFileUploadEvent()(*SharePointMigrationFinishManifestFileUploadEvent) { + m := &SharePointMigrationFinishManifestFileUploadEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationFinishManifestFileUploadEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationFinishManifestFileUploadEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationFinishManifestFileUploadEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationFinishManifestFileUploadEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["manifestFileName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetManifestFileName(val) + } + return nil + } + return res +} +// GetManifestFileName gets the manifestFileName property value. The exported manifest file name. Read-only. +// returns a *string when successful +func (m *SharePointMigrationFinishManifestFileUploadEvent) GetManifestFileName()(*string) { + val, err := m.GetBackingStore().Get("manifestFileName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationFinishManifestFileUploadEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("manifestFileName", m.GetManifestFileName()) + if err != nil { + return err + } + } + return nil +} +// SetManifestFileName sets the manifestFileName property value. The exported manifest file name. Read-only. +func (m *SharePointMigrationFinishManifestFileUploadEvent) SetManifestFileName(value *string)() { + err := m.GetBackingStore().Set("manifestFileName", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationFinishManifestFileUploadEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetManifestFileName()(*string) + SetManifestFileName(value *string)() +} diff --git a/models/share_point_migration_job.go b/models/share_point_migration_job.go new file mode 100644 index 0000000000..1d1d4efcb8 --- /dev/null +++ b/models/share_point_migration_job.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 models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJob struct { + Entity +} +// NewSharePointMigrationJob instantiates a new SharePointMigrationJob and sets the default values. +func NewSharePointMigrationJob()(*SharePointMigrationJob) { + m := &SharePointMigrationJob{ + Entity: *NewEntity(), + } + return m +} +// CreateSharePointMigrationJobFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJob(), nil +} +// GetContainerInfo gets the containerInfo property value. The containerInfo property +// returns a SharePointMigrationContainerInfoable when successful +func (m *SharePointMigrationJob) GetContainerInfo()(SharePointMigrationContainerInfoable) { + val, err := m.GetBackingStore().Get("containerInfo") + if err != nil { + panic(err) + } + if val != nil { + return val.(SharePointMigrationContainerInfoable) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJob) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Entity.GetFieldDeserializers() + res["containerInfo"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreateSharePointMigrationContainerInfoFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetContainerInfo(val.(SharePointMigrationContainerInfoable)) + } + return nil + } + res["progressEvents"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationEventFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationEventable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationEventable) + } + } + m.SetProgressEvents(res) + } + return nil + } + return res +} +// GetProgressEvents gets the progressEvents property value. A collection of migration events that reflects the job status changes. +// returns a []SharePointMigrationEventable when successful +func (m *SharePointMigrationJob) GetProgressEvents()([]SharePointMigrationEventable) { + val, err := m.GetBackingStore().Get("progressEvents") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationEventable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJob) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Entity.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("containerInfo", m.GetContainerInfo()) + if err != nil { + return err + } + } + if m.GetProgressEvents() != nil { + cast := make([]i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, len(m.GetProgressEvents())) + for i, v := range m.GetProgressEvents() { + if v != nil { + cast[i] = v.(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable) + } + } + err = writer.WriteCollectionOfObjectValues("progressEvents", cast) + if err != nil { + return err + } + } + return nil +} +// SetContainerInfo sets the containerInfo property value. The containerInfo property +func (m *SharePointMigrationJob) SetContainerInfo(value SharePointMigrationContainerInfoable)() { + err := m.GetBackingStore().Set("containerInfo", value) + if err != nil { + panic(err) + } +} +// SetProgressEvents sets the progressEvents property value. A collection of migration events that reflects the job status changes. +func (m *SharePointMigrationJob) SetProgressEvents(value []SharePointMigrationEventable)() { + err := m.GetBackingStore().Set("progressEvents", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobable interface { + Entityable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetContainerInfo()(SharePointMigrationContainerInfoable) + GetProgressEvents()([]SharePointMigrationEventable) + SetContainerInfo(value SharePointMigrationContainerInfoable)() + SetProgressEvents(value []SharePointMigrationEventable)() +} diff --git a/models/share_point_migration_job_cancelled_event.go b/models/share_point_migration_job_cancelled_event.go new file mode 100644 index 0000000000..9db694763f --- /dev/null +++ b/models/share_point_migration_job_cancelled_event.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobCancelledEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobCancelledEvent instantiates a new SharePointMigrationJobCancelledEvent and sets the default values. +func NewSharePointMigrationJobCancelledEvent()(*SharePointMigrationJobCancelledEvent) { + m := &SharePointMigrationJobCancelledEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobCancelledEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobCancelledEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobCancelledEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobCancelledEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["isCancelledByUser"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCancelledByUser(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetIsCancelledByUser gets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only. +// returns a *bool when successful +func (m *SharePointMigrationJobCancelledEvent) GetIsCancelledByUser()(*bool) { + val, err := m.GetBackingStore().Get("isCancelledByUser") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobCancelledEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobCancelledEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isCancelledByUser", m.GetIsCancelledByUser()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetIsCancelledByUser sets the isCancelledByUser property value. True when a user cancels the job; otherwise, false. Read-only. +func (m *SharePointMigrationJobCancelledEvent) SetIsCancelledByUser(value *bool)() { + err := m.GetBackingStore().Set("isCancelledByUser", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobCancelledEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobCancelledEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetIsCancelledByUser()(*bool) + GetTotalRetryCount()(*int32) + SetIsCancelledByUser(value *bool)() + SetTotalRetryCount(value *int32)() +} diff --git a/models/share_point_migration_job_collection_response.go b/models/share_point_migration_job_collection_response.go new file mode 100644 index 0000000000..10288a05af --- /dev/null +++ b/models/share_point_migration_job_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 SharePointMigrationJobCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewSharePointMigrationJobCollectionResponse instantiates a new SharePointMigrationJobCollectionResponse and sets the default values. +func NewSharePointMigrationJobCollectionResponse()(*SharePointMigrationJobCollectionResponse) { + m := &SharePointMigrationJobCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateSharePointMigrationJobFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]SharePointMigrationJobable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(SharePointMigrationJobable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []SharePointMigrationJobable when successful +func (m *SharePointMigrationJobCollectionResponse) GetValue()([]SharePointMigrationJobable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]SharePointMigrationJobable) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobCollectionResponse) 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 *SharePointMigrationJobCollectionResponse) SetValue(value []SharePointMigrationJobable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]SharePointMigrationJobable) + SetValue(value []SharePointMigrationJobable)() +} diff --git a/models/share_point_migration_job_deleted_event.go b/models/share_point_migration_job_deleted_event.go new file mode 100644 index 0000000000..fe70bc9338 --- /dev/null +++ b/models/share_point_migration_job_deleted_event.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobDeletedEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobDeletedEvent instantiates a new SharePointMigrationJobDeletedEvent and sets the default values. +func NewSharePointMigrationJobDeletedEvent()(*SharePointMigrationJobDeletedEvent) { + m := &SharePointMigrationJobDeletedEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobDeletedEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobDeletedEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobDeletedEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobDeletedEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobDeletedEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + return nil +} +type SharePointMigrationJobDeletedEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable +} diff --git a/models/share_point_migration_job_error_event.go b/models/share_point_migration_job_error_event.go new file mode 100644 index 0000000000..fc34c1c4d9 --- /dev/null +++ b/models/share_point_migration_job_error_event.go @@ -0,0 +1,266 @@ +// 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 SharePointMigrationJobErrorEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobErrorEvent instantiates a new SharePointMigrationJobErrorEvent and sets the default values. +func NewSharePointMigrationJobErrorEvent()(*SharePointMigrationJobErrorEvent) { + m := &SharePointMigrationJobErrorEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobErrorEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobErrorEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobErrorEvent(), nil +} +// GetError gets the error property value. The error property +// returns a PublicErrorable when successful +func (m *SharePointMigrationJobErrorEvent) GetError()(PublicErrorable) { + val, err := m.GetBackingStore().Get("error") + if err != nil { + panic(err) + } + if val != nil { + return val.(PublicErrorable) + } + return nil +} +// GetErrorLevel gets the errorLevel property value. The errorLevel property +// returns a *SharePointMigrationJobErrorLevel when successful +func (m *SharePointMigrationJobErrorEvent) GetErrorLevel()(*SharePointMigrationJobErrorLevel) { + val, err := m.GetBackingStore().Get("errorLevel") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SharePointMigrationJobErrorLevel) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobErrorEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["error"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePublicErrorFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetError(val.(PublicErrorable)) + } + return nil + } + res["errorLevel"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSharePointMigrationJobErrorLevel) + if err != nil { + return err + } + if val != nil { + m.SetErrorLevel(val.(*SharePointMigrationJobErrorLevel)) + } + return nil + } + res["objectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetObjectId(val) + } + return nil + } + res["objectType"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(ParseSharePointMigrationObjectType) + if err != nil { + return err + } + if val != nil { + m.SetObjectType(val.(*SharePointMigrationObjectType)) + } + return nil + } + res["objectUrl"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetObjectUrl(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetObjectId gets the objectId property value. The object ID. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobErrorEvent) GetObjectId()(*string) { + val, err := m.GetBackingStore().Get("objectId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetObjectType gets the objectType property value. The objectType property +// returns a *SharePointMigrationObjectType when successful +func (m *SharePointMigrationJobErrorEvent) GetObjectType()(*SharePointMigrationObjectType) { + val, err := m.GetBackingStore().Get("objectType") + if err != nil { + panic(err) + } + if val != nil { + return val.(*SharePointMigrationObjectType) + } + return nil +} +// GetObjectUrl gets the objectUrl property value. The object URL. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobErrorEvent) GetObjectUrl()(*string) { + val, err := m.GetBackingStore().Get("objectUrl") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobErrorEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobErrorEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteObjectValue("error", m.GetError()) + if err != nil { + return err + } + } + if m.GetErrorLevel() != nil { + cast := (*m.GetErrorLevel()).String() + err = writer.WriteStringValue("errorLevel", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("objectId", m.GetObjectId()) + if err != nil { + return err + } + } + if m.GetObjectType() != nil { + cast := (*m.GetObjectType()).String() + err = writer.WriteStringValue("objectType", &cast) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("objectUrl", m.GetObjectUrl()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetError sets the error property value. The error property +func (m *SharePointMigrationJobErrorEvent) SetError(value PublicErrorable)() { + err := m.GetBackingStore().Set("error", value) + if err != nil { + panic(err) + } +} +// SetErrorLevel sets the errorLevel property value. The errorLevel property +func (m *SharePointMigrationJobErrorEvent) SetErrorLevel(value *SharePointMigrationJobErrorLevel)() { + err := m.GetBackingStore().Set("errorLevel", value) + if err != nil { + panic(err) + } +} +// SetObjectId sets the objectId property value. The object ID. Read-only. +func (m *SharePointMigrationJobErrorEvent) SetObjectId(value *string)() { + err := m.GetBackingStore().Set("objectId", value) + if err != nil { + panic(err) + } +} +// SetObjectType sets the objectType property value. The objectType property +func (m *SharePointMigrationJobErrorEvent) SetObjectType(value *SharePointMigrationObjectType)() { + err := m.GetBackingStore().Set("objectType", value) + if err != nil { + panic(err) + } +} +// SetObjectUrl sets the objectUrl property value. The object URL. Read-only. +func (m *SharePointMigrationJobErrorEvent) SetObjectUrl(value *string)() { + err := m.GetBackingStore().Set("objectUrl", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobErrorEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobErrorEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetError()(PublicErrorable) + GetErrorLevel()(*SharePointMigrationJobErrorLevel) + GetObjectId()(*string) + GetObjectType()(*SharePointMigrationObjectType) + GetObjectUrl()(*string) + GetTotalRetryCount()(*int32) + SetError(value PublicErrorable)() + SetErrorLevel(value *SharePointMigrationJobErrorLevel)() + SetObjectId(value *string)() + SetObjectType(value *SharePointMigrationObjectType)() + SetObjectUrl(value *string)() + SetTotalRetryCount(value *int32)() +} diff --git a/models/share_point_migration_job_error_level.go b/models/share_point_migration_job_error_level.go new file mode 100644 index 0000000000..d29cafcd73 --- /dev/null +++ b/models/share_point_migration_job_error_level.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 SharePointMigrationJobErrorLevel int + +const ( + IMPORTANT_SHAREPOINTMIGRATIONJOBERRORLEVEL SharePointMigrationJobErrorLevel = iota + WARNING_SHAREPOINTMIGRATIONJOBERRORLEVEL + ERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + FATALERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONJOBERRORLEVEL +) + +func (i SharePointMigrationJobErrorLevel) String() string { + return []string{"important", "warning", "error", "fatalError", "unknownFutureValue"}[i] +} +func ParseSharePointMigrationJobErrorLevel(v string) (any, error) { + result := IMPORTANT_SHAREPOINTMIGRATIONJOBERRORLEVEL + switch v { + case "important": + result = IMPORTANT_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "warning": + result = WARNING_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "error": + result = ERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "fatalError": + result = FATALERROR_SHAREPOINTMIGRATIONJOBERRORLEVEL + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONJOBERRORLEVEL + default: + return nil, nil + } + return &result, nil +} +func SerializeSharePointMigrationJobErrorLevel(values []SharePointMigrationJobErrorLevel) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SharePointMigrationJobErrorLevel) isMultiValue() bool { + return false +} diff --git a/models/share_point_migration_job_postponed_event.go b/models/share_point_migration_job_postponed_event.go new file mode 100644 index 0000000000..d8af4cefc3 --- /dev/null +++ b/models/share_point_migration_job_postponed_event.go @@ -0,0 +1,191 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e "time" + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobPostponedEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobPostponedEvent instantiates a new SharePointMigrationJobPostponedEvent and sets the default values. +func NewSharePointMigrationJobPostponedEvent()(*SharePointMigrationJobPostponedEvent) { + m := &SharePointMigrationJobPostponedEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobPostponedEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobPostponedEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobPostponedEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobPostponedEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["jobsInQueue"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetJobsInQueue(val) + } + return nil + } + res["nextPickupDateTime"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetTimeValue() + if err != nil { + return err + } + if val != nil { + m.SetNextPickupDateTime(val) + } + return nil + } + res["reason"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetReason(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetJobsInQueue gets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobPostponedEvent) GetJobsInQueue()(*int64) { + val, err := m.GetBackingStore().Get("jobsInQueue") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetNextPickupDateTime gets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +// returns a *Time when successful +func (m *SharePointMigrationJobPostponedEvent) GetNextPickupDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { + val, err := m.GetBackingStore().Get("nextPickupDateTime") + if err != nil { + panic(err) + } + if val != nil { + return val.(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + } + return nil +} +// GetReason gets the reason property value. The reason for the postponement. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobPostponedEvent) GetReason()(*string) { + val, err := m.GetBackingStore().Get("reason") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobPostponedEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobPostponedEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt64Value("jobsInQueue", m.GetJobsInQueue()) + if err != nil { + return err + } + } + { + err = writer.WriteTimeValue("nextPickupDateTime", m.GetNextPickupDateTime()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("reason", m.GetReason()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetJobsInQueue sets the jobsInQueue property value. The number of migration jobs in the queue of the current database. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetJobsInQueue(value *int64)() { + err := m.GetBackingStore().Set("jobsInQueue", value) + if err != nil { + panic(err) + } +} +// SetNextPickupDateTime sets the nextPickupDateTime property value. The date and time that indicate when this job is picked up next. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetNextPickupDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { + err := m.GetBackingStore().Set("nextPickupDateTime", value) + if err != nil { + panic(err) + } +} +// SetReason sets the reason property value. The reason for the postponement. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetReason(value *string)() { + err := m.GetBackingStore().Set("reason", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobPostponedEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobPostponedEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetJobsInQueue()(*int64) + GetNextPickupDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) + GetReason()(*string) + GetTotalRetryCount()(*int32) + SetJobsInQueue(value *int64)() + SetNextPickupDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() + SetReason(value *string)() + SetTotalRetryCount(value *int32)() +} diff --git a/models/share_point_migration_job_progress_event.go b/models/share_point_migration_job_progress_event.go new file mode 100644 index 0000000000..fdbf4a0def --- /dev/null +++ b/models/share_point_migration_job_progress_event.go @@ -0,0 +1,671 @@ +// 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 SharePointMigrationJobProgressEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobProgressEvent instantiates a new SharePointMigrationJobProgressEvent and sets the default values. +func NewSharePointMigrationJobProgressEvent()(*SharePointMigrationJobProgressEvent) { + m := &SharePointMigrationJobProgressEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobProgressEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobProgressEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobProgressEvent(), nil +} +// GetBytesProcessed gets the bytesProcessed property value. The number of bytes processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetBytesProcessed()(*int64) { + val, err := m.GetBackingStore().Get("bytesProcessed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetBytesProcessedOnlyCurrentVersion gets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetBytesProcessedOnlyCurrentVersion()(*int64) { + val, err := m.GetBackingStore().Get("bytesProcessedOnlyCurrentVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetCpuDurationMs gets the cpuDurationMs property value. CPU duration in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetCpuDurationMs()(*int64) { + val, err := m.GetBackingStore().Get("cpuDurationMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobProgressEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["bytesProcessed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetBytesProcessed(val) + } + return nil + } + res["bytesProcessedOnlyCurrentVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetBytesProcessedOnlyCurrentVersion(val) + } + return nil + } + res["cpuDurationMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetCpuDurationMs(val) + } + return nil + } + res["filesProcessed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetFilesProcessed(val) + } + return nil + } + res["filesProcessedOnlyCurrentVersion"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetFilesProcessedOnlyCurrentVersion(val) + } + return nil + } + res["isCompleted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsCompleted(val) + } + return nil + } + res["lastProcessedObjectId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetLastProcessedObjectId(val) + } + return nil + } + res["objectsProcessed"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetObjectsProcessed(val) + } + return nil + } + res["sqlDurationMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetSqlDurationMs(val) + } + return nil + } + res["sqlQueryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetSqlQueryCount(val) + } + return nil + } + res["totalDurationMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalDurationMs(val) + } + return nil + } + res["totalErrors"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalErrors(val) + } + return nil + } + res["totalExpectedBytes"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalExpectedBytes(val) + } + return nil + } + res["totalExpectedObjects"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalExpectedObjects(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + res["totalWarnings"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalWarnings(val) + } + return nil + } + res["waitTimeOnSqlThrottlingMs"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt64Value() + if err != nil { + return err + } + if val != nil { + m.SetWaitTimeOnSqlThrottlingMs(val) + } + return nil + } + return res +} +// GetFilesProcessed gets the filesProcessed property value. The number of files processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetFilesProcessed()(*int64) { + val, err := m.GetBackingStore().Get("filesProcessed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetFilesProcessedOnlyCurrentVersion gets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetFilesProcessedOnlyCurrentVersion()(*int64) { + val, err := m.GetBackingStore().Get("filesProcessedOnlyCurrentVersion") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetIsCompleted gets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only. +// returns a *bool when successful +func (m *SharePointMigrationJobProgressEvent) GetIsCompleted()(*bool) { + val, err := m.GetBackingStore().Get("isCompleted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetLastProcessedObjectId gets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only. +// returns a *string when successful +func (m *SharePointMigrationJobProgressEvent) GetLastProcessedObjectId()(*string) { + val, err := m.GetBackingStore().Get("lastProcessedObjectId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetObjectsProcessed gets the objectsProcessed property value. The number of objects processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetObjectsProcessed()(*int64) { + val, err := m.GetBackingStore().Get("objectsProcessed") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetSqlDurationMs gets the sqlDurationMs property value. SQL duration in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetSqlDurationMs()(*int64) { + val, err := m.GetBackingStore().Get("sqlDurationMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetSqlQueryCount gets the sqlQueryCount property value. SQL query count. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetSqlQueryCount()(*int64) { + val, err := m.GetBackingStore().Get("sqlQueryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalDurationMs gets the totalDurationMs property value. Total duration time in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalDurationMs()(*int64) { + val, err := m.GetBackingStore().Get("totalDurationMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalErrors gets the totalErrors property value. Total errors. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalErrors()(*int64) { + val, err := m.GetBackingStore().Get("totalErrors") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalExpectedBytes gets the totalExpectedBytes property value. Total bytes to be processed. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedBytes()(*int64) { + val, err := m.GetBackingStore().Get("totalExpectedBytes") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalExpectedObjects gets the totalExpectedObjects property value. The number of objects to process. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalExpectedObjects()(*int64) { + val, err := m.GetBackingStore().Get("totalExpectedObjects") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetTotalWarnings gets the totalWarnings property value. Total warnings. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetTotalWarnings()(*int64) { + val, err := m.GetBackingStore().Get("totalWarnings") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// GetWaitTimeOnSqlThrottlingMs gets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only. +// returns a *int64 when successful +func (m *SharePointMigrationJobProgressEvent) GetWaitTimeOnSqlThrottlingMs()(*int64) { + val, err := m.GetBackingStore().Get("waitTimeOnSqlThrottlingMs") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int64) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobProgressEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt64Value("bytesProcessed", m.GetBytesProcessed()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("bytesProcessedOnlyCurrentVersion", m.GetBytesProcessedOnlyCurrentVersion()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("cpuDurationMs", m.GetCpuDurationMs()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("filesProcessed", m.GetFilesProcessed()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("filesProcessedOnlyCurrentVersion", m.GetFilesProcessedOnlyCurrentVersion()) + if err != nil { + return err + } + } + { + err = writer.WriteBoolValue("isCompleted", m.GetIsCompleted()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("lastProcessedObjectId", m.GetLastProcessedObjectId()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("objectsProcessed", m.GetObjectsProcessed()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("sqlDurationMs", m.GetSqlDurationMs()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("sqlQueryCount", m.GetSqlQueryCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalDurationMs", m.GetTotalDurationMs()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalErrors", m.GetTotalErrors()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalExpectedBytes", m.GetTotalExpectedBytes()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalExpectedObjects", m.GetTotalExpectedObjects()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("totalWarnings", m.GetTotalWarnings()) + if err != nil { + return err + } + } + { + err = writer.WriteInt64Value("waitTimeOnSqlThrottlingMs", m.GetWaitTimeOnSqlThrottlingMs()) + if err != nil { + return err + } + } + return nil +} +// SetBytesProcessed sets the bytesProcessed property value. The number of bytes processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetBytesProcessed(value *int64)() { + err := m.GetBackingStore().Set("bytesProcessed", value) + if err != nil { + panic(err) + } +} +// SetBytesProcessedOnlyCurrentVersion sets the bytesProcessedOnlyCurrentVersion property value. The number of bytes processed with version history excluded. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetBytesProcessedOnlyCurrentVersion(value *int64)() { + err := m.GetBackingStore().Set("bytesProcessedOnlyCurrentVersion", value) + if err != nil { + panic(err) + } +} +// SetCpuDurationMs sets the cpuDurationMs property value. CPU duration in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetCpuDurationMs(value *int64)() { + err := m.GetBackingStore().Set("cpuDurationMs", value) + if err != nil { + panic(err) + } +} +// SetFilesProcessed sets the filesProcessed property value. The number of files processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetFilesProcessed(value *int64)() { + err := m.GetBackingStore().Set("filesProcessed", value) + if err != nil { + panic(err) + } +} +// SetFilesProcessedOnlyCurrentVersion sets the filesProcessedOnlyCurrentVersion property value. The number of files processed with version history excluded. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetFilesProcessedOnlyCurrentVersion(value *int64)() { + err := m.GetBackingStore().Set("filesProcessedOnlyCurrentVersion", value) + if err != nil { + panic(err) + } +} +// SetIsCompleted sets the isCompleted property value. True if the job status is End. False if the job is In progress. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetIsCompleted(value *bool)() { + err := m.GetBackingStore().Set("isCompleted", value) + if err != nil { + panic(err) + } +} +// SetLastProcessedObjectId sets the lastProcessedObjectId property value. The unique identifier of the last object processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetLastProcessedObjectId(value *string)() { + err := m.GetBackingStore().Set("lastProcessedObjectId", value) + if err != nil { + panic(err) + } +} +// SetObjectsProcessed sets the objectsProcessed property value. The number of objects processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetObjectsProcessed(value *int64)() { + err := m.GetBackingStore().Set("objectsProcessed", value) + if err != nil { + panic(err) + } +} +// SetSqlDurationMs sets the sqlDurationMs property value. SQL duration in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetSqlDurationMs(value *int64)() { + err := m.GetBackingStore().Set("sqlDurationMs", value) + if err != nil { + panic(err) + } +} +// SetSqlQueryCount sets the sqlQueryCount property value. SQL query count. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetSqlQueryCount(value *int64)() { + err := m.GetBackingStore().Set("sqlQueryCount", value) + if err != nil { + panic(err) + } +} +// SetTotalDurationMs sets the totalDurationMs property value. Total duration time in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalDurationMs(value *int64)() { + err := m.GetBackingStore().Set("totalDurationMs", value) + if err != nil { + panic(err) + } +} +// SetTotalErrors sets the totalErrors property value. Total errors. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalErrors(value *int64)() { + err := m.GetBackingStore().Set("totalErrors", value) + if err != nil { + panic(err) + } +} +// SetTotalExpectedBytes sets the totalExpectedBytes property value. Total bytes to be processed. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalExpectedBytes(value *int64)() { + err := m.GetBackingStore().Set("totalExpectedBytes", value) + if err != nil { + panic(err) + } +} +// SetTotalExpectedObjects sets the totalExpectedObjects property value. The number of objects to process. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalExpectedObjects(value *int64)() { + err := m.GetBackingStore().Set("totalExpectedObjects", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +// SetTotalWarnings sets the totalWarnings property value. Total warnings. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetTotalWarnings(value *int64)() { + err := m.GetBackingStore().Set("totalWarnings", value) + if err != nil { + panic(err) + } +} +// SetWaitTimeOnSqlThrottlingMs sets the waitTimeOnSqlThrottlingMs property value. Waiting time due to SQL throttling, in milliseconds. Read-only. +func (m *SharePointMigrationJobProgressEvent) SetWaitTimeOnSqlThrottlingMs(value *int64)() { + err := m.GetBackingStore().Set("waitTimeOnSqlThrottlingMs", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobProgressEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetBytesProcessed()(*int64) + GetBytesProcessedOnlyCurrentVersion()(*int64) + GetCpuDurationMs()(*int64) + GetFilesProcessed()(*int64) + GetFilesProcessedOnlyCurrentVersion()(*int64) + GetIsCompleted()(*bool) + GetLastProcessedObjectId()(*string) + GetObjectsProcessed()(*int64) + GetSqlDurationMs()(*int64) + GetSqlQueryCount()(*int64) + GetTotalDurationMs()(*int64) + GetTotalErrors()(*int64) + GetTotalExpectedBytes()(*int64) + GetTotalExpectedObjects()(*int64) + GetTotalRetryCount()(*int32) + GetTotalWarnings()(*int64) + GetWaitTimeOnSqlThrottlingMs()(*int64) + SetBytesProcessed(value *int64)() + SetBytesProcessedOnlyCurrentVersion(value *int64)() + SetCpuDurationMs(value *int64)() + SetFilesProcessed(value *int64)() + SetFilesProcessedOnlyCurrentVersion(value *int64)() + SetIsCompleted(value *bool)() + SetLastProcessedObjectId(value *string)() + SetObjectsProcessed(value *int64)() + SetSqlDurationMs(value *int64)() + SetSqlQueryCount(value *int64)() + SetTotalDurationMs(value *int64)() + SetTotalErrors(value *int64)() + SetTotalExpectedBytes(value *int64)() + SetTotalExpectedObjects(value *int64)() + SetTotalRetryCount(value *int32)() + SetTotalWarnings(value *int64)() + SetWaitTimeOnSqlThrottlingMs(value *int64)() +} diff --git a/models/share_point_migration_job_queued_event.go b/models/share_point_migration_job_queued_event.go new file mode 100644 index 0000000000..ee184baf39 --- /dev/null +++ b/models/share_point_migration_job_queued_event.go @@ -0,0 +1,42 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobQueuedEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobQueuedEvent instantiates a new SharePointMigrationJobQueuedEvent and sets the default values. +func NewSharePointMigrationJobQueuedEvent()(*SharePointMigrationJobQueuedEvent) { + m := &SharePointMigrationJobQueuedEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobQueuedEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobQueuedEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobQueuedEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobQueuedEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + return res +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobQueuedEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + return nil +} +type SharePointMigrationJobQueuedEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable +} diff --git a/models/share_point_migration_job_start_event.go b/models/share_point_migration_job_start_event.go new file mode 100644 index 0000000000..f861525988 --- /dev/null +++ b/models/share_point_migration_job_start_event.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type SharePointMigrationJobStartEvent struct { + SharePointMigrationEvent +} +// NewSharePointMigrationJobStartEvent instantiates a new SharePointMigrationJobStartEvent and sets the default values. +func NewSharePointMigrationJobStartEvent()(*SharePointMigrationJobStartEvent) { + m := &SharePointMigrationJobStartEvent{ + SharePointMigrationEvent: *NewSharePointMigrationEvent(), + } + return m +} +// CreateSharePointMigrationJobStartEventFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateSharePointMigrationJobStartEventFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewSharePointMigrationJobStartEvent(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *SharePointMigrationJobStartEvent) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.SharePointMigrationEvent.GetFieldDeserializers() + res["isRestarted"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetBoolValue() + if err != nil { + return err + } + if val != nil { + m.SetIsRestarted(val) + } + return nil + } + res["totalRetryCount"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetTotalRetryCount(val) + } + return nil + } + return res +} +// GetIsRestarted gets the isRestarted property value. True if the job is restarted. False if it's the initial start. Read-only. +// returns a *bool when successful +func (m *SharePointMigrationJobStartEvent) GetIsRestarted()(*bool) { + val, err := m.GetBackingStore().Get("isRestarted") + if err != nil { + panic(err) + } + if val != nil { + return val.(*bool) + } + return nil +} +// GetTotalRetryCount gets the totalRetryCount property value. The current retry count of the job. Read-only. +// returns a *int32 when successful +func (m *SharePointMigrationJobStartEvent) GetTotalRetryCount()(*int32) { + val, err := m.GetBackingStore().Get("totalRetryCount") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// Serialize serializes information the current object +func (m *SharePointMigrationJobStartEvent) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.SharePointMigrationEvent.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteBoolValue("isRestarted", m.GetIsRestarted()) + if err != nil { + return err + } + } + { + err = writer.WriteInt32Value("totalRetryCount", m.GetTotalRetryCount()) + if err != nil { + return err + } + } + return nil +} +// SetIsRestarted sets the isRestarted property value. True if the job is restarted. False if it's the initial start. Read-only. +func (m *SharePointMigrationJobStartEvent) SetIsRestarted(value *bool)() { + err := m.GetBackingStore().Set("isRestarted", value) + if err != nil { + panic(err) + } +} +// SetTotalRetryCount sets the totalRetryCount property value. The current retry count of the job. Read-only. +func (m *SharePointMigrationJobStartEvent) SetTotalRetryCount(value *int32)() { + err := m.GetBackingStore().Set("totalRetryCount", value) + if err != nil { + panic(err) + } +} +type SharePointMigrationJobStartEventable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + SharePointMigrationEventable + GetIsRestarted()(*bool) + GetTotalRetryCount()(*int32) + SetIsRestarted(value *bool)() + SetTotalRetryCount(value *int32)() +} diff --git a/models/share_point_migration_object_type.go b/models/share_point_migration_object_type.go new file mode 100644 index 0000000000..b60664b569 --- /dev/null +++ b/models/share_point_migration_object_type.go @@ -0,0 +1,60 @@ +// 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 SharePointMigrationObjectType int + +const ( + SITE_SHAREPOINTMIGRATIONOBJECTTYPE SharePointMigrationObjectType = iota + WEB_SHAREPOINTMIGRATIONOBJECTTYPE + FOLDER_SHAREPOINTMIGRATIONOBJECTTYPE + LIST_SHAREPOINTMIGRATIONOBJECTTYPE + LISTITEM_SHAREPOINTMIGRATIONOBJECTTYPE + FILE_SHAREPOINTMIGRATIONOBJECTTYPE + ALERT_SHAREPOINTMIGRATIONOBJECTTYPE + SHAREDWITHOBJECT_SHAREPOINTMIGRATIONOBJECTTYPE + INVALID_SHAREPOINTMIGRATIONOBJECTTYPE + UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONOBJECTTYPE +) + +func (i SharePointMigrationObjectType) String() string { + return []string{"site", "web", "folder", "list", "listItem", "file", "alert", "sharedWithObject", "invalid", "unknownFutureValue"}[i] +} +func ParseSharePointMigrationObjectType(v string) (any, error) { + result := SITE_SHAREPOINTMIGRATIONOBJECTTYPE + switch v { + case "site": + result = SITE_SHAREPOINTMIGRATIONOBJECTTYPE + case "web": + result = WEB_SHAREPOINTMIGRATIONOBJECTTYPE + case "folder": + result = FOLDER_SHAREPOINTMIGRATIONOBJECTTYPE + case "list": + result = LIST_SHAREPOINTMIGRATIONOBJECTTYPE + case "listItem": + result = LISTITEM_SHAREPOINTMIGRATIONOBJECTTYPE + case "file": + result = FILE_SHAREPOINTMIGRATIONOBJECTTYPE + case "alert": + result = ALERT_SHAREPOINTMIGRATIONOBJECTTYPE + case "sharedWithObject": + result = SHAREDWITHOBJECT_SHAREPOINTMIGRATIONOBJECTTYPE + case "invalid": + result = INVALID_SHAREPOINTMIGRATIONOBJECTTYPE + case "unknownFutureValue": + result = UNKNOWNFUTUREVALUE_SHAREPOINTMIGRATIONOBJECTTYPE + default: + return nil, nil + } + return &result, nil +} +func SerializeSharePointMigrationObjectType(values []SharePointMigrationObjectType) []string { + result := make([]string, len(values)) + for i, v := range values { + result[i] = v.String() + } + return result +} +func (i SharePointMigrationObjectType) isMultiValue() bool { + return false +} diff --git a/models/sign_in.go b/models/sign_in.go index 37f321affb..b160f8325e 100644 --- a/models/sign_in.go +++ b/models/sign_in.go @@ -433,7 +433,7 @@ func (m *SignIn) GetResourceId()(*string) { } return nil } -// GetRiskDetail gets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. +// GetRiskDetail gets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. // returns a *RiskDetail when successful func (m *SignIn) GetRiskDetail()(*RiskDetail) { val, err := m.GetBackingStore().Get("riskDetail") @@ -801,7 +801,7 @@ func (m *SignIn) SetResourceId(value *string)() { panic(err) } } -// SetRiskDetail sets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The possible values are none, adminGeneratedTemporaryPassword, userPerformedSecuredPasswordChange, userPerformedSecuredPasswordReset, adminConfirmedSigninSafe, aiConfirmedSigninSafe, userPassedMFADrivenByRiskBasedPolicy, adminDismissedAllRiskForUser, adminConfirmedSigninCompromised, hidden, adminConfirmedUserCompromised, unknownFutureValue, adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe. Use the Prefer: include-unknown-enum-members request header to get the following value or values in this evolvable enum: adminConfirmedServicePrincipalCompromised, adminDismissedAllRiskForServicePrincipal, m365DAdminDismissedDetection, userChangedPasswordOnPremises, adminDismissedRiskForSignIn, adminConfirmedAccountSafe.The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. +// SetRiskDetail sets the riskDetail property value. The reason behind a specific state of a risky user, sign-in, or a risk event. The value none means that Microsoft Entra risk detection did not flag the user or the sign-in as a risky event so far. Supports $filter (eq). Note: Details for this property are only available for Microsoft Entra ID P2 customers. All other customers are returned hidden. func (m *SignIn) SetRiskDetail(value *RiskDetail)() { err := m.GetBackingStore().Set("riskDetail", value) if err != nil { diff --git a/models/subject_rights_request_history.go b/models/subject_rights_request_history.go index 51ec900b62..4231f04e3d 100644 --- a/models/subject_rights_request_history.go +++ b/models/subject_rights_request_history.go @@ -146,7 +146,7 @@ func (m *SubjectRightsRequestHistory) GetOdataType()(*string) { } return nil } -// GetStage gets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. +// GetStage gets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval. // returns a *SubjectRightsRequestStage when successful func (m *SubjectRightsRequestHistory) GetStage()(*SubjectRightsRequestStage) { val, err := m.GetBackingStore().Get("stage") @@ -262,7 +262,7 @@ func (m *SubjectRightsRequestHistory) SetOdataType(value *string)() { panic(err) } } -// SetStage sets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: approval. +// SetStage sets the stage property value. The stage when the entity was changed. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval. func (m *SubjectRightsRequestHistory) SetStage(value *SubjectRightsRequestStage)() { err := m.GetBackingStore().Set("stage", value) if err != nil { diff --git a/models/subject_rights_request_stage_detail.go b/models/subject_rights_request_stage_detail.go index 8a45851eb8..f7a584ff88 100644 --- a/models/subject_rights_request_stage_detail.go +++ b/models/subject_rights_request_stage_detail.go @@ -113,7 +113,7 @@ func (m *SubjectRightsRequestStageDetail) GetOdataType()(*string) { } return nil } -// GetStage gets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. +// GetStage gets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval. // returns a *SubjectRightsRequestStage when successful func (m *SubjectRightsRequestStageDetail) GetStage()(*SubjectRightsRequestStage) { val, err := m.GetBackingStore().Get("stage") @@ -198,7 +198,7 @@ func (m *SubjectRightsRequestStageDetail) SetOdataType(value *string)() { panic(err) } } -// SetStage sets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: approval. +// SetStage sets the stage property value. The stage of the subject rights request. Possible values are: contentRetrieval, contentReview, generateReport, contentDeletion, caseResolved, unknownFutureValue, approval. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: approval. func (m *SubjectRightsRequestStageDetail) SetStage(value *SubjectRightsRequestStage)() { err := m.GetBackingStore().Set("stage", value) if err != nil { diff --git a/models/unit_map.go b/models/unit_map.go new file mode 100644 index 0000000000..a16f79f295 --- /dev/null +++ b/models/unit_map.go @@ -0,0 +1,81 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package models + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +type UnitMap struct { + BaseMapFeature +} +// NewUnitMap instantiates a new UnitMap and sets the default values. +func NewUnitMap()(*UnitMap) { + m := &UnitMap{ + BaseMapFeature: *NewBaseMapFeature(), + } + odataTypeValue := "#microsoft.graph.unitMap" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateUnitMapFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUnitMapFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUnitMap(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UnitMap) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseMapFeature.GetFieldDeserializers() + res["placeId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetPlaceId(val) + } + return nil + } + return res +} +// GetPlaceId gets the placeId property value. The placeId property +// returns a *string when successful +func (m *UnitMap) GetPlaceId()(*string) { + val, err := m.GetBackingStore().Get("placeId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *UnitMap) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.BaseMapFeature.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteStringValue("placeId", m.GetPlaceId()) + if err != nil { + return err + } + } + return nil +} +// SetPlaceId sets the placeId property value. The placeId property +func (m *UnitMap) SetPlaceId(value *string)() { + err := m.GetBackingStore().Set("placeId", value) + if err != nil { + panic(err) + } +} +type UnitMapable interface { + BaseMapFeatureable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetPlaceId()(*string) + SetPlaceId(value *string)() +} diff --git a/models/unit_map_collection_response.go b/models/unit_map_collection_response.go new file mode 100644 index 0000000000..0cba4fa440 --- /dev/null +++ b/models/unit_map_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 UnitMapCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewUnitMapCollectionResponse instantiates a new UnitMapCollectionResponse and sets the default values. +func NewUnitMapCollectionResponse()(*UnitMapCollectionResponse) { + m := &UnitMapCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateUnitMapCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateUnitMapCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewUnitMapCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *UnitMapCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateUnitMapFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]UnitMapable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(UnitMapable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []UnitMapable when successful +func (m *UnitMapCollectionResponse) GetValue()([]UnitMapable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]UnitMapable) + } + return nil +} +// Serialize serializes information the current object +func (m *UnitMapCollectionResponse) 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 *UnitMapCollectionResponse) SetValue(value []UnitMapable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type UnitMapCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]UnitMapable) + SetValue(value []UnitMapable)() +} diff --git a/models/workforce_integration.go b/models/workforce_integration.go index 17a9d256df..3ab416a3a5 100644 --- a/models/workforce_integration.go +++ b/models/workforce_integration.go @@ -48,7 +48,7 @@ func (m *WorkforceIntegration) GetDisplayName()(*string) { } return nil } -// GetEligibilityFilteringEnabledEntities gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +// GetEligibilityFilteringEnabledEntities gets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: timeOffReason. // returns a *EligibilityFilteringEnabledEntities when successful func (m *WorkforceIntegration) GetEligibilityFilteringEnabledEntities()(*EligibilityFilteringEnabledEntities) { val, err := m.GetBackingStore().Get("eligibilityFilteringEnabledEntities") @@ -250,7 +250,7 @@ func (m *WorkforceIntegration) SetDisplayName(value *string)() { panic(err) } } -// SetEligibilityFilteringEnabledEntities sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: timeOffReason. +// SetEligibilityFilteringEnabledEntities sets the eligibilityFilteringEnabledEntities property value. Support to view eligibility-filtered results. Possible values are: none, swapRequest, offerShiftRequest, unknownFutureValue, timeOffReason. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: timeOffReason. func (m *WorkforceIntegration) SetEligibilityFilteringEnabledEntities(value *EligibilityFilteringEnabledEntities)() { err := m.GetBackingStore().Set("eligibilityFilteringEnabledEntities", value) if err != nil { diff --git a/models/workspace.go b/models/workspace.go new file mode 100644 index 0000000000..08be190e83 --- /dev/null +++ b/models/workspace.go @@ -0,0 +1,229 @@ +// 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 Workspace struct { + Place +} +// NewWorkspace instantiates a new Workspace and sets the default values. +func NewWorkspace()(*Workspace) { + m := &Workspace{ + Place: *NewPlace(), + } + odataTypeValue := "#microsoft.graph.workspace" + m.SetOdataType(&odataTypeValue) + return m +} +// CreateWorkspaceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkspaceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkspace(), nil +} +// GetCapacity gets the capacity property value. The capacity property +// returns a *int32 when successful +func (m *Workspace) GetCapacity()(*int32) { + val, err := m.GetBackingStore().Get("capacity") + if err != nil { + panic(err) + } + if val != nil { + return val.(*int32) + } + return nil +} +// GetDisplayDeviceName gets the displayDeviceName property value. The displayDeviceName property +// returns a *string when successful +func (m *Workspace) GetDisplayDeviceName()(*string) { + val, err := m.GetBackingStore().Get("displayDeviceName") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetEmailAddress gets the emailAddress property value. The emailAddress property +// returns a *string when successful +func (m *Workspace) GetEmailAddress()(*string) { + val, err := m.GetBackingStore().Get("emailAddress") + 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 *Workspace) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.Place.GetFieldDeserializers() + res["capacity"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetInt32Value() + if err != nil { + return err + } + if val != nil { + m.SetCapacity(val) + } + return nil + } + res["displayDeviceName"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetDisplayDeviceName(val) + } + return nil + } + res["emailAddress"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetEmailAddress(val) + } + return nil + } + res["mode"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(CreatePlaceModeFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetMode(val.(PlaceModeable)) + } + return nil + } + res["nickname"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetNickname(val) + } + return nil + } + return res +} +// GetMode gets the mode property value. The mode property +// returns a PlaceModeable when successful +func (m *Workspace) GetMode()(PlaceModeable) { + val, err := m.GetBackingStore().Get("mode") + if err != nil { + panic(err) + } + if val != nil { + return val.(PlaceModeable) + } + return nil +} +// GetNickname gets the nickname property value. The nickname property +// returns a *string when successful +func (m *Workspace) GetNickname()(*string) { + val, err := m.GetBackingStore().Get("nickname") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// Serialize serializes information the current object +func (m *Workspace) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + err := m.Place.Serialize(writer) + if err != nil { + return err + } + { + err = writer.WriteInt32Value("capacity", m.GetCapacity()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("displayDeviceName", m.GetDisplayDeviceName()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("emailAddress", m.GetEmailAddress()) + if err != nil { + return err + } + } + { + err = writer.WriteObjectValue("mode", m.GetMode()) + if err != nil { + return err + } + } + { + err = writer.WriteStringValue("nickname", m.GetNickname()) + if err != nil { + return err + } + } + return nil +} +// SetCapacity sets the capacity property value. The capacity property +func (m *Workspace) SetCapacity(value *int32)() { + err := m.GetBackingStore().Set("capacity", value) + if err != nil { + panic(err) + } +} +// SetDisplayDeviceName sets the displayDeviceName property value. The displayDeviceName property +func (m *Workspace) SetDisplayDeviceName(value *string)() { + err := m.GetBackingStore().Set("displayDeviceName", value) + if err != nil { + panic(err) + } +} +// SetEmailAddress sets the emailAddress property value. The emailAddress property +func (m *Workspace) SetEmailAddress(value *string)() { + err := m.GetBackingStore().Set("emailAddress", value) + if err != nil { + panic(err) + } +} +// SetMode sets the mode property value. The mode property +func (m *Workspace) SetMode(value PlaceModeable)() { + err := m.GetBackingStore().Set("mode", value) + if err != nil { + panic(err) + } +} +// SetNickname sets the nickname property value. The nickname property +func (m *Workspace) SetNickname(value *string)() { + err := m.GetBackingStore().Set("nickname", value) + if err != nil { + panic(err) + } +} +type Workspaceable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + Placeable + GetCapacity()(*int32) + GetDisplayDeviceName()(*string) + GetEmailAddress()(*string) + GetMode()(PlaceModeable) + GetNickname()(*string) + SetCapacity(value *int32)() + SetDisplayDeviceName(value *string)() + SetEmailAddress(value *string)() + SetMode(value PlaceModeable)() + SetNickname(value *string)() +} diff --git a/models/workspace_collection_response.go b/models/workspace_collection_response.go new file mode 100644 index 0000000000..56b5c43d3f --- /dev/null +++ b/models/workspace_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 WorkspaceCollectionResponse struct { + BaseCollectionPaginationCountResponse +} +// NewWorkspaceCollectionResponse instantiates a new WorkspaceCollectionResponse and sets the default values. +func NewWorkspaceCollectionResponse()(*WorkspaceCollectionResponse) { + m := &WorkspaceCollectionResponse{ + BaseCollectionPaginationCountResponse: *NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateWorkspaceCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateWorkspaceCollectionResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewWorkspaceCollectionResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *WorkspaceCollectionResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(CreateWorkspaceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]Workspaceable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(Workspaceable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Workspaceable when successful +func (m *WorkspaceCollectionResponse) GetValue()([]Workspaceable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]Workspaceable) + } + return nil +} +// Serialize serializes information the current object +func (m *WorkspaceCollectionResponse) 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 *WorkspaceCollectionResponse) SetValue(value []Workspaceable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type WorkspaceCollectionResponseable interface { + BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]Workspaceable) + SetValue(value []Workspaceable)() +} diff --git a/places/graph_building_count_request_builder.go b/places/graph_building_count_request_builder.go new file mode 100644 index 0000000000..95f3882ed9 --- /dev/null +++ b/places/graph_building_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphBuildingCountRequestBuilder provides operations to count the resources in the collection. +type GraphBuildingCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphBuildingCountRequestBuilderGetQueryParameters get the number of the resource +type GraphBuildingCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphBuildingCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphBuildingCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphBuildingCountRequestBuilderGetQueryParameters +} +// NewGraphBuildingCountRequestBuilderInternal instantiates a new GraphBuildingCountRequestBuilder and sets the default values. +func NewGraphBuildingCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingCountRequestBuilder) { + m := &GraphBuildingCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.building/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphBuildingCountRequestBuilder instantiates a new GraphBuildingCountRequestBuilder and sets the default values. +func NewGraphBuildingCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphBuildingCountRequestBuilderInternal(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 *GraphBuildingCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphBuildingCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *GraphBuildingCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphBuildingCountRequestBuilderGetRequestConfiguration)(*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 *GraphBuildingCountRequestBuilder when successful +func (m *GraphBuildingCountRequestBuilder) WithUrl(rawUrl string)(*GraphBuildingCountRequestBuilder) { + return NewGraphBuildingCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_building_request_builder.go b/places/graph_building_request_builder.go new file mode 100644 index 0000000000..2e7b35e783 --- /dev/null +++ b/places/graph_building_request_builder.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphBuildingRequestBuilder casts the previous resource to building. +type GraphBuildingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphBuildingRequestBuilderGetQueryParameters get the items of type microsoft.graph.building in the microsoft.graph.place collection +type GraphBuildingRequestBuilderGetQueryParameters 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"` +} +// GraphBuildingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphBuildingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphBuildingRequestBuilderGetQueryParameters +} +// NewGraphBuildingRequestBuilderInternal instantiates a new GraphBuildingRequestBuilder and sets the default values. +func NewGraphBuildingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingRequestBuilder) { + m := &GraphBuildingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.building{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphBuildingRequestBuilder instantiates a new GraphBuildingRequestBuilder and sets the default values. +func NewGraphBuildingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphBuildingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphBuildingRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphBuildingCountRequestBuilder when successful +func (m *GraphBuildingRequestBuilder) Count()(*GraphBuildingCountRequestBuilder) { + return NewGraphBuildingCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.building in the microsoft.graph.place collection +// returns a BuildingCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphBuildingRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphBuildingRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.building in the microsoft.graph.place collection +// returns a *RequestInformation when successful +func (m *GraphBuildingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphBuildingRequestBuilderGetRequestConfiguration)(*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 *GraphBuildingRequestBuilder when successful +func (m *GraphBuildingRequestBuilder) WithUrl(rawUrl string)(*GraphBuildingRequestBuilder) { + return NewGraphBuildingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_desk_count_request_builder.go b/places/graph_desk_count_request_builder.go new file mode 100644 index 0000000000..86a81e8968 --- /dev/null +++ b/places/graph_desk_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphDeskCountRequestBuilder provides operations to count the resources in the collection. +type GraphDeskCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphDeskCountRequestBuilderGetQueryParameters get the number of the resource +type GraphDeskCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphDeskCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphDeskCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphDeskCountRequestBuilderGetQueryParameters +} +// NewGraphDeskCountRequestBuilderInternal instantiates a new GraphDeskCountRequestBuilder and sets the default values. +func NewGraphDeskCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskCountRequestBuilder) { + m := &GraphDeskCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.desk/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphDeskCountRequestBuilder instantiates a new GraphDeskCountRequestBuilder and sets the default values. +func NewGraphDeskCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphDeskCountRequestBuilderInternal(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 *GraphDeskCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphDeskCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *GraphDeskCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphDeskCountRequestBuilderGetRequestConfiguration)(*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 *GraphDeskCountRequestBuilder when successful +func (m *GraphDeskCountRequestBuilder) WithUrl(rawUrl string)(*GraphDeskCountRequestBuilder) { + return NewGraphDeskCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_desk_request_builder.go b/places/graph_desk_request_builder.go new file mode 100644 index 0000000000..4d9b0f9017 --- /dev/null +++ b/places/graph_desk_request_builder.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphDeskRequestBuilder casts the previous resource to desk. +type GraphDeskRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphDeskRequestBuilderGetQueryParameters get the items of type microsoft.graph.desk in the microsoft.graph.place collection +type GraphDeskRequestBuilderGetQueryParameters 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"` +} +// GraphDeskRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphDeskRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphDeskRequestBuilderGetQueryParameters +} +// NewGraphDeskRequestBuilderInternal instantiates a new GraphDeskRequestBuilder and sets the default values. +func NewGraphDeskRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskRequestBuilder) { + m := &GraphDeskRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.desk{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphDeskRequestBuilder instantiates a new GraphDeskRequestBuilder and sets the default values. +func NewGraphDeskRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphDeskRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphDeskRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphDeskCountRequestBuilder when successful +func (m *GraphDeskRequestBuilder) Count()(*GraphDeskCountRequestBuilder) { + return NewGraphDeskCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.desk in the microsoft.graph.place collection +// returns a DeskCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphDeskRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphDeskRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeskCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDeskCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeskCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.desk in the microsoft.graph.place collection +// returns a *RequestInformation when successful +func (m *GraphDeskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphDeskRequestBuilderGetRequestConfiguration)(*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 *GraphDeskRequestBuilder when successful +func (m *GraphDeskRequestBuilder) WithUrl(rawUrl string)(*GraphDeskRequestBuilder) { + return NewGraphDeskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_floor_count_request_builder.go b/places/graph_floor_count_request_builder.go new file mode 100644 index 0000000000..b518f36637 --- /dev/null +++ b/places/graph_floor_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphFloorCountRequestBuilder provides operations to count the resources in the collection. +type GraphFloorCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphFloorCountRequestBuilderGetQueryParameters get the number of the resource +type GraphFloorCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphFloorCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphFloorCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphFloorCountRequestBuilderGetQueryParameters +} +// NewGraphFloorCountRequestBuilderInternal instantiates a new GraphFloorCountRequestBuilder and sets the default values. +func NewGraphFloorCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorCountRequestBuilder) { + m := &GraphFloorCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.floor/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphFloorCountRequestBuilder instantiates a new GraphFloorCountRequestBuilder and sets the default values. +func NewGraphFloorCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphFloorCountRequestBuilderInternal(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 *GraphFloorCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphFloorCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *GraphFloorCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphFloorCountRequestBuilderGetRequestConfiguration)(*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 *GraphFloorCountRequestBuilder when successful +func (m *GraphFloorCountRequestBuilder) WithUrl(rawUrl string)(*GraphFloorCountRequestBuilder) { + return NewGraphFloorCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_floor_request_builder.go b/places/graph_floor_request_builder.go new file mode 100644 index 0000000000..57dbfc5391 --- /dev/null +++ b/places/graph_floor_request_builder.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphFloorRequestBuilder casts the previous resource to floor. +type GraphFloorRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphFloorRequestBuilderGetQueryParameters get the items of type microsoft.graph.floor in the microsoft.graph.place collection +type GraphFloorRequestBuilderGetQueryParameters 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"` +} +// GraphFloorRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphFloorRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphFloorRequestBuilderGetQueryParameters +} +// NewGraphFloorRequestBuilderInternal instantiates a new GraphFloorRequestBuilder and sets the default values. +func NewGraphFloorRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorRequestBuilder) { + m := &GraphFloorRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.floor{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphFloorRequestBuilder instantiates a new GraphFloorRequestBuilder and sets the default values. +func NewGraphFloorRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphFloorRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphFloorRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphFloorCountRequestBuilder when successful +func (m *GraphFloorRequestBuilder) Count()(*GraphFloorCountRequestBuilder) { + return NewGraphFloorCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.floor in the microsoft.graph.place collection +// returns a FloorCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphFloorRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphFloorRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FloorCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFloorCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FloorCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.floor in the microsoft.graph.place collection +// returns a *RequestInformation when successful +func (m *GraphFloorRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphFloorRequestBuilderGetRequestConfiguration)(*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 *GraphFloorRequestBuilder when successful +func (m *GraphFloorRequestBuilder) WithUrl(rawUrl string)(*GraphFloorRequestBuilder) { + return NewGraphFloorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_section_count_request_builder.go b/places/graph_section_count_request_builder.go new file mode 100644 index 0000000000..ac33c2923e --- /dev/null +++ b/places/graph_section_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphSectionCountRequestBuilder provides operations to count the resources in the collection. +type GraphSectionCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphSectionCountRequestBuilderGetQueryParameters get the number of the resource +type GraphSectionCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphSectionCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphSectionCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphSectionCountRequestBuilderGetQueryParameters +} +// NewGraphSectionCountRequestBuilderInternal instantiates a new GraphSectionCountRequestBuilder and sets the default values. +func NewGraphSectionCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionCountRequestBuilder) { + m := &GraphSectionCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.section/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphSectionCountRequestBuilder instantiates a new GraphSectionCountRequestBuilder and sets the default values. +func NewGraphSectionCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphSectionCountRequestBuilderInternal(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 *GraphSectionCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphSectionCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *GraphSectionCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphSectionCountRequestBuilderGetRequestConfiguration)(*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 *GraphSectionCountRequestBuilder when successful +func (m *GraphSectionCountRequestBuilder) WithUrl(rawUrl string)(*GraphSectionCountRequestBuilder) { + return NewGraphSectionCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_section_request_builder.go b/places/graph_section_request_builder.go new file mode 100644 index 0000000000..476ecef555 --- /dev/null +++ b/places/graph_section_request_builder.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphSectionRequestBuilder casts the previous resource to section. +type GraphSectionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphSectionRequestBuilderGetQueryParameters get the items of type microsoft.graph.section in the microsoft.graph.place collection +type GraphSectionRequestBuilderGetQueryParameters 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"` +} +// GraphSectionRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphSectionRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphSectionRequestBuilderGetQueryParameters +} +// NewGraphSectionRequestBuilderInternal instantiates a new GraphSectionRequestBuilder and sets the default values. +func NewGraphSectionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionRequestBuilder) { + m := &GraphSectionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.section{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphSectionRequestBuilder instantiates a new GraphSectionRequestBuilder and sets the default values. +func NewGraphSectionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphSectionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphSectionRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphSectionCountRequestBuilder when successful +func (m *GraphSectionRequestBuilder) Count()(*GraphSectionCountRequestBuilder) { + return NewGraphSectionCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.section in the microsoft.graph.place collection +// returns a SectionCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphSectionRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphSectionRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.section in the microsoft.graph.place collection +// returns a *RequestInformation when successful +func (m *GraphSectionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphSectionRequestBuilderGetRequestConfiguration)(*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 *GraphSectionRequestBuilder when successful +func (m *GraphSectionRequestBuilder) WithUrl(rawUrl string)(*GraphSectionRequestBuilder) { + return NewGraphSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_workspace_count_request_builder.go b/places/graph_workspace_count_request_builder.go new file mode 100644 index 0000000000..a0daf9b856 --- /dev/null +++ b/places/graph_workspace_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphWorkspaceCountRequestBuilder provides operations to count the resources in the collection. +type GraphWorkspaceCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphWorkspaceCountRequestBuilderGetQueryParameters get the number of the resource +type GraphWorkspaceCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// GraphWorkspaceCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphWorkspaceCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphWorkspaceCountRequestBuilderGetQueryParameters +} +// NewGraphWorkspaceCountRequestBuilderInternal instantiates a new GraphWorkspaceCountRequestBuilder and sets the default values. +func NewGraphWorkspaceCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceCountRequestBuilder) { + m := &GraphWorkspaceCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.workspace/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewGraphWorkspaceCountRequestBuilder instantiates a new GraphWorkspaceCountRequestBuilder and sets the default values. +func NewGraphWorkspaceCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphWorkspaceCountRequestBuilderInternal(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 *GraphWorkspaceCountRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphWorkspaceCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *GraphWorkspaceCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphWorkspaceCountRequestBuilderGetRequestConfiguration)(*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 *GraphWorkspaceCountRequestBuilder when successful +func (m *GraphWorkspaceCountRequestBuilder) WithUrl(rawUrl string)(*GraphWorkspaceCountRequestBuilder) { + return NewGraphWorkspaceCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/graph_workspace_request_builder.go b/places/graph_workspace_request_builder.go new file mode 100644 index 0000000000..dac2b10a3c --- /dev/null +++ b/places/graph_workspace_request_builder.go @@ -0,0 +1,101 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// GraphWorkspaceRequestBuilder casts the previous resource to workspace. +type GraphWorkspaceRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// GraphWorkspaceRequestBuilderGetQueryParameters get the items of type microsoft.graph.workspace in the microsoft.graph.place collection +type GraphWorkspaceRequestBuilderGetQueryParameters 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"` +} +// GraphWorkspaceRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type GraphWorkspaceRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *GraphWorkspaceRequestBuilderGetQueryParameters +} +// NewGraphWorkspaceRequestBuilderInternal instantiates a new GraphWorkspaceRequestBuilder and sets the default values. +func NewGraphWorkspaceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceRequestBuilder) { + m := &GraphWorkspaceRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/graph.workspace{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewGraphWorkspaceRequestBuilder instantiates a new GraphWorkspaceRequestBuilder and sets the default values. +func NewGraphWorkspaceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*GraphWorkspaceRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewGraphWorkspaceRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *GraphWorkspaceCountRequestBuilder when successful +func (m *GraphWorkspaceRequestBuilder) Count()(*GraphWorkspaceCountRequestBuilder) { + return NewGraphWorkspaceCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get the items of type microsoft.graph.workspace in the microsoft.graph.place collection +// returns a WorkspaceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *GraphWorkspaceRequestBuilder) Get(ctx context.Context, requestConfiguration *GraphWorkspaceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable), nil +} +// ToGetRequestInformation get the items of type microsoft.graph.workspace in the microsoft.graph.place collection +// returns a *RequestInformation when successful +func (m *GraphWorkspaceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *GraphWorkspaceRequestBuilderGetRequestConfiguration)(*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 *GraphWorkspaceRequestBuilder when successful +func (m *GraphWorkspaceRequestBuilder) WithUrl(rawUrl string)(*GraphWorkspaceRequestBuilder) { + return NewGraphWorkspaceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_descendants_get_response.go b/places/item_descendants_get_response.go new file mode 100644 index 0000000000..27ba5dedf9 --- /dev/null +++ b/places/item_descendants_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 places + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" +) + +type ItemDescendantsGetResponse struct { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponse +} +// NewItemDescendantsGetResponse instantiates a new ItemDescendantsGetResponse and sets the default values. +func NewItemDescendantsGetResponse()(*ItemDescendantsGetResponse) { + m := &ItemDescendantsGetResponse{ + BaseCollectionPaginationCountResponse: *iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.NewBaseCollectionPaginationCountResponse(), + } + return m +} +// CreateItemDescendantsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDescendantsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDescendantsGetResponse(), nil +} +// GetFieldDeserializers the deserialization information for the current model +// returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful +func (m *ItemDescendantsGetResponse) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := m.BaseCollectionPaginationCountResponse.GetFieldDeserializers() + res["value"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetCollectionOfObjectValues(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreatePlaceFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + res := make([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable, len(val)) + for i, v := range val { + if v != nil { + res[i] = v.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) + } + } + m.SetValue(res) + } + return nil + } + return res +} +// GetValue gets the value property value. The value property +// returns a []Placeable when successful +func (m *ItemDescendantsGetResponse) GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) { + val, err := m.GetBackingStore().Get("value") + if err != nil { + panic(err) + } + if val != nil { + return val.([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemDescendantsGetResponse) 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 *ItemDescendantsGetResponse) SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable)() { + err := m.GetBackingStore().Set("value", value) + if err != nil { + panic(err) + } +} +type ItemDescendantsGetResponseable interface { + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BaseCollectionPaginationCountResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetValue()([]iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable) + SetValue(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Placeable)() +} diff --git a/places/item_descendants_request_builder.go b/places/item_descendants_request_builder.go new file mode 100644 index 0000000000..d5c689965e --- /dev/null +++ b/places/item_descendants_request_builder.go @@ -0,0 +1,116 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemDescendantsRequestBuilder provides operations to call the descendants method. +type ItemDescendantsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemDescendantsRequestBuilderGetQueryParameters invoke function descendants +type ItemDescendantsRequestBuilderGetQueryParameters 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"` +} +// ItemDescendantsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemDescendantsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemDescendantsRequestBuilderGetQueryParameters +} +// NewItemDescendantsRequestBuilderInternal instantiates a new ItemDescendantsRequestBuilder and sets the default values. +func NewItemDescendantsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDescendantsRequestBuilder) { + m := &ItemDescendantsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/descendants(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemDescendantsRequestBuilder instantiates a new ItemDescendantsRequestBuilder and sets the default values. +func NewItemDescendantsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemDescendantsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemDescendantsRequestBuilderInternal(urlParams, requestAdapter) +} +// Get invoke function descendants +// Deprecated: This method is obsolete. Use GetAsDescendantsGetResponse instead. +// returns a ItemDescendantsResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDescendantsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDescendantsRequestBuilderGetRequestConfiguration)(ItemDescendantsResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemDescendantsResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemDescendantsResponseable), nil +} +// GetAsDescendantsGetResponse invoke function descendants +// returns a ItemDescendantsGetResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemDescendantsRequestBuilder) GetAsDescendantsGetResponse(ctx context.Context, requestConfiguration *ItemDescendantsRequestBuilderGetRequestConfiguration)(ItemDescendantsGetResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, CreateItemDescendantsGetResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(ItemDescendantsGetResponseable), nil +} +// ToGetRequestInformation invoke function descendants +// returns a *RequestInformation when successful +func (m *ItemDescendantsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDescendantsRequestBuilderGetRequestConfiguration)(*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 *ItemDescendantsRequestBuilder when successful +func (m *ItemDescendantsRequestBuilder) WithUrl(rawUrl string)(*ItemDescendantsRequestBuilder) { + return NewItemDescendantsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_descendants_response.go b/places/item_descendants_response.go new file mode 100644 index 0000000000..ac9f6fdd20 --- /dev/null +++ b/places/item_descendants_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 places + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" +) + +// Deprecated: This class is obsolete. Use ItemDescendantsGetResponseable instead. +type ItemDescendantsResponse struct { + ItemDescendantsGetResponse +} +// NewItemDescendantsResponse instantiates a new ItemDescendantsResponse and sets the default values. +func NewItemDescendantsResponse()(*ItemDescendantsResponse) { + m := &ItemDescendantsResponse{ + ItemDescendantsGetResponse: *NewItemDescendantsGetResponse(), + } + return m +} +// CreateItemDescendantsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemDescendantsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemDescendantsResponse(), nil +} +// Deprecated: This class is obsolete. Use ItemDescendantsGetResponseable instead. +type ItemDescendantsResponseable interface { + ItemDescendantsGetResponseable + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable +} diff --git a/places/item_graph_building_check_ins_check_in_claim_calendar_event_item_request_builder.go b/places/item_graph_building_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..c3b8e3b7cd --- /dev/null +++ b/places/item_graph_building_check_ins_check_in_claim_calendar_event_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get checkIns from places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*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 checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*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 checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_check_ins_count_request_builder.go b/places/item_graph_building_check_ins_count_request_builder.go new file mode 100644 index 0000000000..bbeda26a94 --- /dev/null +++ b/places/item_graph_building_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingCheckInsCountRequestBuilderInternal instantiates a new ItemGraphBuildingCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCountRequestBuilder) { + m := &ItemGraphBuildingCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingCheckInsCountRequestBuilder instantiates a new ItemGraphBuildingCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingCheckInsCountRequestBuilderInternal(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 *ItemGraphBuildingCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphBuildingCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphBuildingCheckInsCountRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingCheckInsCountRequestBuilder) { + return NewItemGraphBuildingCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_check_ins_request_builder.go b/places/item_graph_building_check_ins_request_builder.go new file mode 100644 index 0000000000..b3fc42ae79 --- /dev/null +++ b/places/item_graph_building_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphBuildingCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphBuildingCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingCheckInsRequestBuilderInternal instantiates a new ItemGraphBuildingCheckInsRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsRequestBuilder) { + m := &ItemGraphBuildingCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingCheckInsRequestBuilder instantiates a new ItemGraphBuildingCheckInsRequestBuilder and sets the default values. +func NewItemGraphBuildingCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingCheckInsCountRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) Count()(*ItemGraphBuildingCheckInsCountRequestBuilder) { + return NewItemGraphBuildingCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get checkIns from places +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation get checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderGetRequestConfiguration)(*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 checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphBuildingCheckInsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphBuildingCheckInsRequestBuilder when successful +func (m *ItemGraphBuildingCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingCheckInsRequestBuilder) { + return NewItemGraphBuildingCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_footprints_count_request_builder.go b/places/item_graph_building_map_footprints_count_request_builder.go new file mode 100644 index 0000000000..cb4c9d1c29 --- /dev/null +++ b/places/item_graph_building_map_footprints_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapFootprintsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapFootprintsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapFootprintsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapFootprintsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + m := &ItemGraphBuildingMapFootprintsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapFootprintsCountRequestBuilder instantiates a new ItemGraphBuildingMapFootprintsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal(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 *ItemGraphBuildingMapFootprintsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphBuildingMapFootprintsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphBuildingMapFootprintsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + return NewItemGraphBuildingMapFootprintsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_footprints_footprint_map_item_request_builder.go b/places/item_graph_building_map_footprints_footprint_map_item_request_builder.go new file mode 100644 index 0000000000..b67d09daef --- /dev/null +++ b/places/item_graph_building_map_footprints_footprint_map_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters get footprints from places +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + m := &ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints/{footprintMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder instantiates a new ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property footprints for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get footprints from places +// returns a FootprintMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable), nil +} +// Patch update the navigation property footprints in places +// returns a FootprintMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable), nil +} +// ToDeleteRequestInformation delete navigation property footprints for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderDeleteRequestConfiguration)(*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 footprints from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderGetRequestConfiguration)(*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 footprints in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + return NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_footprints_request_builder.go b/places/item_graph_building_map_footprints_request_builder.go new file mode 100644 index 0000000000..083ed229f8 --- /dev/null +++ b/places/item_graph_building_map_footprints_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapFootprintsRequestBuilder provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapFootprintsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters get footprints from places +type ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapFootprintsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFootprintMapId provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) ByFootprintMapId(footprintMapId string)(*ItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if footprintMapId != "" { + urlTplParams["footprintMap%2Did"] = footprintMapId + } + return NewItemGraphBuildingMapFootprintsFootprintMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapFootprintsRequestBuilderInternal instantiates a new ItemGraphBuildingMapFootprintsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsRequestBuilder) { + m := &ItemGraphBuildingMapFootprintsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/footprints{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapFootprintsRequestBuilder instantiates a new ItemGraphBuildingMapFootprintsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapFootprintsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapFootprintsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapFootprintsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapFootprintsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) Count()(*ItemGraphBuildingMapFootprintsCountRequestBuilder) { + return NewItemGraphBuildingMapFootprintsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get footprints from places +// returns a FootprintMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapCollectionResponseable), nil +} +// Post create new navigation property to footprints for places +// returns a FootprintMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFootprintMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable), nil +} +// ToGetRequestInformation get footprints from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderGetRequestConfiguration)(*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 footprints for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FootprintMapable, requestConfiguration *ItemGraphBuildingMapFootprintsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphBuildingMapFootprintsRequestBuilder when successful +func (m *ItemGraphBuildingMapFootprintsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapFootprintsRequestBuilder) { + return NewItemGraphBuildingMapFootprintsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_count_request_builder.go b/places/item_graph_building_map_levels_count_request_builder.go new file mode 100644 index 0000000000..32c10616af --- /dev/null +++ b/places/item_graph_building_map_levels_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsCountRequestBuilderInternal(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 *ItemGraphBuildingMapLevelsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphBuildingMapLevelsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_fixtures_count_request_builder.go b/places/item_graph_building_map_levels_item_fixtures_count_request_builder.go new file mode 100644 index 0000000000..67bbbc276d --- /dev/null +++ b/places/item_graph_building_map_levels_item_fixtures_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal(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 *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_fixtures_fixture_map_item_request_builder.go b/places/item_graph_building_map_levels_item_fixtures_fixture_map_item_request_builder.go new file mode 100644 index 0000000000..8d9d8d2158 --- /dev/null +++ b/places/item_graph_building_map_levels_item_fixtures_fixture_map_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters get fixtures from places +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures/{fixtureMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property fixtures for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get fixtures from places +// returns a FixtureMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable), nil +} +// Patch update the navigation property fixtures in places +// returns a FixtureMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable), nil +} +// ToDeleteRequestInformation delete navigation property fixtures for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderDeleteRequestConfiguration)(*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 fixtures from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderGetRequestConfiguration)(*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 fixtures in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_fixtures_request_builder.go b/places/item_graph_building_map_levels_item_fixtures_request_builder.go new file mode 100644 index 0000000000..b4be11babb --- /dev/null +++ b/places/item_graph_building_map_levels_item_fixtures_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilder provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters get fixtures from places +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters 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"` +} +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByFixtureMapId provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) ByFixtureMapId(fixtureMapId string)(*ItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if fixtureMapId != "" { + urlTplParams["fixtureMap%2Did"] = fixtureMapId + } + return NewItemGraphBuildingMapLevelsItemFixturesFixtureMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemFixturesRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemFixturesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/fixtures{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemFixturesRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemFixturesRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemFixturesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) Count()(*ItemGraphBuildingMapLevelsItemFixturesCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get fixtures from places +// returns a FixtureMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapCollectionResponseable), nil +} +// Post create new navigation property to fixtures for places +// returns a FixtureMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFixtureMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable), nil +} +// ToGetRequestInformation get fixtures from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderGetRequestConfiguration)(*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 fixtures for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.FixtureMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemFixturesRequestBuilderPostRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_sections_count_request_builder.go b/places/item_graph_building_map_levels_item_sections_count_request_builder.go new file mode 100644 index 0000000000..7104abf462 --- /dev/null +++ b/places/item_graph_building_map_levels_item_sections_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal(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 *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_sections_request_builder.go b/places/item_graph_building_map_levels_item_sections_request_builder.go new file mode 100644 index 0000000000..c9e58f53b9 --- /dev/null +++ b/places/item_graph_building_map_levels_item_sections_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilder provides operations to manage the sections property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters get sections from places +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySectionMapId provides operations to manage the sections property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) BySectionMapId(sectionMapId string)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sectionMapId != "" { + urlTplParams["sectionMap%2Did"] = sectionMapId + } + return NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemSectionsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemSectionsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemSectionsRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemSectionsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) Count()(*ItemGraphBuildingMapLevelsItemSectionsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get sections from places +// returns a SectionMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapCollectionResponseable), nil +} +// Post create new navigation property to sections for places +// returns a SectionMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable), nil +} +// ToGetRequestInformation get sections from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderGetRequestConfiguration)(*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 sections for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_sections_section_map_item_request_builder.go b/places/item_graph_building_map_levels_item_sections_section_map_item_request_builder.go new file mode 100644 index 0000000000..3ba226ef08 --- /dev/null +++ b/places/item_graph_building_map_levels_item_sections_section_map_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder provides operations to manage the sections property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters get sections from places +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/sections/{sectionMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property sections for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get sections from places +// returns a SectionMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable), nil +} +// Patch update the navigation property sections in places +// returns a SectionMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable), nil +} +// ToDeleteRequestInformation delete navigation property sections for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderDeleteRequestConfiguration)(*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 sections from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderGetRequestConfiguration)(*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 sections in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SectionMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsSectionMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_units_count_request_builder.go b/places/item_graph_building_map_levels_item_units_count_request_builder.go new file mode 100644 index 0000000000..04a5dd3f17 --- /dev/null +++ b/places/item_graph_building_map_levels_item_units_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetQueryParameters +} +// NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal(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 *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_units_request_builder.go b/places/item_graph_building_map_levels_item_units_request_builder.go new file mode 100644 index 0000000000..e25f0f4912 --- /dev/null +++ b/places/item_graph_building_map_levels_item_units_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilder provides operations to manage the units property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters get units from places +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByUnitMapId provides operations to manage the units property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) ByUnitMapId(unitMapId string)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if unitMapId != "" { + urlTplParams["unitMap%2Did"] = unitMapId + } + return NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemUnitsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemUnitsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemUnitsRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemUnitsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) Count()(*ItemGraphBuildingMapLevelsItemUnitsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get units from places +// returns a UnitMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapCollectionResponseable), nil +} +// Post create new navigation property to units for places +// returns a UnitMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable), nil +} +// ToGetRequestInformation get units from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderGetRequestConfiguration)(*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 units for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_item_units_unit_map_item_request_builder.go b/places/item_graph_building_map_levels_item_units_unit_map_item_request_builder.go new file mode 100644 index 0000000000..f5f485470e --- /dev/null +++ b/places/item_graph_building_map_levels_item_units_unit_map_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder provides operations to manage the units property of the microsoft.graph.levelMap entity. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters get units from places +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}/units/{unitMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property units for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get units from places +// returns a UnitMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable), nil +} +// Patch update the navigation property units in places +// returns a UnitMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateUnitMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable), nil +} +// ToDeleteRequestInformation delete navigation property units for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderDeleteRequestConfiguration)(*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 units from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderGetRequestConfiguration)(*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 units in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.UnitMapable, requestConfiguration *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsUnitMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_level_map_item_request_builder.go b/places/item_graph_building_map_levels_level_map_item_request_builder.go new file mode 100644 index 0000000000..1c5620ae1c --- /dev/null +++ b/places/item_graph_building_map_levels_level_map_item_request_builder.go @@ -0,0 +1,175 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters get levels from places +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + m := &ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels/{levelMap%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilder instantiates a new ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property levels for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Fixtures provides operations to manage the fixtures property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemFixturesRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Fixtures()(*ItemGraphBuildingMapLevelsItemFixturesRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemFixturesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get levels from places +// returns a LevelMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable), nil +} +// Patch update the navigation property levels in places +// returns a LevelMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable), nil +} +// Sections provides operations to manage the sections property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemSectionsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Sections()(*ItemGraphBuildingMapLevelsItemSectionsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemSectionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property levels for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderDeleteRequestConfiguration)(*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 levels from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderGetRequestConfiguration)(*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 levels in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilderPatchRequestConfiguration)(*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 +} +// Units provides operations to manage the units property of the microsoft.graph.levelMap entity. +// returns a *ItemGraphBuildingMapLevelsItemUnitsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) Units()(*ItemGraphBuildingMapLevelsItemUnitsRequestBuilder) { + return NewItemGraphBuildingMapLevelsItemUnitsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + return NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_levels_request_builder.go b/places/item_graph_building_map_levels_request_builder.go new file mode 100644 index 0000000000..c975752eb8 --- /dev/null +++ b/places/item_graph_building_map_levels_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapLevelsRequestBuilder provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +type ItemGraphBuildingMapLevelsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters get levels from places +type ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapLevelsRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByLevelMapId provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) ByLevelMapId(levelMapId string)(*ItemGraphBuildingMapLevelsLevelMapItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if levelMapId != "" { + urlTplParams["levelMap%2Did"] = levelMapId + } + return NewItemGraphBuildingMapLevelsLevelMapItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingMapLevelsRequestBuilderInternal instantiates a new ItemGraphBuildingMapLevelsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsRequestBuilder) { + m := &ItemGraphBuildingMapLevelsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map/levels{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapLevelsRequestBuilder instantiates a new ItemGraphBuildingMapLevelsRequestBuilder and sets the default values. +func NewItemGraphBuildingMapLevelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapLevelsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapLevelsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphBuildingMapLevelsCountRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) Count()(*ItemGraphBuildingMapLevelsCountRequestBuilder) { + return NewItemGraphBuildingMapLevelsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get levels from places +// returns a LevelMapCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapCollectionResponseable), nil +} +// Post create new navigation property to levels for places +// returns a LevelMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapLevelsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateLevelMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable), nil +} +// ToGetRequestInformation get levels from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderGetRequestConfiguration)(*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 levels for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.LevelMapable, requestConfiguration *ItemGraphBuildingMapLevelsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphBuildingMapLevelsRequestBuilder when successful +func (m *ItemGraphBuildingMapLevelsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapLevelsRequestBuilder) { + return NewItemGraphBuildingMapLevelsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_map_request_builder.go b/places/item_graph_building_map_request_builder.go new file mode 100644 index 0000000000..4d8a33cbca --- /dev/null +++ b/places/item_graph_building_map_request_builder.go @@ -0,0 +1,170 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingMapRequestBuilder provides operations to manage the map property of the microsoft.graph.building entity. +type ItemGraphBuildingMapRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphBuildingMapRequestBuilderGetQueryParameters get map from places +type ItemGraphBuildingMapRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingMapRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingMapRequestBuilderGetQueryParameters +} +// ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphBuildingMapRequestBuilderInternal instantiates a new ItemGraphBuildingMapRequestBuilder and sets the default values. +func NewItemGraphBuildingMapRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapRequestBuilder) { + m := &ItemGraphBuildingMapRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building/map{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingMapRequestBuilder instantiates a new ItemGraphBuildingMapRequestBuilder and sets the default values. +func NewItemGraphBuildingMapRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingMapRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingMapRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property map for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Footprints provides operations to manage the footprints property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapFootprintsRequestBuilder when successful +func (m *ItemGraphBuildingMapRequestBuilder) Footprints()(*ItemGraphBuildingMapFootprintsRequestBuilder) { + return NewItemGraphBuildingMapFootprintsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get map from places +// returns a BuildingMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable), nil +} +// Levels provides operations to manage the levels property of the microsoft.graph.buildingMap entity. +// returns a *ItemGraphBuildingMapLevelsRequestBuilder when successful +func (m *ItemGraphBuildingMapRequestBuilder) Levels()(*ItemGraphBuildingMapLevelsRequestBuilder) { + return NewItemGraphBuildingMapLevelsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property map in places +// returns a BuildingMapable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingMapRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, requestConfiguration *ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingMapFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable), nil +} +// ToDeleteRequestInformation delete navigation property map for places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderDeleteRequestConfiguration)(*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 map from places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingMapRequestBuilderGetRequestConfiguration)(*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 map in places +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingMapRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.BuildingMapable, requestConfiguration *ItemGraphBuildingMapRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphBuildingMapRequestBuilder when successful +func (m *ItemGraphBuildingMapRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingMapRequestBuilder) { + return NewItemGraphBuildingMapRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_building_request_builder.go b/places/item_graph_building_request_builder.go new file mode 100644 index 0000000000..56af54cbb4 --- /dev/null +++ b/places/item_graph_building_request_builder.go @@ -0,0 +1,94 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphBuildingRequestBuilder casts the previous resource to building. +type ItemGraphBuildingRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphBuildingRequestBuilderGetQueryParameters get the item of type microsoft.graph.place as microsoft.graph.building +type ItemGraphBuildingRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphBuildingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphBuildingRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphBuildingRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphBuildingCheckInsRequestBuilder when successful +func (m *ItemGraphBuildingRequestBuilder) CheckIns()(*ItemGraphBuildingCheckInsRequestBuilder) { + return NewItemGraphBuildingCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphBuildingRequestBuilderInternal instantiates a new ItemGraphBuildingRequestBuilder and sets the default values. +func NewItemGraphBuildingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingRequestBuilder) { + m := &ItemGraphBuildingRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.building{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphBuildingRequestBuilder instantiates a new ItemGraphBuildingRequestBuilder and sets the default values. +func NewItemGraphBuildingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphBuildingRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphBuildingRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.place as microsoft.graph.building +// returns a Buildingable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphBuildingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphBuildingRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Buildingable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateBuildingFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Buildingable), nil +} +// MapEscaped provides operations to manage the map property of the microsoft.graph.building entity. +// returns a *ItemGraphBuildingMapRequestBuilder when successful +func (m *ItemGraphBuildingRequestBuilder) MapEscaped()(*ItemGraphBuildingMapRequestBuilder) { + return NewItemGraphBuildingMapRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToGetRequestInformation get the item of type microsoft.graph.place as microsoft.graph.building +// returns a *RequestInformation when successful +func (m *ItemGraphBuildingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphBuildingRequestBuilderGetRequestConfiguration)(*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 *ItemGraphBuildingRequestBuilder when successful +func (m *ItemGraphBuildingRequestBuilder) WithUrl(rawUrl string)(*ItemGraphBuildingRequestBuilder) { + return NewItemGraphBuildingRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_desk_check_ins_check_in_claim_calendar_event_item_request_builder.go b/places/item_graph_desk_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..555188c7ef --- /dev/null +++ b/places/item_graph_desk_check_ins_check_in_claim_calendar_event_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get checkIns from places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*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 checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*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 checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_desk_check_ins_count_request_builder.go b/places/item_graph_desk_check_ins_count_request_builder.go new file mode 100644 index 0000000000..85ac4ea9d2 --- /dev/null +++ b/places/item_graph_desk_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphDeskCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphDeskCheckInsCountRequestBuilderInternal instantiates a new ItemGraphDeskCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCountRequestBuilder) { + m := &ItemGraphDeskCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphDeskCheckInsCountRequestBuilder instantiates a new ItemGraphDeskCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskCheckInsCountRequestBuilderInternal(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 *ItemGraphDeskCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphDeskCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphDeskCheckInsCountRequestBuilder when successful +func (m *ItemGraphDeskCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskCheckInsCountRequestBuilder) { + return NewItemGraphDeskCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_desk_check_ins_request_builder.go b/places/item_graph_desk_check_ins_request_builder.go new file mode 100644 index 0000000000..38cce6a8a8 --- /dev/null +++ b/places/item_graph_desk_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphDeskCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskCheckInsRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphDeskCheckInsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphDeskCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphDeskCheckInsRequestBuilderInternal instantiates a new ItemGraphDeskCheckInsRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsRequestBuilder) { + m := &ItemGraphDeskCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphDeskCheckInsRequestBuilder instantiates a new ItemGraphDeskCheckInsRequestBuilder and sets the default values. +func NewItemGraphDeskCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphDeskCheckInsCountRequestBuilder when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) Count()(*ItemGraphDeskCheckInsCountRequestBuilder) { + return NewItemGraphDeskCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get checkIns from places +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation get checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderGetRequestConfiguration)(*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 checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphDeskCheckInsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphDeskCheckInsRequestBuilder when successful +func (m *ItemGraphDeskCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskCheckInsRequestBuilder) { + return NewItemGraphDeskCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_desk_request_builder.go b/places/item_graph_desk_request_builder.go new file mode 100644 index 0000000000..aae339688b --- /dev/null +++ b/places/item_graph_desk_request_builder.go @@ -0,0 +1,89 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphDeskRequestBuilder casts the previous resource to desk. +type ItemGraphDeskRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphDeskRequestBuilderGetQueryParameters get the item of type microsoft.graph.place as microsoft.graph.desk +type ItemGraphDeskRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphDeskRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphDeskRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphDeskRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphDeskCheckInsRequestBuilder when successful +func (m *ItemGraphDeskRequestBuilder) CheckIns()(*ItemGraphDeskCheckInsRequestBuilder) { + return NewItemGraphDeskCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphDeskRequestBuilderInternal instantiates a new ItemGraphDeskRequestBuilder and sets the default values. +func NewItemGraphDeskRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskRequestBuilder) { + m := &ItemGraphDeskRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.desk{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphDeskRequestBuilder instantiates a new ItemGraphDeskRequestBuilder and sets the default values. +func NewItemGraphDeskRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphDeskRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphDeskRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.place as microsoft.graph.desk +// returns a Deskable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphDeskRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphDeskRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Deskable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateDeskFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Deskable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.place as microsoft.graph.desk +// returns a *RequestInformation when successful +func (m *ItemGraphDeskRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphDeskRequestBuilderGetRequestConfiguration)(*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 *ItemGraphDeskRequestBuilder when successful +func (m *ItemGraphDeskRequestBuilder) WithUrl(rawUrl string)(*ItemGraphDeskRequestBuilder) { + return NewItemGraphDeskRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_floor_check_ins_check_in_claim_calendar_event_item_request_builder.go b/places/item_graph_floor_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..a9e40d2b98 --- /dev/null +++ b/places/item_graph_floor_check_ins_check_in_claim_calendar_event_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get checkIns from places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*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 checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*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 checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_floor_check_ins_count_request_builder.go b/places/item_graph_floor_check_ins_count_request_builder.go new file mode 100644 index 0000000000..e2773754db --- /dev/null +++ b/places/item_graph_floor_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphFloorCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphFloorCheckInsCountRequestBuilderInternal instantiates a new ItemGraphFloorCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCountRequestBuilder) { + m := &ItemGraphFloorCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphFloorCheckInsCountRequestBuilder instantiates a new ItemGraphFloorCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorCheckInsCountRequestBuilderInternal(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 *ItemGraphFloorCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphFloorCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphFloorCheckInsCountRequestBuilder when successful +func (m *ItemGraphFloorCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorCheckInsCountRequestBuilder) { + return NewItemGraphFloorCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_floor_check_ins_request_builder.go b/places/item_graph_floor_check_ins_request_builder.go new file mode 100644 index 0000000000..40c60de45a --- /dev/null +++ b/places/item_graph_floor_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphFloorCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorCheckInsRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphFloorCheckInsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphFloorCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphFloorCheckInsRequestBuilderInternal instantiates a new ItemGraphFloorCheckInsRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsRequestBuilder) { + m := &ItemGraphFloorCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphFloorCheckInsRequestBuilder instantiates a new ItemGraphFloorCheckInsRequestBuilder and sets the default values. +func NewItemGraphFloorCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphFloorCheckInsCountRequestBuilder when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) Count()(*ItemGraphFloorCheckInsCountRequestBuilder) { + return NewItemGraphFloorCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get checkIns from places +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation get checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderGetRequestConfiguration)(*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 checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphFloorCheckInsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphFloorCheckInsRequestBuilder when successful +func (m *ItemGraphFloorCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorCheckInsRequestBuilder) { + return NewItemGraphFloorCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_floor_request_builder.go b/places/item_graph_floor_request_builder.go new file mode 100644 index 0000000000..d80e438b4e --- /dev/null +++ b/places/item_graph_floor_request_builder.go @@ -0,0 +1,89 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphFloorRequestBuilder casts the previous resource to floor. +type ItemGraphFloorRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphFloorRequestBuilderGetQueryParameters get the item of type microsoft.graph.place as microsoft.graph.floor +type ItemGraphFloorRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphFloorRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphFloorRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphFloorRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphFloorCheckInsRequestBuilder when successful +func (m *ItemGraphFloorRequestBuilder) CheckIns()(*ItemGraphFloorCheckInsRequestBuilder) { + return NewItemGraphFloorCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphFloorRequestBuilderInternal instantiates a new ItemGraphFloorRequestBuilder and sets the default values. +func NewItemGraphFloorRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorRequestBuilder) { + m := &ItemGraphFloorRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.floor{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphFloorRequestBuilder instantiates a new ItemGraphFloorRequestBuilder and sets the default values. +func NewItemGraphFloorRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphFloorRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphFloorRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.place as microsoft.graph.floor +// returns a Floorable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphFloorRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphFloorRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Floorable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateFloorFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Floorable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.place as microsoft.graph.floor +// returns a *RequestInformation when successful +func (m *ItemGraphFloorRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphFloorRequestBuilderGetRequestConfiguration)(*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 *ItemGraphFloorRequestBuilder when successful +func (m *ItemGraphFloorRequestBuilder) WithUrl(rawUrl string)(*ItemGraphFloorRequestBuilder) { + return NewItemGraphFloorRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_list_request_builder.go b/places/item_graph_room_list_request_builder.go index bae1243dff..b308120848 100644 --- a/places/item_graph_room_list_request_builder.go +++ b/places/item_graph_room_list_request_builder.go @@ -92,3 +92,8 @@ func (m *ItemGraphRoomListRequestBuilder) ToGetRequestInformation(ctx context.Co func (m *ItemGraphRoomListRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListRequestBuilder) { return NewItemGraphRoomListRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); } +// Workspaces provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +// returns a *ItemGraphRoomListWorkspacesRequestBuilder when successful +func (m *ItemGraphRoomListRequestBuilder) Workspaces()(*ItemGraphRoomListWorkspacesRequestBuilder) { + return NewItemGraphRoomListWorkspacesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} diff --git a/places/item_graph_room_list_workspaces_count_request_builder.go b/places/item_graph_room_list_workspaces_count_request_builder.go new file mode 100644 index 0000000000..88c3276ed2 --- /dev/null +++ b/places/item_graph_room_list_workspaces_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphRoomListWorkspacesCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesCountRequestBuilderGetQueryParameters +} +// NewItemGraphRoomListWorkspacesCountRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + m := &ItemGraphRoomListWorkspacesCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesCountRequestBuilder instantiates a new ItemGraphRoomListWorkspacesCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesCountRequestBuilderInternal(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 *ItemGraphRoomListWorkspacesCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphRoomListWorkspacesCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphRoomListWorkspacesCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_list_workspaces_item_check_ins_check_in_claim_calendar_event_item_request_builder.go b/places/item_graph_room_list_workspaces_item_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..5601374ee5 --- /dev/null +++ b/places/item_graph_room_list_workspaces_item_check_ins_check_in_claim_calendar_event_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get checkIns from places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*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 checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*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 checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_list_workspaces_item_check_ins_count_request_builder.go b/places/item_graph_room_list_workspaces_item_check_ins_count_request_builder.go new file mode 100644 index 0000000000..b94d288121 --- /dev/null +++ b/places/item_graph_room_list_workspaces_item_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + m := &ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder instantiates a new ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal(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 *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_list_workspaces_item_check_ins_request_builder.go b/places/item_graph_room_list_workspaces_item_check_ins_request_builder.go new file mode 100644 index 0000000000..3cec74b33c --- /dev/null +++ b/places/item_graph_room_list_workspaces_item_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphRoomListWorkspacesItemCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + m := &ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilder instantiates a new ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) Count()(*ItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get checkIns from places +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation get checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderGetRequestConfiguration)(*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 checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_list_workspaces_request_builder.go b/places/item_graph_room_list_workspaces_request_builder.go new file mode 100644 index 0000000000..e6c6b25ab9 --- /dev/null +++ b/places/item_graph_room_list_workspaces_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesRequestBuilder provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +type ItemGraphRoomListWorkspacesRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters get workspaces from places +type ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters 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"` +} +// ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByWorkspaceId provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +// returns a *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) ByWorkspaceId(workspaceId string)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if workspaceId != "" { + urlTplParams["workspace%2Did"] = workspaceId + } + return NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListWorkspacesRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesRequestBuilder) { + m := &ItemGraphRoomListWorkspacesRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesRequestBuilder instantiates a new ItemGraphRoomListWorkspacesRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphRoomListWorkspacesCountRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) Count()(*ItemGraphRoomListWorkspacesCountRequestBuilder) { + return NewItemGraphRoomListWorkspacesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get workspaces from places +// returns a WorkspaceCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.WorkspaceCollectionResponseable), nil +} +// Post create new navigation property to workspaces for places +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// ToGetRequestInformation get workspaces from places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderGetRequestConfiguration)(*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 workspaces for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesRequestBuilderPostRequestConfiguration)(*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 *ItemGraphRoomListWorkspacesRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesRequestBuilder) { + return NewItemGraphRoomListWorkspacesRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_room_list_workspaces_workspace_item_request_builder.go b/places/item_graph_room_list_workspaces_workspace_item_request_builder.go new file mode 100644 index 0000000000..2839e5618b --- /dev/null +++ b/places/item_graph_room_list_workspaces_workspace_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder provides operations to manage the workspaces property of the microsoft.graph.roomList entity. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters get workspaces from places +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetQueryParameters +} +// ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) CheckIns()(*ItemGraphRoomListWorkspacesItemCheckInsRequestBuilder) { + return NewItemGraphRoomListWorkspacesItemCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal instantiates a new ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + m := &ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.roomList/workspaces/{workspace%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder instantiates a new ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder and sets the default values. +func NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property workspaces for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get workspaces from places +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// Patch update the navigation property workspaces in places +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// ToDeleteRequestInformation delete navigation property workspaces for places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderDeleteRequestConfiguration)(*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 workspaces from places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderGetRequestConfiguration)(*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 workspaces in places +// returns a *RequestInformation when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, requestConfiguration *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder when successful +func (m *ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder) { + return NewItemGraphRoomListWorkspacesWorkspaceItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_section_check_ins_check_in_claim_calendar_event_item_request_builder.go b/places/item_graph_section_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..1eead1c7e7 --- /dev/null +++ b/places/item_graph_section_check_ins_check_in_claim_calendar_event_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get checkIns from places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*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 checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*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 checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_section_check_ins_count_request_builder.go b/places/item_graph_section_check_ins_count_request_builder.go new file mode 100644 index 0000000000..8d420b5f2e --- /dev/null +++ b/places/item_graph_section_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphSectionCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphSectionCheckInsCountRequestBuilderInternal instantiates a new ItemGraphSectionCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCountRequestBuilder) { + m := &ItemGraphSectionCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphSectionCheckInsCountRequestBuilder instantiates a new ItemGraphSectionCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionCheckInsCountRequestBuilderInternal(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 *ItemGraphSectionCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphSectionCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphSectionCheckInsCountRequestBuilder when successful +func (m *ItemGraphSectionCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionCheckInsCountRequestBuilder) { + return NewItemGraphSectionCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_section_check_ins_request_builder.go b/places/item_graph_section_check_ins_request_builder.go new file mode 100644 index 0000000000..8d2064318c --- /dev/null +++ b/places/item_graph_section_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphSectionCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionCheckInsRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphSectionCheckInsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphSectionCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphSectionCheckInsRequestBuilderInternal instantiates a new ItemGraphSectionCheckInsRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsRequestBuilder) { + m := &ItemGraphSectionCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphSectionCheckInsRequestBuilder instantiates a new ItemGraphSectionCheckInsRequestBuilder and sets the default values. +func NewItemGraphSectionCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphSectionCheckInsCountRequestBuilder when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) Count()(*ItemGraphSectionCheckInsCountRequestBuilder) { + return NewItemGraphSectionCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get checkIns from places +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation get checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderGetRequestConfiguration)(*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 checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphSectionCheckInsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphSectionCheckInsRequestBuilder when successful +func (m *ItemGraphSectionCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionCheckInsRequestBuilder) { + return NewItemGraphSectionCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_section_request_builder.go b/places/item_graph_section_request_builder.go new file mode 100644 index 0000000000..c9a8c3d575 --- /dev/null +++ b/places/item_graph_section_request_builder.go @@ -0,0 +1,89 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphSectionRequestBuilder casts the previous resource to section. +type ItemGraphSectionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphSectionRequestBuilderGetQueryParameters get the item of type microsoft.graph.place as microsoft.graph.section +type ItemGraphSectionRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphSectionRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphSectionRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphSectionRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphSectionCheckInsRequestBuilder when successful +func (m *ItemGraphSectionRequestBuilder) CheckIns()(*ItemGraphSectionCheckInsRequestBuilder) { + return NewItemGraphSectionCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphSectionRequestBuilderInternal instantiates a new ItemGraphSectionRequestBuilder and sets the default values. +func NewItemGraphSectionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionRequestBuilder) { + m := &ItemGraphSectionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.section{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphSectionRequestBuilder instantiates a new ItemGraphSectionRequestBuilder and sets the default values. +func NewItemGraphSectionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphSectionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphSectionRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.place as microsoft.graph.section +// returns a Sectionable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphSectionRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphSectionRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Sectionable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSectionFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Sectionable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.place as microsoft.graph.section +// returns a *RequestInformation when successful +func (m *ItemGraphSectionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphSectionRequestBuilderGetRequestConfiguration)(*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 *ItemGraphSectionRequestBuilder when successful +func (m *ItemGraphSectionRequestBuilder) WithUrl(rawUrl string)(*ItemGraphSectionRequestBuilder) { + return NewItemGraphSectionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_workspace_check_ins_check_in_claim_calendar_event_item_request_builder.go b/places/item_graph_workspace_check_ins_check_in_claim_calendar_event_item_request_builder.go new file mode 100644 index 0000000000..f0e8e4abb3 --- /dev/null +++ b/places/item_graph_workspace_check_ins_check_in_claim_calendar_event_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetQueryParameters +} +// ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal instantiates a new ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + m := &ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns/{checkInClaim%2DcalendarEventId}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder instantiates a new ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property checkIns for places +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get get checkIns from places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// Patch update the navigation property checkIns in places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToDeleteRequestInformation delete navigation property checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderDeleteRequestConfiguration)(*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 checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderGetRequestConfiguration)(*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 checkIns in places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderPatchRequestConfiguration)(*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 *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + return NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_workspace_check_ins_count_request_builder.go b/places/item_graph_workspace_check_ins_count_request_builder.go new file mode 100644 index 0000000000..3f0068b662 --- /dev/null +++ b/places/item_graph_workspace_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceCheckInsCountRequestBuilder provides operations to count the resources in the collection. +type ItemGraphWorkspaceCheckInsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters get the number of the resource +type ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceCheckInsCountRequestBuilderGetQueryParameters +} +// NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal instantiates a new ItemGraphWorkspaceCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + m := &ItemGraphWorkspaceCheckInsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceCheckInsCountRequestBuilder instantiates a new ItemGraphWorkspaceCheckInsCountRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal(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 *ItemGraphWorkspaceCheckInsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *ItemGraphWorkspaceCheckInsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsCountRequestBuilderGetRequestConfiguration)(*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 *ItemGraphWorkspaceCheckInsCountRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsCountRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + return NewItemGraphWorkspaceCheckInsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_workspace_check_ins_request_builder.go b/places/item_graph_workspace_check_ins_request_builder.go new file mode 100644 index 0000000000..60a9988cdf --- /dev/null +++ b/places/item_graph_workspace_check_ins_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 places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceCheckInsRequestBuilder provides operations to manage the checkIns property of the microsoft.graph.place entity. +type ItemGraphWorkspaceCheckInsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters get checkIns from places +type ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters 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"` +} +// ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceCheckInsRequestBuilderGetQueryParameters +} +// ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByCheckInClaimCalendarEventId provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) ByCheckInClaimCalendarEventId(checkInClaimCalendarEventId string)(*ItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if checkInClaimCalendarEventId != "" { + urlTplParams["checkInClaim%2DcalendarEventId"] = checkInClaimCalendarEventId + } + return NewItemGraphWorkspaceCheckInsCheckInClaimCalendarEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphWorkspaceCheckInsRequestBuilderInternal instantiates a new ItemGraphWorkspaceCheckInsRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsRequestBuilder) { + m := &ItemGraphWorkspaceCheckInsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace/checkIns{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceCheckInsRequestBuilder instantiates a new ItemGraphWorkspaceCheckInsRequestBuilder and sets the default values. +func NewItemGraphWorkspaceCheckInsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceCheckInsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceCheckInsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *ItemGraphWorkspaceCheckInsCountRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) Count()(*ItemGraphWorkspaceCheckInsCountRequestBuilder) { + return NewItemGraphWorkspaceCheckInsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get checkIns from places +// returns a CheckInClaimCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimCollectionResponseable), nil +} +// Post create new navigation property to checkIns for places +// returns a CheckInClaimable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateCheckInClaimFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable), nil +} +// ToGetRequestInformation get checkIns from places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderGetRequestConfiguration)(*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 checkIns for places +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CheckInClaimable, requestConfiguration *ItemGraphWorkspaceCheckInsRequestBuilderPostRequestConfiguration)(*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 *ItemGraphWorkspaceCheckInsRequestBuilder when successful +func (m *ItemGraphWorkspaceCheckInsRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceCheckInsRequestBuilder) { + return NewItemGraphWorkspaceCheckInsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/item_graph_workspace_request_builder.go b/places/item_graph_workspace_request_builder.go new file mode 100644 index 0000000000..5e428aec69 --- /dev/null +++ b/places/item_graph_workspace_request_builder.go @@ -0,0 +1,89 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package places + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemGraphWorkspaceRequestBuilder casts the previous resource to workspace. +type ItemGraphWorkspaceRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemGraphWorkspaceRequestBuilderGetQueryParameters get the item of type microsoft.graph.place as microsoft.graph.workspace +type ItemGraphWorkspaceRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// ItemGraphWorkspaceRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemGraphWorkspaceRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *ItemGraphWorkspaceRequestBuilderGetQueryParameters +} +// CheckIns provides operations to manage the checkIns property of the microsoft.graph.place entity. +// returns a *ItemGraphWorkspaceCheckInsRequestBuilder when successful +func (m *ItemGraphWorkspaceRequestBuilder) CheckIns()(*ItemGraphWorkspaceCheckInsRequestBuilder) { + return NewItemGraphWorkspaceCheckInsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// NewItemGraphWorkspaceRequestBuilderInternal instantiates a new ItemGraphWorkspaceRequestBuilder and sets the default values. +func NewItemGraphWorkspaceRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceRequestBuilder) { + m := &ItemGraphWorkspaceRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/places/{place%2Did}/graph.workspace{?%24expand,%24select}", pathParameters), + } + return m +} +// NewItemGraphWorkspaceRequestBuilder instantiates a new ItemGraphWorkspaceRequestBuilder and sets the default values. +func NewItemGraphWorkspaceRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemGraphWorkspaceRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemGraphWorkspaceRequestBuilderInternal(urlParams, requestAdapter) +} +// Get get the item of type microsoft.graph.place as microsoft.graph.workspace +// returns a Workspaceable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *ItemGraphWorkspaceRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemGraphWorkspaceRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateWorkspaceFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Workspaceable), nil +} +// ToGetRequestInformation get the item of type microsoft.graph.place as microsoft.graph.workspace +// returns a *RequestInformation when successful +func (m *ItemGraphWorkspaceRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemGraphWorkspaceRequestBuilderGetRequestConfiguration)(*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 *ItemGraphWorkspaceRequestBuilder when successful +func (m *ItemGraphWorkspaceRequestBuilder) WithUrl(rawUrl string)(*ItemGraphWorkspaceRequestBuilder) { + return NewItemGraphWorkspaceRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/places/place_item_request_builder.go b/places/place_item_request_builder.go index 682b8c1b92..f1b3134394 100644 --- a/places/place_item_request_builder.go +++ b/places/place_item_request_builder.go @@ -62,6 +62,26 @@ func (m *PlaceItemRequestBuilder) Delete(ctx context.Context, requestConfigurati } return nil } +// Descendants provides operations to call the descendants method. +// returns a *ItemDescendantsRequestBuilder when successful +func (m *PlaceItemRequestBuilder) Descendants()(*ItemDescendantsRequestBuilder) { + return NewItemDescendantsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphBuilding casts the previous resource to building. +// returns a *ItemGraphBuildingRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphBuilding()(*ItemGraphBuildingRequestBuilder) { + return NewItemGraphBuildingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphDesk casts the previous resource to desk. +// returns a *ItemGraphDeskRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphDesk()(*ItemGraphDeskRequestBuilder) { + return NewItemGraphDeskRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphFloor casts the previous resource to floor. +// returns a *ItemGraphFloorRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphFloor()(*ItemGraphFloorRequestBuilder) { + return NewItemGraphFloorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GraphRoom casts the previous resource to room. // returns a *ItemGraphRoomRequestBuilder when successful func (m *PlaceItemRequestBuilder) GraphRoom()(*ItemGraphRoomRequestBuilder) { @@ -72,6 +92,16 @@ func (m *PlaceItemRequestBuilder) GraphRoom()(*ItemGraphRoomRequestBuilder) { func (m *PlaceItemRequestBuilder) GraphRoomList()(*ItemGraphRoomListRequestBuilder) { return NewItemGraphRoomListRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GraphSection casts the previous resource to section. +// returns a *ItemGraphSectionRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphSection()(*ItemGraphSectionRequestBuilder) { + return NewItemGraphSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWorkspace casts the previous resource to workspace. +// returns a *ItemGraphWorkspaceRequestBuilder when successful +func (m *PlaceItemRequestBuilder) GraphWorkspace()(*ItemGraphWorkspaceRequestBuilder) { + return NewItemGraphWorkspaceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the properties of place object, which can be a room or roomList. You can identify the room or roomList by specifying the id or emailAddress property. // returns a Placeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/places/places_request_builder.go b/places/places_request_builder.go index f4c78d5f34..9d68afda24 100644 --- a/places/places_request_builder.go +++ b/places/places_request_builder.go @@ -51,6 +51,21 @@ func NewPlacesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c func (m *PlacesRequestBuilder) Count()(*CountRequestBuilder) { return NewCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GraphBuilding casts the previous resource to building. +// returns a *GraphBuildingRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphBuilding()(*GraphBuildingRequestBuilder) { + return NewGraphBuildingRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphDesk casts the previous resource to desk. +// returns a *GraphDeskRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphDesk()(*GraphDeskRequestBuilder) { + return NewGraphDeskRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphFloor casts the previous resource to floor. +// returns a *GraphFloorRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphFloor()(*GraphFloorRequestBuilder) { + return NewGraphFloorRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // GraphRoom casts the previous resource to room. // returns a *GraphRoomRequestBuilder when successful func (m *PlacesRequestBuilder) GraphRoom()(*GraphRoomRequestBuilder) { @@ -61,6 +76,16 @@ func (m *PlacesRequestBuilder) GraphRoom()(*GraphRoomRequestBuilder) { func (m *PlacesRequestBuilder) GraphRoomList()(*GraphRoomListRequestBuilder) { return NewGraphRoomListRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// GraphSection casts the previous resource to section. +// returns a *GraphSectionRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphSection()(*GraphSectionRequestBuilder) { + return NewGraphSectionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// GraphWorkspace casts the previous resource to workspace. +// returns a *GraphWorkspaceRequestBuilder when successful +func (m *PlacesRequestBuilder) GraphWorkspace()(*GraphWorkspaceRequestBuilder) { + return NewGraphWorkspaceRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Post add new entity to places // returns a Placeable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/security/3e6dd4298b145f0e988553223a5ab9822883c922a70c4682c1b4595dd4880e09.go b/security/3e6dd4298b145f0e988553223a5ab9822883c922a70c4682c1b4595dd4880e09.go new file mode 100644 index 0000000000..9452601019 --- /dev/null +++ b/security/3e6dd4298b145f0e988553223a5ab9822883c922a70c4682c1b4595dd4880e09.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 security + +import ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody instantiates a new IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody and sets the default values. +func NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody()(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) { + m := &IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody(), nil +} +// GetAccountId gets the accountId property value. The accountId property +// returns a *string when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetAccountId()(*string) { + val, err := m.GetBackingStore().Get("accountId") + if err != nil { + panic(err) + } + if val != nil { + return val.(*string) + } + return nil +} +// GetAction gets the action property value. The action property +// returns a *Action when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetAction()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action) { + val, err := m.GetBackingStore().Get("action") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action) + } + return nil +} +// GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +// returns a map[string]any when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) 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 *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) 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 *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["accountId"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetStringValue() + if err != nil { + return err + } + if val != nil { + m.SetAccountId(val) + } + return nil + } + res["action"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseAction) + if err != nil { + return err + } + if val != nil { + m.SetAction(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action)) + } + return nil + } + res["identityProvider"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetEnumValue(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.ParseIdentityProvider) + if err != nil { + return err + } + if val != nil { + m.SetIdentityProvider(val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider)) + } + return nil + } + return res +} +// GetIdentityProvider gets the identityProvider property value. The identityProvider property +// returns a *IdentityProvider when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) GetIdentityProvider()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider) { + val, err := m.GetBackingStore().Get("identityProvider") + if err != nil { + panic(err) + } + if val != nil { + return val.(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider) + } + return nil +} +// Serialize serializes information the current object +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteStringValue("accountId", m.GetAccountId()) + if err != nil { + return err + } + } + if m.GetAction() != nil { + cast := (*m.GetAction()).String() + err := writer.WriteStringValue("action", &cast) + if err != nil { + return err + } + } + if m.GetIdentityProvider() != nil { + cast := (*m.GetIdentityProvider()).String() + err := writer.WriteStringValue("identityProvider", &cast) + if err != nil { + return err + } + } + { + err := writer.WriteAdditionalData(m.GetAdditionalData()) + if err != nil { + return err + } + } + return nil +} +// SetAccountId sets the accountId property value. The accountId property +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetAccountId(value *string)() { + err := m.GetBackingStore().Set("accountId", value) + if err != nil { + panic(err) + } +} +// SetAction sets the action property value. The action property +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetAction(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action)() { + err := m.GetBackingStore().Set("action", value) + if err != nil { + panic(err) + } +} +// SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) 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 *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetIdentityProvider sets the identityProvider property value. The identityProvider property +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBody) SetIdentityProvider(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider)() { + err := m.GetBackingStore().Set("identityProvider", value) + if err != nil { + panic(err) + } +} +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetAccountId()(*string) + GetAction()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action) + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetIdentityProvider()(*idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider) + SetAccountId(value *string)() + SetAction(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.Action)() + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetIdentityProvider(value *idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityProvider)() +} diff --git a/security/identities_identity_accounts_count_request_builder.go b/security/identities_identity_accounts_count_request_builder.go new file mode 100644 index 0000000000..cb7cc32317 --- /dev/null +++ b/security/identities_identity_accounts_count_request_builder.go @@ -0,0 +1,83 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// IdentitiesIdentityAccountsCountRequestBuilder provides operations to count the resources in the collection. +type IdentitiesIdentityAccountsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters get the number of the resource +type IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesIdentityAccountsCountRequestBuilderGetQueryParameters +} +// NewIdentitiesIdentityAccountsCountRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsCountRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsCountRequestBuilder) { + m := &IdentitiesIdentityAccountsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsCountRequestBuilder instantiates a new IdentitiesIdentityAccountsCountRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsCountRequestBuilderInternal(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 *IdentitiesIdentityAccountsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *IdentitiesIdentityAccountsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsCountRequestBuilderGetRequestConfiguration)(*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 *IdentitiesIdentityAccountsCountRequestBuilder when successful +func (m *IdentitiesIdentityAccountsCountRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsCountRequestBuilder) { + return NewIdentitiesIdentityAccountsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_identity_accounts_identity_accounts_item_request_builder.go b/security/identities_identity_accounts_identity_accounts_item_request_builder.go new file mode 100644 index 0000000000..7655280adf --- /dev/null +++ b/security/identities_identity_accounts_identity_accounts_item_request_builder.go @@ -0,0 +1,168 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetQueryParameters +} +// IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + m := &IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder instantiates a new IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property identityAccounts for security +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. +// returns a IdentityAccountsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identityaccounts-get?view=graph-rest-1.0 +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable), nil +} +// MicrosoftGraphSecurityInvokeAction provides operations to call the invokeAction method. +// returns a *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) MicrosoftGraphSecurityInvokeAction()(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Patch update the navigation property identityAccounts in security +// returns a IdentityAccountsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) Patch(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable), nil +} +// ToDeleteRequestInformation delete navigation property identityAccounts for security +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderGetRequestConfiguration)(*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 identityAccounts in security +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderPatchRequestConfiguration)(*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 *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder when successful +func (m *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + return NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_identity_accounts_item_microsoft_graph_security_invoke_action_request_builder.go b/security/identities_identity_accounts_item_microsoft_graph_security_invoke_action_request_builder.go new file mode 100644 index 0000000000..df331f1806 --- /dev/null +++ b/security/identities_identity_accounts_item_microsoft_graph_security_invoke_action_request_builder.go @@ -0,0 +1,79 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder provides operations to call the invokeAction method. +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + m := &IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}/microsoft.graph.security.invokeAction", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder instantiates a new IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderInternal(urlParams, requestAdapter) +} +// Post perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity. +// returns a InvokeActionResultable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identityaccounts-invokeaction?view=graph-rest-1.0 +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) Post(ctx context.Context, body IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable, requestConfiguration *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.InvokeActionResultable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateInvokeActionResultFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.InvokeActionResultable), nil +} +// ToPostRequestInformation perform actions such as revoking accounts and forcing password reset for identity accounts that are observed in Microsoft Defender for Identity. This action allows reading and performing identity security actions on behalf of the signed-in identity. +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) ToPostRequestInformation(ctx context.Context, body IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionInvokeActionPostRequestBodyable, requestConfiguration *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilderPostRequestConfiguration)(*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 *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder when successful +func (m *IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder) { + return NewIdentitiesIdentityAccountsItemMicrosoftGraphSecurityInvokeActionRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_identity_accounts_request_builder.go b/security/identities_identity_accounts_request_builder.go new file mode 100644 index 0000000000..20c11c4ac7 --- /dev/null +++ b/security/identities_identity_accounts_request_builder.go @@ -0,0 +1,158 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package security + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" + idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae "github.com/microsoftgraph/msgraph-sdk-go/models/security" +) + +// IdentitiesIdentityAccountsRequestBuilder provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +type IdentitiesIdentityAccountsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// IdentitiesIdentityAccountsRequestBuilderGetQueryParameters get a list of the identityAccounts objects and their properties. +type IdentitiesIdentityAccountsRequestBuilderGetQueryParameters 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"` +} +// IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *IdentitiesIdentityAccountsRequestBuilderGetQueryParameters +} +// IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// ByIdentityAccountsId provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) ByIdentityAccountsId(identityAccountsId string)(*IdentitiesIdentityAccountsIdentityAccountsItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if identityAccountsId != "" { + urlTplParams["identityAccounts%2Did"] = identityAccountsId + } + return NewIdentitiesIdentityAccountsIdentityAccountsItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewIdentitiesIdentityAccountsRequestBuilderInternal instantiates a new IdentitiesIdentityAccountsRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsRequestBuilder) { + m := &IdentitiesIdentityAccountsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/security/identities/identityAccounts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewIdentitiesIdentityAccountsRequestBuilder instantiates a new IdentitiesIdentityAccountsRequestBuilder and sets the default values. +func NewIdentitiesIdentityAccountsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*IdentitiesIdentityAccountsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewIdentitiesIdentityAccountsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *IdentitiesIdentityAccountsCountRequestBuilder when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) Count()(*IdentitiesIdentityAccountsCountRequestBuilder) { + return NewIdentitiesIdentityAccountsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get get a list of the identityAccounts objects and their properties. +// returns a IdentityAccountsCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/security-identitycontainer-list-identityaccounts?view=graph-rest-1.0 +func (m *IdentitiesIdentityAccountsRequestBuilder) Get(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsCollectionResponseable), nil +} +// Post create new navigation property to identityAccounts for security +// returns a IdentityAccountsable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *IdentitiesIdentityAccountsRequestBuilder) Post(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration)(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.CreateIdentityAccountsFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable), nil +} +// ToGetRequestInformation get a list of the identityAccounts objects and their properties. +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderGetRequestConfiguration)(*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 identityAccounts for security +// returns a *RequestInformation when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) ToPostRequestInformation(ctx context.Context, body idd6d442c3cc83a389b8f0b8dd7ac355916e813c2882ff3aaa23331424ba827ae.IdentityAccountsable, requestConfiguration *IdentitiesIdentityAccountsRequestBuilderPostRequestConfiguration)(*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 *IdentitiesIdentityAccountsRequestBuilder when successful +func (m *IdentitiesIdentityAccountsRequestBuilder) WithUrl(rawUrl string)(*IdentitiesIdentityAccountsRequestBuilder) { + return NewIdentitiesIdentityAccountsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/security/identities_request_builder.go b/security/identities_request_builder.go index 4b528c8c6c..e4d8c120c8 100644 --- a/security/identities_request_builder.go +++ b/security/identities_request_builder.go @@ -98,6 +98,11 @@ func (m *IdentitiesRequestBuilder) Get(ctx context.Context, requestConfiguration func (m *IdentitiesRequestBuilder) HealthIssues()(*IdentitiesHealthIssuesRequestBuilder) { return NewIdentitiesHealthIssuesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// IdentityAccounts provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. +// returns a *IdentitiesIdentityAccountsRequestBuilder when successful +func (m *IdentitiesRequestBuilder) IdentityAccounts()(*IdentitiesIdentityAccountsRequestBuilder) { + return NewIdentitiesIdentityAccountsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property identities in security // returns a IdentityContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code diff --git a/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go b/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go index 51eb9da560..b7845e6f11 100644 --- a/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go +++ b/solutions/virtual_events_webinars_item_registrations_item_sessions_request_builder.go @@ -14,7 +14,7 @@ import ( type VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetQueryParameters get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. +// VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetQueryParameters get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. type VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool `uriparametername:"%24count"` @@ -72,7 +72,7 @@ func NewVirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder(rawUrl func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) Count()(*VirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilder) { return NewVirtualEventsWebinarsItemRegistrationsItemSessionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. +// Get get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. // returns a VirtualEventSessionCollectionResponseable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code // [Find more info here] @@ -95,7 +95,7 @@ func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) Get(c } return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.VirtualEventSessionCollectionResponseable), nil } -// ToGetRequestInformation get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The rest of session properties will be null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. +// ToGetRequestInformation get a list of sessions summaries that a registrant registered for in a webinar. A session summary contains only the endDateTime, id, joinWebUrl, startDateTime, and subject of a virtual event session. The remaining session properties are null. To get all the properties of a virtualEventSession, use the Get virtualEventSession method. // returns a *RequestInformation when successful func (m *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *VirtualEventsWebinarsItemRegistrationsItemSessionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go b/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.go new file mode 100644 index 0000000000..8dcc28c223 --- /dev/null +++ b/storage/9767929cc88fd32282cc357421421e9617284c3f980f821837153ef09255e304.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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property progressEvents for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// Patch update the navigation property progressEvents in storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToDeleteRequestInformation delete navigation property progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(*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 progressEvents in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(*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 *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go b/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.go new file mode 100644 index 0000000000..e5f5edbfdf --- /dev/null +++ b/storage/f2e908a58a99264de8bf28948f3ac04e0b725706a7c149042bc59ad8a1821fdd.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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/{sharePointMigrationEvent%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property progressEvents for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// Patch update the navigation property progressEvents in storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToDeleteRequestInformation delete navigation property progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderGetRequestConfiguration)(*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 progressEvents in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderPatchRequestConfiguration)(*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 *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_file_storage_container_item_request_builder.go b/storage/file_storage_containers_file_storage_container_item_request_builder.go index 8d04f1355d..85b82d76f4 100644 --- a/storage/file_storage_containers_file_storage_container_item_request_builder.go +++ b/storage/file_storage_containers_file_storage_container_item_request_builder.go @@ -113,6 +113,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Get(ctx co func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageContainersItemLockRequestBuilder) { return NewFileStorageContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MigrationJobs provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) MigrationJobs()(*FileStorageContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property containers in storage // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -143,6 +148,11 @@ func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) PermanentD func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) Permissions()(*FileStorageContainersItemPermissionsRequestBuilder) { return NewFileStorageContainersItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ProvisionMigrationContainers provides operations to call the provisionMigrationContainers method. +// returns a *FileStorageContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) ProvisionMigrationContainers()(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RecycleBin provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. // returns a *FileStorageContainersItemRecycleBinRequestBuilder when successful func (m *FileStorageContainersFileStorageContainerItemRequestBuilder) RecycleBin()(*FileStorageContainersItemRecycleBinRequestBuilder) { diff --git a/storage/file_storage_containers_item_migration_jobs_count_request_builder.go b/storage/file_storage_containers_item_migration_jobs_count_request_builder.go new file mode 100644 index 0000000000..8285d05eb8 --- /dev/null +++ b/storage/file_storage_containers_item_migration_jobs_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemMigrationJobsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsCountRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal(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 *FileStorageContainersItemMigrationJobsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *FileStorageContainersItemMigrationJobsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*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 *FileStorageContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_migration_jobs_item_progress_events_count_request_builder.go b/storage/file_storage_containers_item_migration_jobs_item_progress_events_count_request_builder.go new file mode 100644 index 0000000000..231abc0a73 --- /dev/null +++ b/storage/file_storage_containers_item_migration_jobs_item_progress_events_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(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 *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*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 *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go b/storage/file_storage_containers_item_migration_jobs_item_progress_events_request_builder.go new file mode 100644 index 0000000000..db3a838851 --- /dev/null +++ b/storage/file_storage_containers_item_migration_jobs_item_progress_events_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters 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"` +} +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationEventId provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) BySharePointMigrationEventId(sharePointMigrationEventId string)(*FileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationEventId != "" { + urlTplParams["sharePointMigrationEvent%2Did"] = sharePointMigrationEventId + } + return NewFileStorageContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Count()(*FileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable), nil +} +// Post create new navigation property to progressEvents for storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(*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 progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(*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 *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_migration_jobs_request_builder.go b/storage/file_storage_containers_item_migration_jobs_request_builder.go new file mode 100644 index 0000000000..fdd9050704 --- /dev/null +++ b/storage/file_storage_containers_item_migration_jobs_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageContainersItemMigrationJobsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters 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"` +} +// FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationJobId provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) BySharePointMigrationJobId(sharePointMigrationJobId string)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationJobId != "" { + urlTplParams["sharePointMigrationJob%2Did"] = sharePointMigrationJobId + } + return NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageContainersItemMigrationJobsRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Count()(*FileStorageContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable), nil +} +// Post create new navigation property to migrationJobs for storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(*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 migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(*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 *FileStorageContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go b/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go new file mode 100644 index 0000000000..8b0e0f89ed --- /dev/null +++ b/storage/file_storage_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +} +// FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal instantiates a new FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + m := &FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder instantiates a new FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property migrationJobs for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// Patch update the navigation property migrationJobs in storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ProgressEvents provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ProgressEvents()(*FileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(*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 migrationJobs in storage +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(*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 *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + return NewFileStorageContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_containers_item_provision_migration_containers_request_builder.go b/storage/file_storage_containers_item_provision_migration_containers_request_builder.go new file mode 100644 index 0000000000..5c4787badf --- /dev/null +++ b/storage/file_storage_containers_item_provision_migration_containers_request_builder.go @@ -0,0 +1,72 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageContainersItemProvisionMigrationContainersRequestBuilder provides operations to call the provisionMigrationContainers method. +type FileStorageContainersItemProvisionMigrationContainersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal instantiates a new FileStorageContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + m := &FileStorageContainersItemProvisionMigrationContainersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/containers/{fileStorageContainer%2Did}/provisionMigrationContainers", pathParameters), + } + return m +} +// NewFileStorageContainersItemProvisionMigrationContainersRequestBuilder instantiates a new FileStorageContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageContainersItemProvisionMigrationContainersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageContainersItemProvisionMigrationContainersRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action provisionMigrationContainers +// returns a SharePointMigrationContainerInfoable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageContainersItemProvisionMigrationContainersRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationContainerInfoFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable), nil +} +// ToPostRequestInformation invoke action provisionMigrationContainers +// returns a *RequestInformation when successful +func (m *FileStorageContainersItemProvisionMigrationContainersRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageContainersItemProvisionMigrationContainersRequestBuilder) WithUrl(rawUrl string)(*FileStorageContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageContainersItemProvisionMigrationContainersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go index 148bdeac87..66f03d10d9 100644 --- a/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go +++ b/storage/file_storage_deleted_containers_file_storage_container_item_request_builder.go @@ -113,6 +113,11 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Get func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Lock()(*FileStorageDeletedContainersItemLockRequestBuilder) { return NewFileStorageDeletedContainersItemLockRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// MigrationJobs provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) MigrationJobs()(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // Patch update the navigation property deletedContainers in storage // returns a FileStorageContainerable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code @@ -143,6 +148,11 @@ func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Per func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) Permissions()(*FileStorageDeletedContainersItemPermissionsRequestBuilder) { return NewFileStorageDeletedContainersItemPermissionsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// ProvisionMigrationContainers provides operations to call the provisionMigrationContainers method. +// returns a *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) ProvisionMigrationContainers()(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // RecycleBin provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. // returns a *FileStorageDeletedContainersItemRecycleBinRequestBuilder when successful func (m *FileStorageDeletedContainersFileStorageContainerItemRequestBuilder) RecycleBin()(*FileStorageDeletedContainersItemRecycleBinRequestBuilder) { diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_count_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_count_request_builder.go new file mode 100644 index 0000000000..a8784e5359 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_migration_jobs_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal(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 *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilderGetRequestConfiguration)(*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 *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_count_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_count_request_builder.go new file mode 100644 index 0000000000..737855c900 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder provides operations to count the resources in the collection. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters get the number of the resource +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters struct { + // Filter items by property values + Filter *string `uriparametername:"%24filter"` + // Search items by search phrases + Search *string `uriparametername:"%24search"` +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetQueryParameters +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents/$count{?%24filter,%24search}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(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 *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*int32, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.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 *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderGetRequestConfiguration)(*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 *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_request_builder.go new file mode 100644 index 0000000000..ab1260a1db --- /dev/null +++ b/storage/file_storage_deleted_containers_item_migration_jobs_item_progress_events_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters a collection of migration events that reflects the job status changes. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters 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"` +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationEventId provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) BySharePointMigrationEventId(sharePointMigrationEventId string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationEventId != "" { + urlTplParams["sharePointMigrationEvent%2Did"] = sharePointMigrationEventId + } + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsSharePointMigrationEventItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}/progressEvents{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Count()(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get a collection of migration events that reflects the job status changes. +// returns a SharePointMigrationEventCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventCollectionResponseable), nil +} +// Post create new navigation property to progressEvents for storage +// returns a SharePointMigrationEventable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationEventFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable), nil +} +// ToGetRequestInformation a collection of migration events that reflects the job status changes. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderGetRequestConfiguration)(*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 progressEvents for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationEventable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderPostRequestConfiguration)(*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 *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_request_builder.go new file mode 100644 index 0000000000..d8b10021c9 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_migration_jobs_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 storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters 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"` +} +// FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// BySharePointMigrationJobId provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) BySharePointMigrationJobId(sharePointMigrationJobId string)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlTplParams := make(map[string]string) + for idx, item := range m.BaseRequestBuilder.PathParameters { + urlTplParams[idx] = item + } + if sharePointMigrationJobId != "" { + urlTplParams["sharePointMigrationJob%2Did"] = sharePointMigrationJobId + } + return NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlTplParams, m.BaseRequestBuilder.RequestAdapter) +} +// NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsRequestBuilderInternal(urlParams, requestAdapter) +} +// Count provides operations to count the resources in the collection. +// returns a *FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Count()(*FileStorageDeletedContainersItemMigrationJobsCountRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobCollectionResponseable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobCollectionResponseFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobCollectionResponseable), nil +} +// Post create new navigation property to migrationJobs for storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderGetRequestConfiguration)(*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 migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsRequestBuilderPostRequestConfiguration)(*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 *FileStorageDeletedContainersItemMigrationJobsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go b/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go new file mode 100644 index 0000000000..d2da233a20 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_migration_jobs_share_point_migration_job_item_request_builder.go @@ -0,0 +1,165 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder provides operations to manage the migrationJobs property of the microsoft.graph.fileStorageContainer entity. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters the collection of sharePointMigrationJob objects local to the container. Read-write. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters struct { + // Expand related entities + Expand []string `uriparametername:"%24expand"` + // Select properties to be returned + Select []string `uriparametername:"%24select"` +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption + // Request query parameters + QueryParameters *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetQueryParameters +} +// FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + m := &FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/migrationJobs/{sharePointMigrationJob%2Did}{?%24expand,%24select}", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder instantiates a new FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderInternal(urlParams, requestAdapter) +} +// Delete delete navigation property migrationJobs for storage +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(error) { + requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// Get the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Get(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// Patch update the navigation property migrationJobs in storage +// returns a SharePointMigrationJobable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, error) { + requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationJobFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable), nil +} +// ProgressEvents provides operations to manage the progressEvents property of the microsoft.graph.sharePointMigrationJob entity. +// returns a *FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ProgressEvents()(*FileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsItemProgressEventsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} +// ToDeleteRequestInformation delete navigation property migrationJobs for storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// ToGetRequestInformation the collection of sharePointMigrationJob objects local to the container. Read-write. +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderGetRequestConfiguration)(*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 migrationJobs in storage +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationJobable, requestConfiguration *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilderPatchRequestConfiguration)(*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 *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder when successful +func (m *FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder) { + return NewFileStorageDeletedContainersItemMigrationJobsSharePointMigrationJobItemRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/storage/file_storage_deleted_containers_item_provision_migration_containers_request_builder.go b/storage/file_storage_deleted_containers_item_provision_migration_containers_request_builder.go new file mode 100644 index 0000000000..e66d037232 --- /dev/null +++ b/storage/file_storage_deleted_containers_item_provision_migration_containers_request_builder.go @@ -0,0 +1,72 @@ +// Code generated by Microsoft Kiota - DO NOT EDIT. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +package storage + +import ( + "context" + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f "github.com/microsoft/kiota-abstractions-go" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder provides operations to call the provisionMigrationContainers method. +type FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal instantiates a new FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + m := &FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/storage/fileStorage/deletedContainers/{fileStorageContainer%2Did}/provisionMigrationContainers", pathParameters), + } + return m +} +// NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder instantiates a new FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder and sets the default values. +func NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderInternal(urlParams, requestAdapter) +} +// Post invoke action provisionMigrationContainers +// returns a SharePointMigrationContainerInfoable when successful +// returns a ODataError error when the service returns a 4XX or 5XX status code +func (m *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) Post(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable, error) { + requestInfo, err := m.ToPostRequestInformation(ctx, requestConfiguration); + if err != nil { + return nil, err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + res, err := m.BaseRequestBuilder.RequestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateSharePointMigrationContainerInfoFromDiscriminatorValue, errorMapping) + if err != nil { + return nil, err + } + if res == nil { + return nil, nil + } + return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.SharePointMigrationContainerInfoable), nil +} +// ToPostRequestInformation invoke action provisionMigrationContainers +// returns a *RequestInformation when successful +func (m *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { + requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) + if requestConfiguration != nil { + requestInfo.Headers.AddAll(requestConfiguration.Headers) + requestInfo.AddRequestOptions(requestConfiguration.Options) + } + requestInfo.Headers.TryAdd("Accept", "application/json") + return requestInfo, nil +} +// WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. +// returns a *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder when successful +func (m *FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) WithUrl(rawUrl string)(*FileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder) { + return NewFileStorageDeletedContainersItemProvisionMigrationContainersRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +} diff --git a/users/item_chats_chat_item_request_builder.go b/users/item_chats_chat_item_request_builder.go index c2d51a59d8..23f2ba1192 100644 --- a/users/item_chats_chat_item_request_builder.go +++ b/users/item_chats_chat_item_request_builder.go @@ -161,6 +161,11 @@ func (m *ItemChatsChatItemRequestBuilder) PermissionGrants()(*ItemChatsItemPermi func (m *ItemChatsChatItemRequestBuilder) PinnedMessages()(*ItemChatsItemPinnedMessagesRequestBuilder) { return NewItemChatsItemPinnedMessagesRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } +// RemoveAllAccessForUser provides operations to call the removeAllAccessForUser method. +// returns a *ItemChatsItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ItemChatsChatItemRequestBuilder) RemoveAllAccessForUser()(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + return NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) +} // SendActivityNotification provides operations to call the sendActivityNotification method. // returns a *ItemChatsItemSendActivityNotificationRequestBuilder when successful func (m *ItemChatsChatItemRequestBuilder) SendActivityNotification()(*ItemChatsItemSendActivityNotificationRequestBuilder) { diff --git a/users/item_chats_item_remove_all_access_for_user_post_request_body.go b/users/item_chats_item_remove_all_access_for_user_post_request_body.go new file mode 100644 index 0000000000..4419910ad5 --- /dev/null +++ b/users/item_chats_item_remove_all_access_for_user_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 ( + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization" + iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242 "github.com/microsoftgraph/msgraph-sdk-go/models" + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e "github.com/microsoft/kiota-abstractions-go/store" +) + +type ItemChatsItemRemoveAllAccessForUserPostRequestBody struct { + // Stores model information. + backingStore ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore +} +// NewItemChatsItemRemoveAllAccessForUserPostRequestBody instantiates a new ItemChatsItemRemoveAllAccessForUserPostRequestBody and sets the default values. +func NewItemChatsItemRemoveAllAccessForUserPostRequestBody()(*ItemChatsItemRemoveAllAccessForUserPostRequestBody) { + m := &ItemChatsItemRemoveAllAccessForUserPostRequestBody{ + } + m.backingStore = ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStoreFactoryInstance(); + m.SetAdditionalData(make(map[string]any)) + return m +} +// CreateItemChatsItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value +// returns a Parsable when successful +func CreateItemChatsItemRemoveAllAccessForUserPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { + return NewItemChatsItemRemoveAllAccessForUserPostRequestBody(), 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 *ItemChatsItemRemoveAllAccessForUserPostRequestBody) 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 *ItemChatsItemRemoveAllAccessForUserPostRequestBody) 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 *ItemChatsItemRemoveAllAccessForUserPostRequestBody) GetFieldDeserializers()(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) { + res := make(map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error)) + res["user"] = func (n i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error { + val, err := n.GetObjectValue(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateTeamworkUserIdentityFromDiscriminatorValue) + if err != nil { + return err + } + if val != nil { + m.SetUser(val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)) + } + return nil + } + return res +} +// GetUser gets the user property value. The user property +// returns a TeamworkUserIdentityable when successful +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) { + val, err := m.GetBackingStore().Get("user") + if err != nil { + panic(err) + } + if val != nil { + return val.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + } + return nil +} +// Serialize serializes information the current object +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter)(error) { + { + err := writer.WriteObjectValue("user", m.GetUser()) + 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 *ItemChatsItemRemoveAllAccessForUserPostRequestBody) 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 *ItemChatsItemRemoveAllAccessForUserPostRequestBody) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { + m.backingStore = value +} +// SetUser sets the user property value. The user property +func (m *ItemChatsItemRemoveAllAccessForUserPostRequestBody) SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() { + err := m.GetBackingStore().Set("user", value) + if err != nil { + panic(err) + } +} +type ItemChatsItemRemoveAllAccessForUserPostRequestBodyable interface { + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder + ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackedModel + i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable + GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) + GetUser()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable) + SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() + SetUser(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkUserIdentityable)() +} diff --git a/users/item_chats_item_remove_all_access_for_user_request_builder.go b/users/item_chats_item_remove_all_access_for_user_request_builder.go new file mode 100644 index 0000000000..da82f2a374 --- /dev/null +++ b/users/item_chats_item_remove_all_access_for_user_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" + ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a "github.com/microsoftgraph/msgraph-sdk-go/models/odataerrors" +) + +// ItemChatsItemRemoveAllAccessForUserRequestBuilder provides operations to call the removeAllAccessForUser method. +type ItemChatsItemRemoveAllAccessForUserRequestBuilder struct { + i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder +} +// ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. +type ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration struct { + // Request headers + Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders + // Request options + Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption +} +// NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal instantiates a new ItemChatsItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + m := &ItemChatsItemRemoveAllAccessForUserRequestBuilder{ + BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/removeAllAccessForUser", pathParameters), + } + return m +} +// NewItemChatsItemRemoveAllAccessForUserRequestBuilder instantiates a new ItemChatsItemRemoveAllAccessForUserRequestBuilder and sets the default values. +func NewItemChatsItemRemoveAllAccessForUserRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + urlParams := make(map[string]string) + urlParams["request-raw-url"] = rawUrl + return NewItemChatsItemRemoveAllAccessForUserRequestBuilderInternal(urlParams, requestAdapter) +} +// Post remove access to a chat for a user. +// 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-removeallaccessforuser?view=graph-rest-1.0 +func (m *ItemChatsItemRemoveAllAccessForUserRequestBuilder) Post(ctx context.Context, body ItemChatsItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(error) { + requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); + if err != nil { + return err + } + errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings { + "XXX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue, + } + err = m.BaseRequestBuilder.RequestAdapter.SendNoContent(ctx, requestInfo, errorMapping) + if err != nil { + return err + } + return nil +} +// ToPostRequestInformation remove access to a chat for a user. +// returns a *RequestInformation when successful +func (m *ItemChatsItemRemoveAllAccessForUserRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemChatsItemRemoveAllAccessForUserPostRequestBodyable, requestConfiguration *ItemChatsItemRemoveAllAccessForUserRequestBuilderPostRequestConfiguration)(*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 *ItemChatsItemRemoveAllAccessForUserRequestBuilder when successful +func (m *ItemChatsItemRemoveAllAccessForUserRequestBuilder) WithUrl(rawUrl string)(*ItemChatsItemRemoveAllAccessForUserRequestBuilder) { + return NewItemChatsItemRemoveAllAccessForUserRequestBuilder(rawUrl, m.BaseRequestBuilder.RequestAdapter); +}