Class LineRegistration
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.LineRegistration
-
public final class LineRegistration extends Object
The properties corresponding to a line channel registration.
-
-
Constructor Summary
Constructors Constructor Description LineRegistration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
channelAccessToken()
Get the channelAccessToken property: Access token for the line channel registration.String
channelSecret()
Get the channelSecret property: Secret for the line channel registration.String
generatedId()
Get the generatedId property: Id generated for the line channel registration.void
validate()
Validates the instance.LineRegistration
withChannelAccessToken(String channelAccessToken)
Set the channelAccessToken property: Access token for the line channel registration.LineRegistration
withChannelSecret(String channelSecret)
Set the channelSecret property: Secret for the line channel registration.
-
-
-
Method Detail
-
generatedId
public String generatedId()
Get the generatedId property: Id generated for the line channel registration.- Returns:
- the generatedId value.
-
channelSecret
public String channelSecret()
Get the channelSecret property: Secret for the line channel registration.- Returns:
- the channelSecret value.
-
withChannelSecret
public LineRegistration withChannelSecret(String channelSecret)
Set the channelSecret property: Secret for the line channel registration.- Parameters:
channelSecret
- the channelSecret value to set.- Returns:
- the LineRegistration object itself.
-
channelAccessToken
public String channelAccessToken()
Get the channelAccessToken property: Access token for the line channel registration.- Returns:
- the channelAccessToken value.
-
withChannelAccessToken
public LineRegistration withChannelAccessToken(String channelAccessToken)
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.
-
-