Name | Type | Description | Notes |
---|---|---|---|
Autostart | Pointer to bool | [optional] | |
Autostop | Pointer to string | Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for "off" and "stop" in responses. * "off" or false - Do not autostop the Machine. * "stop" or true - Automatically stop the Machine. * "suspend" - Automatically suspend the Machine, falling back to a full stop if this is not possible. | [optional] |
Checks | Pointer to []FlyMachineServiceCheck | An optional list of service checks | [optional] |
Concurrency | Pointer to FlyMachineServiceConcurrency | [optional] | |
ForceInstanceDescription | Pointer to string | [optional] | |
ForceInstanceKey | Pointer to string | [optional] | |
InternalPort | Pointer to int64 | [optional] | |
MinMachinesRunning | Pointer to int64 | [optional] | |
Ports | Pointer to []FlyMachinePort | [optional] | |
Protocol | Pointer to string | [optional] |
func NewFlyMachineService() *FlyMachineService
NewFlyMachineService instantiates a new FlyMachineService 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 NewFlyMachineServiceWithDefaults() *FlyMachineService
NewFlyMachineServiceWithDefaults instantiates a new FlyMachineService 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 *FlyMachineService) GetAutostart() bool
GetAutostart returns the Autostart field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetAutostartOk() (*bool, bool)
GetAutostartOk returns a tuple with the Autostart field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetAutostart(v bool)
SetAutostart sets Autostart field to given value.
func (o *FlyMachineService) HasAutostart() bool
HasAutostart returns a boolean if a field has been set.
func (o *FlyMachineService) GetAutostop() string
GetAutostop returns the Autostop field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetAutostopOk() (*string, bool)
GetAutostopOk returns a tuple with the Autostop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetAutostop(v string)
SetAutostop sets Autostop field to given value.
func (o *FlyMachineService) HasAutostop() bool
HasAutostop returns a boolean if a field has been set.
func (o *FlyMachineService) GetChecks() []FlyMachineServiceCheck
GetChecks returns the Checks field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetChecksOk() (*[]FlyMachineServiceCheck, bool)
GetChecksOk returns a tuple with the Checks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetChecks(v []FlyMachineServiceCheck)
SetChecks sets Checks field to given value.
func (o *FlyMachineService) HasChecks() bool
HasChecks returns a boolean if a field has been set.
func (o *FlyMachineService) GetConcurrency() FlyMachineServiceConcurrency
GetConcurrency returns the Concurrency field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetConcurrencyOk() (*FlyMachineServiceConcurrency, bool)
GetConcurrencyOk returns a tuple with the Concurrency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetConcurrency(v FlyMachineServiceConcurrency)
SetConcurrency sets Concurrency field to given value.
func (o *FlyMachineService) HasConcurrency() bool
HasConcurrency returns a boolean if a field has been set.
func (o *FlyMachineService) GetForceInstanceDescription() string
GetForceInstanceDescription returns the ForceInstanceDescription field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetForceInstanceDescriptionOk() (*string, bool)
GetForceInstanceDescriptionOk returns a tuple with the ForceInstanceDescription field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetForceInstanceDescription(v string)
SetForceInstanceDescription sets ForceInstanceDescription field to given value.
func (o *FlyMachineService) HasForceInstanceDescription() bool
HasForceInstanceDescription returns a boolean if a field has been set.
func (o *FlyMachineService) GetForceInstanceKey() string
GetForceInstanceKey returns the ForceInstanceKey field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetForceInstanceKeyOk() (*string, bool)
GetForceInstanceKeyOk returns a tuple with the ForceInstanceKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetForceInstanceKey(v string)
SetForceInstanceKey sets ForceInstanceKey field to given value.
func (o *FlyMachineService) HasForceInstanceKey() bool
HasForceInstanceKey returns a boolean if a field has been set.
func (o *FlyMachineService) GetInternalPort() int64
GetInternalPort returns the InternalPort field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetInternalPortOk() (*int64, bool)
GetInternalPortOk returns a tuple with the InternalPort field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetInternalPort(v int64)
SetInternalPort sets InternalPort field to given value.
func (o *FlyMachineService) HasInternalPort() bool
HasInternalPort returns a boolean if a field has been set.
func (o *FlyMachineService) GetMinMachinesRunning() int64
GetMinMachinesRunning returns the MinMachinesRunning field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetMinMachinesRunningOk() (*int64, bool)
GetMinMachinesRunningOk returns a tuple with the MinMachinesRunning field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetMinMachinesRunning(v int64)
SetMinMachinesRunning sets MinMachinesRunning field to given value.
func (o *FlyMachineService) HasMinMachinesRunning() bool
HasMinMachinesRunning returns a boolean if a field has been set.
func (o *FlyMachineService) GetPorts() []FlyMachinePort
GetPorts returns the Ports field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetPortsOk() (*[]FlyMachinePort, bool)
GetPortsOk returns a tuple with the Ports field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetPorts(v []FlyMachinePort)
SetPorts sets Ports field to given value.
func (o *FlyMachineService) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (o *FlyMachineService) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *FlyMachineService) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FlyMachineService) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *FlyMachineService) HasProtocol() bool
HasProtocol returns a boolean if a field has been set.