> For the complete documentation index, see [llms.txt](https://docs.ionos.com/mongodb-sdk-go/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/mongodb-sdk-go/models/clusterresponse.md).

# ClusterResponse

A database cluster.

## Properties

| Name           | Type                                                                            | Description                    | Notes       |
| -------------- | ------------------------------------------------------------------------------- | ------------------------------ | ----------- |
| **Type**       | Pointer to [**ResourceType**](/mongodb-sdk-go/models/resourcetype.md)           |                                | \[optional] |
| **Id**         | Pointer to **string**                                                           | The unique ID of the resource. | \[optional] |
| **Metadata**   | Pointer to [**Metadata**](/mongodb-sdk-go/models/metadata.md)                   |                                | \[optional] |
| **Properties** | Pointer to [**ClusterProperties**](/mongodb-sdk-go/models/clusterproperties.md) |                                | \[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.
