> 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/patchuserrequest.md).

# PatchUserRequest

MongoDB database user patch request.

## Properties

| Name           | Type                                                                                | Description | Notes       |
| -------------- | ----------------------------------------------------------------------------------- | ----------- | ----------- |
| **Metadata**   | Pointer to [**UserMetadata**](/mongodb-sdk-go/models/usermetadata.md)               |             | \[optional] |
| **Properties** | Pointer to [**PatchUserProperties**](/mongodb-sdk-go/models/patchuserproperties.md) |             | \[optional] |

## Methods

### GetMetadata

`func (o *PatchUserRequest) GetMetadata() UserMetadata`

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

### GetMetadataOk

`func (o *PatchUserRequest) GetMetadataOk() (*UserMetadata, 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 *PatchUserRequest) SetMetadata(v UserMetadata)`

SetMetadata sets Metadata field to given value.

### HasMetadata

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

HasMetadata returns a boolean if a field has been set.

### GetProperties

`func (o *PatchUserRequest) GetProperties() PatchUserProperties`

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

### GetPropertiesOk

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

SetProperties sets Properties field to given value.

### HasProperties

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

HasProperties returns a boolean if a field has been set.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/mongodb-sdk-go/models/patchuserrequest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
