QuotaUsageResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.search.fluent.models.QuotaUsageResultInner

Implements

public final class QuotaUsageResultInner
implements JsonSerializable<QuotaUsageResultInner>

Describes the quota usage for a particular SKU.

Method Summary

Modifier and Type Method and Description
Integer currentValue()

Get the currentValue property: The currently used up value for the particular search SKU.

static QuotaUsageResultInner fromJson(JsonReader jsonReader)

Reads an instance of QuotaUsageResultInner from the JsonReader.

String id()

Get the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.

Integer limit()

Get the limit property: The quota limit for the particular search SKU.

QuotaUsageResultName name()

Get the name property: The SKU name information of the current search service.

JsonWriter toJson(JsonWriter jsonWriter)
String unit()

Get the unit property: The unit of measurement for the search SKU.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

currentValue

public Integer currentValue()

Get the currentValue property: The currently used up value for the particular search SKU.

Returns:

the currentValue value.

fromJson

public static QuotaUsageResultInner fromJson(JsonReader jsonReader)

Reads an instance of QuotaUsageResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The resource ID of the quota usage SKU endpoint for Microsoft.Search provider.

Returns:

the id value.

limit

public Integer limit()

Get the limit property: The quota limit for the particular search SKU.

Returns:

the limit value.

name

public QuotaUsageResultName name()

Get the name property: The SKU name information of the current search service.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public String unit()

Get the unit property: The unit of measurement for the search SKU.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to