C# Class rosette_api.RelationshipsResponse

Inheritance: RosetteResponse
Exibir arquivo Open project: rosette-api/csharp Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Equals ( object obj ) : bool

Equals override

GetHashCode ( ) : int

HashCode override

RelationshipsResponse ( HttpResponseMessage apiResult ) : System

Creates a RelationshipsResponse from the given apiResult

RelationshipsResponse ( List relationships, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System

Creates a RelationshipsResponse from its components

Method Details

Equals() public method

Equals override
public Equals ( object obj ) : bool
obj object The object to compare against
return bool

GetHashCode() public method

HashCode override
public GetHashCode ( ) : int
return int

RelationshipsResponse() public method

Creates a RelationshipsResponse from the given apiResult
public RelationshipsResponse ( HttpResponseMessage apiResult ) : System
apiResult System.Net.Http.HttpResponseMessage The message from the API
return System

RelationshipsResponse() public method

Creates a RelationshipsResponse from its components
public RelationshipsResponse ( List relationships, string>.Dictionary responseHeaders, object>.Dictionary content, string contentAsJson ) : System
relationships List The relationships
responseHeaders string>.Dictionary The response headers returned from the Rosette API
content object>.Dictionary The content (the relationships) in dictionary form
contentAsJson string The content in JSON form
return System