C# Class rosette_api.InfoResponse

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

InfoResponse ( HttpResponseMessage apiMsg ) : System

Creates an InfoResponse from the given apiMsg

InfoResponse ( String name, String version, String buildNumber, String buildTime, string>.Dictionary headers, object>.Dictionary content = null, String contentAsJson = null ) : System

Creates an InfoResponse from its component. This consturctor was created for testing purposes and is not intended to be used by customers.

This consturctor was created for testing purposes and is not intended to be used by customers.

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

InfoResponse() public method

Creates an InfoResponse from the given apiMsg
public InfoResponse ( HttpResponseMessage apiMsg ) : System
apiMsg System.Net.Http.HttpResponseMessage The message from the API
return System

InfoResponse() public method

Creates an InfoResponse from its component. This consturctor was created for testing purposes and is not intended to be used by customers.
This consturctor was created for testing purposes and is not intended to be used by customers.
public InfoResponse ( String name, String version, String buildNumber, String buildTime, string>.Dictionary headers, object>.Dictionary content = null, String contentAsJson = null ) : System
name String The name of the API
version String The version number of the API
buildNumber String The build number of the API
buildTime String The time of the last build
headers string>.Dictionary The headers from the API
content object>.Dictionary The content of the InfoResponse in dictionary form
contentAsJson String The content of the InfoResponse as JSON
return System