Class SiteSealRequest
java.lang.Object
com.azure.resourcemanager.appservice.models.SiteSealRequest
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SiteSealRequest>
public final class SiteSealRequest
extends Object
implements com.azure.json.JsonSerializable<SiteSealRequest>
Site seal request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SiteSealRequest
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SiteSealRequest from the JsonReader.Get the lightTheme property: If <code>true</code> use the light color theme for site seal; otherwise, use the default color theme.locale()
Get the locale property: Locale of site seal.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withLightTheme
(Boolean lightTheme) Set the lightTheme property: If <code>true</code> use the light color theme for site seal; otherwise, use the default color theme.withLocale
(String locale) Set the locale property: Locale of site seal.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SiteSealRequest
public SiteSealRequest()Creates an instance of SiteSealRequest class.
-
-
Method Details
-
lightTheme
Get the lightTheme property: If <code>true</code> use the light color theme for site seal; otherwise, use the default color theme.- Returns:
- the lightTheme value.
-
withLightTheme
Set the lightTheme property: If <code>true</code> use the light color theme for site seal; otherwise, use the default color theme.- Parameters:
lightTheme
- the lightTheme value to set.- Returns:
- the SiteSealRequest object itself.
-
locale
Get the locale property: Locale of site seal.- Returns:
- the locale value.
-
withLocale
Set the locale property: Locale of site seal.- Parameters:
locale
- the locale value to set.- Returns:
- the SiteSealRequest object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<SiteSealRequest>
- Throws:
IOException
-
fromJson
Reads an instance of SiteSealRequest from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SiteSealRequest 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 SiteSealRequest.
-