Skip to content

Latest commit

 

History

History
332 lines (179 loc) · 7.53 KB

Agent.md

File metadata and controls

332 lines (179 loc) · 7.53 KB

Agent

Properties

Name Type Description Notes
CreatedBy Pointer to string [optional]
CreatedOn Pointer to time.Time [optional]
Flavour Pointer to string [optional]
Id string
ModifiedBy Pointer to string [optional]
ModifiedOn Pointer to time.Time [optional]
Name string
Project Pointer to string [optional]
State Pointer to string [optional]
Tag Pointer to []Tag [optional]
Type Pointer to string [optional]
Uri Pointer to string [optional]

Methods

NewAgent

func NewAgent(id string, name string, ) *Agent

NewAgent instantiates a new Agent 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

NewAgentWithDefaults

func NewAgentWithDefaults() *Agent

NewAgentWithDefaults instantiates a new Agent 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

GetCreatedBy

func (o *Agent) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *Agent) GetCreatedByOk() (*string, bool)

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

SetCreatedBy

func (o *Agent) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *Agent) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedOn

func (o *Agent) GetCreatedOn() time.Time

GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.

GetCreatedOnOk

func (o *Agent) GetCreatedOnOk() (*time.Time, bool)

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

SetCreatedOn

func (o *Agent) SetCreatedOn(v time.Time)

SetCreatedOn sets CreatedOn field to given value.

HasCreatedOn

func (o *Agent) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

GetFlavour

func (o *Agent) GetFlavour() string

GetFlavour returns the Flavour field if non-nil, zero value otherwise.

GetFlavourOk

func (o *Agent) GetFlavourOk() (*string, bool)

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

SetFlavour

func (o *Agent) SetFlavour(v string)

SetFlavour sets Flavour field to given value.

HasFlavour

func (o *Agent) HasFlavour() bool

HasFlavour returns a boolean if a field has been set.

GetId

func (o *Agent) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Agent) GetIdOk() (*string, bool)

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

SetId

func (o *Agent) SetId(v string)

SetId sets Id field to given value.

GetModifiedBy

func (o *Agent) GetModifiedBy() string

GetModifiedBy returns the ModifiedBy field if non-nil, zero value otherwise.

GetModifiedByOk

func (o *Agent) GetModifiedByOk() (*string, bool)

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

SetModifiedBy

func (o *Agent) SetModifiedBy(v string)

SetModifiedBy sets ModifiedBy field to given value.

HasModifiedBy

func (o *Agent) HasModifiedBy() bool

HasModifiedBy returns a boolean if a field has been set.

GetModifiedOn

func (o *Agent) GetModifiedOn() time.Time

GetModifiedOn returns the ModifiedOn field if non-nil, zero value otherwise.

GetModifiedOnOk

func (o *Agent) GetModifiedOnOk() (*time.Time, bool)

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

SetModifiedOn

func (o *Agent) SetModifiedOn(v time.Time)

SetModifiedOn sets ModifiedOn field to given value.

HasModifiedOn

func (o *Agent) HasModifiedOn() bool

HasModifiedOn returns a boolean if a field has been set.

GetName

func (o *Agent) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetProject

func (o *Agent) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *Agent) GetProjectOk() (*string, bool)

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

SetProject

func (o *Agent) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *Agent) HasProject() bool

HasProject returns a boolean if a field has been set.

GetState

func (o *Agent) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *Agent) GetStateOk() (*string, bool)

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

SetState

func (o *Agent) SetState(v string)

SetState sets State field to given value.

HasState

func (o *Agent) HasState() bool

HasState returns a boolean if a field has been set.

GetTag

func (o *Agent) GetTag() []Tag

GetTag returns the Tag field if non-nil, zero value otherwise.

GetTagOk

func (o *Agent) GetTagOk() (*[]Tag, bool)

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

SetTag

func (o *Agent) SetTag(v []Tag)

SetTag sets Tag field to given value.

HasTag

func (o *Agent) HasTag() bool

HasTag returns a boolean if a field has been set.

GetType

func (o *Agent) GetType() string

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

GetTypeOk

func (o *Agent) 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 *Agent) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Agent) HasType() bool

HasType returns a boolean if a field has been set.

GetUri

func (o *Agent) GetUri() string

GetUri returns the Uri field if non-nil, zero value otherwise.

GetUriOk

func (o *Agent) GetUriOk() (*string, bool)

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

SetUri

func (o *Agent) SetUri(v string)

SetUri sets Uri field to given value.

HasUri

func (o *Agent) HasUri() bool

HasUri returns a boolean if a field has been set.

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