Filter Class

  • java.lang.Object
    • com.azure.resourcemanager.selfhelp.models.Filter

Implements

public final class Filter
implements JsonSerializable<Filter>

Filter criterion.

Method Summary

Modifier and Type Method and Description
static Filter fromJson(JsonReader jsonReader)

Reads an instance of Filter from the JsonReader.

String name()

Get the name property: Filter name.

String operator()

Get the operator property: Filter operator.

JsonWriter toJson(JsonWriter jsonWriter)
String values()

Get the values property: Filter values.

Methods inherited from java.lang.Object

Method Details

fromJson

public static Filter fromJson(JsonReader jsonReader)

Reads an instance of Filter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Filter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the Filter.

name

public String name()

Get the name property: Filter name.

Returns:

the name value.

operator

public String operator()

Get the operator property: Filter operator.

Returns:

the operator value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

values

public String values()

Get the values property: Filter values.

Returns:

the values value.

Applies to