Class StaticSitesWorkflowPreviewProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.StaticSitesWorkflowPreviewProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StaticSitesWorkflowPreviewProperties>
public final class StaticSitesWorkflowPreviewProperties
extends Object
implements com.azure.json.JsonSerializable<StaticSitesWorkflowPreviewProperties>
StaticSitesWorkflowPreview resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StaticSitesWorkflowPreviewProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncontents()Get the contents property: The contents for the workflow file to be generated.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StaticSitesWorkflowPreviewProperties from the JsonReader.path()Get the path property: The path for the workflow file to be generated.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.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
-
StaticSitesWorkflowPreviewProperties
public StaticSitesWorkflowPreviewProperties()Creates an instance of StaticSitesWorkflowPreviewProperties class.
-
-
Method Details
-
path
Get the path property: The path for the workflow file to be generated.- Returns:
- the path value.
-
contents
Get the contents property: The contents for the workflow file to be generated.- Returns:
- the contents value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<StaticSitesWorkflowPreviewProperties>- Throws:
IOException
-
fromJson
public static StaticSitesWorkflowPreviewProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StaticSitesWorkflowPreviewProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StaticSitesWorkflowPreviewProperties 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 StaticSitesWorkflowPreviewProperties.
-