C# Класс ZipRecruiter.JobAlertsAPI

API Object used by Resource classes which API Call specific data and preferences. Includes a simple interface to instantiate Resource objects, useful for creating chained calls.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
JobAlertsAPI ( ) : System

Initializes a new instance of the ZipRecruiter.API class. Initialized the internal APIKey using the GlobalAPIKey.

JobAlertsAPI ( String apiKey ) : System

Initializes a new instance of the ZipRecruiter.API class.

Resource ( String endpoint ) : dynamic

Uses the given resource endpoint to return the propper ApiResource class to invoke calls on.

Защищенные методы

Метод Описание
DeserializeResults ( Stream responseData, Type serializerType ) : dynamic

Deserializes the results of the API call into a usable native type.

Приватные методы

Метод Описание
MakeRequest ( WebRequest request, Type serializerType, Byte body ) : dynamic

Augments the given WebRequest object to match the needs of the API and returns a deserialized native type.

MakeRequest ( WebRequest request, Type serializerType, String body = "" ) : dynamic

Augments the given WebRequest object to match the needs of the API and returns a deserialized native type.

Описание методов

DeserializeResults() защищенный Метод

Deserializes the results of the API call into a usable native type.
protected DeserializeResults ( Stream responseData, Type serializerType ) : dynamic
responseData Stream Raw response data from the server
serializerType System.Type The target deserialization type.
Результат dynamic

JobAlertsAPI() публичный Метод

Initializes a new instance of the ZipRecruiter.API class. Initialized the internal APIKey using the GlobalAPIKey.
public JobAlertsAPI ( ) : System
Результат System

JobAlertsAPI() публичный Метод

Initializes a new instance of the ZipRecruiter.API class.
public JobAlertsAPI ( String apiKey ) : System
apiKey String The desired Private ZipRecruiter API key
Результат System

Resource() публичный Метод

Uses the given resource endpoint to return the propper ApiResource class to invoke calls on.
public Resource ( String endpoint ) : dynamic
endpoint String The desired API Resource endpoint
Результат dynamic