LineRegistration Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. LineRegistration
- com.
Implements
public final class LineRegistration
implements JsonSerializable<LineRegistration>
The properties corresponding to a line channel registration.
Constructor Summary
| Constructor | Description |
|---|---|
| LineRegistration() |
Creates an instance of Line |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
channelAccessToken()
Get the channel |
| String |
channelSecret()
Get the channel |
|
static
Line |
fromJson(JsonReader jsonReader)
Reads an instance of Line |
| String |
generatedId()
Get the generated |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Line |
withChannelAccessToken(String channelAccessToken)
Set the channel |
|
Line |
withChannelSecret(String channelSecret)
Set the channel |
Methods inherited from java.lang.Object
Constructor Details
LineRegistration
public LineRegistration()
Creates an instance of LineRegistration class.
Method Details
channelAccessToken
public String channelAccessToken()
Get the channelAccessToken property: Access token for the line channel registration.
Returns:
channelSecret
public String channelSecret()
Get the channelSecret property: Secret for the line channel registration.
Returns:
fromJson
public static LineRegistration fromJson(JsonReader jsonReader)
Reads an instance of LineRegistration from the JsonReader.
Parameters:
Returns:
Throws:
generatedId
public String generatedId()
Get the generatedId property: Id generated for the line channel registration.
Returns:
toJson
validate
public void validate()
Validates the instance.
withChannelAccessToken
public LineRegistration withChannelAccessToken(String channelAccessToken)
Set the channelAccessToken property: Access token for the line channel registration.
Parameters:
Returns:
withChannelSecret
public LineRegistration withChannelSecret(String channelSecret)
Set the channelSecret property: Secret for the line channel registration.
Parameters:
Returns: