ReservationTransactionResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. consumption. models. ReservationTransactionResource
- com.
- com.
public class ReservationTransactionResource
extends ProxyResource
The Resource model definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationTransactionResource() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| List<String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ReservationTransactionResource
public ReservationTransactionResource()
Creates an instance of ReservationTransactionResource class.
Method Details
fromJson
public static ReservationTransactionResource fromJson(JsonReader jsonReader)
Reads an instance of ReservationTransactionResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ReservationTransactionResource.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ReservationTransactionResource.name()Returns:
tags
public List<String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ReservationTransactionResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ReservationTransactionResource.type()Returns:
validate
public void validate()
Validates the instance.