Skip to content

AzureTracesFilter🔗

Definition🔗

type AzureTracesFilter struct {
    // Property name, auto-populated based on available traces.
    Property string `json:"property"`
    // Comparison operator to use. Either equals or not equals.
    Operation string `json:"operation"`
    // Values to filter by.
    Filters []string `json:"filters"`
}

Methods🔗

UnmarshalJSONStrict🔗

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

Equals🔗

Equals tests the equality of two AzureTracesFilter objects.

func (azureTracesFilter *AzureTracesFilter) Equals(other AzureTracesFilter) bool

Validate🔗

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

func (azureTracesFilter *AzureTracesFilter) Validate() error

See also🔗