Skip to content

Latest commit

 

History

History
472 lines (255 loc) · 12.1 KB

Instance.md

File metadata and controls

472 lines (255 loc) · 12.1 KB

Instance

Properties

Name Type Description Notes
Id Pointer to string [optional]
CreatedAt Pointer to time.Time [optional]
UpdatedAt Pointer to time.Time [optional]
OrganizationId Pointer to string [optional]
AppId Pointer to string [optional]
ServiceId Pointer to string [optional]
RegionalDeploymentId Pointer to string [optional]
AllocationId Pointer to string [optional]
Region Pointer to string [optional]
Datacenter Pointer to string [optional]
Hypervisor Pointer to string [optional]
Status Pointer to InstanceStatus [optional] [default to INSTANCESTATUS_ALLOCATING]
Messages Pointer to []string [optional]
StartedAt Pointer to time.Time [optional]
SucceededAt Pointer to time.Time [optional]
TerminatedAt Pointer to time.Time [optional]
XyzDeploymentId Pointer to string WARNING: Please don't use the following attribute. Koyeb doesn't guarantee backwards compatible breaking change and reserve the right to completely drop it without notice. USE AT YOUR OWN RISK. [optional]

Methods

NewInstance

func NewInstance() *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

GetId

func (o *Instance) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Instance) HasId() bool

HasId returns a boolean if a field has been set.

GetCreatedAt

func (o *Instance) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Instance) GetCreatedAtOk() (*time.Time, bool)

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

SetCreatedAt

func (o *Instance) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *Instance) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetUpdatedAt

func (o *Instance) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *Instance) GetUpdatedAtOk() (*time.Time, bool)

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

SetUpdatedAt

func (o *Instance) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *Instance) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

GetOrganizationId

func (o *Instance) GetOrganizationId() string

GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.

GetOrganizationIdOk

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

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

SetOrganizationId

func (o *Instance) SetOrganizationId(v string)

SetOrganizationId sets OrganizationId field to given value.

HasOrganizationId

func (o *Instance) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

GetAppId

func (o *Instance) GetAppId() string

GetAppId returns the AppId field if non-nil, zero value otherwise.

GetAppIdOk

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

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

SetAppId

func (o *Instance) SetAppId(v string)

SetAppId sets AppId field to given value.

HasAppId

func (o *Instance) HasAppId() bool

HasAppId returns a boolean if a field has been set.

GetServiceId

func (o *Instance) GetServiceId() string

GetServiceId returns the ServiceId field if non-nil, zero value otherwise.

GetServiceIdOk

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

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

SetServiceId

func (o *Instance) SetServiceId(v string)

SetServiceId sets ServiceId field to given value.

HasServiceId

func (o *Instance) HasServiceId() bool

HasServiceId returns a boolean if a field has been set.

GetRegionalDeploymentId

func (o *Instance) GetRegionalDeploymentId() string

GetRegionalDeploymentId returns the RegionalDeploymentId field if non-nil, zero value otherwise.

GetRegionalDeploymentIdOk

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

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

SetRegionalDeploymentId

func (o *Instance) SetRegionalDeploymentId(v string)

SetRegionalDeploymentId sets RegionalDeploymentId field to given value.

HasRegionalDeploymentId

func (o *Instance) HasRegionalDeploymentId() bool

HasRegionalDeploymentId returns a boolean if a field has been set.

GetAllocationId

func (o *Instance) GetAllocationId() string

GetAllocationId returns the AllocationId field if non-nil, zero value otherwise.

GetAllocationIdOk

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

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

SetAllocationId

func (o *Instance) SetAllocationId(v string)

SetAllocationId sets AllocationId field to given value.

HasAllocationId

func (o *Instance) HasAllocationId() bool

HasAllocationId returns a boolean if a field has been set.

GetRegion

func (o *Instance) GetRegion() string

GetRegion returns the Region field if non-nil, zero value otherwise.

GetRegionOk

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

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

SetRegion

func (o *Instance) SetRegion(v string)

SetRegion sets Region field to given value.

HasRegion

func (o *Instance) HasRegion() bool

HasRegion returns a boolean if a field has been set.

GetDatacenter

func (o *Instance) GetDatacenter() string

GetDatacenter returns the Datacenter field if non-nil, zero value otherwise.

GetDatacenterOk

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

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

SetDatacenter

func (o *Instance) SetDatacenter(v string)

SetDatacenter sets Datacenter field to given value.

HasDatacenter

func (o *Instance) HasDatacenter() bool

HasDatacenter returns a boolean if a field has been set.

GetHypervisor

func (o *Instance) GetHypervisor() string

GetHypervisor returns the Hypervisor field if non-nil, zero value otherwise.

GetHypervisorOk

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

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

SetHypervisor

func (o *Instance) SetHypervisor(v string)

SetHypervisor sets Hypervisor field to given value.

HasHypervisor

func (o *Instance) HasHypervisor() bool

HasHypervisor returns a boolean if a field has been set.

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.

HasStatus

func (o *Instance) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetMessages

func (o *Instance) GetMessages() []string

GetMessages returns the Messages field if non-nil, zero value otherwise.

GetMessagesOk

func (o *Instance) GetMessagesOk() (*[]string, bool)

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

SetMessages

func (o *Instance) SetMessages(v []string)

SetMessages sets Messages field to given value.

HasMessages

func (o *Instance) HasMessages() bool

HasMessages returns a boolean if a field has been set.

GetStartedAt

func (o *Instance) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.

GetStartedAtOk

func (o *Instance) GetStartedAtOk() (*time.Time, bool)

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

SetStartedAt

func (o *Instance) SetStartedAt(v time.Time)

SetStartedAt sets StartedAt field to given value.

HasStartedAt

func (o *Instance) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

GetSucceededAt

func (o *Instance) GetSucceededAt() time.Time

GetSucceededAt returns the SucceededAt field if non-nil, zero value otherwise.

GetSucceededAtOk

func (o *Instance) GetSucceededAtOk() (*time.Time, bool)

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

SetSucceededAt

func (o *Instance) SetSucceededAt(v time.Time)

SetSucceededAt sets SucceededAt field to given value.

HasSucceededAt

func (o *Instance) HasSucceededAt() bool

HasSucceededAt returns a boolean if a field has been set.

GetTerminatedAt

func (o *Instance) GetTerminatedAt() time.Time

GetTerminatedAt returns the TerminatedAt field if non-nil, zero value otherwise.

GetTerminatedAtOk

func (o *Instance) GetTerminatedAtOk() (*time.Time, bool)

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

SetTerminatedAt

func (o *Instance) SetTerminatedAt(v time.Time)

SetTerminatedAt sets TerminatedAt field to given value.

HasTerminatedAt

func (o *Instance) HasTerminatedAt() bool

HasTerminatedAt returns a boolean if a field has been set.

GetXyzDeploymentId

func (o *Instance) GetXyzDeploymentId() string

GetXyzDeploymentId returns the XyzDeploymentId field if non-nil, zero value otherwise.

GetXyzDeploymentIdOk

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

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

SetXyzDeploymentId

func (o *Instance) SetXyzDeploymentId(v string)

SetXyzDeploymentId sets XyzDeploymentId field to given value.

HasXyzDeploymentId

func (o *Instance) HasXyzDeploymentId() bool

HasXyzDeploymentId returns a boolean if a field has been set.

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