Table of Contents

Class Limit

Namespace
Line.OpenApi.Messaging.Generated.Api.Models
Assembly
Line.OpenApi.Messaging.dll

Limit of the Narrowcast

public class Limit : IAdditionalDataHolder, IParsable
Inheritance
Limit
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

Limit()

Instantiates a new Limit and sets the default values.

public Limit()

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>

ForbidPartialDelivery

This option prevents messages from being delivered to only a subset of the target audience.If true, the narrowcast request success but fails asynchronously.You can check whether message delivery was canceled by retrieving the narrowcast message progress.This property can be set to true only if upToRemainingQuota is set to true.

public bool? ForbidPartialDelivery { get; set; }

Property Value

bool?

Max

The maximum number of narrowcast messages to send.Use this parameter to limit the number of narrowcast messages sent.The recipients will be chosen at random.

public int? Max { get; set; }

Property Value

int?

UpToRemainingQuota

If true, the message will be sent within the maximum number of deliverable messages. The default value is false.Targets will be selected at random.

public bool? UpToRemainingQuota { get; set; }

Property Value

bool?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static Limit CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

Limit

A Limit

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