C# 클래스 rosette_api.InfoResponse

상속: RosetteResponse
파일 보기 프로젝트 열기: rosette-api/csharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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.

메소드 상세

Equals() 공개 메소드

Equals override
public Equals ( Object obj ) : bool
obj Object The object to compare against
리턴 bool

GetHashCode() 공개 메소드

HashCode override
public GetHashCode ( ) : int
리턴 int

InfoResponse() 공개 메소드

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

InfoResponse() 공개 메소드

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
리턴 System