Table of Contents

Class PageDetails

Namespace
BoldSign.Model
Assembly
BoldSign.Api.dll

The page details properties include page size, total number pages, and so on.

[DataContract]
public class PageDetails
Inheritance
PageDetails
Inherited Members

Constructors

PageDetails(int, int, int, int, string, string)

Initializes a new instance of the PageDetails class.

public PageDetails(int pageSize = 0, int page = 0, int totalRecordsCount = 0, int totalPages = 0, string sortedColumn = null, string sortDirection = null)

Parameters

pageSize int

Gets or sets the page size..

page int

Gets or sets the page..

totalRecordsCount int

Gets or sets the total records count..

totalPages int

Gets or sets the total pages..

sortedColumn string

Gets or sets the sorted column..

sortDirection string

Gets or sets the sort direction..

Properties

Page

Gets or sets the page.

[DataMember(Name = "page", EmitDefaultValue = false)]
public int Page { get; set; }

Property Value

int

Gets or sets the page.

PageSize

Gets or sets the page size.

[DataMember(Name = "pageSize", EmitDefaultValue = false)]
public int PageSize { get; set; }

Property Value

int

Gets or sets the page size.

SortDirection

Gets or sets the sort direction.

[DataMember(Name = "sortDirection", EmitDefaultValue = true)]
public string SortDirection { get; set; }

Property Value

string

Gets or sets the sort direction.

SortedColumn

Gets or sets the sorted column.

[DataMember(Name = "sortedColumn", EmitDefaultValue = true)]
public string SortedColumn { get; set; }

Property Value

string

Gets or sets the sorted column.

TotalPages

Gets or sets the total page count.

[DataMember(Name = "totalPages", EmitDefaultValue = false)]
public int TotalPages { get; set; }

Property Value

int

Gets or sets the total pages.

TotalRecordsCount

Gets or sets the total record count.

[DataMember(Name = "totalRecordsCount", EmitDefaultValue = false)]
public int TotalRecordsCount { get; set; }

Property Value

int

Gets or sets the total records count.

Methods

ToJson()

Returns the JSON string presentation of the object

public virtual string ToJson()

Returns

string

JSON string presentation of the object