Table of Contents

Class ButtonsTemplate

Namespace
Line.OpenApi.Messaging.Generated.Api.Models
Assembly
Line.OpenApi.Messaging.dll
public class ButtonsTemplate : Template, IAdditionalDataHolder, IParsable
Inheritance
ButtonsTemplate
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Properties

Actions

The actions property

public List<ActionObject>? Actions { get; set; }

Property Value

List<ActionObject>

DefaultAction

Action

public ActionObject? DefaultAction { get; set; }

Property Value

ActionObject

ImageAspectRatio

The imageAspectRatio property

public string? ImageAspectRatio { get; set; }

Property Value

string

ImageBackgroundColor

The imageBackgroundColor property

public string? ImageBackgroundColor { get; set; }

Property Value

string

ImageSize

The imageSize property

public string? ImageSize { get; set; }

Property Value

string

Text

The text property

public string? Text { get; set; }

Property Value

string

ThumbnailImageUrl

The thumbnailImageUrl property

public string? ThumbnailImageUrl { get; set; }

Property Value

string

Title

The title property

public string? Title { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static ButtonsTemplate CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

ButtonsTemplate

A ButtonsTemplate

GetFieldDeserializers()

The deserialization information for the current model

public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public override void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model