Compartilhar via


FreeTrialProperties Class

Definition

The free-trial properties.

public class FreeTrialProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.PlaywrightTesting.Models.FreeTrialProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.PlaywrightTesting.Models.FreeTrialProperties>
type FreeTrialProperties = class
    interface IJsonModel<FreeTrialProperties>
    interface IPersistableModel<FreeTrialProperties>
Public Class FreeTrialProperties
Implements IJsonModel(Of FreeTrialProperties), IPersistableModel(Of FreeTrialProperties)
Inheritance
FreeTrialProperties
Implements

Constructors

FreeTrialProperties(String, DateTimeOffset, DateTimeOffset, Int32, Int32, Decimal, FreeTrialState)

Initializes a new instance of FreeTrialProperties.

Properties

AccountId

The playwright account id.

AllocatedValue

The free-trial allocated limit value eg. allocated free minutes.

CreatedOn

The free-trial createdAt utcDateTime.

ExpiryOn

The free-trial expiryAt utcDateTime.

PercentageUsed

The free-trial percentage used.

State

The free-trial state.

UsedValue

The free-trial used value eg. used free minutes.

Explicit Interface Implementations

IJsonModel<FreeTrialProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FreeTrialProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FreeTrialProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FreeTrialProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FreeTrialProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to