ListParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.workspaces.models.ListParameter

Implements

public final class ListParameter
implements JsonSerializable<ListParameter>

Parameters for listing related entities.

Constructor Summary

Constructor Description
ListParameter()

Creates an instance of ListParameter class.

Method Summary

Modifier and Type Method and Description
String filter()

Get the filter property: The filter to apply on the operation.

static ListParameter fromJson(JsonReader jsonReader)

Reads an instance of ListParameter from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
ListParameter withFilter(String filter)

Set the filter property: The filter to apply on the operation.

Methods inherited from java.lang.Object

Constructor Details

ListParameter

public ListParameter()

Creates an instance of ListParameter class.

Method Details

filter

public String filter()

Get the filter property: The filter to apply on the operation. For example, to filter by relevance, use "$filter=relevance eq 'Relevant'". Note: this property is currently a placeholder and is not in use.

Returns:

the filter value.

fromJson

public static ListParameter fromJson(JsonReader jsonReader)

Reads an instance of ListParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ListParameter 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 ListParameter.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withFilter

public ListParameter withFilter(String filter)

Set the filter property: The filter to apply on the operation. For example, to filter by relevance, use "$filter=relevance eq 'Relevant'". Note: this property is currently a placeholder and is not in use.

Parameters:

filter - the filter value to set.

Returns:

the ListParameter object itself.

Applies to