Class LineRegistration
java.lang.Object
com.azure.resourcemanager.botservice.models.LineRegistration
The properties corresponding to a line channel registration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the channelAccessToken property: Access token for the line channel registration.Get the channelSecret property: Secret for the line channel registration.Get the generatedId property: Id generated for the line channel registration.void
validate()
Validates the instance.withChannelAccessToken
(String channelAccessToken) Set the channelAccessToken property: Access token for the line channel registration.withChannelSecret
(String channelSecret) Set the channelSecret property: Secret for the line channel registration.
-
Constructor Details
-
LineRegistration
public LineRegistration()
-
-
Method Details
-
generatedId
Get the generatedId property: Id generated for the line channel registration.- Returns:
- the generatedId value.
-
channelSecret
Get the channelSecret property: Secret for the line channel registration.- Returns:
- the channelSecret value.
-
withChannelSecret
Set the channelSecret property: Secret for the line channel registration.- Parameters:
channelSecret
- the channelSecret value to set.- Returns:
- the LineRegistration object itself.
-
channelAccessToken
Get the channelAccessToken property: Access token for the line channel registration.- Returns:
- the channelAccessToken value.
-
withChannelAccessToken
Set the channelAccessToken property: Access token for the line channel registration.- Parameters:
channelAccessToken
- the channelAccessToken value to set.- Returns:
- the LineRegistration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-