# TemplateResponse

A MongoDB template.

## 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 [**TemplateProperties**](https://docs.ionos.com/sections-test/go-sdk/dbaas-mongo-go-sdk/models/templateproperties) |                                | \[optional] |

## Methods

### GetType

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

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

### GetTypeOk

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

SetType sets Type field to given value.

### HasType

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

HasType returns a boolean if a field has been set.

### GetId

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

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

### GetIdOk

`func (o *TemplateResponse) 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 *TemplateResponse) SetId(v string)`

SetId sets Id field to given value.

### HasId

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

HasId returns a boolean if a field has been set.

### GetMetadata

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

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

### GetMetadataOk

`func (o *TemplateResponse) 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 *TemplateResponse) SetMetadata(v Metadata)`

SetMetadata sets Metadata field to given value.

### HasMetadata

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

HasMetadata returns a boolean if a field has been set.

### GetProperties

`func (o *TemplateResponse) GetProperties() TemplateProperties`

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

### GetPropertiesOk

`func (o *TemplateResponse) GetPropertiesOk() (*TemplateProperties, 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 *TemplateResponse) SetProperties(v TemplateProperties)`

SetProperties sets Properties field to given value.

### HasProperties

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

HasProperties returns a boolean if a field has been set.
