Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.43 KB

UpdateDocumentRequest.md

File metadata and controls

124 lines (67 loc) · 3.43 KB

UpdateDocumentRequest

Properties

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]

Methods

NewUpdateDocumentRequest

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

NewUpdateDocumentRequestWithDefaults

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

GetIndex

func (o *UpdateDocumentRequest) GetIndex() string

GetIndex returns the Index field if non-nil, zero value otherwise.

GetIndexOk

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.

SetIndex

func (o *UpdateDocumentRequest) SetIndex(v string)

SetIndex sets Index field to given value.

GetDoc

func (o *UpdateDocumentRequest) GetDoc() map[string]map[string]interface{}

GetDoc returns the Doc field if non-nil, zero value otherwise.

GetDocOk

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.

SetDoc

func (o *UpdateDocumentRequest) SetDoc(v map[string]map[string]interface{})

SetDoc sets Doc field to given value.

GetId

func (o *UpdateDocumentRequest) GetId() int64

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

GetIdOk

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.

SetId

func (o *UpdateDocumentRequest) SetId(v int64)

SetId sets Id field to given value.

HasId

func (o *UpdateDocumentRequest) HasId() bool

HasId returns a boolean if a field has been set.

GetQuery

func (o *UpdateDocumentRequest) GetQuery() map[string]map[string]interface{}

GetQuery returns the Query field if non-nil, zero value otherwise.

GetQueryOk

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.

SetQuery

func (o *UpdateDocumentRequest) SetQuery(v map[string]map[string]interface{})

SetQuery sets Query field to given value.

HasQuery

func (o *UpdateDocumentRequest) HasQuery() bool

HasQuery returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]