Class Pagination
Pagination
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "Pagination")]
public class Pagination : IValidatableObject
Constructors
View SourcePagination()
Initializes a new instance of the Pagination class.
Declaration
[JsonConstructor]
protected Pagination()
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 SourcePageNumber
Gets or Sets PageNumber
Declaration
[DataMember(Name = "pageNumber", IsRequired = true, EmitDefaultValue = true)]
public int PageNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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 SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
| Type | Description |
|---|---|
| string | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String presentation of the object |