Search Results for

    Show / Hide Table of Contents

    Class PhoneProvisioningJobDto

    PhoneProvisioningJobDto

    Inheritance
    object
    PhoneProvisioningJobDto
    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 = "PhoneProvisioningJobDto")]
    public class PhoneProvisioningJobDto : IValidatableObject

    Constructors

    View Source

    PhoneProvisioningJobDto()

    Initializes a new instance of the PhoneProvisioningJobDto class.

    Declaration
    [JsonConstructor]
    protected PhoneProvisioningJobDto()
    View Source

    PhoneProvisioningJobDto(Guid, Guid, PhoneCountryEnum, PhoneVariantEnum?, StatusEnum, int, int, int, int, int, DateTime, DateTime, List<PhoneProvisioningJobItemDto>)

    Initializes a new instance of the PhoneProvisioningJobDto class.

    Declaration
    public PhoneProvisioningJobDto(Guid id = default, Guid userId = default, PhoneProvisioningJobDto.PhoneCountryEnum phoneCountry = (PhoneProvisioningJobDto.PhoneCountryEnum)0, PhoneProvisioningJobDto.PhoneVariantEnum? phoneVariant = null, PhoneProvisioningJobDto.StatusEnum status = (PhoneProvisioningJobDto.StatusEnum)0, int requestedCount = 0, int attemptedCount = 0, int succeededCount = 0, int failedCount = 0, int unavailableCount = 0, DateTime createdAt = default, DateTime updatedAt = default, List<PhoneProvisioningJobItemDto> items = null)
    Parameters
    Type Name Description
    Guid id

    id (required).

    Guid userId

    userId (required).

    PhoneProvisioningJobDto.PhoneCountryEnum phoneCountry

    phoneCountry (required).

    PhoneProvisioningJobDto.PhoneVariantEnum? phoneVariant

    phoneVariant.

    PhoneProvisioningJobDto.StatusEnum status

    status (required).

    int requestedCount

    requestedCount (required).

    int attemptedCount

    attemptedCount (required).

    int succeededCount

    succeededCount (required).

    int failedCount

    failedCount (required).

    int unavailableCount

    unavailableCount (required).

    DateTime createdAt

    createdAt (required).

    DateTime updatedAt

    updatedAt (required).

    List<PhoneProvisioningJobItemDto> items

    items (required).

    Properties

    View Source

    AttemptedCount

    Gets or Sets AttemptedCount

    Declaration
    [DataMember(Name = "attemptedCount", IsRequired = true, EmitDefaultValue = true)]
    public int AttemptedCount { get; set; }
    Property Value
    Type Description
    int
    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

    FailedCount

    Gets or Sets FailedCount

    Declaration
    [DataMember(Name = "failedCount", IsRequired = true, EmitDefaultValue = true)]
    public int FailedCount { get; set; }
    Property Value
    Type Description
    int
    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

    Items

    Gets or Sets Items

    Declaration
    [DataMember(Name = "items", IsRequired = true, EmitDefaultValue = true)]
    public List<PhoneProvisioningJobItemDto> Items { get; set; }
    Property Value
    Type Description
    List<PhoneProvisioningJobItemDto>
    View Source

    PhoneCountry

    Gets or Sets PhoneCountry

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

    PhoneVariant

    Gets or Sets PhoneVariant

    Declaration
    [DataMember(Name = "phoneVariant", EmitDefaultValue = false)]
    public PhoneProvisioningJobDto.PhoneVariantEnum? PhoneVariant { get; set; }
    Property Value
    Type Description
    PhoneProvisioningJobDto.PhoneVariantEnum?
    View Source

    RequestedCount

    Gets or Sets RequestedCount

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

    Status

    Gets or Sets Status

    Declaration
    [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
    public PhoneProvisioningJobDto.StatusEnum Status { get; set; }
    Property Value
    Type Description
    PhoneProvisioningJobDto.StatusEnum
    View Source

    SucceededCount

    Gets or Sets SucceededCount

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

    UnavailableCount

    Gets or Sets UnavailableCount

    Declaration
    [DataMember(Name = "unavailableCount", IsRequired = true, EmitDefaultValue = true)]
    public int UnavailableCount { 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
    View Source

    UserId

    Gets or Sets UserId

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

    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.