Name | Type | Description | Notes |
---|---|---|---|
Index | string | Index name | |
Cluster | Pointer to string | Cluster name | [optional] |
Id | Pointer to int64 | The ID of document for deletion | [optional] |
Query | Pointer to map[string]interface{} | Defines the criteria to match documents for deletion | [optional] |
func NewDeleteDocumentRequest(index string, ) *DeleteDocumentRequest
NewDeleteDocumentRequest instantiates a new DeleteDocumentRequest 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 NewDeleteDocumentRequestWithDefaults() *DeleteDocumentRequest
NewDeleteDocumentRequestWithDefaults instantiates a new DeleteDocumentRequest 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 *DeleteDocumentRequest) GetIndex() string
GetIndex returns the Index field if non-nil, zero value otherwise.
func (o *DeleteDocumentRequest) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeleteDocumentRequest) SetIndex(v string)
SetIndex sets Index field to given value.
func (o *DeleteDocumentRequest) GetCluster() string
GetCluster returns the Cluster field if non-nil, zero value otherwise.
func (o *DeleteDocumentRequest) GetClusterOk() (*string, bool)
GetClusterOk returns a tuple with the Cluster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeleteDocumentRequest) SetCluster(v string)
SetCluster sets Cluster field to given value.
func (o *DeleteDocumentRequest) HasCluster() bool
HasCluster returns a boolean if a field has been set.
func (o *DeleteDocumentRequest) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *DeleteDocumentRequest) GetIdOk() (*int64, 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.
func (o *DeleteDocumentRequest) SetId(v int64)
SetId sets Id field to given value.
func (o *DeleteDocumentRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (o *DeleteDocumentRequest) GetQuery() map[string]interface{}
GetQuery returns the Query field if non-nil, zero value otherwise.
func (o *DeleteDocumentRequest) GetQueryOk() (*map[string]interface{}, bool)
GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DeleteDocumentRequest) SetQuery(v map[string]interface{})
SetQuery sets Query field to given value.
func (o *DeleteDocumentRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.