Skip to content

Latest commit

 

History

History
374 lines (201 loc) · 10.8 KB

UpdateArtifactoryTarget.md

File metadata and controls

374 lines (201 loc) · 10.8 KB

UpdateArtifactoryTarget

Properties

Name Type Description Notes
ArtifactoryAdminName string Artifactory Admin Name
ArtifactoryAdminPwd string Artifactory Admin password
BaseUrl string Base URL
Comment Pointer to string Deprecated - use description [optional]
Description Pointer to string Description of the object [optional]
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]
UpdateVersion Pointer to bool Deprecated [optional]

Methods

NewUpdateArtifactoryTarget

func NewUpdateArtifactoryTarget(artifactoryAdminName string, artifactoryAdminPwd string, baseUrl string, name string, ) *UpdateArtifactoryTarget

NewUpdateArtifactoryTarget instantiates a new UpdateArtifactoryTarget 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

NewUpdateArtifactoryTargetWithDefaults

func NewUpdateArtifactoryTargetWithDefaults() *UpdateArtifactoryTarget

NewUpdateArtifactoryTargetWithDefaults instantiates a new UpdateArtifactoryTarget 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

GetArtifactoryAdminName

func (o *UpdateArtifactoryTarget) GetArtifactoryAdminName() string

GetArtifactoryAdminName returns the ArtifactoryAdminName field if non-nil, zero value otherwise.

GetArtifactoryAdminNameOk

func (o *UpdateArtifactoryTarget) GetArtifactoryAdminNameOk() (*string, bool)

GetArtifactoryAdminNameOk returns a tuple with the ArtifactoryAdminName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetArtifactoryAdminName

func (o *UpdateArtifactoryTarget) SetArtifactoryAdminName(v string)

SetArtifactoryAdminName sets ArtifactoryAdminName field to given value.

GetArtifactoryAdminPwd

func (o *UpdateArtifactoryTarget) GetArtifactoryAdminPwd() string

GetArtifactoryAdminPwd returns the ArtifactoryAdminPwd field if non-nil, zero value otherwise.

GetArtifactoryAdminPwdOk

func (o *UpdateArtifactoryTarget) GetArtifactoryAdminPwdOk() (*string, bool)

GetArtifactoryAdminPwdOk returns a tuple with the ArtifactoryAdminPwd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetArtifactoryAdminPwd

func (o *UpdateArtifactoryTarget) SetArtifactoryAdminPwd(v string)

SetArtifactoryAdminPwd sets ArtifactoryAdminPwd field to given value.

GetBaseUrl

func (o *UpdateArtifactoryTarget) GetBaseUrl() string

GetBaseUrl returns the BaseUrl field if non-nil, zero value otherwise.

GetBaseUrlOk

func (o *UpdateArtifactoryTarget) GetBaseUrlOk() (*string, bool)

GetBaseUrlOk returns a tuple with the BaseUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBaseUrl

func (o *UpdateArtifactoryTarget) SetBaseUrl(v string)

SetBaseUrl sets BaseUrl field to given value.

GetComment

func (o *UpdateArtifactoryTarget) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *UpdateArtifactoryTarget) 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.

SetComment

func (o *UpdateArtifactoryTarget) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *UpdateArtifactoryTarget) HasComment() bool

HasComment returns a boolean if a field has been set.

GetDescription

func (o *UpdateArtifactoryTarget) GetDescription() string

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

GetDescriptionOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *UpdateArtifactoryTarget) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetJson

func (o *UpdateArtifactoryTarget) GetJson() bool

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

GetJsonOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UpdateArtifactoryTarget) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *UpdateArtifactoryTarget) GetKeepPrevVersion() string

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

GetKeepPrevVersionOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *UpdateArtifactoryTarget) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *UpdateArtifactoryTarget) GetKey() string

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

GetKeyOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *UpdateArtifactoryTarget) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *UpdateArtifactoryTarget) GetMaxVersions() string

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

GetMaxVersionsOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *UpdateArtifactoryTarget) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *UpdateArtifactoryTarget) GetName() string

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

GetNameOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetName(v string)

SetName sets Name field to given value.

GetNewName

func (o *UpdateArtifactoryTarget) GetNewName() string

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

GetNewNameOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *UpdateArtifactoryTarget) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetToken

func (o *UpdateArtifactoryTarget) GetToken() string

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

GetTokenOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UpdateArtifactoryTarget) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *UpdateArtifactoryTarget) GetUidToken() string

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

GetUidTokenOk

func (o *UpdateArtifactoryTarget) 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 *UpdateArtifactoryTarget) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UpdateArtifactoryTarget) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUpdateVersion

func (o *UpdateArtifactoryTarget) GetUpdateVersion() bool

GetUpdateVersion returns the UpdateVersion field if non-nil, zero value otherwise.

GetUpdateVersionOk

func (o *UpdateArtifactoryTarget) GetUpdateVersionOk() (*bool, bool)

GetUpdateVersionOk returns a tuple with the UpdateVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUpdateVersion

func (o *UpdateArtifactoryTarget) SetUpdateVersion(v bool)

SetUpdateVersion sets UpdateVersion field to given value.

HasUpdateVersion

func (o *UpdateArtifactoryTarget) HasUpdateVersion() bool

HasUpdateVersion returns a boolean if a field has been set.

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