Name | Type | Description | Notes |
---|---|---|---|
Comment | Pointer to string | Deprecated - use description | [optional] |
Description | Pointer to string | Description of the object | [optional] |
GitlabAccessToken | Pointer to string | Gitlab access token | [optional] |
GitlabCertificate | Pointer to string | Gitlab tls certificate (base64 encoded) | [optional] |
GitlabUrl | Pointer to string | Gitlab base url | [optional] [default to "https://gitlab.com/"] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
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 | |
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 NewCreateGitlabTarget(name string, ) *CreateGitlabTarget
NewCreateGitlabTarget instantiates a new CreateGitlabTarget 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 NewCreateGitlabTargetWithDefaults() *CreateGitlabTarget
NewCreateGitlabTargetWithDefaults instantiates a new CreateGitlabTarget 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 *CreateGitlabTarget) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateGitlabTarget) SetComment(v string)
SetComment sets Comment field to given value.
func (o *CreateGitlabTarget) HasComment() bool
HasComment returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) 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 *CreateGitlabTarget) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateGitlabTarget) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetGitlabAccessToken() string
GetGitlabAccessToken returns the GitlabAccessToken field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) GetGitlabAccessTokenOk() (*string, bool)
GetGitlabAccessTokenOk returns a tuple with the GitlabAccessToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateGitlabTarget) SetGitlabAccessToken(v string)
SetGitlabAccessToken sets GitlabAccessToken field to given value.
func (o *CreateGitlabTarget) HasGitlabAccessToken() bool
HasGitlabAccessToken returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetGitlabCertificate() string
GetGitlabCertificate returns the GitlabCertificate field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) GetGitlabCertificateOk() (*string, bool)
GetGitlabCertificateOk returns a tuple with the GitlabCertificate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateGitlabTarget) SetGitlabCertificate(v string)
SetGitlabCertificate sets GitlabCertificate field to given value.
func (o *CreateGitlabTarget) HasGitlabCertificate() bool
HasGitlabCertificate returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetGitlabUrl() string
GetGitlabUrl returns the GitlabUrl field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) GetGitlabUrlOk() (*string, bool)
GetGitlabUrlOk returns a tuple with the GitlabUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateGitlabTarget) SetGitlabUrl(v string)
SetGitlabUrl sets GitlabUrl field to given value.
func (o *CreateGitlabTarget) HasGitlabUrl() bool
HasGitlabUrl returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) 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 *CreateGitlabTarget) SetJson(v bool)
SetJson sets Json field to given value.
func (o *CreateGitlabTarget) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) 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 *CreateGitlabTarget) SetKey(v string)
SetKey sets Key field to given value.
func (o *CreateGitlabTarget) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) 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 *CreateGitlabTarget) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *CreateGitlabTarget) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) 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 *CreateGitlabTarget) SetName(v string)
SetName sets Name field to given value.
func (o *CreateGitlabTarget) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) 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 *CreateGitlabTarget) SetToken(v string)
SetToken sets Token field to given value.
func (o *CreateGitlabTarget) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *CreateGitlabTarget) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *CreateGitlabTarget) 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 *CreateGitlabTarget) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *CreateGitlabTarget) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.