Skip to content

Commit

Permalink
Merge pull request #236 from microsoftgraph/v1.0/pipelinebuild/81963
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Kiota
  • Loading branch information
baywet authored Aug 10, 2022
2 parents 2e5ec31 + 2098a5a commit 7dce0de
Show file tree
Hide file tree
Showing 238 changed files with 3,984 additions and 300 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

## [0.33.0] - 2022-08-10

### Changed

- Weekly generation

## [0.32.0] - 2022-08-04

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type CreatedOnBehalfOfRequestBuilder struct {
// Url template to use to build the URL for the current request builder
urlTemplate string
}
// CreatedOnBehalfOfRequestBuilderGetQueryParameters get createdOnBehalfOf from applications
// CreatedOnBehalfOfRequestBuilderGetQueryParameters supports $filter (eq when counting empty collections). Read-only.
type CreatedOnBehalfOfRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -50,11 +50,11 @@ func NewCreatedOnBehalfOfRequestBuilder(rawUrl string, requestAdapter i2ae4187f7
urlParams["request-raw-url"] = rawUrl
return NewCreatedOnBehalfOfRequestBuilderInternal(urlParams, requestAdapter)
}
// CreateGetRequestInformation get createdOnBehalfOf from applications
// CreateGetRequestInformation supports $filter (eq when counting empty collections). Read-only.
func (m *CreatedOnBehalfOfRequestBuilder) CreateGetRequestInformation()(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
return m.CreateGetRequestInformationWithRequestConfiguration(nil);
}
// CreateGetRequestInformationWithRequestConfiguration get createdOnBehalfOf from applications
// CreateGetRequestInformationWithRequestConfiguration supports $filter (eq when counting empty collections). Read-only.
func (m *CreatedOnBehalfOfRequestBuilder) CreateGetRequestInformationWithRequestConfiguration(requestConfiguration *CreatedOnBehalfOfRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand All @@ -70,11 +70,11 @@ func (m *CreatedOnBehalfOfRequestBuilder) CreateGetRequestInformationWithRequest
}
return requestInfo, nil
}
// Get get createdOnBehalfOf from applications
// Get supports $filter (eq when counting empty collections). Read-only.
func (m *CreatedOnBehalfOfRequestBuilder) Get()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) {
return m.GetWithRequestConfigurationAndResponseHandler(nil, nil);
}
// GetWithRequestConfigurationAndResponseHandler get createdOnBehalfOf from applications
// GetWithRequestConfigurationAndResponseHandler supports $filter (eq when counting empty collections). Read-only.
func (m *CreatedOnBehalfOfRequestBuilder) GetWithRequestConfigurationAndResponseHandler(requestConfiguration *CreatedOnBehalfOfRequestBuilderGetRequestConfiguration, responseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectable, error) {
requestInfo, err := m.CreateGetRequestInformationWithRequestConfiguration(requestConfiguration);
if err != nil {
Expand Down
10 changes: 5 additions & 5 deletions applications/item/owners/owners_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type OwnersRequestBuilder struct {
// Url template to use to build the URL for the current request builder
urlTemplate string
}
// OwnersRequestBuilderGetQueryParameters directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// OwnersRequestBuilderGetQueryParameters directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
type OwnersRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool `uriparametername:"%24count"`
Expand Down Expand Up @@ -76,11 +76,11 @@ func NewOwnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371c
func (m *OwnersRequestBuilder) Count()(*i060d05043ef21a20bca5bba0cf1bf9d4437b1d91d3a0d0ae6c97389d4d00694e.CountRequestBuilder) {
return i060d05043ef21a20bca5bba0cf1bf9d4437b1d91d3a0d0ae6c97389d4d00694e.NewCountRequestBuilderInternal(m.pathParameters, m.requestAdapter);
}
// CreateGetRequestInformation directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// CreateGetRequestInformation directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *OwnersRequestBuilder) CreateGetRequestInformation()(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
return m.CreateGetRequestInformationWithRequestConfiguration(nil);
}
// CreateGetRequestInformationWithRequestConfiguration directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// CreateGetRequestInformationWithRequestConfiguration directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *OwnersRequestBuilder) CreateGetRequestInformationWithRequestConfiguration(requestConfiguration *OwnersRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand All @@ -100,11 +100,11 @@ func (m *OwnersRequestBuilder) CreateGetRequestInformationWithRequestConfigurati
func (m *OwnersRequestBuilder) Endpoint()(*i4481ae29272b90e51b803d7ad16e7fa37075d7b4688b9c3d4f259f1c3b71d79b.EndpointRequestBuilder) {
return i4481ae29272b90e51b803d7ad16e7fa37075d7b4688b9c3d4f259f1c3b71d79b.NewEndpointRequestBuilderInternal(m.pathParameters, m.requestAdapter);
}
// Get directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// Get directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *OwnersRequestBuilder) Get()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) {
return m.GetWithRequestConfigurationAndResponseHandler(nil, nil);
}
// GetWithRequestConfigurationAndResponseHandler directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// GetWithRequestConfigurationAndResponseHandler directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *OwnersRequestBuilder) GetWithRequestConfigurationAndResponseHandler(requestConfiguration *OwnersRequestBuilderGetRequestConfiguration, responseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryObjectCollectionResponseable, error) {
requestInfo, err := m.CreateGetRequestInformationWithRequestConfiguration(requestConfiguration);
if err != nil {
Expand Down
10 changes: 5 additions & 5 deletions applications/item/owners/ref/ref_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type RefRequestBuilder struct {
// Url template to use to build the URL for the current request builder
urlTemplate string
}
// RefRequestBuilderGetQueryParameters directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// RefRequestBuilderGetQueryParameters directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
type RefRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool `uriparametername:"%24count"`
Expand Down Expand Up @@ -65,11 +65,11 @@ func NewRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c
urlParams["request-raw-url"] = rawUrl
return NewRefRequestBuilderInternal(urlParams, requestAdapter)
}
// CreateGetRequestInformation directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// CreateGetRequestInformation directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *RefRequestBuilder) CreateGetRequestInformation()(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
return m.CreateGetRequestInformationWithRequestConfiguration(nil);
}
// CreateGetRequestInformationWithRequestConfiguration directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// CreateGetRequestInformationWithRequestConfiguration directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *RefRequestBuilder) CreateGetRequestInformationWithRequestConfiguration(requestConfiguration *RefRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand Down Expand Up @@ -102,11 +102,11 @@ func (m *RefRequestBuilder) CreatePostRequestInformationWithRequestConfiguration
}
return requestInfo, nil
}
// Get directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// Get directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *RefRequestBuilder) Get()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.StringCollectionResponseable, error) {
return m.GetWithRequestConfigurationAndResponseHandler(nil, nil);
}
// GetWithRequestConfigurationAndResponseHandler directory objects that are owners of the application. Read-only. Nullable. Supports $expand.
// GetWithRequestConfigurationAndResponseHandler directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (eq when counting empty collections).
func (m *RefRequestBuilder) GetWithRequestConfigurationAndResponseHandler(requestConfiguration *RefRequestBuilderGetRequestConfiguration, responseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.StringCollectionResponseable, error) {
requestInfo, err := m.CreateGetRequestInformationWithRequestConfiguration(requestConfiguration);
if err != nil {
Expand Down
10 changes: 5 additions & 5 deletions chats/item/chat_item_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ChatItemRequestBuilderDeleteRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// ChatItemRequestBuilderGetQueryParameters get entity from chats by key
// ChatItemRequestBuilderGetQueryParameters retrieve a single chat (without its messages).
type ChatItemRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -89,11 +89,11 @@ func (m *ChatItemRequestBuilder) CreateDeleteRequestInformationWithRequestConfig
}
return requestInfo, nil
}
// CreateGetRequestInformation get entity from chats by key
// CreateGetRequestInformation retrieve a single chat (without its messages).
func (m *ChatItemRequestBuilder) CreateGetRequestInformation()(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
return m.CreateGetRequestInformationWithRequestConfiguration(nil);
}
// CreateGetRequestInformationWithRequestConfiguration get entity from chats by key
// CreateGetRequestInformationWithRequestConfiguration retrieve a single chat (without its messages).
func (m *ChatItemRequestBuilder) CreateGetRequestInformationWithRequestConfiguration(requestConfiguration *ChatItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand Down Expand Up @@ -146,11 +146,11 @@ func (m *ChatItemRequestBuilder) DeleteWithRequestConfigurationAndResponseHandle
}
return nil
}
// Get get entity from chats by key
// Get retrieve a single chat (without its messages).
func (m *ChatItemRequestBuilder) Get()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Chatable, error) {
return m.GetWithRequestConfigurationAndResponseHandler(nil, nil);
}
// GetWithRequestConfigurationAndResponseHandler get entity from chats by key
// GetWithRequestConfigurationAndResponseHandler retrieve a single chat (without its messages).
func (m *ChatItemRequestBuilder) GetWithRequestConfigurationAndResponseHandler(requestConfiguration *ChatItemRequestBuilderGetRequestConfiguration, responseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Chatable, error) {
requestInfo, err := m.CreateGetRequestInformationWithRequestConfiguration(requestConfiguration);
if err != nil {
Expand Down
10 changes: 5 additions & 5 deletions domains/item/domain_item_request_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type DomainItemRequestBuilderDeleteRequestConfiguration struct {
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// DomainItemRequestBuilderGetQueryParameters get entity from domains by key
// DomainItemRequestBuilderGetQueryParameters retrieve the properties and relationships of domain object.
type DomainItemRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -90,11 +90,11 @@ func (m *DomainItemRequestBuilder) CreateDeleteRequestInformationWithRequestConf
}
return requestInfo, nil
}
// CreateGetRequestInformation get entity from domains by key
// CreateGetRequestInformation retrieve the properties and relationships of domain object.
func (m *DomainItemRequestBuilder) CreateGetRequestInformation()(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
return m.CreateGetRequestInformationWithRequestConfiguration(nil);
}
// CreateGetRequestInformationWithRequestConfiguration get entity from domains by key
// CreateGetRequestInformationWithRequestConfiguration retrieve the properties and relationships of domain object.
func (m *DomainItemRequestBuilder) CreateGetRequestInformationWithRequestConfiguration(requestConfiguration *DomainItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand Down Expand Up @@ -181,11 +181,11 @@ func (m *DomainItemRequestBuilder) FederationConfigurationById(id string)(*ibe4d
func (m *DomainItemRequestBuilder) ForceDelete()(*i1881cafcb69c2a03b070eab982c3f40a50f879626e4f5a433adf3d53764e612f.ForceDeleteRequestBuilder) {
return i1881cafcb69c2a03b070eab982c3f40a50f879626e4f5a433adf3d53764e612f.NewForceDeleteRequestBuilderInternal(m.pathParameters, m.requestAdapter);
}
// Get get entity from domains by key
// Get retrieve the properties and relationships of domain object.
func (m *DomainItemRequestBuilder) Get()(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Domainable, error) {
return m.GetWithRequestConfigurationAndResponseHandler(nil, nil);
}
// GetWithRequestConfigurationAndResponseHandler get entity from domains by key
// GetWithRequestConfigurationAndResponseHandler retrieve the properties and relationships of domain object.
func (m *DomainItemRequestBuilder) GetWithRequestConfigurationAndResponseHandler(requestConfiguration *DomainItemRequestBuilderGetRequestConfiguration, responseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Domainable, error) {
requestInfo, err := m.CreateGetRequestInformationWithRequestConfiguration(requestConfiguration);
if err != nil {
Expand Down
3 changes: 2 additions & 1 deletion graph_request_adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

var clientOptions = core.GraphClientOptions{
GraphServiceVersion: "", //v1 doesn't include the service version in the telemetry header
GraphServiceLibraryVersion: "0.32.0",
GraphServiceLibraryVersion: "0.33.0",
}

// GetDefaultClientOptions returns the default client options used by the GraphRequestAdapterBase and the middleware.
Expand Down Expand Up @@ -80,3 +80,4 @@ func NewGraphRequestAdapterWithParseNodeFactoryAndSerializationWriterFactoryAndH




Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ func (m *IdentityProviderItemRequestBuilder) CreateGetRequestInformationWithRequ
}
return requestInfo, nil
}
// CreatePatchRequestInformation update entity in identityProviders
// CreatePatchRequestInformation update the properties of an identityProvider object.
func (m *IdentityProviderItemRequestBuilder) CreatePatchRequestInformation(body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderable)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
return m.CreatePatchRequestInformationWithRequestConfiguration(body, nil);
}
// CreatePatchRequestInformationWithRequestConfiguration update entity in identityProviders
// CreatePatchRequestInformationWithRequestConfiguration update the properties of an identityProvider object.
func (m *IdentityProviderItemRequestBuilder) CreatePatchRequestInformationWithRequestConfiguration(body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderable, requestConfiguration *IdentityProviderItemRequestBuilderPatchRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformation()
requestInfo.UrlTemplate = m.urlTemplate
Expand Down Expand Up @@ -157,11 +157,11 @@ func (m *IdentityProviderItemRequestBuilder) GetWithRequestConfigurationAndRespo
}
return res.(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderable), nil
}
// Patch update entity in identityProviders
// Patch update the properties of an identityProvider object.
func (m *IdentityProviderItemRequestBuilder) Patch(body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderable)(error) {
return m.PatchWithRequestConfigurationAndResponseHandler(body, nil, nil);
}
// PatchWithRequestConfigurationAndResponseHandler update entity in identityProviders
// PatchWithRequestConfigurationAndResponseHandler update the properties of an identityProvider object.
func (m *IdentityProviderItemRequestBuilder) PatchWithRequestConfigurationAndResponseHandler(body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderable, requestConfiguration *IdentityProviderItemRequestBuilderPatchRequestConfiguration, responseHandler i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ResponseHandler)(error) {
requestInfo, err := m.CreatePatchRequestInformationWithRequestConfiguration(body, requestConfiguration);
if err != nil {
Expand Down
Loading

0 comments on commit 7dce0de

Please sign in to comment.