Name | Type | Description | Notes |
---|---|---|---|
Status | ClusterStatus | ||
Health | ClusterHealth | ||
BucketStats | Pointer to BucketStats | [optional] | |
NodeStats | Pointer to NodeStats | [optional] |
func NewClusterHealthResponse(status ClusterStatus, health ClusterHealth, ) *ClusterHealthResponse
NewClusterHealthResponse instantiates a new ClusterHealthResponse 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 NewClusterHealthResponseWithDefaults() *ClusterHealthResponse
NewClusterHealthResponseWithDefaults instantiates a new ClusterHealthResponse 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 *ClusterHealthResponse) GetStatus() ClusterStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *ClusterHealthResponse) GetStatusOk() (*ClusterStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterHealthResponse) SetStatus(v ClusterStatus)
SetStatus sets Status field to given value.
func (o *ClusterHealthResponse) GetHealth() ClusterHealth
GetHealth returns the Health field if non-nil, zero value otherwise.
func (o *ClusterHealthResponse) GetHealthOk() (*ClusterHealth, bool)
GetHealthOk returns a tuple with the Health field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterHealthResponse) SetHealth(v ClusterHealth)
SetHealth sets Health field to given value.
func (o *ClusterHealthResponse) GetBucketStats() BucketStats
GetBucketStats returns the BucketStats field if non-nil, zero value otherwise.
func (o *ClusterHealthResponse) GetBucketStatsOk() (*BucketStats, bool)
GetBucketStatsOk returns a tuple with the BucketStats field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterHealthResponse) SetBucketStats(v BucketStats)
SetBucketStats sets BucketStats field to given value.
func (o *ClusterHealthResponse) HasBucketStats() bool
HasBucketStats returns a boolean if a field has been set.
func (o *ClusterHealthResponse) GetNodeStats() NodeStats
GetNodeStats returns the NodeStats field if non-nil, zero value otherwise.
func (o *ClusterHealthResponse) GetNodeStatsOk() (*NodeStats, bool)
GetNodeStatsOk returns a tuple with the NodeStats field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ClusterHealthResponse) SetNodeStats(v NodeStats)
SetNodeStats sets NodeStats field to given value.
func (o *ClusterHealthResponse) HasNodeStats() bool
HasNodeStats returns a boolean if a field has been set.