Table of Contents

Class FlexButton

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

Properties

Action

Action

public ActionObject? Action { get; set; }

Property Value

ActionObject

AdjustMode

The adjustMode property

public FlexButton_adjustMode? AdjustMode { get; set; }

Property Value

FlexButton_adjustMode?

Color

The color property

public string? Color { get; set; }

Property Value

string

Flex

The flex property

public int? Flex { get; set; }

Property Value

int?

Gravity

The gravity property

public FlexButton_gravity? Gravity { get; set; }

Property Value

FlexButton_gravity?

Height

The height property

public FlexButton_height? Height { get; set; }

Property Value

FlexButton_height?

Margin

The margin property

public string? Margin { get; set; }

Property Value

string

OffsetBottom

The offsetBottom property

public string? OffsetBottom { get; set; }

Property Value

string

OffsetEnd

The offsetEnd property

public string? OffsetEnd { get; set; }

Property Value

string

OffsetStart

The offsetStart property

public string? OffsetStart { get; set; }

Property Value

string

OffsetTop

The offsetTop property

public string? OffsetTop { get; set; }

Property Value

string

Position

The position property

public FlexButton_position? Position { get; set; }

Property Value

FlexButton_position?

Scaling

The scaling property

public bool? Scaling { get; set; }

Property Value

bool?

Style

The style property

public FlexButton_style? Style { get; set; }

Property Value

FlexButton_style?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static FlexButton CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

FlexButton

A FlexButton

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