SiteSealRequest Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.SiteSealRequest

Implements

public final class SiteSealRequest
implements JsonSerializable<SiteSealRequest>

Site seal request.

Constructor Summary

Constructor Description
SiteSealRequest()

Creates an instance of SiteSealRequest class.

Method Summary

Modifier and Type Method and Description
static SiteSealRequest fromJson(JsonReader jsonReader)

Reads an instance of SiteSealRequest from the JsonReader.

Boolean lightTheme()

Get the lightTheme property: If true use the light color theme for site seal; otherwise, use the default color theme.

String locale()

Get the locale property: Locale of site seal.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SiteSealRequest withLightTheme(Boolean lightTheme)

Set the lightTheme property: If true use the light color theme for site seal; otherwise, use the default color theme.

SiteSealRequest withLocale(String locale)

Set the locale property: Locale of site seal.

Methods inherited from java.lang.Object

Constructor Details

SiteSealRequest

public SiteSealRequest()

Creates an instance of SiteSealRequest class.

Method Details

fromJson

public static SiteSealRequest fromJson(JsonReader jsonReader)

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.

lightTheme

public Boolean lightTheme()

Get the lightTheme property: If true use the light color theme for site seal; otherwise, use the default color theme.

Returns:

the lightTheme value.

locale

public String locale()

Get the locale property: Locale of site seal.

Returns:

the locale value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLightTheme

public SiteSealRequest withLightTheme(Boolean lightTheme)

Set the lightTheme property: If true 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.

withLocale

public SiteSealRequest withLocale(String locale)

Set the locale property: Locale of site seal.

Parameters:

locale - the locale value to set.

Returns:

the SiteSealRequest object itself.

Applies to