Class ApiExportResultInner

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

public final class ApiExportResultInner extends Object implements com.azure.json.JsonSerializable<ApiExportResultInner>
API Export result.
  • Constructor Details

    • ApiExportResultInner

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

    • id

      public String id()
      Get the id property: ResourceId of the API which was exported.
      Returns:
      the id value.
    • withId

      public ApiExportResultInner withId(String id)
      Set the id property: ResourceId of the API which was exported.
      Parameters:
      id - the id value to set.
      Returns:
      the ApiExportResultInner object itself.
    • exportResultFormat

      public ExportResultFormat exportResultFormat()
      Get the exportResultFormat property: Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 minutes.
      Returns:
      the exportResultFormat value.
    • withExportResultFormat

      public ApiExportResultInner withExportResultFormat(ExportResultFormat exportResultFormat)
      Set the exportResultFormat property: Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 minutes.
      Parameters:
      exportResultFormat - the exportResultFormat value to set.
      Returns:
      the ApiExportResultInner object itself.
    • value

      public ApiExportResultValue value()
      Get the value property: The object defining the schema of the exported API Detail.
      Returns:
      the value value.
    • withValue

      public ApiExportResultInner withValue(ApiExportResultValue value)
      Set the value property: The object defining the schema of the exported API Detail.
      Parameters:
      value - the value value to set.
      Returns:
      the ApiExportResultInner object itself.
    • 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<ApiExportResultInner>
      Throws:
      IOException
    • fromJson

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