Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Endpoint | string | ||
Provider | string | ||
Active | bool | ||
Container | ContainerSpec | ||
Status | InstanceStatus |
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
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
func (o *Instance) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Instance) SetName(v string)
SetName sets Name field to given value.
func (o *Instance) GetEndpoint() string
GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.
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.
func (o *Instance) SetEndpoint(v string)
SetEndpoint sets Endpoint field to given value.
func (o *Instance) GetProvider() string
GetProvider returns the Provider field if non-nil, zero value otherwise.
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.
func (o *Instance) SetProvider(v string)
SetProvider sets Provider field to given value.
func (o *Instance) GetActive() bool
GetActive returns the Active field if non-nil, zero value otherwise.
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.
func (o *Instance) SetActive(v bool)
SetActive sets Active field to given value.
func (o *Instance) GetContainer() ContainerSpec
GetContainer returns the Container field if non-nil, zero value otherwise.
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.
func (o *Instance) SetContainer(v ContainerSpec)
SetContainer sets Container field to given value.
func (o *Instance) GetStatus() InstanceStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
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.
func (o *Instance) SetStatus(v InstanceStatus)
SetStatus sets Status field to given value.