garage-admin-sdk-golang/docs/NodeClusterInfo.md

109 lines
2.9 KiB
Markdown
Raw Normal View History

2022-11-13 13:22:00 +00:00
# NodeClusterInfo
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Zone** | **string** | |
2023-11-23 09:04:11 +00:00
**Capacity** | Pointer to **NullableInt64** | | [optional]
2022-11-13 13:22:00 +00:00
**Tags** | **[]string** | User defined tags, put whatever makes sense for you, these tags are not interpreted by Garage |
## Methods
### NewNodeClusterInfo
2023-11-22 17:28:14 +00:00
`func NewNodeClusterInfo(zone string, tags []string, ) *NodeClusterInfo`
2022-11-13 13:22:00 +00:00
NewNodeClusterInfo instantiates a new NodeClusterInfo 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
### NewNodeClusterInfoWithDefaults
`func NewNodeClusterInfoWithDefaults() *NodeClusterInfo`
NewNodeClusterInfoWithDefaults instantiates a new NodeClusterInfo 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
### GetZone
`func (o *NodeClusterInfo) GetZone() string`
GetZone returns the Zone field if non-nil, zero value otherwise.
### GetZoneOk
`func (o *NodeClusterInfo) GetZoneOk() (*string, bool)`
GetZoneOk returns a tuple with the Zone field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetZone
`func (o *NodeClusterInfo) SetZone(v string)`
SetZone sets Zone field to given value.
### GetCapacity
2023-11-23 09:04:11 +00:00
`func (o *NodeClusterInfo) GetCapacity() int64`
2022-11-13 13:22:00 +00:00
GetCapacity returns the Capacity field if non-nil, zero value otherwise.
### GetCapacityOk
2023-11-23 09:04:11 +00:00
`func (o *NodeClusterInfo) GetCapacityOk() (*int64, bool)`
2022-11-13 13:22:00 +00:00
GetCapacityOk returns a tuple with the Capacity field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCapacity
2023-11-23 09:04:11 +00:00
`func (o *NodeClusterInfo) SetCapacity(v int64)`
2022-11-13 13:22:00 +00:00
SetCapacity sets Capacity field to given value.
2023-11-22 17:28:14 +00:00
### HasCapacity
`func (o *NodeClusterInfo) HasCapacity() bool`
HasCapacity returns a boolean if a field has been set.
2022-11-13 13:22:00 +00:00
### SetCapacityNil
`func (o *NodeClusterInfo) SetCapacityNil(b bool)`
SetCapacityNil sets the value for Capacity to be an explicit nil
### UnsetCapacity
`func (o *NodeClusterInfo) UnsetCapacity()`
UnsetCapacity ensures that no value is present for Capacity, not even an explicit nil
### GetTags
`func (o *NodeClusterInfo) GetTags() []string`
GetTags returns the Tags field if non-nil, zero value otherwise.
### GetTagsOk
`func (o *NodeClusterInfo) GetTagsOk() (*[]string, bool)`
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetTags
`func (o *NodeClusterInfo) SetTags(v []string)`
SetTags sets Tags field to given value.
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)