Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated beta models and request builders #389

Merged
merged 3 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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.95.0]- 2024-02-21

### Changed

- Weekly generation.

## [0.94.0]- 2024-02-14

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewServiceAnnouncementMessagesArchiveRequestBuilder(rawUrl string, requestA
return NewServiceAnnouncementMessagesArchiveRequestBuilderInternal(urlParams, requestAdapter)
}
// Post archive a list of serviceUpdateMessages for the signed in user.
// Deprecated: This method is obsolete. Use {TypeName} instead.
// Deprecated: This method is obsolete. Use PostAsArchivePostResponse instead.
// returns a ServiceAnnouncementMessagesArchiveResponseable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand Down
4 changes: 2 additions & 2 deletions admin/service_announcement_messages_archive_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
)

// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesArchivePostResponseable instead.
type ServiceAnnouncementMessagesArchiveResponse struct {
ServiceAnnouncementMessagesArchivePostResponse
}
Expand All @@ -20,7 +20,7 @@ func NewServiceAnnouncementMessagesArchiveResponse()(*ServiceAnnouncementMessage
func CreateServiceAnnouncementMessagesArchiveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewServiceAnnouncementMessagesArchiveResponse(), nil
}
// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesArchivePostResponseable instead.
type ServiceAnnouncementMessagesArchiveResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
ServiceAnnouncementMessagesArchivePostResponseable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewServiceAnnouncementMessagesFavoriteRequestBuilder(rawUrl string, request
return NewServiceAnnouncementMessagesFavoriteRequestBuilderInternal(urlParams, requestAdapter)
}
// Post change the status of a list of serviceUpdateMessages to favorite for the signed in user.
// Deprecated: This method is obsolete. Use {TypeName} instead.
// Deprecated: This method is obsolete. Use PostAsFavoritePostResponse instead.
// returns a ServiceAnnouncementMessagesFavoriteResponseable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand Down
4 changes: 2 additions & 2 deletions admin/service_announcement_messages_favorite_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
)

// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesFavoritePostResponseable instead.
type ServiceAnnouncementMessagesFavoriteResponse struct {
ServiceAnnouncementMessagesFavoritePostResponse
}
Expand All @@ -20,7 +20,7 @@ func NewServiceAnnouncementMessagesFavoriteResponse()(*ServiceAnnouncementMessag
func CreateServiceAnnouncementMessagesFavoriteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewServiceAnnouncementMessagesFavoriteResponse(), nil
}
// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesFavoritePostResponseable instead.
type ServiceAnnouncementMessagesFavoriteResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
ServiceAnnouncementMessagesFavoritePostResponseable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewServiceAnnouncementMessagesMarkReadRequestBuilder(rawUrl string, request
return NewServiceAnnouncementMessagesMarkReadRequestBuilderInternal(urlParams, requestAdapter)
}
// Post mark a list of serviceUpdateMessages as read for the signed in user.
// Deprecated: This method is obsolete. Use {TypeName} instead.
// Deprecated: This method is obsolete. Use PostAsMarkReadPostResponse instead.
// returns a ServiceAnnouncementMessagesMarkReadResponseable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand Down
4 changes: 2 additions & 2 deletions admin/service_announcement_messages_mark_read_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
)

// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesMarkReadPostResponseable instead.
type ServiceAnnouncementMessagesMarkReadResponse struct {
ServiceAnnouncementMessagesMarkReadPostResponse
}
Expand All @@ -20,7 +20,7 @@ func NewServiceAnnouncementMessagesMarkReadResponse()(*ServiceAnnouncementMessag
func CreateServiceAnnouncementMessagesMarkReadResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewServiceAnnouncementMessagesMarkReadResponse(), nil
}
// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesMarkReadPostResponseable instead.
type ServiceAnnouncementMessagesMarkReadResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
ServiceAnnouncementMessagesMarkReadPostResponseable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewServiceAnnouncementMessagesMarkUnreadRequestBuilder(rawUrl string, reque
return NewServiceAnnouncementMessagesMarkUnreadRequestBuilderInternal(urlParams, requestAdapter)
}
// Post mark a list of serviceUpdateMessages as unread for the signed in user.
// Deprecated: This method is obsolete. Use {TypeName} instead.
// Deprecated: This method is obsolete. Use PostAsMarkUnreadPostResponse instead.
// returns a ServiceAnnouncementMessagesMarkUnreadResponseable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand Down
4 changes: 2 additions & 2 deletions admin/service_announcement_messages_mark_unread_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
)

// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesMarkUnreadPostResponseable instead.
type ServiceAnnouncementMessagesMarkUnreadResponse struct {
ServiceAnnouncementMessagesMarkUnreadPostResponse
}
Expand All @@ -20,7 +20,7 @@ func NewServiceAnnouncementMessagesMarkUnreadResponse()(*ServiceAnnouncementMess
func CreateServiceAnnouncementMessagesMarkUnreadResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewServiceAnnouncementMessagesMarkUnreadResponse(), nil
}
// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesMarkUnreadPostResponseable instead.
type ServiceAnnouncementMessagesMarkUnreadResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
ServiceAnnouncementMessagesMarkUnreadPostResponseable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewServiceAnnouncementMessagesUnarchiveRequestBuilder(rawUrl string, reques
return NewServiceAnnouncementMessagesUnarchiveRequestBuilderInternal(urlParams, requestAdapter)
}
// Post unarchive a list of serviceUpdateMessages for the signed in user.
// Deprecated: This method is obsolete. Use {TypeName} instead.
// Deprecated: This method is obsolete. Use PostAsUnarchivePostResponse instead.
// returns a ServiceAnnouncementMessagesUnarchiveResponseable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand Down
4 changes: 2 additions & 2 deletions admin/service_announcement_messages_unarchive_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
)

// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesUnarchivePostResponseable instead.
type ServiceAnnouncementMessagesUnarchiveResponse struct {
ServiceAnnouncementMessagesUnarchivePostResponse
}
Expand All @@ -20,7 +20,7 @@ func NewServiceAnnouncementMessagesUnarchiveResponse()(*ServiceAnnouncementMessa
func CreateServiceAnnouncementMessagesUnarchiveResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewServiceAnnouncementMessagesUnarchiveResponse(), nil
}
// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesUnarchivePostResponseable instead.
type ServiceAnnouncementMessagesUnarchiveResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
ServiceAnnouncementMessagesUnarchivePostResponseable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewServiceAnnouncementMessagesUnfavoriteRequestBuilder(rawUrl string, reque
return NewServiceAnnouncementMessagesUnfavoriteRequestBuilderInternal(urlParams, requestAdapter)
}
// Post remove the favorite status of serviceUpdateMessages for the signed in user.
// Deprecated: This method is obsolete. Use {TypeName} instead.
// Deprecated: This method is obsolete. Use PostAsUnfavoritePostResponse instead.
// returns a ServiceAnnouncementMessagesUnfavoriteResponseable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
Expand Down
4 changes: 2 additions & 2 deletions admin/service_announcement_messages_unfavorite_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91 "github.com/microsoft/kiota-abstractions-go/serialization"
)

// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesUnfavoritePostResponseable instead.
type ServiceAnnouncementMessagesUnfavoriteResponse struct {
ServiceAnnouncementMessagesUnfavoritePostResponse
}
Expand All @@ -20,7 +20,7 @@ func NewServiceAnnouncementMessagesUnfavoriteResponse()(*ServiceAnnouncementMess
func CreateServiceAnnouncementMessagesUnfavoriteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error) {
return NewServiceAnnouncementMessagesUnfavoriteResponse(), nil
}
// Deprecated: This class is obsolete. Use {TypeName} instead.
// Deprecated: This class is obsolete. Use ServiceAnnouncementMessagesUnfavoritePostResponseable instead.
type ServiceAnnouncementMessagesUnfavoriteResponseable interface {
i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
ServiceAnnouncementMessagesUnfavoritePostResponseable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ func NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder(ra
urlParams["request-raw-url"] = rawUrl
return NewWindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderInternal(urlParams, requestAdapter)
}
// Delete delete an operationalInsightsConnection object.
// Delete delete a resourceConnection object.
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
//
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-1.0
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-1.0
func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(error) {
requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -116,7 +116,7 @@ func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder)
}
return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.ResourceConnectionable), nil
}
// ToDeleteRequestInformation delete an operationalInsightsConnection object.
// ToDeleteRequestInformation delete a resourceConnection object.
// returns a *RequestInformation when successful
func (m *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesResourceConnectionsResourceConnectionItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}", m.BaseRequestBuilder.PathParameters)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestC
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties of an azureADDevice object.
// WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters read the properties and relationships of an updatableAssetGroup object.
type WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetQueryParameters struct {
// Expand related entities
Expand []string `uriparametername:"%24expand"`
Expand Down Expand Up @@ -54,11 +54,11 @@ func NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder(rawUrl str
urlParams["request-raw-url"] = rawUrl
return NewWindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderInternal(urlParams, requestAdapter)
}
// Delete delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
// Delete delete an updatableAsset object.
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
//
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-1.0
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-1.0
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(error) {
requestInfo, err := m.ToDeleteRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand All @@ -73,12 +73,12 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Delete(c
}
return nil
}
// Get read the properties of an azureADDevice object.
// Get read the properties and relationships of an updatableAssetGroup object.
// returns a UpdatableAssetable when successful
// returns a ODataError error when the service returns a 4XX or 5XX status code
// [Find more info here]
//
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-1.0
// [Find more info here]: https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-1.0
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
Expand Down Expand Up @@ -136,7 +136,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) Patch(ct
}
return res.(i17376df570f19ff3c32da2d66a677d31250ed0ff64059351645f48a152316b3c.UpdatableAssetable), nil
}
// ToDeleteRequestInformation delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
// ToDeleteRequestInformation delete an updatableAsset object.
// returns a *RequestInformation when successful
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderDeleteRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DELETE, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}", m.BaseRequestBuilder.PathParameters)
Expand All @@ -147,7 +147,7 @@ func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToDelete
requestInfo.Headers.TryAdd("Accept", "application/json")
return requestInfo, nil
}
// ToGetRequestInformation read the properties of an azureADDevice object.
// ToGetRequestInformation read the properties and relationships of an updatableAssetGroup object.
// returns a *RequestInformation when successful
func (m *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WindowsUpdatesUpdatableAssetsUpdatableAssetItemRequestBuilderGetRequestConfiguration)(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand Down
Loading
Loading