C# Class ParasutClient.Model.CompanyRelationships

Inheritance: IEquatable, IValidatableObject
Exibir arquivo Open project: ddeniz/ParasutClient Class Usage Examples

Private Properties

Property Type Description
IValidatableObject IEnumerable

Public Methods

Method Description
CompanyRelationships ( ParasutClient.Model.CompanyRelationshipsOwner owner = default(CompanyRelationshipsOwner), ParasutClient.Model.CompanyRelationshipsAddress address = default(CompanyRelationshipsAddress) ) : System

Initializes a new instance of the CompanyRelationships class.

Equals ( input ) : bool

Returns true if CompanyRelationships instances are equal

Equals ( object input ) : bool

Returns true if objects are equal

GetHashCode ( ) : int

Gets the hash code

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

CompanyRelationships() public method

Initializes a new instance of the CompanyRelationships class.
public CompanyRelationships ( ParasutClient.Model.CompanyRelationshipsOwner owner = default(CompanyRelationshipsOwner), ParasutClient.Model.CompanyRelationshipsAddress address = default(CompanyRelationshipsAddress) ) : System
owner ParasutClient.Model.CompanyRelationshipsOwner owner.
address ParasutClient.Model.CompanyRelationshipsAddress address.
return System

Equals() public method

Returns true if CompanyRelationships instances are equal
public Equals ( input ) : bool
input Instance of CompanyRelationships 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

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