Skip to content

Latest commit

 

History

History
233 lines (126 loc) · 6.46 KB

CreateLinkedTarget.md

File metadata and controls

233 lines (126 loc) · 6.46 KB

CreateLinkedTarget

Properties

Name Type Description Notes
Description Pointer to string Description of the object [optional]
Hosts Pointer to string A comma seperated list of server hosts and server descriptions joined by semicolon ';' (i.e. 'server-dev.com;My Dev server,server-prod.com;My Prod server description') [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
Name string Target name
ParentTargetName Pointer to string The parent Target name [optional]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
Type Pointer to string Specifies the hosts type, relevant only when working without parent target [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]

Methods

NewCreateLinkedTarget

func NewCreateLinkedTarget(name string, ) *CreateLinkedTarget

NewCreateLinkedTarget instantiates a new CreateLinkedTarget 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

NewCreateLinkedTargetWithDefaults

func NewCreateLinkedTargetWithDefaults() *CreateLinkedTarget

NewCreateLinkedTargetWithDefaults instantiates a new CreateLinkedTarget 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 *CreateLinkedTarget) GetDescription() string

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

GetDescriptionOk

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

SetDescription sets Description field to given value.

HasDescription

func (o *CreateLinkedTarget) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetHosts

func (o *CreateLinkedTarget) GetHosts() string

GetHosts returns the Hosts field if non-nil, zero value otherwise.

GetHostsOk

func (o *CreateLinkedTarget) GetHostsOk() (*string, bool)

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

SetHosts

func (o *CreateLinkedTarget) SetHosts(v string)

SetHosts sets Hosts field to given value.

HasHosts

func (o *CreateLinkedTarget) HasHosts() bool

HasHosts returns a boolean if a field has been set.

GetJson

func (o *CreateLinkedTarget) GetJson() bool

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

GetJsonOk

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

SetJson sets Json field to given value.

HasJson

func (o *CreateLinkedTarget) HasJson() bool

HasJson returns a boolean if a field has been set.

GetName

func (o *CreateLinkedTarget) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetParentTargetName

func (o *CreateLinkedTarget) GetParentTargetName() string

GetParentTargetName returns the ParentTargetName field if non-nil, zero value otherwise.

GetParentTargetNameOk

func (o *CreateLinkedTarget) GetParentTargetNameOk() (*string, bool)

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

SetParentTargetName

func (o *CreateLinkedTarget) SetParentTargetName(v string)

SetParentTargetName sets ParentTargetName field to given value.

HasParentTargetName

func (o *CreateLinkedTarget) HasParentTargetName() bool

HasParentTargetName returns a boolean if a field has been set.

GetToken

func (o *CreateLinkedTarget) GetToken() string

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

GetTokenOk

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

SetToken sets Token field to given value.

HasToken

func (o *CreateLinkedTarget) HasToken() bool

HasToken returns a boolean if a field has been set.

GetType

func (o *CreateLinkedTarget) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *CreateLinkedTarget) GetTypeOk() (*string, bool)

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

SetType

func (o *CreateLinkedTarget) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *CreateLinkedTarget) HasType() bool

HasType returns a boolean if a field has been set.

GetUidToken

func (o *CreateLinkedTarget) GetUidToken() string

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

GetUidTokenOk

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

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *CreateLinkedTarget) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

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