Search Results for

    Show / Hide Table of Contents

    Class PhoneSmsPrepaidCreditDto

    PhoneSmsPrepaidCreditDto

    Inheritance
    object
    PhoneSmsPrepaidCreditDto
    Implements
    IValidatableObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: mailslurp.Model
    Assembly: mailslurp.dll
    Syntax
    [DataContract(Name = "PhoneSmsPrepaidCreditDto")]
    public class PhoneSmsPrepaidCreditDto : IValidatableObject

    Constructors

    View Source

    PhoneSmsPrepaidCreditDto()

    Initializes a new instance of the PhoneSmsPrepaidCreditDto class.

    Declaration
    [JsonConstructor]
    protected PhoneSmsPrepaidCreditDto()
    View Source

    PhoneSmsPrepaidCreditDto(Guid, PhoneCountryEnum?, bool, long, long, int, DateTime, DateTime)

    Initializes a new instance of the PhoneSmsPrepaidCreditDto class.

    Declaration
    public PhoneSmsPrepaidCreditDto(Guid id = default, PhoneSmsPrepaidCreditDto.PhoneCountryEnum? phoneCountry = null, bool global = false, long remainingCredits = 0, long initialCredits = 0, int sentMultiplier = 0, DateTime createdAt = default, DateTime updatedAt = default)
    Parameters
    Type Name Description
    Guid id

    id (required).

    PhoneSmsPrepaidCreditDto.PhoneCountryEnum? phoneCountry

    Null means the balance is global for the account rather than country-specific..

    bool global

    global (required).

    long remainingCredits

    remainingCredits (required).

    long initialCredits

    initialCredits (required).

    int sentMultiplier

    sentMultiplier (required).

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    Properties

    View Source

    CreatedAt

    Gets or Sets CreatedAt

    Declaration
    [DataMember(Name = "createdAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime CreatedAt { get; set; }
    Property Value
    Type Description
    DateTime
    View Source

    Global

    Gets or Sets Global

    Declaration
    [DataMember(Name = "global", IsRequired = true, EmitDefaultValue = true)]
    public bool Global { get; set; }
    Property Value
    Type Description
    bool
    View Source

    Id

    Gets or Sets Id

    Declaration
    [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid
    View Source

    InitialCredits

    Gets or Sets InitialCredits

    Declaration
    [DataMember(Name = "initialCredits", IsRequired = true, EmitDefaultValue = true)]
    public long InitialCredits { get; set; }
    Property Value
    Type Description
    long
    View Source

    PhoneCountry

    Null means the balance is global for the account rather than country-specific.

    Declaration
    [DataMember(Name = "phoneCountry", EmitDefaultValue = true)]
    public PhoneSmsPrepaidCreditDto.PhoneCountryEnum? PhoneCountry { get; set; }
    Property Value
    Type Description
    PhoneSmsPrepaidCreditDto.PhoneCountryEnum?

    Null means the balance is global for the account rather than country-specific.

    View Source

    RemainingCredits

    Gets or Sets RemainingCredits

    Declaration
    [DataMember(Name = "remainingCredits", IsRequired = true, EmitDefaultValue = true)]
    public long RemainingCredits { get; set; }
    Property Value
    Type Description
    long
    View Source

    SentMultiplier

    Gets or Sets SentMultiplier

    Declaration
    [DataMember(Name = "sentMultiplier", IsRequired = true, EmitDefaultValue = true)]
    public int SentMultiplier { get; set; }
    Property Value
    Type Description
    int
    View Source

    UpdatedAt

    Gets or Sets UpdatedAt

    Declaration
    [DataMember(Name = "updatedAt", IsRequired = true, EmitDefaultValue = true)]
    public DateTime UpdatedAt { get; set; }
    Property Value
    Type Description
    DateTime

    Methods

    View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    string

    JSON string presentation of the object

    View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    String presentation of the object

    Overrides
    object.ToString()

    Implements

    IValidatableObject
    • View Source
    In this article
    Back to top See MailSlurp website for more information.