Name | Type | Description | Notes |
---|---|---|---|
Index | string | ||
Doc | map[string]map[string]interface{} | Index name | |
Id | Pointer to int64 | Document ID | [optional] |
Query | Pointer to map[string]map[string]interface{} | Query tree object | [optional] |
func NewUpdateDocumentRequest(index string, doc map[string]map[string]interface{}, ) *UpdateDocumentRequest
NewUpdateDocumentRequest instantiates a new UpdateDocumentRequest 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 NewUpdateDocumentRequestWithDefaults() *UpdateDocumentRequest
NewUpdateDocumentRequestWithDefaults instantiates a new UpdateDocumentRequest 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 *UpdateDocumentRequest) GetIndex() string
GetIndex returns the Index field if non-nil, zero value otherwise.
func (o *UpdateDocumentRequest) 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 *UpdateDocumentRequest) SetIndex(v string)
SetIndex sets Index field to given value.
func (o *UpdateDocumentRequest) GetDoc() map[string]map[string]interface{}
GetDoc returns the Doc field if non-nil, zero value otherwise.
func (o *UpdateDocumentRequest) GetDocOk() (*map[string]map[string]interface{}, bool)
GetDocOk returns a tuple with the Doc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateDocumentRequest) SetDoc(v map[string]map[string]interface{})
SetDoc sets Doc field to given value.
func (o *UpdateDocumentRequest) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *UpdateDocumentRequest) 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 *UpdateDocumentRequest) SetId(v int64)
SetId sets Id field to given value.
func (o *UpdateDocumentRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (o *UpdateDocumentRequest) GetQuery() map[string]map[string]interface{}
GetQuery returns the Query field if non-nil, zero value otherwise.
func (o *UpdateDocumentRequest) GetQueryOk() (*map[string]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 *UpdateDocumentRequest) SetQuery(v map[string]map[string]interface{})
SetQuery sets Query field to given value.
func (o *UpdateDocumentRequest) HasQuery() bool
HasQuery returns a boolean if a field has been set.