diff --git a/kiota-lock.json b/kiota-lock.json index cae411f5dd7..5f9669e5bdd 100644 --- a/kiota-lock.json +++ b/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "E4824D330C7D6BAFE32CCC2FFE5E155128F86720BC9346388F44FA90CCEFE1B9E1F5F36FBCBB4EA3A3D5DBA42FA8CC3569146F17BBA833D0EAEE0AB79A3DCC03", + "descriptionHash": "26047846AA28C15D59D3315F1A38C4C4CCB15447ABD460458E3DC24D812A2347D833184AC1A2E74800B39A169046AE655EA6AC55AE07EAB571E200D98A1F31C4", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.31.1", diff --git a/models/channel.go b/models/channel.go index 7124e96403b..f719c966f9a 100644 --- a/models/channel.go +++ b/models/channel.go @@ -393,7 +393,7 @@ func (m *Channel) GetIsFavoriteByDefault()(*bool) { } return nil } -// GetLayoutType gets the layoutType property value. The layout type of the channel. Can be set during creation and can be updated. The possible values are: post, chat, unknownFutureValue. The default value is post. Channels with post layout use traditional post-reply conversation format, while channels with chat layout provide a chat-like threading experience similar to group chats. +// GetLayoutType gets the layoutType property value. The layout type of the channel. It can be set during creation and updated later. The possible values are: post, chat, unknownFutureValue. The default value is post. Channels with the post layout use a traditional post‑reply conversation format, and channels with the chat layout provide a chat‑like threading experience similar to group chats. // returns a *ChannelLayoutType when successful func (m *Channel) GetLayoutType()(*ChannelLayoutType) { val, err := m.GetBackingStore().Get("layoutType") @@ -791,7 +791,7 @@ func (m *Channel) SetIsFavoriteByDefault(value *bool)() { panic(err) } } -// SetLayoutType sets the layoutType property value. The layout type of the channel. Can be set during creation and can be updated. The possible values are: post, chat, unknownFutureValue. The default value is post. Channels with post layout use traditional post-reply conversation format, while channels with chat layout provide a chat-like threading experience similar to group chats. +// SetLayoutType sets the layoutType property value. The layout type of the channel. It can be set during creation and updated later. The possible values are: post, chat, unknownFutureValue. The default value is post. Channels with the post layout use a traditional post‑reply conversation format, and channels with the chat layout provide a chat‑like threading experience similar to group chats. func (m *Channel) SetLayoutType(value *ChannelLayoutType)() { err := m.GetBackingStore().Set("layoutType", value) if err != nil { diff --git a/models/section_display_icon.go b/models/section_display_icon.go index 184663053ca..6a58a8758b1 100644 --- a/models/section_display_icon.go +++ b/models/section_display_icon.go @@ -43,7 +43,7 @@ func (m *SectionDisplayIcon) GetAdditionalData()(map[string]any) { func (m *SectionDisplayIcon) GetBackingStore()(ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore) { return m.backingStore } -// GetContentUrl gets the contentUrl property value. The contentUrl property +// GetContentUrl gets the contentUrl property value. The URL to a custom icon image. Applicable when iconType is custom. // returns a *string when successful func (m *SectionDisplayIcon) GetContentUrl()(*string) { val, err := m.GetBackingStore().Get("contentUrl") @@ -55,7 +55,7 @@ func (m *SectionDisplayIcon) GetContentUrl()(*string) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The human-readable name of the icon. // returns a *string when successful func (m *SectionDisplayIcon) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -123,7 +123,7 @@ func (m *SectionDisplayIcon) GetFieldDeserializers()(map[string]func(i878a80d233 } return res } -// GetIconType gets the iconType property value. The iconType property +// GetIconType gets the iconType property value. The type of icon. Use an emoji character such as 👍 for an emoji icon, or custom for a custom image icon. // returns a *string when successful func (m *SectionDisplayIcon) GetIconType()(*string) { val, err := m.GetBackingStore().Get("iconType") @@ -147,7 +147,7 @@ func (m *SectionDisplayIcon) GetOdataType()(*string) { } return nil } -// GetSkinTone gets the skinTone property value. The skinTone property +// GetSkinTone gets the skinTone property value. The skin tone variant applied to the icon. Read-only. The possible values are: light, mediumLight, medium, mediumDark, dark, unknownFutureValue. // returns a *SectionIconSkinTone when successful func (m *SectionDisplayIcon) GetSkinTone()(*SectionIconSkinTone) { val, err := m.GetBackingStore().Get("skinTone") @@ -211,21 +211,21 @@ func (m *SectionDisplayIcon) SetAdditionalData(value map[string]any)() { func (m *SectionDisplayIcon) SetBackingStore(value ie8677ce2c7e1b4c22e9c3827ecd078d41185424dd9eeb92b7d971ed2d49a392e.BackingStore)() { m.backingStore = value } -// SetContentUrl sets the contentUrl property value. The contentUrl property +// SetContentUrl sets the contentUrl property value. The URL to a custom icon image. Applicable when iconType is custom. func (m *SectionDisplayIcon) SetContentUrl(value *string)() { err := m.GetBackingStore().Set("contentUrl", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The human-readable name of the icon. func (m *SectionDisplayIcon) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetIconType sets the iconType property value. The iconType property +// SetIconType sets the iconType property value. The type of icon. Use an emoji character such as 👍 for an emoji icon, or custom for a custom image icon. func (m *SectionDisplayIcon) SetIconType(value *string)() { err := m.GetBackingStore().Set("iconType", value) if err != nil { @@ -239,7 +239,7 @@ func (m *SectionDisplayIcon) SetOdataType(value *string)() { panic(err) } } -// SetSkinTone sets the skinTone property value. The skinTone property +// SetSkinTone sets the skinTone property value. The skin tone variant applied to the icon. Read-only. The possible values are: light, mediumLight, medium, mediumDark, dark, unknownFutureValue. func (m *SectionDisplayIcon) SetSkinTone(value *SectionIconSkinTone)() { err := m.GetBackingStore().Set("skinTone", value) if err != nil { diff --git a/models/teamwork_section.go b/models/teamwork_section.go index cf111c9cd66..57a71492a04 100644 --- a/models/teamwork_section.go +++ b/models/teamwork_section.go @@ -23,7 +23,7 @@ func NewTeamworkSection()(*TeamworkSection) { func CreateTeamworkSectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTeamworkSection(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. Date and time when the section was created. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. // returns a *Time when successful func (m *TeamworkSection) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -35,7 +35,7 @@ func (m *TeamworkSection) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a } return nil } -// GetDisplayIcon gets the displayIcon property value. The displayIcon property +// GetDisplayIcon gets the displayIcon property value. The icon displayed for the section. // returns a SectionDisplayIconable when successful func (m *TeamworkSection) GetDisplayIcon()(SectionDisplayIconable) { val, err := m.GetBackingStore().Get("displayIcon") @@ -47,7 +47,7 @@ func (m *TeamworkSection) GetDisplayIcon()(SectionDisplayIconable) { } return nil } -// GetDisplayName gets the displayName property value. The displayName property +// GetDisplayName gets the displayName property value. The display name of the section. Required. Maximum length is 50 characters. Display names are case-sensitive and must be unique within a user's sections. The following names are reserved for system-defined sections and can't be used when creating a user-defined section: RecentChats, QuickViews, TeamsAndChannels, MutedChats, MeetingChats, EngageCommunities. // returns a *string when successful func (m *TeamworkSection) GetDisplayName()(*string) { val, err := m.GetBackingStore().Get("displayName") @@ -161,7 +161,7 @@ func (m *TeamworkSection) GetFieldDeserializers()(map[string]func(i878a80d2330e8 } return res } -// GetIsExpanded gets the isExpanded property value. The isExpanded property +// GetIsExpanded gets the isExpanded property value. Indicates whether the section is expanded in the user interface. The default value is true. // returns a *bool when successful func (m *TeamworkSection) GetIsExpanded()(*bool) { val, err := m.GetBackingStore().Get("isExpanded") @@ -173,7 +173,7 @@ func (m *TeamworkSection) GetIsExpanded()(*bool) { } return nil } -// GetIsHierarchicalViewEnabled gets the isHierarchicalViewEnabled property value. The isHierarchicalViewEnabled property +// GetIsHierarchicalViewEnabled gets the isHierarchicalViewEnabled property value. Indicates whether the hierarchical view is enabled for the section. Read-only. // returns a *bool when successful func (m *TeamworkSection) GetIsHierarchicalViewEnabled()(*bool) { val, err := m.GetBackingStore().Get("isHierarchicalViewEnabled") @@ -185,7 +185,7 @@ func (m *TeamworkSection) GetIsHierarchicalViewEnabled()(*bool) { } return nil } -// GetItems gets the items property value. The items property +// GetItems gets the items property value. The items (chats, channels, meetings, or communities) organized within the section. // returns a []TeamworkSectionItemable when successful func (m *TeamworkSection) GetItems()([]TeamworkSectionItemable) { val, err := m.GetBackingStore().Get("items") @@ -197,7 +197,7 @@ func (m *TeamworkSection) GetItems()([]TeamworkSectionItemable) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Date and time when the section was last modified. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. // returns a *Time when successful func (m *TeamworkSection) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -209,7 +209,7 @@ func (m *TeamworkSection) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3 } return nil } -// GetSectionType gets the sectionType property value. The sectionType property +// GetSectionType gets the sectionType property value. The type of the section. The possible values are: userDefined, systemDefined, unknownFutureValue. Read-only. // returns a *SectionType when successful func (m *TeamworkSection) GetSectionType()(*SectionType) { val, err := m.GetBackingStore().Get("sectionType") @@ -221,7 +221,7 @@ func (m *TeamworkSection) GetSectionType()(*SectionType) { } return nil } -// GetSortType gets the sortType property value. The sortType property +// GetSortType gets the sortType property value. The sort order of items in the section. The valid values depend on the sectionType. The possible values are: mostRecent, unreadThenMostRecent, nameAlphabetical, userDefinedCustomOrder, unknownFutureValue. // returns a *SectionSortType when successful func (m *TeamworkSection) GetSortType()(*SectionSortType) { val, err := m.GetBackingStore().Get("sortType") @@ -303,63 +303,63 @@ func (m *TeamworkSection) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0 } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. Date and time when the section was created. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. func (m *TeamworkSection) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetDisplayIcon sets the displayIcon property value. The displayIcon property +// SetDisplayIcon sets the displayIcon property value. The icon displayed for the section. func (m *TeamworkSection) SetDisplayIcon(value SectionDisplayIconable)() { err := m.GetBackingStore().Set("displayIcon", value) if err != nil { panic(err) } } -// SetDisplayName sets the displayName property value. The displayName property +// SetDisplayName sets the displayName property value. The display name of the section. Required. Maximum length is 50 characters. Display names are case-sensitive and must be unique within a user's sections. The following names are reserved for system-defined sections and can't be used when creating a user-defined section: RecentChats, QuickViews, TeamsAndChannels, MutedChats, MeetingChats, EngageCommunities. func (m *TeamworkSection) SetDisplayName(value *string)() { err := m.GetBackingStore().Set("displayName", value) if err != nil { panic(err) } } -// SetIsExpanded sets the isExpanded property value. The isExpanded property +// SetIsExpanded sets the isExpanded property value. Indicates whether the section is expanded in the user interface. The default value is true. func (m *TeamworkSection) SetIsExpanded(value *bool)() { err := m.GetBackingStore().Set("isExpanded", value) if err != nil { panic(err) } } -// SetIsHierarchicalViewEnabled sets the isHierarchicalViewEnabled property value. The isHierarchicalViewEnabled property +// SetIsHierarchicalViewEnabled sets the isHierarchicalViewEnabled property value. Indicates whether the hierarchical view is enabled for the section. Read-only. func (m *TeamworkSection) SetIsHierarchicalViewEnabled(value *bool)() { err := m.GetBackingStore().Set("isHierarchicalViewEnabled", value) if err != nil { panic(err) } } -// SetItems sets the items property value. The items property +// SetItems sets the items property value. The items (chats, channels, meetings, or communities) organized within the section. func (m *TeamworkSection) SetItems(value []TeamworkSectionItemable)() { err := m.GetBackingStore().Set("items", value) if err != nil { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Date and time when the section was last modified. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. func (m *TeamworkSection) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { panic(err) } } -// SetSectionType sets the sectionType property value. The sectionType property +// SetSectionType sets the sectionType property value. The type of the section. The possible values are: userDefined, systemDefined, unknownFutureValue. Read-only. func (m *TeamworkSection) SetSectionType(value *SectionType)() { err := m.GetBackingStore().Set("sectionType", value) if err != nil { panic(err) } } -// SetSortType sets the sortType property value. The sortType property +// SetSortType sets the sortType property value. The sort order of items in the section. The valid values depend on the sectionType. The possible values are: mostRecent, unreadThenMostRecent, nameAlphabetical, userDefinedCustomOrder, unknownFutureValue. func (m *TeamworkSection) SetSortType(value *SectionSortType)() { err := m.GetBackingStore().Set("sortType", value) if err != nil { diff --git a/models/teamwork_section_item.go b/models/teamwork_section_item.go index 5febe36fb47..62b95c19e8a 100644 --- a/models/teamwork_section_item.go +++ b/models/teamwork_section_item.go @@ -23,7 +23,7 @@ func NewTeamworkSectionItem()(*TeamworkSectionItem) { func CreateTeamworkSectionItemFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) { return NewTeamworkSectionItem(), nil } -// GetCreatedDateTime gets the createdDateTime property value. The createdDateTime property +// GetCreatedDateTime gets the createdDateTime property value. Date and time when the item was added to the section. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. // returns a *Time when successful func (m *TeamworkSectionItem) GetCreatedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("createdDateTime") @@ -71,7 +71,7 @@ func (m *TeamworkSectionItem) GetFieldDeserializers()(map[string]func(i878a80d23 } return res } -// GetItemType gets the itemType property value. The itemType property +// GetItemType gets the itemType property value. The type of the item. The possible values are: chat, channel, meeting, community, unknownFutureValue. Read-only. // returns a *SectionItemType when successful func (m *TeamworkSectionItem) GetItemType()(*SectionItemType) { val, err := m.GetBackingStore().Get("itemType") @@ -83,7 +83,7 @@ func (m *TeamworkSectionItem) GetItemType()(*SectionItemType) { } return nil } -// GetLastModifiedDateTime gets the lastModifiedDateTime property value. The lastModifiedDateTime property +// GetLastModifiedDateTime gets the lastModifiedDateTime property value. Date and time when the item was last modified. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. // returns a *Time when successful func (m *TeamworkSectionItem) GetLastModifiedDateTime()(*i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) { val, err := m.GetBackingStore().Get("lastModifiedDateTime") @@ -122,21 +122,21 @@ func (m *TeamworkSectionItem) Serialize(writer i878a80d2330e89d26896388a3f487eef } return nil } -// SetCreatedDateTime sets the createdDateTime property value. The createdDateTime property +// SetCreatedDateTime sets the createdDateTime property value. Date and time when the item was added to the section. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. func (m *TeamworkSectionItem) SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("createdDateTime", value) if err != nil { panic(err) } } -// SetItemType sets the itemType property value. The itemType property +// SetItemType sets the itemType property value. The type of the item. The possible values are: chat, channel, meeting, community, unknownFutureValue. Read-only. func (m *TeamworkSectionItem) SetItemType(value *SectionItemType)() { err := m.GetBackingStore().Set("itemType", value) if err != nil { panic(err) } } -// SetLastModifiedDateTime sets the lastModifiedDateTime property value. The lastModifiedDateTime property +// SetLastModifiedDateTime sets the lastModifiedDateTime property value. Date and time when the item was last modified. Read-only. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2024, is 2024-01-01T00:00:00Z. func (m *TeamworkSectionItem) SetLastModifiedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)() { err := m.GetBackingStore().Set("lastModifiedDateTime", value) if err != nil { diff --git a/models/user_teamwork.go b/models/user_teamwork.go index acb9e990afa..11444eeab66 100644 --- a/models/user_teamwork.go +++ b/models/user_teamwork.go @@ -144,7 +144,7 @@ func (m *UserTeamwork) GetRegion()(*string) { } return nil } -// GetSections gets the sections property value. User's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// GetSections gets the sections property value. The sections in the user's chat list. // returns a []TeamworkSectionable when successful func (m *UserTeamwork) GetSections()([]TeamworkSectionable) { val, err := m.GetBackingStore().Get("sections") @@ -240,7 +240,7 @@ func (m *UserTeamwork) SetRegion(value *string)() { panic(err) } } -// SetSections sets the sections property value. User's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// SetSections sets the sections property value. The sections in the user's chat list. func (m *UserTeamwork) SetSections(value []TeamworkSectionable)() { err := m.GetBackingStore().Set("sections", value) if err != nil { diff --git a/users/item_teamwork_sections_item_items_item_move_request_builder.go b/users/item_teamwork_sections_item_items_item_move_request_builder.go index 3ee6ddae526..5ee48d7ff05 100644 --- a/users/item_teamwork_sections_item_items_item_move_request_builder.go +++ b/users/item_teamwork_sections_item_items_item_move_request_builder.go @@ -34,9 +34,12 @@ func NewItemTeamworkSectionsItemItemsItemMoveRequestBuilder(rawUrl string, reque urlParams["request-raw-url"] = rawUrl return NewItemTeamworkSectionsItemItemsItemMoveRequestBuilderInternal(urlParams, requestAdapter) } -// Post invoke action move +// Post move an item from one user-defined section to another user-defined section in a user's teamwork. Each item can belong to only one section at a time. This action removes the item from its current section and adds it to the target section. Use this action instead of add when the item is already in a user-defined section. // returns a TeamworkSectionItemable 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/teamworksectionitem-move?view=graph-rest-beta func (m *ItemTeamworkSectionsItemItemsItemMoveRequestBuilder) Post(ctx context.Context, body ItemTeamworkSectionsItemItemsItemMovePostRequestBodyable, requestConfiguration *ItemTeamworkSectionsItemItemsItemMoveRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -54,7 +57,7 @@ func (m *ItemTeamworkSectionsItemItemsItemMoveRequestBuilder) Post(ctx context.C } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable), nil } -// ToPostRequestInformation invoke action move +// ToPostRequestInformation move an item from one user-defined section to another user-defined section in a user's teamwork. Each item can belong to only one section at a time. This action removes the item from its current section and adds it to the target section. Use this action instead of add when the item is already in a user-defined section. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsItemItemsItemMoveRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamworkSectionsItemItemsItemMovePostRequestBodyable, requestConfiguration *ItemTeamworkSectionsItemItemsItemMoveRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_sections_item_items_request_builder.go b/users/item_teamwork_sections_item_items_request_builder.go index 3d88b124a7c..adf09c1e3f7 100644 --- a/users/item_teamwork_sections_item_items_request_builder.go +++ b/users/item_teamwork_sections_item_items_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemTeamworkSectionsItemItemsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamworkSectionsItemItemsRequestBuilderGetQueryParameters get items from users +// ItemTeamworkSectionsItemItemsRequestBuilderGetQueryParameters get the list of items in a section of a user's teamwork. type ItemTeamworkSectionsItemItemsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -79,9 +79,12 @@ func NewItemTeamworkSectionsItemItemsRequestBuilder(rawUrl string, requestAdapte func (m *ItemTeamworkSectionsItemItemsRequestBuilder) Count()(*ItemTeamworkSectionsItemItemsCountRequestBuilder) { return NewItemTeamworkSectionsItemItemsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get get items from users +// Get get the list of items in a section of a user's teamwork. // returns a TeamworkSectionItemCollectionResponseable 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/teamworksection-list-items?view=graph-rest-beta func (m *ItemTeamworkSectionsItemItemsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkSectionsItemItemsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,9 +102,12 @@ func (m *ItemTeamworkSectionsItemItemsRequestBuilder) Get(ctx context.Context, r } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemCollectionResponseable), nil } -// Post create new navigation property to items for users +// Post add an item, such as a chat, channel, meeting, or community, to a user-defined section in a user's teamwork. Each item can belong to only one section at a time. You can only add items that are currently in a system-defined section. If the item is already in another user-defined section, use the move action to relocate it. // returns a TeamworkSectionItemable 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/teamworksection-post-items?view=graph-rest-beta func (m *ItemTeamworkSectionsItemItemsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable, requestConfiguration *ItemTeamworkSectionsItemItemsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *ItemTeamworkSectionsItemItemsRequestBuilder) Post(ctx context.Context, } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable), nil } -// ToGetRequestInformation get items from users +// ToGetRequestInformation get the list of items in a section of a user's teamwork. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsItemItemsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkSectionsItemItemsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +139,7 @@ func (m *ItemTeamworkSectionsItemItemsRequestBuilder) ToGetRequestInformation(ct requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to items for users +// ToPostRequestInformation add an item, such as a chat, channel, meeting, or community, to a user-defined section in a user's teamwork. Each item can belong to only one section at a time. You can only add items that are currently in a system-defined section. If the item is already in another user-defined section, use the move action to relocate it. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsItemItemsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable, requestConfiguration *ItemTeamworkSectionsItemItemsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_sections_item_items_teamwork_section_item_item_request_builder.go b/users/item_teamwork_sections_item_items_teamwork_section_item_item_request_builder.go index 56b6bb7ccc2..b1e4b218297 100644 --- a/users/item_teamwork_sections_item_items_teamwork_section_item_item_request_builder.go +++ b/users/item_teamwork_sections_item_items_teamwork_section_item_item_request_builder.go @@ -21,7 +21,7 @@ type ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderDeleteReq // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderGetQueryParameters get items from users +// ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderGetQueryParameters the items (chats, channels, meetings, or communities) organized within the section. type ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -57,8 +57,11 @@ func NewItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder(rawUr urlParams["request-raw-url"] = rawUrl return NewItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property items for users +// Delete remove an item from a user-defined section in a user's teamwork. This API doesn't delete the underlying chat, channel, meeting, or community; it only removes the item from the user-defined section. The item is automatically moved back to its default system-defined section. // 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/teamworksectionitem-delete?view=graph-rest-beta func (m *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,7 +76,7 @@ func (m *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder) Del } return nil } -// Get get items from users +// Get the items (chats, channels, meetings, or communities) organized within the section. // returns a TeamworkSectionItemable when successful // returns a ODataError error when the service returns a 4XX or 5XX status code func (m *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable, error) { @@ -118,7 +121,7 @@ func (m *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder) Pat } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionItemable), nil } -// ToDeleteRequestInformation delete navigation property items for users +// ToDeleteRequestInformation remove an item from a user-defined section in a user's teamwork. This API doesn't delete the underlying chat, channel, meeting, or community; it only removes the item from the user-defined section. The item is automatically moved back to its default system-defined section. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +132,7 @@ func (m *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder) ToD requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation get items from users +// ToGetRequestInformation the items (chats, channels, meetings, or communities) organized within the section. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkSectionsItemItemsTeamworkSectionItemItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_sections_request_builder.go b/users/item_teamwork_sections_request_builder.go index 62445249a1c..2204475db48 100644 --- a/users/item_teamwork_sections_request_builder.go +++ b/users/item_teamwork_sections_request_builder.go @@ -14,7 +14,7 @@ import ( type ItemTeamworkSectionsRequestBuilder struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder } -// ItemTeamworkSectionsRequestBuilderGetQueryParameters user's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// ItemTeamworkSectionsRequestBuilderGetQueryParameters get the list of sections in a user's teamwork. type ItemTeamworkSectionsRequestBuilderGetQueryParameters struct { // Include count of items Count *bool "uriparametername:\"%24count\"" @@ -79,9 +79,12 @@ func NewItemTeamworkSectionsRequestBuilder(rawUrl string, requestAdapter i2ae418 func (m *ItemTeamworkSectionsRequestBuilder) Count()(*ItemTeamworkSectionsCountRequestBuilder) { return NewItemTeamworkSectionsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Get user's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// Get get the list of sections in a user's teamwork. // returns a TeamworkSectionCollectionResponseable 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/userteamwork-list-sections?view=graph-rest-beta func (m *ItemTeamworkSectionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkSectionsRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionCollectionResponseable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -99,9 +102,12 @@ func (m *ItemTeamworkSectionsRequestBuilder) Get(ctx context.Context, requestCon } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionCollectionResponseable), nil } -// Post create new navigation property to sections for users +// Post create a new section in a user's teamwork. // returns a TeamworkSectionable 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/userteamwork-post-sections?view=graph-rest-beta func (m *ItemTeamworkSectionsRequestBuilder) Post(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable, requestConfiguration *ItemTeamworkSectionsRequestBuilderPostRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable, error) { requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -119,7 +125,7 @@ func (m *ItemTeamworkSectionsRequestBuilder) Post(ctx context.Context, body ie23 } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable), nil } -// ToGetRequestInformation user's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// ToGetRequestInformation get the list of sections in a user's teamwork. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkSectionsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -133,7 +139,7 @@ func (m *ItemTeamworkSectionsRequestBuilder) ToGetRequestInformation(ctx context requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPostRequestInformation create new navigation property to sections for users +// ToPostRequestInformation create a new section in a user's teamwork. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable, requestConfiguration *ItemTeamworkSectionsRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) diff --git a/users/item_teamwork_sections_teamwork_section_item_request_builder.go b/users/item_teamwork_sections_teamwork_section_item_request_builder.go index e9b065d41c0..4ac50d60e6c 100644 --- a/users/item_teamwork_sections_teamwork_section_item_request_builder.go +++ b/users/item_teamwork_sections_teamwork_section_item_request_builder.go @@ -21,7 +21,7 @@ type ItemTeamworkSectionsTeamworkSectionItemRequestBuilderDeleteRequestConfigura // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption } -// ItemTeamworkSectionsTeamworkSectionItemRequestBuilderGetQueryParameters user's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// ItemTeamworkSectionsTeamworkSectionItemRequestBuilderGetQueryParameters read the properties of a section in a user's teamwork. type ItemTeamworkSectionsTeamworkSectionItemRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string "uriparametername:\"%24expand\"" @@ -57,8 +57,11 @@ func NewItemTeamworkSectionsTeamworkSectionItemRequestBuilder(rawUrl string, req urlParams["request-raw-url"] = rawUrl return NewItemTeamworkSectionsTeamworkSectionItemRequestBuilderInternal(urlParams, requestAdapter) } -// Delete delete navigation property sections for users +// Delete delete a user-defined section from a user's teamwork. System-defined sections can't be deleted. // returns a ODataError error when the service returns a 4XX or 5XX status code +// [Find more info here] +// +// [Find more info here]: https://learn.microsoft.com/graph/api/teamworksection-delete?view=graph-rest-beta func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamworkSectionsTeamworkSectionItemRequestBuilderDeleteRequestConfiguration)(error) { requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration); if err != nil { @@ -73,9 +76,12 @@ func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) Delete(ctx conte } return nil } -// Get user's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// Get read the properties of a section in a user's teamwork. // returns a TeamworkSectionable 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/teamworksection-get?view=graph-rest-beta func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamworkSectionsTeamworkSectionItemRequestBuilderGetRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable, error) { requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration); if err != nil { @@ -98,9 +104,12 @@ func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) Get(ctx context. func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) Items()(*ItemTeamworkSectionsItemItemsRequestBuilder) { return NewItemTeamworkSectionsItemItemsRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter) } -// Patch update the navigation property sections in users +// Patch update the properties of a section in a user's teamwork. For system-defined sections, only the sortType property can be updated. // returns a TeamworkSectionable 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/teamworksection-update?view=graph-rest-beta func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) Patch(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable, requestConfiguration *ItemTeamworkSectionsTeamworkSectionItemRequestBuilderPatchRequestConfiguration)(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable, error) { requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration); if err != nil { @@ -118,7 +127,7 @@ func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) Patch(ctx contex } return res.(ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable), nil } -// ToDeleteRequestInformation delete navigation property sections for users +// ToDeleteRequestInformation delete a user-defined section from a user's teamwork. System-defined sections can't be deleted. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkSectionsTeamworkSectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -129,7 +138,7 @@ func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) ToDeleteRequestI requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToGetRequestInformation user's teamwork sections for organizing chats and channels. The collection response may include @microsoft.graph.sectionsOrder and @microsoft.graph.sectionsVersion instance annotations for ordering and optimistic concurrency control. +// ToGetRequestInformation read the properties of a section in a user's teamwork. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamworkSectionsTeamworkSectionItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters) @@ -143,7 +152,7 @@ func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) ToGetRequestInfo requestInfo.Headers.TryAdd("Accept", "application/json") return requestInfo, nil } -// ToPatchRequestInformation update the navigation property sections in users +// ToPatchRequestInformation update the properties of a section in a user's teamwork. For system-defined sections, only the sortType property can be updated. // returns a *RequestInformation when successful func (m *ItemTeamworkSectionsTeamworkSectionItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie233ee762e29b4ba6970aa2a2efce4b7fde11697ca9ea81099d0f8269309c1be.TeamworkSectionable, requestConfiguration *ItemTeamworkSectionsTeamworkSectionItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) { requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)