Class StatusDetailProperties
java.lang.Object
com.azure.resourcemanager.containerregistry.models.StatusDetailProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StatusDetailProperties>
public final class StatusDetailProperties
extends Object
implements com.azure.json.JsonSerializable<StatusDetailProperties>
The status detail properties of the connected registry.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StatusDetailProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncode()Get the code property: The code of the status.Get the correlationId property: The correlation ID of the status.Get the description property: The description of the status.static StatusDetailPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StatusDetailProperties from the JsonReader.Get the timestamp property: The timestamp of the status.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The component of the connected registry corresponding to the status.voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StatusDetailProperties
public StatusDetailProperties()Creates an instance of StatusDetailProperties class.
-
-
Method Details
-
type
Get the type property: The component of the connected registry corresponding to the status.- Returns:
- the type value.
-
code
Get the code property: The code of the status.- Returns:
- the code value.
-
description
Get the description property: The description of the status.- Returns:
- the description value.
-
timestamp
Get the timestamp property: The timestamp of the status.- Returns:
- the timestamp value.
-
correlationId
Get the correlationId property: The correlation ID of the status.- Returns:
- the correlationId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<StatusDetailProperties>- Throws:
IOException
-
fromJson
public static StatusDetailProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StatusDetailProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StatusDetailProperties 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 StatusDetailProperties.
-