Skip to content

Latest commit

 

History

History
337 lines (182 loc) · 9.52 KB

TargetUpdateGithub.md

File metadata and controls

337 lines (182 loc) · 9.52 KB

TargetUpdateGithub

Properties

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]

Methods

NewTargetUpdateGithub

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

NewTargetUpdateGithubWithDefaults

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

GetDescription

func (o *TargetUpdateGithub) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

SetDescription

func (o *TargetUpdateGithub) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *TargetUpdateGithub) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetGithubAppId

func (o *TargetUpdateGithub) GetGithubAppId() int64

GetGithubAppId returns the GithubAppId field if non-nil, zero value otherwise.

GetGithubAppIdOk

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.

SetGithubAppId

func (o *TargetUpdateGithub) SetGithubAppId(v int64)

SetGithubAppId sets GithubAppId field to given value.

HasGithubAppId

func (o *TargetUpdateGithub) HasGithubAppId() bool

HasGithubAppId returns a boolean if a field has been set.

GetGithubAppPrivateKey

func (o *TargetUpdateGithub) GetGithubAppPrivateKey() string

GetGithubAppPrivateKey returns the GithubAppPrivateKey field if non-nil, zero value otherwise.

GetGithubAppPrivateKeyOk

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.

SetGithubAppPrivateKey

func (o *TargetUpdateGithub) SetGithubAppPrivateKey(v string)

SetGithubAppPrivateKey sets GithubAppPrivateKey field to given value.

HasGithubAppPrivateKey

func (o *TargetUpdateGithub) HasGithubAppPrivateKey() bool

HasGithubAppPrivateKey returns a boolean if a field has been set.

GetGithubBaseUrl

func (o *TargetUpdateGithub) GetGithubBaseUrl() string

GetGithubBaseUrl returns the GithubBaseUrl field if non-nil, zero value otherwise.

GetGithubBaseUrlOk

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.

SetGithubBaseUrl

func (o *TargetUpdateGithub) SetGithubBaseUrl(v string)

SetGithubBaseUrl sets GithubBaseUrl field to given value.

HasGithubBaseUrl

func (o *TargetUpdateGithub) HasGithubBaseUrl() bool

HasGithubBaseUrl returns a boolean if a field has been set.

GetJson

func (o *TargetUpdateGithub) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

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.

SetJson

func (o *TargetUpdateGithub) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *TargetUpdateGithub) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *TargetUpdateGithub) GetKeepPrevVersion() string

GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.

GetKeepPrevVersionOk

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.

SetKeepPrevVersion

func (o *TargetUpdateGithub) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *TargetUpdateGithub) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *TargetUpdateGithub) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

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.

SetKey

func (o *TargetUpdateGithub) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *TargetUpdateGithub) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *TargetUpdateGithub) GetMaxVersions() string

GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.

GetMaxVersionsOk

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.

SetMaxVersions

func (o *TargetUpdateGithub) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *TargetUpdateGithub) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *TargetUpdateGithub) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *TargetUpdateGithub) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *TargetUpdateGithub) GetNewName() string

GetNewName returns the NewName field if non-nil, zero value otherwise.

GetNewNameOk

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.

SetNewName

func (o *TargetUpdateGithub) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *TargetUpdateGithub) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetToken

func (o *TargetUpdateGithub) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

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.

SetToken

func (o *TargetUpdateGithub) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *TargetUpdateGithub) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *TargetUpdateGithub) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

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.

SetUidToken

func (o *TargetUpdateGithub) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *TargetUpdateGithub) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]