Name | Type | Description | Notes |
---|---|---|---|
Description | Pointer to string | Description of the object | [optional] [default to "default_comment"] |
Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
MaxVersions | Pointer to string | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
Name | string | Target name | |
NewComment | Pointer to string | Deprecated - use description | [optional] [default to "default_comment"] |
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 NewUpdateTarget(name string, ) *UpdateTarget
NewUpdateTarget instantiates a new UpdateTarget 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 NewUpdateTargetWithDefaults() *UpdateTarget
NewUpdateTargetWithDefaults instantiates a new UpdateTarget 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 *UpdateTarget) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UpdateTarget) 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 *UpdateTarget) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *UpdateTarget) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *UpdateTarget) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UpdateTarget) 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 *UpdateTarget) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UpdateTarget) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UpdateTarget) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
func (o *UpdateTarget) 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 *UpdateTarget) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *UpdateTarget) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *UpdateTarget) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateTarget) 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 *UpdateTarget) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateTarget) GetNewComment() string
GetNewComment returns the NewComment field if non-nil, zero value otherwise.
func (o *UpdateTarget) GetNewCommentOk() (*string, bool)
GetNewCommentOk returns a tuple with the NewComment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateTarget) SetNewComment(v string)
SetNewComment sets NewComment field to given value.
func (o *UpdateTarget) HasNewComment() bool
HasNewComment returns a boolean if a field has been set.
func (o *UpdateTarget) GetNewName() string
GetNewName returns the NewName field if non-nil, zero value otherwise.
func (o *UpdateTarget) 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 *UpdateTarget) SetNewName(v string)
SetNewName sets NewName field to given value.
func (o *UpdateTarget) HasNewName() bool
HasNewName returns a boolean if a field has been set.
func (o *UpdateTarget) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UpdateTarget) 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 *UpdateTarget) SetToken(v string)
SetToken sets Token field to given value.
func (o *UpdateTarget) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UpdateTarget) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UpdateTarget) 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 *UpdateTarget) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UpdateTarget) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.