Share via


LineChannelProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.botservice.models.LineChannelProperties

Implements

public final class LineChannelProperties
implements JsonSerializable<LineChannelProperties>

The parameters to provide for the Line channel.

Constructor Summary

Constructor Description
LineChannelProperties()

Creates an instance of LineChannelProperties class.

Method Summary

Modifier and Type Method and Description
String callbackUrl()

Get the callbackUrl property: Callback Url to enter in line registration.

static LineChannelProperties fromJson(JsonReader jsonReader)

Reads an instance of LineChannelProperties from the JsonReader.

Boolean isValidated()

Get the isValidated property: Whether this channel is validated for the bot.

List<LineRegistration> lineRegistrations()

Get the lineRegistrations property: The list of line channel registrations.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LineChannelProperties withLineRegistrations(List<LineRegistration> lineRegistrations)

Set the lineRegistrations property: The list of line channel registrations.

Methods inherited from java.lang.Object

Constructor Details

LineChannelProperties

public LineChannelProperties()

Creates an instance of LineChannelProperties class.

Method Details

callbackUrl

public String callbackUrl()

Get the callbackUrl property: Callback Url to enter in line registration.

Returns:

the callbackUrl value.

fromJson

public static LineChannelProperties fromJson(JsonReader jsonReader)

Reads an instance of LineChannelProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LineChannelProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

isValidated

public Boolean isValidated()

Get the isValidated property: Whether this channel is validated for the bot.

Returns:

the isValidated value.

lineRegistrations

public List<LineRegistration> lineRegistrations()

Get the lineRegistrations property: The list of line channel registrations.

Returns:

the lineRegistrations value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLineRegistrations

public LineChannelProperties withLineRegistrations(List<LineRegistration> lineRegistrations)

Set the lineRegistrations property: The list of line channel registrations.

Parameters:

lineRegistrations - the lineRegistrations value to set.

Returns:

the LineChannelProperties object itself.

Applies to