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

    Constructors
    Constructor
    Description
    Creates an instance of StatusDetailProperties class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    fromJson(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.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the type property: The component of the connected registry corresponding to the status.
    void
    Validates the instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public String type()
      Get the type property: The component of the connected registry corresponding to the status.
      Returns:
      the type value.
    • code

      public String code()
      Get the code property: The code of the status.
      Returns:
      the code value.
    • description

      public String description()
      Get the description property: The description of the status.
      Returns:
      the description value.
    • timestamp

      public OffsetDateTime timestamp()
      Get the timestamp property: The timestamp of the status.
      Returns:
      the timestamp value.
    • correlationId

      public String 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.