ResourceRange Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. ResourceRange
- com.
Implements
public final class ResourceRange
implements JsonSerializable<ResourceRange>
Properties for a range of values.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceRange() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| Integer |
max()
Get the max property: Maximum value. |
| Integer |
min()
Get the min property: Minimum value. |
|
Json |
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:
Returns:
Throws:
max
public Integer max()
Get the max property: Maximum value.
Returns:
min
public Integer min()
Get the min property: Minimum value.
Returns:
toJson
validate
public void validate()
Validates the instance.