Search Results for

    Show / Hide Table of Contents

    Class Pagination

    Pagination

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

    Constructors

    View Source

    Pagination()

    Initializes a new instance of the Pagination class.

    Declaration
    [JsonConstructor]
    protected Pagination()
    View Source

    Pagination(int, int)

    Initializes a new instance of the Pagination class.

    Declaration
    public Pagination(int pageNumber = 0, int pageSize = 0)
    Parameters
    Type Name Description
    int pageNumber

    pageNumber (required).

    int pageSize

    pageSize (required).

    Properties

    View Source

    PageNumber

    Gets or Sets PageNumber

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

    PageSize

    Gets or Sets PageSize

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

    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.