Table of Contents

Class NumberOfMessagesResponse

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

Constructors

NumberOfMessagesResponse()

Instantiates a new NumberOfMessagesResponse and sets the default values.

public NumberOfMessagesResponse()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

Status

Aggregation process status. One of:ready: The number of messages can be obtained.unready: We haven't finished calculating the number of sent messages for the specified in date. For example, this property is returned when the delivery date or a future date is specified. Calculation usually takes about a day.unavailable_for_privacy: The total number of messages on the specified day is less than 20.out_of_service: The specified date is earlier than the date on which we first started calculating sent messages (March 31, 2018).

public NumberOfMessagesResponse_status? Status { get; set; }

Property Value

NumberOfMessagesResponse_status?

Success

The number of messages delivered using the phone number on the date specified in date.The response has this property only when the value of status is ready.

public long? Success { get; set; }

Property Value

long?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static NumberOfMessagesResponse CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

NumberOfMessagesResponse

A NumberOfMessagesResponse

GetFieldDeserializers()

The deserialization information for the current model

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

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model