Skip to content

Latest commit

 

History

History
353 lines (190 loc) · 11.6 KB

FarmCreateSpec.md

File metadata and controls

353 lines (190 loc) · 11.6 KB

FarmCreateSpec

Properties

Name Type Description Notes
AccessGroupId string Access groups can organize the entities such as farms in the organization. They can also be used for delegated administration.
AutomatedFarmSettings Pointer to FarmAutomatedSettingsCreateSpec [optional]
Description Pointer to string Description of the farm. [optional]
DisplayName Pointer to string Display name of the farm. If the display name is left blank, it defaults to name. [optional]
DisplayProtocolSettings Pointer to FarmDisplayProtocolSettingsCreateSpec [optional]
Enabled Pointer to bool Indicates whether the farm is enabled for brokering. Default value is true. [optional]
LoadBalancerSettings Pointer to RDSHLoadBalancerSettingsCreateSpec [optional]
Name string Name of the farm. This property must contain only alphanumerics, underscores, and dashes.
RdsServerIds Pointer to []string List of IDs of RDS Servers in the Manual Farm. This is applicable if type is set to MANUAL. [optional]
ServerErrorThreshold Pointer to int32 The minimum number of machines that must be fully operational in order to avoid showing the farm in an error state. Default value is 0. [optional]
SessionSettings Pointer to FarmSessionSettingsCreateSpec [optional]
Type string Type of the farm. * AUTOMATED: Automated Farm. * MANUAL: Manual Farm.
UseCustomScriptForLoadBalancing Pointer to bool Indicates whether to use custom scripts for load balancing or not. Default value is false. [optional]

Methods

NewFarmCreateSpec

func NewFarmCreateSpec(accessGroupId string, name string, type_ string, ) *FarmCreateSpec

NewFarmCreateSpec instantiates a new FarmCreateSpec 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

NewFarmCreateSpecWithDefaults

func NewFarmCreateSpecWithDefaults() *FarmCreateSpec

NewFarmCreateSpecWithDefaults instantiates a new FarmCreateSpec 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

GetAccessGroupId

func (o *FarmCreateSpec) GetAccessGroupId() string

GetAccessGroupId returns the AccessGroupId field if non-nil, zero value otherwise.

GetAccessGroupIdOk

func (o *FarmCreateSpec) GetAccessGroupIdOk() (*string, bool)

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

SetAccessGroupId

func (o *FarmCreateSpec) SetAccessGroupId(v string)

SetAccessGroupId sets AccessGroupId field to given value.

GetAutomatedFarmSettings

func (o *FarmCreateSpec) GetAutomatedFarmSettings() FarmAutomatedSettingsCreateSpec

GetAutomatedFarmSettings returns the AutomatedFarmSettings field if non-nil, zero value otherwise.

GetAutomatedFarmSettingsOk

func (o *FarmCreateSpec) GetAutomatedFarmSettingsOk() (*FarmAutomatedSettingsCreateSpec, bool)

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

SetAutomatedFarmSettings

func (o *FarmCreateSpec) SetAutomatedFarmSettings(v FarmAutomatedSettingsCreateSpec)

SetAutomatedFarmSettings sets AutomatedFarmSettings field to given value.

HasAutomatedFarmSettings

func (o *FarmCreateSpec) HasAutomatedFarmSettings() bool

HasAutomatedFarmSettings returns a boolean if a field has been set.

GetDescription

func (o *FarmCreateSpec) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *FarmCreateSpec) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *FarmCreateSpec) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *FarmCreateSpec) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDisplayName

func (o *FarmCreateSpec) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *FarmCreateSpec) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *FarmCreateSpec) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *FarmCreateSpec) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

GetDisplayProtocolSettings

func (o *FarmCreateSpec) GetDisplayProtocolSettings() FarmDisplayProtocolSettingsCreateSpec

GetDisplayProtocolSettings returns the DisplayProtocolSettings field if non-nil, zero value otherwise.

GetDisplayProtocolSettingsOk

func (o *FarmCreateSpec) GetDisplayProtocolSettingsOk() (*FarmDisplayProtocolSettingsCreateSpec, bool)

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

SetDisplayProtocolSettings

func (o *FarmCreateSpec) SetDisplayProtocolSettings(v FarmDisplayProtocolSettingsCreateSpec)

SetDisplayProtocolSettings sets DisplayProtocolSettings field to given value.

HasDisplayProtocolSettings

func (o *FarmCreateSpec) HasDisplayProtocolSettings() bool

HasDisplayProtocolSettings returns a boolean if a field has been set.

GetEnabled

func (o *FarmCreateSpec) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk

func (o *FarmCreateSpec) GetEnabledOk() (*bool, bool)

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

SetEnabled

func (o *FarmCreateSpec) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled

func (o *FarmCreateSpec) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetLoadBalancerSettings

func (o *FarmCreateSpec) GetLoadBalancerSettings() RDSHLoadBalancerSettingsCreateSpec

GetLoadBalancerSettings returns the LoadBalancerSettings field if non-nil, zero value otherwise.

GetLoadBalancerSettingsOk

func (o *FarmCreateSpec) GetLoadBalancerSettingsOk() (*RDSHLoadBalancerSettingsCreateSpec, bool)

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

SetLoadBalancerSettings

func (o *FarmCreateSpec) SetLoadBalancerSettings(v RDSHLoadBalancerSettingsCreateSpec)

SetLoadBalancerSettings sets LoadBalancerSettings field to given value.

HasLoadBalancerSettings

func (o *FarmCreateSpec) HasLoadBalancerSettings() bool

HasLoadBalancerSettings returns a boolean if a field has been set.

GetName

func (o *FarmCreateSpec) GetName() string

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

GetNameOk

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

SetName sets Name field to given value.

GetRdsServerIds

func (o *FarmCreateSpec) GetRdsServerIds() []string

GetRdsServerIds returns the RdsServerIds field if non-nil, zero value otherwise.

GetRdsServerIdsOk

func (o *FarmCreateSpec) GetRdsServerIdsOk() (*[]string, bool)

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

SetRdsServerIds

func (o *FarmCreateSpec) SetRdsServerIds(v []string)

SetRdsServerIds sets RdsServerIds field to given value.

HasRdsServerIds

func (o *FarmCreateSpec) HasRdsServerIds() bool

HasRdsServerIds returns a boolean if a field has been set.

GetServerErrorThreshold

func (o *FarmCreateSpec) GetServerErrorThreshold() int32

GetServerErrorThreshold returns the ServerErrorThreshold field if non-nil, zero value otherwise.

GetServerErrorThresholdOk

func (o *FarmCreateSpec) GetServerErrorThresholdOk() (*int32, bool)

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

SetServerErrorThreshold

func (o *FarmCreateSpec) SetServerErrorThreshold(v int32)

SetServerErrorThreshold sets ServerErrorThreshold field to given value.

HasServerErrorThreshold

func (o *FarmCreateSpec) HasServerErrorThreshold() bool

HasServerErrorThreshold returns a boolean if a field has been set.

GetSessionSettings

func (o *FarmCreateSpec) GetSessionSettings() FarmSessionSettingsCreateSpec

GetSessionSettings returns the SessionSettings field if non-nil, zero value otherwise.

GetSessionSettingsOk

func (o *FarmCreateSpec) GetSessionSettingsOk() (*FarmSessionSettingsCreateSpec, bool)

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

SetSessionSettings

func (o *FarmCreateSpec) SetSessionSettings(v FarmSessionSettingsCreateSpec)

SetSessionSettings sets SessionSettings field to given value.

HasSessionSettings

func (o *FarmCreateSpec) HasSessionSettings() bool

HasSessionSettings returns a boolean if a field has been set.

GetType

func (o *FarmCreateSpec) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *FarmCreateSpec) GetTypeOk() (*string, bool)

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

SetType

func (o *FarmCreateSpec) SetType(v string)

SetType sets Type field to given value.

GetUseCustomScriptForLoadBalancing

func (o *FarmCreateSpec) GetUseCustomScriptForLoadBalancing() bool

GetUseCustomScriptForLoadBalancing returns the UseCustomScriptForLoadBalancing field if non-nil, zero value otherwise.

GetUseCustomScriptForLoadBalancingOk

func (o *FarmCreateSpec) GetUseCustomScriptForLoadBalancingOk() (*bool, bool)

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

SetUseCustomScriptForLoadBalancing

func (o *FarmCreateSpec) SetUseCustomScriptForLoadBalancing(v bool)

SetUseCustomScriptForLoadBalancing sets UseCustomScriptForLoadBalancing field to given value.

HasUseCustomScriptForLoadBalancing

func (o *FarmCreateSpec) HasUseCustomScriptForLoadBalancing() bool

HasUseCustomScriptForLoadBalancing returns a boolean if a field has been set.

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