C# Class rosette_api.InfoResponse

Inheritance: RosetteResponse
Afficher le fichier Open project: rosette-api/csharp Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

Equals override
public Equals ( Object obj ) : bool
obj Object The object to compare against
Résultat bool

GetHashCode() public méthode

HashCode override
public GetHashCode ( ) : int
Résultat int

InfoResponse() public méthode

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

InfoResponse() public méthode

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
Résultat System