Documentation
¶
Index ¶
- func CreateItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemEnvironmentsItemSecretsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemEnvironmentsItemVariablesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ItemEnvironmentsItemSecretsGetResponse
- func (m *ItemEnvironmentsItemSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemEnvironmentsItemSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemEnvironmentsItemSecretsGetResponse) GetSecrets() ...
- func (m *ItemEnvironmentsItemSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemEnvironmentsItemSecretsGetResponse) Serialize(...) error
- func (m *ItemEnvironmentsItemSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemEnvironmentsItemSecretsGetResponse) SetSecrets(...)
- func (m *ItemEnvironmentsItemSecretsGetResponse) SetTotalCount(value *int32)
- type ItemEnvironmentsItemSecretsGetResponseable
- type ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- type ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable
- type ItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- func (m *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- type ItemEnvironmentsItemSecretsRequestBuilder
- func (m *ItemEnvironmentsItemSecretsRequestBuilder) BySecret_name(secret_name string) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemEnvironmentsItemSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemEnvironmentsItemSecretsGetResponseable, error)
- func (m *ItemEnvironmentsItemSecretsRequestBuilder) PublicKey() *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- func (m *ItemEnvironmentsItemSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemSecretsRequestBuilder
- type ItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters
- type ItemEnvironmentsItemSecretsResponse
- type ItemEnvironmentsItemSecretsResponseable
- type ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder(rawUrl string, ...) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- type ItemEnvironmentsItemVariablesGetResponse
- func (m *ItemEnvironmentsItemVariablesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemEnvironmentsItemVariablesGetResponse) GetFieldDeserializers() ...
- func (m *ItemEnvironmentsItemVariablesGetResponse) GetTotalCount() *int32
- func (m *ItemEnvironmentsItemVariablesGetResponse) GetVariables() ...
- func (m *ItemEnvironmentsItemVariablesGetResponse) Serialize(...) error
- func (m *ItemEnvironmentsItemVariablesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemEnvironmentsItemVariablesGetResponse) SetTotalCount(value *int32)
- func (m *ItemEnvironmentsItemVariablesGetResponse) SetVariables(...)
- type ItemEnvironmentsItemVariablesGetResponseable
- type ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetName() *string
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetValue() *string
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) Serialize(...) error
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetName(value *string)
- func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetValue(value *string)
- type ItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable
- type ItemEnvironmentsItemVariablesPostRequestBody
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetName() *string
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetValue() *string
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) Serialize(...) error
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) SetName(value *string)
- func (m *ItemEnvironmentsItemVariablesPostRequestBody) SetValue(value *string)
- type ItemEnvironmentsItemVariablesPostRequestBodyable
- type ItemEnvironmentsItemVariablesRequestBuilder
- func (m *ItemEnvironmentsItemVariablesRequestBuilder) ByName(name string) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func (m *ItemEnvironmentsItemVariablesRequestBuilder) Get(ctx context.Context, ...) (ItemEnvironmentsItemVariablesGetResponseable, error)
- func (m *ItemEnvironmentsItemVariablesRequestBuilder) Post(ctx context.Context, body ItemEnvironmentsItemVariablesPostRequestBodyable, ...) (...)
- func (m *ItemEnvironmentsItemVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEnvironmentsItemVariablesPostRequestBodyable, ...) (...)
- func (m *ItemEnvironmentsItemVariablesRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemVariablesRequestBuilder
- type ItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters
- type ItemEnvironmentsItemVariablesResponse
- type ItemEnvironmentsItemVariablesResponseable
- type ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func NewItemEnvironmentsItemVariablesWithNameItemRequestBuilder(rawUrl string, ...) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func NewItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, ...) error
- func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- type ItemEnvironmentsRequestBuilder
- type ItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- func NewItemEnvironmentsWithEnvironment_nameItemRequestBuilder(rawUrl string, ...) *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- func NewItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- type RepositoriesRequestBuilder
- type RepositoriesRequestBuilderGetQueryParameters
- type WithRepository_ItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemEnvironmentsItemSecretsResponseFromDiscriminatorValue ¶
func CreateItemEnvironmentsItemSecretsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemEnvironmentsItemSecretsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue ¶
func CreateItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue ¶
func CreateItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemEnvironmentsItemVariablesResponseFromDiscriminatorValue ¶
func CreateItemEnvironmentsItemVariablesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemEnvironmentsItemVariablesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type ItemEnvironmentsItemSecretsGetResponse ¶
type ItemEnvironmentsItemSecretsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemEnvironmentsItemSecretsGetResponse ¶
func NewItemEnvironmentsItemSecretsGetResponse() *ItemEnvironmentsItemSecretsGetResponse
NewItemEnvironmentsItemSecretsGetResponse instantiates a new ItemEnvironmentsItemSecretsGetResponse and sets the default values.
func (*ItemEnvironmentsItemSecretsGetResponse) GetAdditionalData ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemEnvironmentsItemSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemEnvironmentsItemSecretsGetResponse) GetSecrets ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsSecretable
GetSecrets gets the secrets property value. The secrets property returns a []ActionsSecretable when successful
func (*ItemEnvironmentsItemSecretsGetResponse) GetTotalCount ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemEnvironmentsItemSecretsGetResponse) Serialize ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemEnvironmentsItemSecretsGetResponse) SetAdditionalData ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemEnvironmentsItemSecretsGetResponse) SetSecrets ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsSecretable)
SetSecrets sets the secrets property value. The secrets property
func (*ItemEnvironmentsItemSecretsGetResponse) SetTotalCount ¶
func (m *ItemEnvironmentsItemSecretsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemEnvironmentsItemSecretsGetResponseable ¶
type ItemEnvironmentsItemSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsSecretable GetTotalCount() *int32 SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsSecretable) SetTotalCount(value *int32) }
type ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody ¶
type ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody ¶
func NewItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody() *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody
NewItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody instantiates a new ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody and sets the default values.
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetAdditionalData ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
GetEncryptedValue gets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/rest/actions/secrets#get-an-environment-public-key) endpoint. returns a *string when successful
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret. returns a *string when successful
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) Serialize ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetAdditionalData ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
SetEncryptedValue sets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an environment public key](https://docs.github.com/rest/actions/secrets#get-an-environment-public-key) endpoint.
func (*ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetKeyId ¶
func (m *ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
SetKeyId sets the key_id property value. ID of the key you used to encrypt the secret.
type ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable ¶
type ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncryptedValue() *string GetKeyId() *string SetEncryptedValue(value *string) SetKeyId(value *string) }
type ItemEnvironmentsItemSecretsPublicKeyRequestBuilder ¶
type ItemEnvironmentsItemSecretsPublicKeyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEnvironmentsItemSecretsPublicKeyRequestBuilder builds and executes requests for operations under \repositories\{repository_id}\environments\{environment_name}\secrets\public-key
func NewItemEnvironmentsItemSecretsPublicKeyRequestBuilder ¶
func NewItemEnvironmentsItemSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder
NewItemEnvironmentsItemSecretsPublicKeyRequestBuilder instantiates a new ItemEnvironmentsItemSecretsPublicKeyRequestBuilder and sets the default values.
func NewItemEnvironmentsItemSecretsPublicKeyRequestBuilderInternal ¶
func NewItemEnvironmentsItemSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder
NewItemEnvironmentsItemSecretsPublicKeyRequestBuilderInternal instantiates a new ItemEnvironmentsItemSecretsPublicKeyRequestBuilder and sets the default values.
func (*ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) Get ¶
func (m *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsPublicKeyable, error)
Get get the public key for an environment, which you need to encrypt environmentsecrets. You need to encrypt 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 tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsPublicKeyable when successful API method documentation
func (*ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get the public key for an environment, which you need to encrypt environmentsecrets. You need to encrypt 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 tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) WithUrl ¶
func (m *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder when successful
type ItemEnvironmentsItemSecretsRequestBuilder ¶
type ItemEnvironmentsItemSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEnvironmentsItemSecretsRequestBuilder builds and executes requests for operations under \repositories\{repository_id}\environments\{environment_name}\secrets
func NewItemEnvironmentsItemSecretsRequestBuilder ¶
func NewItemEnvironmentsItemSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemSecretsRequestBuilder
NewItemEnvironmentsItemSecretsRequestBuilder instantiates a new ItemEnvironmentsItemSecretsRequestBuilder and sets the default values.
func NewItemEnvironmentsItemSecretsRequestBuilderInternal ¶
func NewItemEnvironmentsItemSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemSecretsRequestBuilder
NewItemEnvironmentsItemSecretsRequestBuilderInternal instantiates a new ItemEnvironmentsItemSecretsRequestBuilder and sets the default values.
func (*ItemEnvironmentsItemSecretsRequestBuilder) BySecret_name ¶
func (m *ItemEnvironmentsItemSecretsRequestBuilder) BySecret_name(secret_name string) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github/.repositories.item.environments.item.secrets.item collection returns a *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder when successful
func (*ItemEnvironmentsItemSecretsRequestBuilder) Get ¶
func (m *ItemEnvironmentsItemSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters]) (ItemEnvironmentsItemSecretsGetResponseable, error)
Get lists all secrets available in an environment without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemEnvironmentsItemSecretsGetResponseable when successful API method documentation
func (*ItemEnvironmentsItemSecretsRequestBuilder) PublicKey ¶
func (m *ItemEnvironmentsItemSecretsRequestBuilder) PublicKey() *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder
PublicKey the publicKey property returns a *ItemEnvironmentsItemSecretsPublicKeyRequestBuilder when successful
func (*ItemEnvironmentsItemSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEnvironmentsItemSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all secrets available in an environment without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemSecretsRequestBuilder) WithUrl ¶
func (m *ItemEnvironmentsItemSecretsRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemSecretsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemEnvironmentsItemSecretsRequestBuilder when successful
type ItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters ¶
type ItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters lists all secrets available in an environment without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemEnvironmentsItemSecretsResponse ¶
type ItemEnvironmentsItemSecretsResponse struct {
ItemEnvironmentsItemSecretsGetResponse
}
ItemEnvironmentsItemSecretsResponse Deprecated: This class is obsolete. Use secretsGetResponse instead.
func NewItemEnvironmentsItemSecretsResponse ¶
func NewItemEnvironmentsItemSecretsResponse() *ItemEnvironmentsItemSecretsResponse
NewItemEnvironmentsItemSecretsResponse instantiates a new ItemEnvironmentsItemSecretsResponse and sets the default values.
type ItemEnvironmentsItemSecretsResponseable ¶
type ItemEnvironmentsItemSecretsResponseable interface { ItemEnvironmentsItemSecretsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemEnvironmentsItemSecretsResponseable Deprecated: This class is obsolete. Use secretsGetResponse instead.
type ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder ¶
type ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \repositories\{repository_id}\environments\{environment_name}\secrets\{secret_name}
func NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder ¶
func NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal ¶
func NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
NewItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func (*ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a secret in an environment using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsSecretable, error)
Get gets a single environment secret without revealing its encrypted value.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsSecretable when successful API method documentation
func (*ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EmptyObjectable, error)
Put creates or updates an environment secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a secret in an environment using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single environment secret without revealing its encrypted value.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates or updates an environment secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) WithUrl ¶
func (m *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder when successful
type ItemEnvironmentsItemVariablesGetResponse ¶
type ItemEnvironmentsItemVariablesGetResponse struct {
// contains filtered or unexported fields
}
func NewItemEnvironmentsItemVariablesGetResponse ¶
func NewItemEnvironmentsItemVariablesGetResponse() *ItemEnvironmentsItemVariablesGetResponse
NewItemEnvironmentsItemVariablesGetResponse instantiates a new ItemEnvironmentsItemVariablesGetResponse and sets the default values.
func (*ItemEnvironmentsItemVariablesGetResponse) GetAdditionalData ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemEnvironmentsItemVariablesGetResponse) GetFieldDeserializers ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemEnvironmentsItemVariablesGetResponse) GetTotalCount ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemEnvironmentsItemVariablesGetResponse) GetVariables ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) GetVariables() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsVariableable
GetVariables gets the variables property value. The variables property returns a []ActionsVariableable when successful
func (*ItemEnvironmentsItemVariablesGetResponse) Serialize ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemEnvironmentsItemVariablesGetResponse) SetAdditionalData ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemEnvironmentsItemVariablesGetResponse) SetTotalCount ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
func (*ItemEnvironmentsItemVariablesGetResponse) SetVariables ¶
func (m *ItemEnvironmentsItemVariablesGetResponse) SetVariables(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsVariableable)
SetVariables sets the variables property value. The variables property
type ItemEnvironmentsItemVariablesGetResponseable ¶
type ItemEnvironmentsItemVariablesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetVariables() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsVariableable SetTotalCount(value *int32) SetVariables(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsVariableable) }
type ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody ¶
type ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemEnvironmentsItemVariablesItemWithNamePatchRequestBody ¶
func NewItemEnvironmentsItemVariablesItemWithNamePatchRequestBody() *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody
NewItemEnvironmentsItemVariablesItemWithNamePatchRequestBody instantiates a new ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody and sets the default values.
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetAdditionalData ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetFieldDeserializers ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetName ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetName() *string
GetName gets the name property value. The name of the variable. returns a *string when successful
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetValue ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) Serialize ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetAdditionalData ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetName ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the variable.
func (*ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetValue ¶
func (m *ItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetValue(value *string)
SetValue sets the value property value. The value of the variable.
type ItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable ¶
type ItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetValue() *string SetName(value *string) SetValue(value *string) }
type ItemEnvironmentsItemVariablesPostRequestBody ¶
type ItemEnvironmentsItemVariablesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemEnvironmentsItemVariablesPostRequestBody ¶
func NewItemEnvironmentsItemVariablesPostRequestBody() *ItemEnvironmentsItemVariablesPostRequestBody
NewItemEnvironmentsItemVariablesPostRequestBody instantiates a new ItemEnvironmentsItemVariablesPostRequestBody and sets the default values.
func (*ItemEnvironmentsItemVariablesPostRequestBody) GetAdditionalData ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemEnvironmentsItemVariablesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemEnvironmentsItemVariablesPostRequestBody) GetName ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetName() *string
GetName gets the name property value. The name of the variable. returns a *string when successful
func (*ItemEnvironmentsItemVariablesPostRequestBody) GetValue ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemEnvironmentsItemVariablesPostRequestBody) Serialize ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemEnvironmentsItemVariablesPostRequestBody) SetAdditionalData ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemEnvironmentsItemVariablesPostRequestBody) SetName ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the variable.
func (*ItemEnvironmentsItemVariablesPostRequestBody) SetValue ¶
func (m *ItemEnvironmentsItemVariablesPostRequestBody) SetValue(value *string)
SetValue sets the value property value. The value of the variable.
type ItemEnvironmentsItemVariablesPostRequestBodyable ¶
type ItemEnvironmentsItemVariablesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetValue() *string SetName(value *string) SetValue(value *string) }
type ItemEnvironmentsItemVariablesRequestBuilder ¶
type ItemEnvironmentsItemVariablesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEnvironmentsItemVariablesRequestBuilder builds and executes requests for operations under \repositories\{repository_id}\environments\{environment_name}\variables
func NewItemEnvironmentsItemVariablesRequestBuilder ¶
func NewItemEnvironmentsItemVariablesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemVariablesRequestBuilder
NewItemEnvironmentsItemVariablesRequestBuilder instantiates a new ItemEnvironmentsItemVariablesRequestBuilder and sets the default values.
func NewItemEnvironmentsItemVariablesRequestBuilderInternal ¶
func NewItemEnvironmentsItemVariablesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemVariablesRequestBuilder
NewItemEnvironmentsItemVariablesRequestBuilderInternal instantiates a new ItemEnvironmentsItemVariablesRequestBuilder and sets the default values.
func (*ItemEnvironmentsItemVariablesRequestBuilder) ByName ¶
func (m *ItemEnvironmentsItemVariablesRequestBuilder) ByName(name string) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk/pkg/github/.repositories.item.environments.item.variables.item collection returns a *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder when successful
func (*ItemEnvironmentsItemVariablesRequestBuilder) Get ¶
func (m *ItemEnvironmentsItemVariablesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters]) (ItemEnvironmentsItemVariablesGetResponseable, error)
Get lists all environment variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemEnvironmentsItemVariablesGetResponseable when successful API method documentation
func (*ItemEnvironmentsItemVariablesRequestBuilder) Post ¶
func (m *ItemEnvironmentsItemVariablesRequestBuilder) Post(ctx context.Context, body ItemEnvironmentsItemVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EmptyObjectable, error)
Post create an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemEnvironmentsItemVariablesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEnvironmentsItemVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all environment variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemVariablesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemEnvironmentsItemVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemEnvironmentsItemVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemVariablesRequestBuilder) WithUrl ¶
func (m *ItemEnvironmentsItemVariablesRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemVariablesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemEnvironmentsItemVariablesRequestBuilder when successful
type ItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters ¶
type ItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters lists all environment variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemEnvironmentsItemVariablesResponse ¶
type ItemEnvironmentsItemVariablesResponse struct {
ItemEnvironmentsItemVariablesGetResponse
}
ItemEnvironmentsItemVariablesResponse Deprecated: This class is obsolete. Use variablesGetResponse instead.
func NewItemEnvironmentsItemVariablesResponse ¶
func NewItemEnvironmentsItemVariablesResponse() *ItemEnvironmentsItemVariablesResponse
NewItemEnvironmentsItemVariablesResponse instantiates a new ItemEnvironmentsItemVariablesResponse and sets the default values.
type ItemEnvironmentsItemVariablesResponseable ¶
type ItemEnvironmentsItemVariablesResponseable interface { ItemEnvironmentsItemVariablesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemEnvironmentsItemVariablesResponseable Deprecated: This class is obsolete. Use variablesGetResponse instead.
type ItemEnvironmentsItemVariablesWithNameItemRequestBuilder ¶
type ItemEnvironmentsItemVariablesWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEnvironmentsItemVariablesWithNameItemRequestBuilder builds and executes requests for operations under \repositories\{repository_id}\environments\{environment_name}\variables\{name}
func NewItemEnvironmentsItemVariablesWithNameItemRequestBuilder ¶
func NewItemEnvironmentsItemVariablesWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
NewItemEnvironmentsItemVariablesWithNameItemRequestBuilder instantiates a new ItemEnvironmentsItemVariablesWithNameItemRequestBuilder and sets the default values.
func NewItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal ¶
func NewItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
NewItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal instantiates a new ItemEnvironmentsItemVariablesWithNameItemRequestBuilder and sets the default values.
func (*ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Delete ¶
func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes an environment variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Get ¶
func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsVariableable, error)
Get gets a specific variable in an environment.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsVariableable when successful API method documentation
func (*ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Patch ¶
func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Patch updates an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes an environment variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific variable in an environment.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) WithUrl ¶
func (m *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemEnvironmentsItemVariablesWithNameItemRequestBuilder when successful
type ItemEnvironmentsRequestBuilder ¶
type ItemEnvironmentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEnvironmentsRequestBuilder builds and executes requests for operations under \repositories\{repository_id}\environments
func NewItemEnvironmentsRequestBuilder ¶
func NewItemEnvironmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsRequestBuilder
NewItemEnvironmentsRequestBuilder instantiates a new ItemEnvironmentsRequestBuilder and sets the default values.
func NewItemEnvironmentsRequestBuilderInternal ¶
func NewItemEnvironmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsRequestBuilder
NewItemEnvironmentsRequestBuilderInternal instantiates a new ItemEnvironmentsRequestBuilder and sets the default values.
func (*ItemEnvironmentsRequestBuilder) ByEnvironment_name ¶
func (m *ItemEnvironmentsRequestBuilder) ByEnvironment_name(environment_name string) *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder
ByEnvironment_name gets an item from the github.com/octokit/go-sdk/pkg/github/.repositories.item.environments.item collection returns a *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder when successful
type ItemEnvironmentsWithEnvironment_nameItemRequestBuilder ¶
type ItemEnvironmentsWithEnvironment_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEnvironmentsWithEnvironment_nameItemRequestBuilder builds and executes requests for operations under \repositories\{repository_id}\environments\{environment_name}
func NewItemEnvironmentsWithEnvironment_nameItemRequestBuilder ¶
func NewItemEnvironmentsWithEnvironment_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder
NewItemEnvironmentsWithEnvironment_nameItemRequestBuilder instantiates a new ItemEnvironmentsWithEnvironment_nameItemRequestBuilder and sets the default values.
func NewItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal ¶
func NewItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder
NewItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal instantiates a new ItemEnvironmentsWithEnvironment_nameItemRequestBuilder and sets the default values.
func (*ItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Secrets ¶
func (m *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Secrets() *ItemEnvironmentsItemSecretsRequestBuilder
Secrets the secrets property returns a *ItemEnvironmentsItemSecretsRequestBuilder when successful
func (*ItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Variables ¶
func (m *ItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Variables() *ItemEnvironmentsItemVariablesRequestBuilder
Variables the variables property returns a *ItemEnvironmentsItemVariablesRequestBuilder when successful
type RepositoriesRequestBuilder ¶
type RepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
RepositoriesRequestBuilder builds and executes requests for operations under \repositories
func NewRepositoriesRequestBuilder ¶
func NewRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RepositoriesRequestBuilder
NewRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.
func NewRepositoriesRequestBuilderInternal ¶
func NewRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RepositoriesRequestBuilder
NewRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*RepositoriesRequestBuilder) Get ¶
func (m *RepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[RepositoriesRequestBuilderGetQueryParameters]) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists all public repositories in the order that they were created.Note:- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories. returns a []MinimalRepositoryable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*RepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *RepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[RepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all public repositories in the order that they were created.Note:- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories. returns a *RequestInformation when successful
func (*RepositoriesRequestBuilder) WithUrl ¶
func (m *RepositoriesRequestBuilder) WithUrl(rawUrl string) *RepositoriesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *RepositoriesRequestBuilder when successful
type RepositoriesRequestBuilderGetQueryParameters ¶
type RepositoriesRequestBuilderGetQueryParameters struct { // A repository ID. Only return repositories with an ID greater than this ID. Since *int32 `uriparametername:"since"` }
RepositoriesRequestBuilderGetQueryParameters lists all public repositories in the order that they were created.Note:- For GitHub Enterprise Server, this endpoint will only list repositories available to all users on the enterprise.- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers) to get the URL for the next page of repositories.
type WithRepository_ItemRequestBuilder ¶
type WithRepository_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithRepository_ItemRequestBuilder builds and executes requests for operations under \repositories\{repository_id}
func NewWithRepository_ItemRequestBuilder ¶
func NewWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithRepository_ItemRequestBuilder
NewWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func NewWithRepository_ItemRequestBuilderInternal ¶
func NewWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithRepository_ItemRequestBuilder
NewWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func (*WithRepository_ItemRequestBuilder) Environments ¶
func (m *WithRepository_ItemRequestBuilder) Environments() *ItemEnvironmentsRequestBuilder
Environments the environments property returns a *ItemEnvironmentsRequestBuilder when successful
Source Files
¶
- item_environments_item_secrets_get_response.go
- item_environments_item_secrets_item_with_secret_name_put_request_body.go
- item_environments_item_secrets_public_key_request_builder.go
- item_environments_item_secrets_request_builder.go
- item_environments_item_secrets_response.go
- item_environments_item_secrets_with_secret_name_item_request_builder.go
- item_environments_item_variables_get_response.go
- item_environments_item_variables_item_with_name_patch_request_body.go
- item_environments_item_variables_post_request_body.go
- item_environments_item_variables_request_builder.go
- item_environments_item_variables_response.go
- item_environments_item_variables_with_name_item_request_builder.go
- item_environments_request_builder.go
- item_environments_with_environment_name_item_request_builder.go
- repositories_request_builder.go
- with_repository_item_request_builder.go