C# Class Nucleus.ModelEntity.PageQuestionnaire

Inheritance: IEquatable, IValidatableObject
显示文件 Open project: hydrogen-dev/SDK

Private Properties

Property Type Description
IValidatableObject IEnumerable

Public Methods

Method Description
Equals ( input ) : bool

Returns true if PageQuestionnaire instances are equal

Equals ( object input ) : bool

Returns true if objects are equal

GetHashCode ( ) : int

Gets the hash code

PageQuestionnaire ( List content = default(List<Questionnaire>), bool? first = default(bool?), bool? last = default(bool?), int? number = default(int?), int? numberOfElements = default(int?), int? size = default(int?), List sort = default(List<Sort>), long? totalElements = default(long?), int? totalPages = default(int?) ) : System

Initializes a new instance of the PageQuestionnaire class.

ToJson ( ) : string

Returns the JSON string presentation of the object

ToString ( ) : string

Returns the string presentation of the object

Private Methods

Method Description
IValidatableObject ( ValidationContext validationContext ) : IEnumerable

To validate all properties of the instance

Method Details

Equals() public method

Returns true if PageQuestionnaire instances are equal
public Equals ( input ) : bool
input Instance of PageQuestionnaire to be compared
return bool

Equals() public method

Returns true if objects are equal
public Equals ( object input ) : bool
input object Object to be compared
return bool

GetHashCode() public method

Gets the hash code
public GetHashCode ( ) : int
return int

PageQuestionnaire() public method

Initializes a new instance of the PageQuestionnaire class.
public PageQuestionnaire ( List content = default(List<Questionnaire>), bool? first = default(bool?), bool? last = default(bool?), int? number = default(int?), int? numberOfElements = default(int?), int? size = default(int?), List sort = default(List<Sort>), long? totalElements = default(long?), int? totalPages = default(int?) ) : System
content List content.
first bool? first.
last bool? last.
number int? number.
numberOfElements int? numberOfElements.
size int? size.
sort List sort.
totalElements long? totalElements.
totalPages int? totalPages.
return System

ToJson() public method

Returns the JSON string presentation of the object
public ToJson ( ) : string
return string

ToString() public method

Returns the string presentation of the object
public ToString ( ) : string
return string