Skip to content
New issue

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

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

Already on GitHub? # to your account

Changes in generated code #113

Merged
merged 2 commits into from
Sep 27, 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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/github/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"descriptionHash": "11D419AEAD68F5350A454AAE7BAD01217037B032C174A309C07FB7E75BD9D04E4386D54207B36A516C83791BB42A872A50FE8F58897903B9BB04324AD2F60BAA",
"descriptionHash": "59564BC4056B932C210E840166B6B0323AC854A3A17378C23965D01C1CE7C19925C5D6803251F152AB77772EC28EB43237470850DA6661671E90C4B50C64E652",
"descriptionLocation": "../../../../../schemas/api.github.heygears.com.json",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.18.0",
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/models/copilot_organization_details.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"
)

// CopilotOrganizationDetails information about the seat breakdown and policies set for an organization with a Copilot Business subscription.
// CopilotOrganizationDetails information about the seat breakdown and policies set for an organization with a Copilot Business or Copilot Enterprise subscription.
type CopilotOrganizationDetails struct {
// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
additionalData map[string]any
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewItemItemCodespacesSecretsPublicKeyRequestBuilder(rawUrl string, requestA
urlParams["request-raw-url"] = rawUrl
return NewItemItemCodespacesSecretsPublicKeyRequestBuilderInternal(urlParams, requestAdapter)
}
// Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
// Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
// returns a CodespacesPublicKeyable when successful
// [API method documentation]
//
Expand All @@ -42,7 +42,7 @@ func (m *ItemItemCodespacesSecretsPublicKeyRequestBuilder) Get(ctx context.Conte
}
return res.(i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesPublicKeyable), nil
}
// ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
// ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.If the repository is private, OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
// returns a *RequestInformation when successful
func (m *ItemItemCodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters])(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.GET, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewItemItemPullsItemUpdateBranchRequestBuilder(rawUrl string, requestAdapte
urlParams["request-raw-url"] = rawUrl
return NewItemItemPullsItemUpdateBranchRequestBuilderInternal(urlParams, requestAdapter)
}
// Put updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
// Put updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository.
// returns a ItemItemPullsItemUpdateBranchPutResponseable when successful
// returns a BasicError error when the service returns a 403 status code
// returns a ValidationError error when the service returns a 422 status code
Expand All @@ -48,7 +48,7 @@ func (m *ItemItemPullsItemUpdateBranchRequestBuilder) Put(ctx context.Context, b
}
return res.(ItemItemPullsItemUpdateBranchPutResponseable), nil
}
// ToPutRequestInformation updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.
// ToPutRequestInformation updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.Note: If making a request on behalf of a GitHub App you must also have permissions to write the contents of the head repository.
// returns a *RequestInformation when successful
func (m *ItemItemPullsItemUpdateBranchRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPullsItemUpdateBranchPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters])(*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error) {
requestInfo := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.NewRequestInformationWithMethodAndUrlTemplateAndPathParameters(i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.PUT, m.BaseRequestBuilder.UrlTemplate, m.BaseRequestBuilder.PathParameters)
Expand Down
Loading