Class CandidatesClient
- java.lang.Object
-
- com.merge.api.resources.ats.candidates.CandidatesClient
-
public class CandidatesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description CandidatesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CandidateResponsecreate(CandidateEndpointRequest request)Creates aCandidateobject with the given values.CandidateResponsecreate(CandidateEndpointRequest request, RequestOptions requestOptions)Creates aCandidateobject with the given values.voidignoreCreate(java.lang.String modelId, IgnoreCommonModelRequest request)Ignores a specific row based on themodel_idin the url.voidignoreCreate(java.lang.String modelId, IgnoreCommonModelRequest request, RequestOptions requestOptions)Ignores a specific row based on themodel_idin the url.PaginatedCandidateListlist()Returns a list ofCandidateobjects.PaginatedCandidateListlist(CandidatesListRequest request)Returns a list ofCandidateobjects.PaginatedCandidateListlist(CandidatesListRequest request, RequestOptions requestOptions)Returns a list ofCandidateobjects.MetaResponsemetaPatchRetrieve(java.lang.String id)Returns metadata forCandidatePATCHs.MetaResponsemetaPatchRetrieve(java.lang.String id, RequestOptions requestOptions)Returns metadata forCandidatePATCHs.MetaResponsemetaPostRetrieve()Returns metadata forCandidatePOSTs.MetaResponsemetaPostRetrieve(RequestOptions requestOptions)Returns metadata forCandidatePOSTs.CandidateResponsepartialUpdate(java.lang.String id, PatchedCandidateEndpointRequest request)Updates aCandidateobject with the givenid.CandidateResponsepartialUpdate(java.lang.String id, PatchedCandidateEndpointRequest request, RequestOptions requestOptions)Updates aCandidateobject with the givenid.Candidateretrieve(java.lang.String id)Returns aCandidateobject with the givenid.Candidateretrieve(java.lang.String id, CandidatesRetrieveRequest request)Returns aCandidateobject with the givenid.Candidateretrieve(java.lang.String id, CandidatesRetrieveRequest request, RequestOptions requestOptions)Returns aCandidateobject with the givenid.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
CandidatesClient
public CandidatesClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public PaginatedCandidateList list()
Returns a list ofCandidateobjects.
-
list
public PaginatedCandidateList list(CandidatesListRequest request)
Returns a list ofCandidateobjects.
-
list
public PaginatedCandidateList list(CandidatesListRequest request, RequestOptions requestOptions)
Returns a list ofCandidateobjects.
-
create
public CandidateResponse create(CandidateEndpointRequest request)
Creates aCandidateobject with the given values.
-
create
public CandidateResponse create(CandidateEndpointRequest request, RequestOptions requestOptions)
Creates aCandidateobject with the given values.
-
retrieve
public Candidate retrieve(java.lang.String id)
Returns aCandidateobject with the givenid.
-
retrieve
public Candidate retrieve(java.lang.String id, CandidatesRetrieveRequest request)
Returns aCandidateobject with the givenid.
-
retrieve
public Candidate retrieve(java.lang.String id, CandidatesRetrieveRequest request, RequestOptions requestOptions)
Returns aCandidateobject with the givenid.
-
partialUpdate
public CandidateResponse partialUpdate(java.lang.String id, PatchedCandidateEndpointRequest request)
Updates aCandidateobject with the givenid.
-
partialUpdate
public CandidateResponse partialUpdate(java.lang.String id, PatchedCandidateEndpointRequest request, RequestOptions requestOptions)
Updates aCandidateobject with the givenid.
-
ignoreCreate
public void ignoreCreate(java.lang.String modelId, IgnoreCommonModelRequest request)Ignores a specific row based on themodel_idin the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
-
ignoreCreate
public void ignoreCreate(java.lang.String modelId, IgnoreCommonModelRequest request, RequestOptions requestOptions)Ignores a specific row based on themodel_idin the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
-
metaPatchRetrieve
public MetaResponse metaPatchRetrieve(java.lang.String id)
Returns metadata forCandidatePATCHs.
-
metaPatchRetrieve
public MetaResponse metaPatchRetrieve(java.lang.String id, RequestOptions requestOptions)
Returns metadata forCandidatePATCHs.
-
metaPostRetrieve
public MetaResponse metaPostRetrieve()
Returns metadata forCandidatePOSTs.
-
metaPostRetrieve
public MetaResponse metaPostRetrieve(RequestOptions requestOptions)
Returns metadata forCandidatePOSTs.
-
-