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.
파일 보기 프로젝트 열기: ZipRecruiter/JobAlerts 1 사용 예제들

공개 메소드들

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