Skip to content

Commit 3280bd4

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

File tree

846 files changed

+22242
-2873
lines changed

Some content is hidden

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

846 files changed

+22242
-2873
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.12.0]- 2023-07-19
15+
16+
### Changed
17+
18+
- Weekly generation.
19+
1420
## [1.11.0]- 2023-07-12
1521

1622
### Changed

agreements/item_file_localizations_request_builder.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
type ItemFileLocalizationsRequestBuilder struct {
1212
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1313
}
14-
// ItemFileLocalizationsRequestBuilderGetQueryParameters the localized version of the terms of use agreement files attached to the agreement.
14+
// ItemFileLocalizationsRequestBuilderGetQueryParameters get a list of the default and localized agreement files.
1515
type ItemFileLocalizationsRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
@@ -74,7 +74,10 @@ func NewItemFileLocalizationsRequestBuilder(rawUrl string, requestAdapter i2ae41
7474
func (m *ItemFileLocalizationsRequestBuilder) Count()(*ItemFileLocalizationsCountRequestBuilder) {
7575
return NewItemFileLocalizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
7676
}
77-
// Get the localized version of the terms of use agreement files attached to the agreement.
77+
// Get get a list of the default and localized agreement files.
78+
// [Find more info here]
79+
//
80+
// [Find more info here]: https://docs.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0
7881
func (m *ItemFileLocalizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFileLocalizationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AgreementFileLocalizationCollectionResponseable, error) {
7982
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
8083
if err != nil {
@@ -112,7 +115,7 @@ func (m *ItemFileLocalizationsRequestBuilder) Post(ctx context.Context, body iad
112115
}
113116
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AgreementFileLocalizationable), nil
114117
}
115-
// ToGetRequestInformation the localized version of the terms of use agreement files attached to the agreement.
118+
// ToGetRequestInformation get a list of the default and localized agreement files.
116119
func (m *ItemFileLocalizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFileLocalizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
117120
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
118121
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate

agreements/item_file_request_builder.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type ItemFileRequestBuilderDeleteRequestConfiguration struct {
1818
// Request options
1919
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
2020
}
21-
// ItemFileRequestBuilderGetQueryParameters retrieve the details of the default file for an agreement, including the language and version information. The file information is specified through the agreementFile object.
21+
// ItemFileRequestBuilderGetQueryParameters retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the **Accept-Language** header.
2222
type ItemFileRequestBuilderGetQueryParameters struct {
2323
// Expand related entities
2424
Expand []string `uriparametername:"%24expand"`
@@ -70,7 +70,7 @@ func (m *ItemFileRequestBuilder) Delete(ctx context.Context, requestConfiguratio
7070
}
7171
return nil
7272
}
73-
// Get retrieve the details of the default file for an agreement, including the language and version information. The file information is specified through the agreementFile object.
73+
// Get retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the **Accept-Language** header.
7474
// [Find more info here]
7575
//
7676
// [Find more info here]: https://docs.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0
@@ -127,7 +127,7 @@ func (m *ItemFileRequestBuilder) ToDeleteRequestInformation(ctx context.Context,
127127
}
128128
return requestInfo, nil
129129
}
130-
// ToGetRequestInformation retrieve the details of the default file for an agreement, including the language and version information. The file information is specified through the agreementFile object.
130+
// ToGetRequestInformation retrieve the details of an agreement file, including the language and version information. The default file can have multiple versions, each with its own language, that can be retrieved by specifying the **Accept-Language** header.
131131
func (m *ItemFileRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFileRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
132132
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
133133
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate

applications/item_token_lifetime_policies_ref_request_builder.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
type ItemTokenLifetimePoliciesRefRequestBuilder struct {
1212
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1313
}
14-
// ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application.
14+
// ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
1515
type ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
@@ -55,7 +55,7 @@ func NewItemTokenLifetimePoliciesRefRequestBuilder(rawUrl string, requestAdapter
5555
urlParams["request-raw-url"] = rawUrl
5656
return NewItemTokenLifetimePoliciesRefRequestBuilderInternal(urlParams, requestAdapter)
5757
}
58-
// Get list the tokenLifetimePolicy objects that are assigned to an application.
58+
// Get list the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
5959
// [Find more info here]
6060
//
6161
// [Find more info here]: https://docs.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0
@@ -77,7 +77,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Get(ctx context.Context, re
7777
}
7878
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.StringCollectionResponseable), nil
7979
}
80-
// Post assign a tokenLifetimePolicy to an application.
80+
// Post assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application.
8181
// [Find more info here]
8282
//
8383
// [Find more info here]: https://docs.microsoft.com/graph/api/application-post-tokenlifetimepolicies?view=graph-rest-1.0
@@ -96,7 +96,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Post(ctx context.Context, b
9696
}
9797
return nil
9898
}
99-
// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application.
99+
// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
100100
func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
101101
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
102102
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
@@ -112,7 +112,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx
112112
}
113113
return requestInfo, nil
114114
}
115-
// ToPostRequestInformation assign a tokenLifetimePolicy to an application.
115+
// ToPostRequestInformation assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application.
116116
func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
117117
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
118118
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate

applications/item_token_lifetime_policies_request_builder.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
type ItemTokenLifetimePoliciesRequestBuilder struct {
1212
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
1313
}
14-
// ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application.
14+
// ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
1515
type ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters struct {
1616
// Include count of items
1717
Count *bool `uriparametername:"%24count"`
@@ -67,7 +67,7 @@ func NewItemTokenLifetimePoliciesRequestBuilder(rawUrl string, requestAdapter i2
6767
func (m *ItemTokenLifetimePoliciesRequestBuilder) Count()(*ItemTokenLifetimePoliciesCountRequestBuilder) {
6868
return NewItemTokenLifetimePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
6969
}
70-
// Get list the tokenLifetimePolicy objects that are assigned to an application.
70+
// Get list the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
7171
// [Find more info here]
7272
//
7373
// [Find more info here]: https://docs.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0
@@ -93,7 +93,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, reque
9393
func (m *ItemTokenLifetimePoliciesRequestBuilder) Ref()(*ItemTokenLifetimePoliciesRefRequestBuilder) {
9494
return NewItemTokenLifetimePoliciesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
9595
}
96-
// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application.
96+
// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to an application.
9797
func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
9898
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
9999
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate

0 commit comments

Comments
 (0)