Class PageableObject
PageableObject
Implements
Inherited Members
Namespace: mailslurp.Model
Assembly: mailslurp.dll
Syntax
[DataContract(Name = "PageableObject")]
public class PageableObject : IValidatableObject
Constructors
View SourcePageableObject(int, bool, int, bool, long, SortObject)
Initializes a new instance of the PageableObject class.
Declaration
public PageableObject(int pageSize = 0, bool paged = false, int pageNumber = 0, bool unpaged = false, long offset = 0, SortObject sort = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | pageSize | pageSize. |
| bool | paged | paged. |
| int | pageNumber | pageNumber. |
| bool | unpaged | unpaged. |
| long | offset | offset. |
| SortObject | sort | sort. |
Properties
View SourceOffset
Gets or Sets Offset
Declaration
[DataMember(Name = "offset", EmitDefaultValue = false)]
public long Offset { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
PageNumber
Gets or Sets PageNumber
Declaration
[DataMember(Name = "pageNumber", EmitDefaultValue = false)]
public int PageNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
PageSize
Gets or Sets PageSize
Declaration
[DataMember(Name = "pageSize", EmitDefaultValue = false)]
public int PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Paged
Gets or Sets Paged
Declaration
[DataMember(Name = "paged", EmitDefaultValue = true)]
public bool Paged { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Sort
Gets or Sets Sort
Declaration
[DataMember(Name = "sort", EmitDefaultValue = false)]
public SortObject Sort { get; set; }
Property Value
| Type | Description |
|---|---|
| SortObject |
Unpaged
Gets or Sets Unpaged
Declaration
[DataMember(Name = "unpaged", EmitDefaultValue = true)]
public bool Unpaged { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |