Class MigrateResultProperties

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.MigrateResultProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<MigrateResultProperties>

public final class MigrateResultProperties extends Object implements com.azure.json.JsonSerializable<MigrateResultProperties>
The MigrateResultProperties model.
  • Constructor Details

    • MigrateResultProperties

      public MigrateResultProperties()
      Creates an instance of MigrateResultProperties class.
  • Method Details

    • migratedProfileResourceId

      public ResourceReference migratedProfileResourceId()
      Get the migratedProfileResourceId property: Arm resource id of the migrated profile.
      Returns:
      the migratedProfileResourceId 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<MigrateResultProperties>
      Throws:
      IOException
    • fromJson

      public static MigrateResultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of MigrateResultProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of MigrateResultProperties 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 MigrateResultProperties.