SiteInfo Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. SiteInfo
- com.
Implements
public final class SiteInfo
implements JsonSerializable<SiteInfo>
Site information for WebChat or DirectLine Channels to identify which site to regenerate keys for.
Constructor Summary
| Constructor | Description |
|---|---|
| SiteInfo() |
Creates an instance of Site |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Site |
fromJson(JsonReader jsonReader)
Reads an instance of Site |
| Key |
key()
Get the key property: Determines which key is to be regenerated. |
| String |
siteName()
Get the site |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Site |
withKey(Key key)
Set the key property: Determines which key is to be regenerated. |
|
Site |
withSiteName(String siteName)
Set the site |
Methods inherited from java.lang.Object
Constructor Details
SiteInfo
public SiteInfo()
Creates an instance of SiteInfo class.
Method Details
fromJson
public static SiteInfo fromJson(JsonReader jsonReader)
Reads an instance of SiteInfo from the JsonReader.
Parameters:
Returns:
Throws:
key
public Key key()
Get the key property: Determines which key is to be regenerated.
Returns:
siteName
public String siteName()
Get the siteName property: The site name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKey
public SiteInfo withKey(Key key)
Set the key property: Determines which key is to be regenerated.
Parameters:
Returns:
withSiteName
public SiteInfo withSiteName(String siteName)
Set the siteName property: The site name.
Parameters:
Returns: