Skip to content

ElasticsearchInlineScript🔗

Definition🔗

type ElasticsearchInlineScript struct {
    Inline *string `json:"inline,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode ElasticsearchInlineScript from JSON.

Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …

func (elasticsearchInlineScript *ElasticsearchInlineScript) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two ElasticsearchInlineScript objects.

func (elasticsearchInlineScript *ElasticsearchInlineScript) Equals(other ElasticsearchInlineScript) bool

Validate🔗

Validate checks all the validation constraints that may be defined on ElasticsearchInlineScript fields for violations and returns them.

func (elasticsearchInlineScript *ElasticsearchInlineScript) Validate() error

See also🔗