# ClusterResponse

A database cluster.

## Properties

| Name           | Type                                                                                                                        | Description                    | Notes       |
| -------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ----------- |
| **Type**       | Pointer to [**ResourceType**](https://docs.ionos.com/sections-test/go-sdk/dbaas-mongo-go-sdk/models/resourcetype)           |                                | \[optional] |
| **Id**         | Pointer to **string**                                                                                                       | The unique ID of the resource. | \[optional] |
| **Metadata**   | Pointer to [**Metadata**](https://docs.ionos.com/sections-test/go-sdk/dbaas-mongo-go-sdk/models/metadata)                   |                                | \[optional] |
| **Properties** | Pointer to [**ClusterProperties**](https://docs.ionos.com/sections-test/go-sdk/dbaas-mongo-go-sdk/models/clusterproperties) |                                | \[optional] |

## Methods

### GetType

`func (o *ClusterResponse) GetType() ResourceType`

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

### GetTypeOk

`func (o *ClusterResponse) GetTypeOk() (*ResourceType, 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 *ClusterResponse) SetType(v ResourceType)`

SetType sets Type field to given value.

### HasType

`func (o *ClusterResponse) HasType() bool`

HasType returns a boolean if a field has been set.

### GetId

`func (o *ClusterResponse) GetId() string`

GetId returns the Id field if non-nil, zero value otherwise.

### GetIdOk

`func (o *ClusterResponse) GetIdOk() (*string, bool)`

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

### SetId

`func (o *ClusterResponse) SetId(v string)`

SetId sets Id field to given value.

### HasId

`func (o *ClusterResponse) HasId() bool`

HasId returns a boolean if a field has been set.

### GetMetadata

`func (o *ClusterResponse) GetMetadata() Metadata`

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

### GetMetadataOk

`func (o *ClusterResponse) GetMetadataOk() (*Metadata, bool)`

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

### SetMetadata

`func (o *ClusterResponse) SetMetadata(v Metadata)`

SetMetadata sets Metadata field to given value.

### HasMetadata

`func (o *ClusterResponse) HasMetadata() bool`

HasMetadata returns a boolean if a field has been set.

### GetProperties

`func (o *ClusterResponse) GetProperties() ClusterProperties`

GetProperties returns the Properties field if non-nil, zero value otherwise.

### GetPropertiesOk

`func (o *ClusterResponse) GetPropertiesOk() (*ClusterProperties, bool)`

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

### SetProperties

`func (o *ClusterResponse) SetProperties(v ClusterProperties)`

SetProperties sets Properties field to given value.

### HasProperties

`func (o *ClusterResponse) HasProperties() bool`

HasProperties returns a boolean if a field has been set.
