| Name | Type | Description | Notes |
|---|---|---|---|
| Compute | Pointer to FlyMachineGuest | Resource requirements for the Machine to simulate. Defaults to a performance-1x machine | [optional] |
| Count | Pointer to int64 | Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region. | [optional] |
| OrgSlug | string | ||
| Region | Pointer to string | Region expression for placement as a comma-delimited set of regions or aliases. Defaults to "[region],any", to prefer the API endpoint's local region with any other region as fallback. | [optional] |
| VolumeName | Pointer to string | [optional] | |
| VolumeSizeBytes | Pointer to int64 | [optional] | |
| Weights | Pointer to map[string]int64 | Optional weights to override default placement preferences. | [optional] |
func NewMainGetPlacementsRequest(orgSlug string, ) *MainGetPlacementsRequest
NewMainGetPlacementsRequest instantiates a new MainGetPlacementsRequest 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 NewMainGetPlacementsRequestWithDefaults() *MainGetPlacementsRequest
NewMainGetPlacementsRequestWithDefaults instantiates a new MainGetPlacementsRequest 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 *MainGetPlacementsRequest) GetCompute() FlyMachineGuest
GetCompute returns the Compute field if non-nil, zero value otherwise.
func (o *MainGetPlacementsRequest) GetComputeOk() (*FlyMachineGuest, bool)
GetComputeOk returns a tuple with the Compute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MainGetPlacementsRequest) SetCompute(v FlyMachineGuest)
SetCompute sets Compute field to given value.
func (o *MainGetPlacementsRequest) HasCompute() bool
HasCompute returns a boolean if a field has been set.
func (o *MainGetPlacementsRequest) GetCount() int64
GetCount returns the Count field if non-nil, zero value otherwise.
func (o *MainGetPlacementsRequest) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MainGetPlacementsRequest) SetCount(v int64)
SetCount sets Count field to given value.
func (o *MainGetPlacementsRequest) HasCount() bool
HasCount returns a boolean if a field has been set.
func (o *MainGetPlacementsRequest) GetOrgSlug() string
GetOrgSlug returns the OrgSlug field if non-nil, zero value otherwise.
func (o *MainGetPlacementsRequest) GetOrgSlugOk() (*string, bool)
GetOrgSlugOk returns a tuple with the OrgSlug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MainGetPlacementsRequest) SetOrgSlug(v string)
SetOrgSlug sets OrgSlug field to given value.
func (o *MainGetPlacementsRequest) GetRegion() string
GetRegion returns the Region field if non-nil, zero value otherwise.
func (o *MainGetPlacementsRequest) 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.
func (o *MainGetPlacementsRequest) SetRegion(v string)
SetRegion sets Region field to given value.
func (o *MainGetPlacementsRequest) HasRegion() bool
HasRegion returns a boolean if a field has been set.
func (o *MainGetPlacementsRequest) GetVolumeName() string
GetVolumeName returns the VolumeName field if non-nil, zero value otherwise.
func (o *MainGetPlacementsRequest) GetVolumeNameOk() (*string, bool)
GetVolumeNameOk returns a tuple with the VolumeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MainGetPlacementsRequest) SetVolumeName(v string)
SetVolumeName sets VolumeName field to given value.
func (o *MainGetPlacementsRequest) HasVolumeName() bool
HasVolumeName returns a boolean if a field has been set.
func (o *MainGetPlacementsRequest) GetVolumeSizeBytes() int64
GetVolumeSizeBytes returns the VolumeSizeBytes field if non-nil, zero value otherwise.
func (o *MainGetPlacementsRequest) GetVolumeSizeBytesOk() (*int64, bool)
GetVolumeSizeBytesOk returns a tuple with the VolumeSizeBytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MainGetPlacementsRequest) SetVolumeSizeBytes(v int64)
SetVolumeSizeBytes sets VolumeSizeBytes field to given value.
func (o *MainGetPlacementsRequest) HasVolumeSizeBytes() bool
HasVolumeSizeBytes returns a boolean if a field has been set.
func (o *MainGetPlacementsRequest) GetWeights() map[string]int64
GetWeights returns the Weights field if non-nil, zero value otherwise.
func (o *MainGetPlacementsRequest) GetWeightsOk() (*map[string]int64, bool)
GetWeightsOk returns a tuple with the Weights field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MainGetPlacementsRequest) SetWeights(v map[string]int64)
SetWeights sets Weights field to given value.
func (o *MainGetPlacementsRequest) HasWeights() bool
HasWeights returns a boolean if a field has been set.