Table of Contents

Class FlexText

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

Properties

Action

Action

public ActionObject? Action { get; set; }

Property Value

ActionObject

AdjustMode

The adjustMode property

public FlexText_adjustMode? AdjustMode { get; set; }

Property Value

FlexText_adjustMode?

Align

The align property

public FlexText_align? Align { get; set; }

Property Value

FlexText_align?

Color

The color property

public string? Color { get; set; }

Property Value

string

Contents

The contents property

public List<FlexSpan>? Contents { get; set; }

Property Value

List<FlexSpan>

Decoration

The decoration property

public FlexText_decoration? Decoration { get; set; }

Property Value

FlexText_decoration?

Flex

The flex property

public int? Flex { get; set; }

Property Value

int?

Gravity

The gravity property

public FlexText_gravity? Gravity { get; set; }

Property Value

FlexText_gravity?

LineSpacing

The lineSpacing property

public string? LineSpacing { get; set; }

Property Value

string

Margin

The margin property

public string? Margin { get; set; }

Property Value

string

MaxLines

The maxLines property

public int? MaxLines { get; set; }

Property Value

int?

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 FlexText_position? Position { get; set; }

Property Value

FlexText_position?

Scaling

The scaling property

public bool? Scaling { get; set; }

Property Value

bool?

Size

The size property

public string? Size { get; set; }

Property Value

string

Style

The style property

public FlexText_style? Style { get; set; }

Property Value

FlexText_style?

Text

The text property

public string? Text { get; set; }

Property Value

string

Weight

The weight property

public FlexText_weight? Weight { get; set; }

Property Value

FlexText_weight?

Wrap

The wrap property

public bool? Wrap { get; set; }

Property Value

bool?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static FlexText CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

FlexText

A FlexText

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