ReservationExtendedStatusInfo Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ReservationExtendedStatusInfo
- com.
Implements
public final class ReservationExtendedStatusInfo
implements JsonSerializable<ReservationExtendedStatusInfo>
Extended status information for the reservation.
Constructor Summary
| Constructor | Description |
|---|---|
| ReservationExtendedStatusInfo() |
Creates an instance of Reservation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Reservation |
fromJson(JsonReader jsonReader)
Reads an instance of Reservation |
| String |
message()
Get the message property: The message giving detailed information about the status code. |
|
Extended |
properties()
Get the properties property: Properties for extended status information. |
|
Reservation |
statusCode()
Get the status |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Reservation |
withMessage(String message)
Set the message property: The message giving detailed information about the status code. |
|
Reservation |
withProperties(ExtendedStatusDefinitionProperties properties)
Set the properties property: Properties for extended status information. |
|
Reservation |
withStatusCode(ReservationStatusCode statusCode)
Set the status |
Methods inherited from java.lang.Object
Constructor Details
ReservationExtendedStatusInfo
public ReservationExtendedStatusInfo()
Creates an instance of ReservationExtendedStatusInfo class.
Method Details
fromJson
public static ReservationExtendedStatusInfo fromJson(JsonReader jsonReader)
Reads an instance of ReservationExtendedStatusInfo from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The message giving detailed information about the status code.
Returns:
properties
public ExtendedStatusDefinitionProperties properties()
Get the properties property: Properties for extended status information.
Returns:
statusCode
public ReservationStatusCode statusCode()
Get the statusCode property: The status of the reservation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMessage
public ReservationExtendedStatusInfo withMessage(String message)
Set the message property: The message giving detailed information about the status code.
Parameters:
Returns:
withProperties
public ReservationExtendedStatusInfo withProperties(ExtendedStatusDefinitionProperties properties)
Set the properties property: Properties for extended status information.
Parameters:
Returns:
withStatusCode
public ReservationExtendedStatusInfo withStatusCode(ReservationStatusCode statusCode)
Set the statusCode property: The status of the reservation.
Parameters:
Returns: