Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.66 KB

MainHost.md

File metadata and controls

186 lines (101 loc) · 4.66 KB

MainHost

Properties

Name Type Description Notes
ActiveWorkers Pointer to int32 [optional]
AppServerId Pointer to string [optional]
HostAddress Pointer to string [optional]
Id Pointer to string [optional]
Status Pointer to string [optional]
TotalWorkers Pointer to string [optional]

Methods

NewMainHost

func NewMainHost() *MainHost

NewMainHost instantiates a new MainHost 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

NewMainHostWithDefaults

func NewMainHostWithDefaults() *MainHost

NewMainHostWithDefaults instantiates a new MainHost 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

GetActiveWorkers

func (o *MainHost) GetActiveWorkers() int32

GetActiveWorkers returns the ActiveWorkers field if non-nil, zero value otherwise.

GetActiveWorkersOk

func (o *MainHost) GetActiveWorkersOk() (*int32, bool)

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

SetActiveWorkers

func (o *MainHost) SetActiveWorkers(v int32)

SetActiveWorkers sets ActiveWorkers field to given value.

HasActiveWorkers

func (o *MainHost) HasActiveWorkers() bool

HasActiveWorkers returns a boolean if a field has been set.

GetAppServerId

func (o *MainHost) GetAppServerId() string

GetAppServerId returns the AppServerId field if non-nil, zero value otherwise.

GetAppServerIdOk

func (o *MainHost) GetAppServerIdOk() (*string, bool)

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

SetAppServerId

func (o *MainHost) SetAppServerId(v string)

SetAppServerId sets AppServerId field to given value.

HasAppServerId

func (o *MainHost) HasAppServerId() bool

HasAppServerId returns a boolean if a field has been set.

GetHostAddress

func (o *MainHost) GetHostAddress() string

GetHostAddress returns the HostAddress field if non-nil, zero value otherwise.

GetHostAddressOk

func (o *MainHost) GetHostAddressOk() (*string, bool)

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

SetHostAddress

func (o *MainHost) SetHostAddress(v string)

SetHostAddress sets HostAddress field to given value.

HasHostAddress

func (o *MainHost) HasHostAddress() bool

HasHostAddress returns a boolean if a field has been set.

GetId

func (o *MainHost) GetId() string

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

GetIdOk

func (o *MainHost) 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 *MainHost) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *MainHost) HasId() bool

HasId returns a boolean if a field has been set.

GetStatus

func (o *MainHost) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *MainHost) GetStatusOk() (*string, bool)

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

SetStatus

func (o *MainHost) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *MainHost) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTotalWorkers

func (o *MainHost) GetTotalWorkers() string

GetTotalWorkers returns the TotalWorkers field if non-nil, zero value otherwise.

GetTotalWorkersOk

func (o *MainHost) GetTotalWorkersOk() (*string, bool)

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

SetTotalWorkers

func (o *MainHost) SetTotalWorkers(v string)

SetTotalWorkers sets TotalWorkers field to given value.

HasTotalWorkers

func (o *MainHost) HasTotalWorkers() bool

HasTotalWorkers returns a boolean if a field has been set.

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