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] |
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
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
func (o *FarmCreateSpec) GetAccessGroupId() string
GetAccessGroupId returns the AccessGroupId field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetAccessGroupId(v string)
SetAccessGroupId sets AccessGroupId field to given value.
func (o *FarmCreateSpec) GetAutomatedFarmSettings() FarmAutomatedSettingsCreateSpec
GetAutomatedFarmSettings returns the AutomatedFarmSettings field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetAutomatedFarmSettings(v FarmAutomatedSettingsCreateSpec)
SetAutomatedFarmSettings sets AutomatedFarmSettings field to given value.
func (o *FarmCreateSpec) HasAutomatedFarmSettings() bool
HasAutomatedFarmSettings returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *FarmCreateSpec) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *FarmCreateSpec) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetDisplayProtocolSettings() FarmDisplayProtocolSettingsCreateSpec
GetDisplayProtocolSettings returns the DisplayProtocolSettings field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetDisplayProtocolSettings(v FarmDisplayProtocolSettingsCreateSpec)
SetDisplayProtocolSettings sets DisplayProtocolSettings field to given value.
func (o *FarmCreateSpec) HasDisplayProtocolSettings() bool
HasDisplayProtocolSettings returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *FarmCreateSpec) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetLoadBalancerSettings() RDSHLoadBalancerSettingsCreateSpec
GetLoadBalancerSettings returns the LoadBalancerSettings field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetLoadBalancerSettings(v RDSHLoadBalancerSettingsCreateSpec)
SetLoadBalancerSettings sets LoadBalancerSettings field to given value.
func (o *FarmCreateSpec) HasLoadBalancerSettings() bool
HasLoadBalancerSettings returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetName(v string)
SetName sets Name field to given value.
func (o *FarmCreateSpec) GetRdsServerIds() []string
GetRdsServerIds returns the RdsServerIds field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetRdsServerIds(v []string)
SetRdsServerIds sets RdsServerIds field to given value.
func (o *FarmCreateSpec) HasRdsServerIds() bool
HasRdsServerIds returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetServerErrorThreshold() int32
GetServerErrorThreshold returns the ServerErrorThreshold field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetServerErrorThreshold(v int32)
SetServerErrorThreshold sets ServerErrorThreshold field to given value.
func (o *FarmCreateSpec) HasServerErrorThreshold() bool
HasServerErrorThreshold returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetSessionSettings() FarmSessionSettingsCreateSpec
GetSessionSettings returns the SessionSettings field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetSessionSettings(v FarmSessionSettingsCreateSpec)
SetSessionSettings sets SessionSettings field to given value.
func (o *FarmCreateSpec) HasSessionSettings() bool
HasSessionSettings returns a boolean if a field has been set.
func (o *FarmCreateSpec) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetType(v string)
SetType sets Type field to given value.
func (o *FarmCreateSpec) GetUseCustomScriptForLoadBalancing() bool
GetUseCustomScriptForLoadBalancing returns the UseCustomScriptForLoadBalancing field if non-nil, zero value otherwise.
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.
func (o *FarmCreateSpec) SetUseCustomScriptForLoadBalancing(v bool)
SetUseCustomScriptForLoadBalancing sets UseCustomScriptForLoadBalancing field to given value.
func (o *FarmCreateSpec) HasUseCustomScriptForLoadBalancing() bool
HasUseCustomScriptForLoadBalancing returns a boolean if a field has been set.