Skip to content

Commit b15c5c7

Browse files
andrueastmanMicrosoft Graph DevX Tooling
and
Microsoft Graph DevX Tooling
authored
feat(generation): update request builders and models (#722)
Update generated files with build 151773 Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
1 parent 1a6f5b9 commit b15c5c7

File tree

1,168 files changed

+17339
-15222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,168 files changed

+17339
-15222
lines changed

admin/serviceannouncement_messages_item_attachments_item_content_request_builder.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,12 @@ func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) De
6161
}
6262
return nil
6363
}
64-
// Get the attachment content.
64+
// Get read the properties and relationships of a serviceAnnouncementAttachment object.
6565
// returns a []byte when successful
6666
// returns a ODataError error when the service returns a 4XX or 5XX status code
67+
// [Find more info here]
68+
//
69+
// [Find more info here]: https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-1.0
6770
func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilderGetRequestConfiguration)([]byte, error) {
6871
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
6972
if err != nil {
@@ -112,7 +115,7 @@ func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) To
112115
requestInfo.Headers.TryAdd("Accept", "application/json")
113116
return requestInfo, nil
114117
}
115-
// ToGetRequestInformation the attachment content.
118+
// ToGetRequestInformation read the properties and relationships of a serviceAnnouncementAttachment object.
116119
// returns a *RequestInformation when successful
117120
func (m *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ServiceannouncementMessagesItemAttachmentsItemContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
118121
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

agreementacceptances/agreement_acceptances_request_builder.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ type AgreementAcceptancesRequestBuilder struct {
1515
type AgreementAcceptancesRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
18+
// Expand related entities
19+
Expand []string `uriparametername:"%24expand"`
1820
// Filter items by property values
1921
Filter *string `uriparametername:"%24filter"`
22+
// Order items by property values
23+
Orderby []string `uriparametername:"%24orderby"`
2024
// Search items by search phrases
2125
Search *string `uriparametername:"%24search"`
2226
// Select properties to be returned
@@ -57,7 +61,7 @@ func (m *AgreementAcceptancesRequestBuilder) ByAgreementAcceptanceId(agreementAc
5761
// NewAgreementAcceptancesRequestBuilderInternal instantiates a new AgreementAcceptancesRequestBuilder and sets the default values.
5862
func NewAgreementAcceptancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AgreementAcceptancesRequestBuilder) {
5963
m := &AgreementAcceptancesRequestBuilder{
60-
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters),
64+
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters),
6165
}
6266
return m
6367
}

agreements/agreements_request_builder.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ type AgreementsRequestBuilder struct {
1515
type AgreementsRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
18+
// Expand related entities
19+
Expand []string `uriparametername:"%24expand"`
1820
// Filter items by property values
1921
Filter *string `uriparametername:"%24filter"`
22+
// Order items by property values
23+
Orderby []string `uriparametername:"%24orderby"`
2024
// Search items by search phrases
2125
Search *string `uriparametername:"%24search"`
2226
// Select properties to be returned
@@ -57,7 +61,7 @@ func (m *AgreementsRequestBuilder) ByAgreementId(agreementId string)(*AgreementI
5761
// NewAgreementsRequestBuilderInternal instantiates a new AgreementsRequestBuilder and sets the default values.
5862
func NewAgreementsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter)(*AgreementsRequestBuilder) {
5963
m := &AgreementsRequestBuilder{
60-
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters),
64+
BaseRequestBuilder: *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewBaseRequestBuilder(requestAdapter, "{+baseurl}/agreements{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters),
6165
}
6266
return m
6367
}

appcatalogs/teamsapps_item_appdefinitions_item_bot_request_builder.go

+6-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type TeamsappsItemAppdefinitionsItemBotRequestBuilderDeleteRequestConfiguration
1818
// Request options
1919
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
2020
}
21-
// TeamsappsItemAppdefinitionsItemBotRequestBuilderGetQueryParameters the details of the bot specified in the Teams app manifest.
21+
// TeamsappsItemAppdefinitionsItemBotRequestBuilderGetQueryParameters get the bot associated with a specific definition of the TeamsApp.
2222
type TeamsappsItemAppdefinitionsItemBotRequestBuilderGetQueryParameters struct {
2323
// Expand related entities
2424
Expand []string `uriparametername:"%24expand"`
@@ -70,9 +70,12 @@ func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) Delete(ctx context.Co
7070
}
7171
return nil
7272
}
73-
// Get the details of the bot specified in the Teams app manifest.
73+
// Get get the bot associated with a specific definition of the TeamsApp.
7474
// returns a TeamworkBotable when successful
7575
// returns a ODataError error when the service returns a 4XX or 5XX status code
76+
// [Find more info here]
77+
//
78+
// [Find more info here]: https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-1.0
7679
func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) Get(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemBotRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamworkBotable, error) {
7780
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
7881
if err != nil {
@@ -121,7 +124,7 @@ func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) ToDeleteRequestInform
121124
requestInfo.Headers.TryAdd("Accept", "application/json")
122125
return requestInfo, nil
123126
}
124-
// ToGetRequestInformation the details of the bot specified in the Teams app manifest.
127+
// ToGetRequestInformation get the bot associated with a specific definition of the TeamsApp.
125128
// returns a *RequestInformation when successful
126129
func (m *TeamsappsItemAppdefinitionsItemBotRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *TeamsappsItemAppdefinitionsItemBotRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
127130
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

chats/item_members_conversation_member_item_request_builder.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ItemMembersConversationMemberItemRequestBuilderDeleteRequestConfiguration s
1818
// Request options
1919
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
2020
}
21-
// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat or channel.
21+
// ItemMembersConversationMemberItemRequestBuilderGetQueryParameters retrieve a conversationMember from a chat.
2222
type ItemMembersConversationMemberItemRequestBuilderGetQueryParameters struct {
2323
// Expand related entities
2424
Expand []string `uriparametername:"%24expand"`
@@ -73,12 +73,12 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) Delete(ctx context.Con
7373
}
7474
return nil
7575
}
76-
// Get retrieve a conversationMember from a chat or channel.
76+
// Get retrieve a conversationMember from a chat.
7777
// returns a ConversationMemberable when successful
7878
// returns a ODataError error when the service returns a 4XX or 5XX status code
7979
// [Find more info here]
8080
//
81-
// [Find more info here]: https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0
81+
// [Find more info here]: https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0
8282
func (m *ItemMembersConversationMemberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ConversationMemberable, error) {
8383
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
8484
if err != nil {
@@ -127,7 +127,7 @@ func (m *ItemMembersConversationMemberItemRequestBuilder) ToDeleteRequestInforma
127127
requestInfo.Headers.TryAdd("Accept", "application/json")
128128
return requestInfo, nil
129129
}
130-
// ToGetRequestInformation retrieve a conversationMember from a chat or channel.
130+
// ToGetRequestInformation retrieve a conversationMember from a chat.
131131
// returns a *RequestInformation when successful
132132
func (m *ItemMembersConversationMemberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersConversationMemberItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
133133
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

chats/item_messages_item_hostedcontents_item_value_content_request_builder.go

+5-2
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@ func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) Delete(ct
6060
}
6161
return nil
6262
}
63-
// Get the unique identifier for an entity. Read-only.
63+
// Get retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.
6464
// returns a []byte when successful
6565
// returns a ODataError error when the service returns a 4XX or 5XX status code
66+
// [Find more info here]
67+
//
68+
// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0
6669
func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMessagesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)([]byte, error) {
6770
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
6871
if err != nil {
@@ -111,7 +114,7 @@ func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) ToDeleteR
111114
requestInfo.Headers.TryAdd("Accept", "application/json")
112115
return requestInfo, nil
113116
}
114-
// ToGetRequestInformation the unique identifier for an entity. Read-only.
117+
// ToGetRequestInformation retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.
115118
// returns a *RequestInformation when successful
116119
func (m *ItemMessagesItemHostedcontentsItemValueContentRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemHostedcontentsItemValueContentRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
117120
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

communications/callrecords_call_record_item_request_builder.go

+13-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type CallrecordsCallRecordItemRequestBuilderDeleteRequestConfiguration struct {
1818
// Request options
1919
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
2020
}
21-
// CallrecordsCallRecordItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
21+
// CallrecordsCallRecordItemRequestBuilderGetQueryParameters retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed.
2222
type CallrecordsCallRecordItemRequestBuilderGetQueryParameters struct {
2323
// Expand related entities
2424
Expand []string `uriparametername:"%24expand"`
@@ -70,7 +70,7 @@ func (m *CallrecordsCallRecordItemRequestBuilder) Delete(ctx context.Context, re
7070
}
7171
return nil
7272
}
73-
// Get retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
73+
// Get retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed.
7474
// returns a CallRecordable when successful
7575
// returns a ODataError error when the service returns a 4XX or 5XX status code
7676
// [Find more info here]
@@ -93,6 +93,16 @@ func (m *CallrecordsCallRecordItemRequestBuilder) Get(ctx context.Context, reque
9393
}
9494
return res.(iaf7085b34cf3df74d75420043707a37fee7e9a355a2db4b4b46244736f7f1d19.CallRecordable), nil
9595
}
96+
// Organizer_v2 provides operations to manage the organizer_v2 property of the microsoft.graph.callRecords.callRecord entity.
97+
// returns a *CallrecordsItemOrganizer_v2RequestBuilder when successful
98+
func (m *CallrecordsCallRecordItemRequestBuilder) Organizer_v2()(*CallrecordsItemOrganizer_v2RequestBuilder) {
99+
return NewCallrecordsItemOrganizer_v2RequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
100+
}
101+
// Participants_v2 provides operations to manage the participants_v2 property of the microsoft.graph.callRecords.callRecord entity.
102+
// returns a *CallrecordsItemParticipants_v2RequestBuilder when successful
103+
func (m *CallrecordsCallRecordItemRequestBuilder) Participants_v2()(*CallrecordsItemParticipants_v2RequestBuilder) {
104+
return NewCallrecordsItemParticipants_v2RequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
105+
}
96106
// Patch update the navigation property callRecords in communications
97107
// returns a CallRecordable when successful
98108
// returns a ODataError error when the service returns a 4XX or 5XX status code
@@ -129,7 +139,7 @@ func (m *CallrecordsCallRecordItemRequestBuilder) ToDeleteRequestInformation(ctx
129139
requestInfo.Headers.TryAdd("Accept", "application/json")
130140
return requestInfo, nil
131141
}
132-
// ToGetRequestInformation retrieve the properties and relationships of a callRecord object. There are two ways to get the id of a callRecord: You can use the $expand query parameter to optionally include session and segment details, as shown in the Get full details example. When you expand session details, the maximum page size is 60 sessions.
142+
// ToGetRequestInformation retrieve the properties and relationships of a callRecord object. You can get the id of a callRecord in two ways:* Subscribe to change notifications to the /communications/callRecords endpoint.* Use the callChainId property of a call. The call record is available only after the associated call is completed.
133143
// returns a *RequestInformation when successful
134144
func (m *CallrecordsCallRecordItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *CallrecordsCallRecordItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
135145
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

0 commit comments

Comments
 (0)