Class UpgradeHistoryProperties

java.lang.Object
com.azure.resourcemanager.appnetwork.models.UpgradeHistoryProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<UpgradeHistoryProperties>

public final class UpgradeHistoryProperties extends Object implements com.azure.json.JsonSerializable<UpgradeHistoryProperties>
AppLinkMember upgrade history properties.
  • Method Details

    • startTimestamp

      public OffsetDateTime startTimestamp()
      Get the startTimestamp property: Start timestamp.
      Returns:
      the startTimestamp value.
    • endTimestamp

      public OffsetDateTime endTimestamp()
      Get the endTimestamp property: End timestamp.
      Returns:
      the endTimestamp value.
    • initiatedBy

      public String initiatedBy()
      Get the initiatedBy property: Upgrade initiator.
      Returns:
      the initiatedBy value.
    • fromVersion

      public String fromVersion()
      Get the fromVersion property: Version upgraded from.
      Returns:
      the fromVersion value.
    • toVersion

      public String toVersion()
      Get the toVersion property: Version upgraded to.
      Returns:
      the toVersion value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state.
      Returns:
      the provisioningState value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<UpgradeHistoryProperties>
      Throws:
      IOException
    • fromJson

      public static UpgradeHistoryProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of UpgradeHistoryProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of UpgradeHistoryProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the UpgradeHistoryProperties.