Name | Type | Description | Notes |
---|---|---|---|
Description | Pointer to string | Description of the object | [optional] |
GithubAppId | Pointer to int64 | Github app id | [optional] |
GithubAppPrivateKey | Pointer to string | App private key | [optional] |
GithubBaseUrl | Pointer to string | Base URL | [optional] [default to "https://api.github.com/"] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
KeepPrevVersion | Pointer to string | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
Key | Pointer to string | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
MaxVersions | Pointer to string | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
Name | string | Target name | |
NewName | Pointer to string | New target name | [optional] |
Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
func NewTargetUpdateGithub(name string, ) *TargetUpdateGithub
NewTargetUpdateGithub instantiates a new TargetUpdateGithub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTargetUpdateGithubWithDefaults() *TargetUpdateGithub
NewTargetUpdateGithubWithDefaults instantiates a new TargetUpdateGithub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *TargetUpdateGithub) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *TargetUpdateGithub) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetGithubAppId() int64
GetGithubAppId returns the GithubAppId field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetGithubAppIdOk() (*int64, bool)
GetGithubAppIdOk returns a tuple with the GithubAppId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetGithubAppId(v int64)
SetGithubAppId sets GithubAppId field to given value.
func (o *TargetUpdateGithub) HasGithubAppId() bool
HasGithubAppId returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetGithubAppPrivateKey() string
GetGithubAppPrivateKey returns the GithubAppPrivateKey field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetGithubAppPrivateKeyOk() (*string, bool)
GetGithubAppPrivateKeyOk returns a tuple with the GithubAppPrivateKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetGithubAppPrivateKey(v string)
SetGithubAppPrivateKey sets GithubAppPrivateKey field to given value.
func (o *TargetUpdateGithub) HasGithubAppPrivateKey() bool
HasGithubAppPrivateKey returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetGithubBaseUrl() string
GetGithubBaseUrl returns the GithubBaseUrl field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetGithubBaseUrlOk() (*string, bool)
GetGithubBaseUrlOk returns a tuple with the GithubBaseUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetGithubBaseUrl(v string)
SetGithubBaseUrl sets GithubBaseUrl field to given value.
func (o *TargetUpdateGithub) HasGithubBaseUrl() bool
HasGithubBaseUrl returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetJson(v bool)
SetJson sets Json field to given value.
func (o *TargetUpdateGithub) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetKeepPrevVersionOk() (*string, bool)
GetKeepPrevVersionOk returns a tuple with the KeepPrevVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *TargetUpdateGithub) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetKey(v string)
SetKey sets Key field to given value.
func (o *TargetUpdateGithub) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetMaxVersionsOk() (*string, bool)
GetMaxVersionsOk returns a tuple with the MaxVersions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *TargetUpdateGithub) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetName(v string)
SetName sets Name field to given value.
func (o *TargetUpdateGithub) GetNewName() string
GetNewName returns the NewName field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetNewNameOk() (*string, bool)
GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetNewName(v string)
SetNewName sets NewName field to given value.
func (o *TargetUpdateGithub) HasNewName() bool
HasNewName returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetToken(v string)
SetToken sets Token field to given value.
func (o *TargetUpdateGithub) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *TargetUpdateGithub) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *TargetUpdateGithub) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateGithub) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *TargetUpdateGithub) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.