Skip to content

ElasticsearchBucketScriptSettings🔗

Definition🔗

type ElasticsearchBucketScriptSettings struct {
    Script *elasticsearch.InlineScript `json:"script,omitempty"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode ElasticsearchBucketScriptSettings 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 (elasticsearchBucketScriptSettings *ElasticsearchBucketScriptSettings) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two ElasticsearchBucketScriptSettings objects.

func (elasticsearchBucketScriptSettings *ElasticsearchBucketScriptSettings) Equals(other ElasticsearchBucketScriptSettings) bool

Validate🔗

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

func (elasticsearchBucketScriptSettings *ElasticsearchBucketScriptSettings) Validate() error

See also🔗