Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Latest commit

 

History

History
156 lines (83 loc) · 3.87 KB

Instance.md

File metadata and controls

156 lines (83 loc) · 3.87 KB

Instance

Properties

Name Type Description Notes
Name string
Endpoint string
Provider string
Active bool
Container ContainerSpec
Status InstanceStatus

Methods

NewInstance

func NewInstance(name string, endpoint string, provider string, active bool, container ContainerSpec, status InstanceStatus, ) *Instance

NewInstance instantiates a new Instance 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

NewInstanceWithDefaults

func NewInstanceWithDefaults() *Instance

NewInstanceWithDefaults instantiates a new Instance 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

GetName

func (o *Instance) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetEndpoint

func (o *Instance) GetEndpoint() string

GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.

GetEndpointOk

func (o *Instance) GetEndpointOk() (*string, bool)

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

SetEndpoint

func (o *Instance) SetEndpoint(v string)

SetEndpoint sets Endpoint field to given value.

GetProvider

func (o *Instance) GetProvider() string

GetProvider returns the Provider field if non-nil, zero value otherwise.

GetProviderOk

func (o *Instance) GetProviderOk() (*string, bool)

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

SetProvider

func (o *Instance) SetProvider(v string)

SetProvider sets Provider field to given value.

GetActive

func (o *Instance) GetActive() bool

GetActive returns the Active field if non-nil, zero value otherwise.

GetActiveOk

func (o *Instance) GetActiveOk() (*bool, bool)

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

SetActive

func (o *Instance) SetActive(v bool)

SetActive sets Active field to given value.

GetContainer

func (o *Instance) GetContainer() ContainerSpec

GetContainer returns the Container field if non-nil, zero value otherwise.

GetContainerOk

func (o *Instance) GetContainerOk() (*ContainerSpec, bool)

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

SetContainer

func (o *Instance) SetContainer(v ContainerSpec)

SetContainer sets Container field to given value.

GetStatus

func (o *Instance) GetStatus() InstanceStatus

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

GetStatusOk

func (o *Instance) GetStatusOk() (*InstanceStatus, 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 *Instance) SetStatus(v InstanceStatus)

SetStatus sets Status field to given value.

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