次の方法で共有


ResourceRange Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.ResourceRange

Implements

public final class ResourceRange
implements JsonSerializable<ResourceRange>

Properties for a range of values.

Constructor Summary

Constructor Description
ResourceRange()

Creates an instance of ResourceRange class.

Method Summary

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

Reads an instance of ResourceRange from the JsonReader.

Integer max()

Get the max property: Maximum value.

Integer min()

Get the min property: Minimum value.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ResourceRange

public ResourceRange()

Creates an instance of ResourceRange class.

Method Details

fromJson

public static ResourceRange fromJson(JsonReader jsonReader)

Reads an instance of ResourceRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

max

public Integer max()

Get the max property: Maximum value.

Returns:

the max value.

min

public Integer min()

Get the min property: Minimum value.

Returns:

the min value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to