Search Results for

    Show / Hide Table of Contents

    Class CountDto

    Number of elements

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

    Constructors

    View Source

    CountDto()

    Initializes a new instance of the CountDto class.

    Declaration
    [JsonConstructor]
    protected CountDto()
    View Source

    CountDto(long)

    Initializes a new instance of the CountDto class.

    Declaration
    public CountDto(long totalElements = 0)
    Parameters
    Type Name Description
    long totalElements

    totalElements (required).

    Properties

    View Source

    TotalElements

    Gets or Sets TotalElements

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

    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.