Skip to content

Commit b113030

Browse files
andrueastmanMicrosoft Graph DevX Toolingrkodev
authored
Generated models and request builders (#673)
* Update generated files with build 138256 * Update changelog --------- Co-authored-by: Microsoft Graph DevX Tooling <[email protected]> Co-authored-by: rkodev <[email protected]>
1 parent a230d57 commit b113030

File tree

332 files changed

+27716
-543
lines changed

Some content is hidden

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

332 files changed

+27716
-543
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
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.36.0]- 2024-03-07
15+
16+
### Changed
17+
18+
- Weekly generation.
19+
1420
## [1.35.0]- 2024-02-29
1521

1622
### Changed

chats/item_messages_item_replies_request_builder.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ func (m *ItemMessagesItemRepliesRequestBuilder) Get(ctx context.Context, request
104104
}
105105
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageCollectionResponseable), nil
106106
}
107-
// Post create a new reply to a chatMessage in a specified channel.
107+
// Post send a new reply to a chatMessage in a specified channel.
108108
// returns a ChatMessageable when successful
109109
// returns a ODataError error when the service returns a 4XX or 5XX status code
110110
// [Find more info here]
111111
//
112-
// [Find more info here]: https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0
112+
// [Find more info here]: https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0
113113
func (m *ItemMessagesItemRepliesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, error) {
114114
requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration);
115115
if err != nil {
@@ -141,7 +141,7 @@ func (m *ItemMessagesItemRepliesRequestBuilder) ToGetRequestInformation(ctx cont
141141
requestInfo.Headers.TryAdd("Accept", "application/json")
142142
return requestInfo, nil
143143
}
144-
// ToPostRequestInformation create a new reply to a chatMessage in a specified channel.
144+
// ToPostRequestInformation send a new reply to a chatMessage in a specified channel.
145145
// returns a *RequestInformation when successful
146146
func (m *ItemMessagesItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ChatMessageable, requestConfiguration *ItemMessagesItemRepliesRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
147147
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies", m.BaseRequestBuilder.PathParameters)

communications/calls_item_participants_invite_request_builder.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ func NewCallsItemParticipantsInviteRequestBuilder(rawUrl string, requestAdapter
3131
urlParams["request-raw-url"] = rawUrl
3232
return NewCallsItemParticipantsInviteRequestBuilderInternal(urlParams, requestAdapter)
3333
}
34-
// Post invite participants to the active call. For more information about how to handle operations, see commsOperation.
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.
3535
// returns a InviteParticipantsOperationable when successful
3636
// returns a ODataError error when the service returns a 4XX or 5XX status code
3737
// [Find more info here]
3838
//
39-
// [Find more info here]: https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0
39+
// [Find more info here]: https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0
4040
func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable, error) {
4141
requestInfo, err := m.ToPostRequestInformation(ctx, body, requestConfiguration);
4242
if err != nil {
@@ -54,7 +54,7 @@ func (m *CallsItemParticipantsInviteRequestBuilder) Post(ctx context.Context, bo
5454
}
5555
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.InviteParticipantsOperationable), nil
5656
}
57-
// ToPostRequestInformation invite participants to the active call. For more information about how to handle operations, see commsOperation.
57+
// 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.
5858
// returns a *RequestInformation when successful
5959
func (m *CallsItemParticipantsInviteRequestBuilder) ToPostRequestInformation(ctx context.Context, body CallsItemParticipantsInvitePostRequestBodyable, requestConfiguration *CallsItemParticipantsInviteRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
6060
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.POST, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

deviceappmanagement/device_app_management_request_builder.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (m *DeviceAppManagementRequestBuilder) DefaultManagedAppProtections()(*Defa
6262
// returns a ODataError error when the service returns a 4XX or 5XX status code
6363
// [Find more info here]
6464
//
65-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0
65+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0
6666
func (m *DeviceAppManagementRequestBuilder) Get(ctx context.Context, requestConfiguration *DeviceAppManagementRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) {
6767
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
6868
if err != nil {
@@ -130,7 +130,7 @@ func (m *DeviceAppManagementRequestBuilder) MobileApps()(*MobileAppsRequestBuild
130130
// returns a ODataError error when the service returns a 4XX or 5XX status code
131131
// [Find more info here]
132132
//
133-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0
133+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0
134134
func (m *DeviceAppManagementRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, requestConfiguration *DeviceAppManagementRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DeviceAppManagementable, error) {
135135
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
136136
if err != nil {

deviceappmanagement/managed_app_policies_managed_app_policy_item_request_builder.go

Lines changed: 4 additions & 4 deletions
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,12 +70,12 @@ 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
// returns a ManagedAppPolicyable when successful
7575
// returns a ODataError error when the service returns a 4XX or 5XX status code
7676
// [Find more info here]
7777
//
78-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-get?view=graph-rest-1.0
78+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0
7979
func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppPolicyable, error) {
8080
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
8181
if err != nil {
@@ -129,7 +129,7 @@ func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToDeleteRequestIn
129129
requestInfo.Headers.TryAdd("Accept", "application/json")
130130
return requestInfo, nil
131131
}
132-
// ToGetRequestInformation read properties and relationships of the managedAppProtection object.
132+
// ToGetRequestInformation read properties and relationships of the targetedManagedAppProtection object.
133133
// returns a *RequestInformation when successful
134134
func (m *ManagedAppPoliciesManagedAppPolicyItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppPoliciesManagedAppPolicyItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
135135
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

deviceappmanagement/managed_app_registrations_request_builder.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
type ManagedAppRegistrationsRequestBuilder struct {
1212
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1313
}
14-
// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the iosManagedAppRegistration objects.
14+
// ManagedAppRegistrationsRequestBuilderGetQueryParameters list properties and relationships of the managedAppRegistration objects.
1515
type ManagedAppRegistrationsRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
@@ -76,12 +76,12 @@ func NewManagedAppRegistrationsRequestBuilder(rawUrl string, requestAdapter i2ae
7676
func (m *ManagedAppRegistrationsRequestBuilder) Count()(*ManagedAppRegistrationsCountRequestBuilder) {
7777
return NewManagedAppRegistrationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
7878
}
79-
// Get list properties and relationships of the iosManagedAppRegistration objects.
79+
// Get list properties and relationships of the managedAppRegistration objects.
8080
// returns a ManagedAppRegistrationCollectionResponseable when successful
8181
// returns a ODataError error when the service returns a 4XX or 5XX status code
8282
// [Find more info here]
8383
//
84-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-iosmanagedappregistration-list?view=graph-rest-1.0
84+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappregistration-list?view=graph-rest-1.0
8585
func (m *ManagedAppRegistrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationCollectionResponseable, error) {
8686
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
8787
if err != nil {
@@ -127,7 +127,7 @@ func (m *ManagedAppRegistrationsRequestBuilder) Post(ctx context.Context, body i
127127
}
128128
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppRegistrationable), nil
129129
}
130-
// ToGetRequestInformation list properties and relationships of the iosManagedAppRegistration objects.
130+
// ToGetRequestInformation list properties and relationships of the managedAppRegistration objects.
131131
// returns a *RequestInformation when successful
132132
func (m *ManagedAppRegistrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppRegistrationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
133133
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

deviceappmanagement/managed_app_statuses_managed_app_status_item_request_builder.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ManagedAppStatusesManagedAppStatusItemRequestBuilderDeleteRequestConfigurat
1818
// Request options
1919
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
2020
}
21-
// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatusRaw object.
21+
// ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters read properties and relationships of the managedAppStatus object.
2222
type ManagedAppStatusesManagedAppStatusItemRequestBuilderGetQueryParameters struct {
2323
// Expand related entities
2424
Expand []string `uriparametername:"%24expand"`
@@ -70,12 +70,12 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Delete(ctx contex
7070
}
7171
return nil
7272
}
73-
// Get read properties and relationships of the managedAppStatusRaw object.
73+
// Get read properties and relationships of the managedAppStatus object.
7474
// returns a ManagedAppStatusable when successful
7575
// returns a ODataError error when the service returns a 4XX or 5XX status code
7676
// [Find more info here]
7777
//
78-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatusraw-get?view=graph-rest-1.0
78+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-mam-managedappstatus-get?view=graph-rest-1.0
7979
func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedAppStatusable, error) {
8080
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
8181
if err != nil {
@@ -124,7 +124,7 @@ func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToDeleteRequestIn
124124
requestInfo.Headers.TryAdd("Accept", "application/json")
125125
return requestInfo, nil
126126
}
127-
// ToGetRequestInformation read properties and relationships of the managedAppStatusRaw object.
127+
// ToGetRequestInformation read properties and relationships of the managedAppStatus object.
128128
// returns a *RequestInformation when successful
129129
func (m *ManagedAppStatusesManagedAppStatusItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ManagedAppStatusesManagedAppStatusItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
130130
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)

deviceappmanagement/managed_e_books_item_assignments_managed_e_book_assignment_item_request_builder.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) G
9696
}
9797
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable), nil
9898
}
99-
// Patch update the properties of a iosVppEBookAssignment object.
99+
// Patch update the properties of a managedEBookAssignment object.
100100
// returns a ManagedEBookAssignmentable when successful
101101
// returns a ODataError error when the service returns a 4XX or 5XX status code
102102
// [Find more info here]
103103
//
104-
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-iosvppebookassignment-update?view=graph-rest-1.0
104+
// [Find more info here]: https://learn.microsoft.com/graph/api/intune-books-managedebookassignment-update?view=graph-rest-1.0
105105
func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, error) {
106106
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
107107
if err != nil {
@@ -144,7 +144,7 @@ func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) T
144144
requestInfo.Headers.TryAdd("Accept", "application/json")
145145
return requestInfo, nil
146146
}
147-
// ToPatchRequestInformation update the properties of a iosVppEBookAssignment object.
147+
// ToPatchRequestInformation update the properties of a managedEBookAssignment object.
148148
// returns a *RequestInformation when successful
149149
func (m *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ManagedEBookAssignmentable, requestConfiguration *ManagedEBooksItemAssignmentsManagedEBookAssignmentItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
150150
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PATCH, "{+baseurl}/deviceAppManagement/managedEBooks/{managedEBook%2Did}/assignments/{managedEBookAssignment%2Did}", m.BaseRequestBuilder.PathParameters)

0 commit comments

Comments
 (0)