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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the exportResultFormat property: Format in which the API Details are exported to the Storage Blob with Sas Key valid for 5 minutes.static ApiExportResultInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiExportResultInner from the JsonReader.id()Get the id property: ResourceId of the API which was exported.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: The object defining the schema of the exported API Detail.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.Set the id property: ResourceId of the API which was exported.withValue(ApiExportResultValue value) Set the value property: The object defining the schema of the exported API Detail.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
-
ApiExportResultInner
public ApiExportResultInner()Creates an instance of ApiExportResultInner class.
-
-
Method Details
-
id
Get the id property: ResourceId of the API which was exported.- Returns:
- the id value.
-
withId
Set the id property: ResourceId of the API which was exported.- Parameters:
id- the id value to set.- Returns:
- the ApiExportResultInner object itself.
-
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
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
Get the value property: The object defining the schema of the exported API Detail.- Returns:
- the value value.
-
withValue
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
- Specified by:
toJsonin interfacecom.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.
-