KikChannelProperties Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. KikChannelProperties
- com.
Implements
public final class KikChannelProperties
implements JsonSerializable<KikChannelProperties>
The parameters to provide for the Kik channel.
Constructor Summary
| Constructor | Description |
|---|---|
| KikChannelProperties() |
Creates an instance of Kik |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
apiKey()
Get the api |
|
static
Kik |
fromJson(JsonReader jsonReader)
Reads an instance of Kik |
| boolean |
isEnabled()
Get the is |
| Boolean |
isValidated()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
username()
Get the username property: The Kik user name. |
| void |
validate()
Validates the instance. |
|
Kik |
withApiKey(String apiKey)
Set the api |
|
Kik |
withIsEnabled(boolean isEnabled)
Set the is |
|
Kik |
withIsValidated(Boolean isValidated)
Set the is |
|
Kik |
withUsername(String username)
Set the username property: The Kik user name. |
Methods inherited from java.lang.Object
Constructor Details
KikChannelProperties
public KikChannelProperties()
Creates an instance of KikChannelProperties class.
Method Details
apiKey
public String apiKey()
Get the apiKey property: Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.
Returns:
fromJson
public static KikChannelProperties fromJson(JsonReader jsonReader)
Reads an instance of KikChannelProperties from the JsonReader.
Parameters:
Returns:
Throws:
isEnabled
public boolean isEnabled()
Get the isEnabled property: Whether this channel is enabled for the bot.
Returns:
isValidated
public Boolean isValidated()
Get the isValidated property: Whether this channel is validated for the bot.
Returns:
toJson
username
public String username()
Get the username property: The Kik user name.
Returns:
validate
public void validate()
Validates the instance.
withApiKey
public KikChannelProperties withApiKey(String apiKey)
Set the apiKey property: Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.
Parameters:
Returns:
withIsEnabled
public KikChannelProperties withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this channel is enabled for the bot.
Parameters:
Returns:
withIsValidated
public KikChannelProperties withIsValidated(Boolean isValidated)
Set the isValidated property: Whether this channel is validated for the bot.
Parameters:
Returns:
withUsername
public KikChannelProperties withUsername(String username)
Set the username property: The Kik user name.
Parameters:
Returns: