Skip to content

Commit ed89d15

Browse files
authored
Merge pull request #605 from microsoftgraph/v1.0/pipelinebuild/127844
Generated models and request builders
2 parents acc7e2e + 46fc293 commit ed89d15

File tree

234 files changed

+4291
-978
lines changed

Some content is hidden

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

234 files changed

+4291
-978
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [1.24.0]- 2023-10-31
15+
16+
### Changed
17+
18+
- Weekly generation.
19+
1420
## [1.23.0]- 2023-10-25
1521

1622
### Changed

appcatalogs/teams_apps_teams_app_item_request_builder.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func NewTeamsAppsTeamsAppItemRequestBuilder(rawUrl string, requestAdapter i2ae41
5858
urlParams["request-raw-url"] = rawUrl
5959
return NewTeamsAppsTeamsAppItemRequestBuilderInternal(urlParams, requestAdapter)
6060
}
61-
// Delete this API is available in the following national cloud deployments.
61+
// Delete delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments.
6262
// [Find more info here]
6363
//
6464
// [Find more info here]: https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0
@@ -115,7 +115,7 @@ func (m *TeamsAppsTeamsAppItemRequestBuilder) Patch(ctx context.Context, body ia
115115
}
116116
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.TeamsAppable), nil
117117
}
118-
// ToDeleteRequestInformation this API is available in the following national cloud deployments.
118+
// ToDeleteRequestInformation delete an app from an organization's app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments.
119119
func (m *TeamsAppsTeamsAppItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *TeamsAppsTeamsAppItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
120120
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
121121
if requestConfiguration != nil {

chats/item_messages_item_hosted_contents_request_builder.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
type ItemMessagesItemHostedContentsRequestBuilder struct {
1212
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1313
}
14-
// ItemMessagesItemHostedContentsRequestBuilderGetQueryParameters 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 This API is available in the following national cloud deployments.
14+
// ItemMessagesItemHostedContentsRequestBuilderGetQueryParameters 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 This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
1515
type ItemMessagesItemHostedContentsRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
@@ -74,7 +74,7 @@ func NewItemMessagesItemHostedContentsRequestBuilder(rawUrl string, requestAdapt
7474
func (m *ItemMessagesItemHostedContentsRequestBuilder) Count()(*ItemMessagesItemHostedContentsCountRequestBuilder) {
7575
return NewItemMessagesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
7676
}
77-
// 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 This API is available in the following national cloud deployments.
77+
// 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 This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
7878
// [Find more info here]
7979
//
8080
// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0
@@ -115,7 +115,7 @@ func (m *ItemMessagesItemHostedContentsRequestBuilder) Post(ctx context.Context,
115115
}
116116
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil
117117
}
118-
// 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 This API is available in the following national cloud deployments.
118+
// 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 This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
119119
func (m *ItemMessagesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
120120
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
121121
if requestConfiguration != nil {

chats/item_messages_item_replies_item_hosted_contents_request_builder.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
type ItemMessagesItemRepliesItemHostedContentsRequestBuilder struct {
1212
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1313
}
14-
// ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters 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 This API is available in the following national cloud deployments.
14+
// ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters 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 This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
1515
type ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
@@ -74,7 +74,7 @@ func NewItemMessagesItemRepliesItemHostedContentsRequestBuilder(rawUrl string, r
7474
func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) Count()(*ItemMessagesItemRepliesItemHostedContentsCountRequestBuilder) {
7575
return NewItemMessagesItemRepliesItemHostedContentsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
7676
}
77-
// 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 This API is available in the following national cloud deployments.
77+
// 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 This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
7878
// [Find more info here]
7979
//
8080
// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0
@@ -115,7 +115,7 @@ func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) Post(ctx conte
115115
}
116116
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageHostedContentable), nil
117117
}
118-
// 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 This API is available in the following national cloud deployments.
118+
// 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 This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
119119
func (m *ItemMessagesItemRepliesItemHostedContentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMessagesItemRepliesItemHostedContentsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
120120
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
121121
if requestConfiguration != nil {

chats/item_messages_item_replies_request_builder.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ func (m *ItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, request
100100
}
101101
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil
102102
}
103-
// Post send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
103+
// Post create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
104104
// [Find more info here]
105105
//
106-
// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0
106+
// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0
107107
func (m *ItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) {
108108
requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration);
109109
if err != nil {
@@ -138,7 +138,7 @@ func (m *ItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx cont
138138
requestInfo.Headers.TryAdd("Accept", "application/json;q=1")
139139
return requestInfo, nil
140140
}
141-
// ToPostRequestInformation send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
141+
// ToPostRequestInformation create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
142142
func (m *ItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
143143
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
144144
if requestConfiguration != nil {

communications/calls_item_participants_invite_request_builder.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter
3131
urlParams["request-raw-url"] = rawUrl
3232
return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter)
3333
}
34-
// Post delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments.
34+
// Post invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments.
3535
// [Find more info here]
3636
//
37-
// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0
37+
// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0
3838
func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable, error) {
3939
requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration);
4040
if err != nil {
@@ -53,7 +53,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo
5353
}
5454
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable), nil
5555
}
56-
// ToPostRequestInformation delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. This API is available in the following national cloud deployments.
56+
// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments.
5757
func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
5858
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
5959
if requestConfiguration != nil {

deviceappmanagement/device_app_management_request_builder.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (m *DeviceAppManagementRequestBuilder) DefaultManagedAppProtections()(*Defa
5858
// Get read properties and relationships of the deviceAppManagement object.
5959
// [Find more info here]
6060
//
61-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0
61+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0
6262
func (m *DeviceAppManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceAppManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) {
6363
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
6464
if err != nil {
@@ -116,7 +116,7 @@ func (m *DeviceAppManagementRequestBuilder) MobileApps()(*MobileAppsRequestBuild
116116
// Patch update the properties of a deviceAppManagement object.
117117
// [Find more info here]
118118
//
119-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0
119+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0
120120
func (m *DeviceAppManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, requestConfiguration *DeviceAppManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) {
121121
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
122122
if err != nil {

deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderDeleteRequestConfigurat
1818
// Request options
1919
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
2020
}
21-
// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppProtection object.
21+
// ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters read properties and relationships of the targetedManagedAppProtection object.
2222
type ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetQueryParameters struct {
2323
// Expand related entities
2424
Expand []string `uriparametername:"%24expand"`
@@ -70,10 +70,10 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Delete(ctx contex
7070
}
7171
return nil
7272
}
73-
// Get read properties and relationships of the managedAppProtection object.
73+
// Get read properties and relationships of the targetedManagedAppProtection object.
7474
// [Find more info here]
7575
//
76-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0
76+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0
7777
func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) {
7878
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
7979
if err != nil {
@@ -128,7 +128,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn
128128
requestInfo.Headers.TryAdd("Accept", "application/json, application/json")
129129
return requestInfo, nil
130130
}
131-
// ToGetRequestInformation read properties and relationships of the managedAppProtection object.
131+
// ToGetRequestInformation read properties and relationships of the targetedManagedAppProtection object.
132132
func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
133133
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
134134
if requestConfiguration != nil {

0 commit comments

Comments
 (0)