Skip to content

Commit

Permalink
Generated models and request builders (#536)
Browse files Browse the repository at this point in the history
* Update generated files with build 120562

* Update changelog

---------

Co-authored-by: Microsoft Graph DevX Tooling <GraphTooling@service.microsoft.com>
Co-authored-by: rkodev <43806892+rkodev@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 19, 2023
1 parent fe23388 commit 3280bd4
Show file tree
Hide file tree
Showing 846 changed files with 22,242 additions and 2,873 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [1.12.0]- 2023-07-19

### Changed

- Weekly generation.

## [1.11.0]- 2023-07-12

### Changed
Expand Down
9 changes: 6 additions & 3 deletions agreements/item_file_localizations_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type ItemFileLocalizationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
// ItemFileLocalizationsRequestBuilderGetQueryParameters the localized version of the terms of use agreement files attached to the agreement.
// ItemFileLocalizationsRequestBuilderGetQueryParameters get a list of the default and localized agreement files.
type ItemFileLocalizationsRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool `uriparametername:"%24count"`
Expand Down Expand Up @@ -74,7 +74,10 @@ func NewItemFileLocalizationsRequestBuilder(rawUrl string, requestAdapter i2ae41
func (m *ItemFileLocalizationsRequestBuilder) Count()(*ItemFileLocalizationsCountRequestBuilder) {
return NewItemFileLocalizationsCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
}
// Get the localized version of the terms of use agreement files attached to the agreement.
// Get get a list of the default and localized agreement files.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/agreementfile-list-localizations?view=graph-rest-1.0
func (m *ItemFileLocalizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFileLocalizationsRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AgreementFileLocalizationCollectionResponseable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -112,7 +115,7 @@ func (m *ItemFileLocalizationsRequestBuilder) Post(ctx context.Context, body iad
}
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.AgreementFileLocalizationable), nil
}
// ToGetRequestInformation the localized version of the terms of use agreement files attached to the agreement.
// ToGetRequestInformation get a list of the default and localized agreement files.
func (m *ItemFileLocalizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFileLocalizationsRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand Down
6 changes: 3 additions & 3 deletions agreements/item_file_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type ItemFileRequestBuilderDeleteRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// 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.
// 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.
type ItemFileRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -70,7 +70,7 @@ func (m *ItemFileRequestBuilder) Delete(ctx context.Context, requestConfiguratio
}
return nil
}
// 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.
// 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.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/agreementfile-get?view=graph-rest-1.0
Expand Down Expand Up @@ -127,7 +127,7 @@ func (m *ItemFileRequestBuilder) ToDeleteRequestInformation(ctx context.Context,
}
return requestInfo, nil
}
// 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.
// 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.
func (m *ItemFileRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFileRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand Down
10 changes: 5 additions & 5 deletions applications/item_token_lifetime_policies_ref_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type ItemTokenLifetimePoliciesRefRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
// ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application.
// 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.
type ItemTokenLifetimePoliciesRefRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool `uriparametername:"%24count"`
Expand Down Expand Up @@ -55,7 +55,7 @@ func NewItemTokenLifetimePoliciesRefRequestBuilder(rawUrl string, requestAdapter
urlParams["request-raw-url"] = rawUrl
return NewItemTokenLifetimePoliciesRefRequestBuilderInternal(urlParams, requestAdapter)
}
// Get list the tokenLifetimePolicy objects that are assigned to an application.
// 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.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0
Expand All @@ -77,7 +77,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Get(ctx context.Context, re
}
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.StringCollectionResponseable), nil
}
// Post assign a tokenLifetimePolicy to an application.
// Post assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/application-post-tokenlifetimepolicies?view=graph-rest-1.0
Expand All @@ -96,7 +96,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) Post(ctx context.Context, b
}
return nil
}
// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application.
// 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.
func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand All @@ -112,7 +112,7 @@ func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToGetRequestInformation(ctx
}
return requestInfo, nil
}
// ToPostRequestInformation assign a tokenLifetimePolicy to an application.
// ToPostRequestInformation assign a tokenLifetimePolicy to an application. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per application.
func (m *ItemTokenLifetimePoliciesRefRequestBuilder) ToPostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.ReferenceCreateable, requestConfiguration *ItemTokenLifetimePoliciesRefRequestBuilderPostRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand Down
6 changes: 3 additions & 3 deletions applications/item_token_lifetime_policies_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
type ItemTokenLifetimePoliciesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
// ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters list the tokenLifetimePolicy objects that are assigned to an application.
// 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.
type ItemTokenLifetimePoliciesRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool `uriparametername:"%24count"`
Expand Down Expand Up @@ -67,7 +67,7 @@ func NewItemTokenLifetimePoliciesRequestBuilder(rawUrl string, requestAdapter i2
func (m *ItemTokenLifetimePoliciesRequestBuilder) Count()(*ItemTokenLifetimePoliciesCountRequestBuilder) {
return NewItemTokenLifetimePoliciesCountRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
}
// Get list the tokenLifetimePolicy objects that are assigned to an application.
// 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.
// [Find more info here]
//
// [Find more info here]: https://docs.microsoft.com/graph/api/application-list-tokenlifetimepolicies?view=graph-rest-1.0
Expand All @@ -93,7 +93,7 @@ func (m *ItemTokenLifetimePoliciesRequestBuilder) Get(ctx context.Context, reque
func (m *ItemTokenLifetimePoliciesRequestBuilder) Ref()(*ItemTokenLifetimePoliciesRefRequestBuilder) {
return NewItemTokenLifetimePoliciesRefRequestBuilderInternal(m.BaseRequestBuilder.PathParameters, m.BaseRequestBuilder.RequestAdapter)
}
// ToGetRequestInformation list the tokenLifetimePolicy objects that are assigned to an application.
// 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.
func (m *ItemTokenLifetimePoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTokenLifetimePoliciesRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.BaseRequestBuilder.UrlTemplate
Expand Down
Loading

0 comments on commit 3280bd4

Please sign in to comment.