C# Класс rosette_api.InfoResponse

Наследование: RosetteResponse
Показать файл Открыть проект Примеры использования класса

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