Class CourierClient
- java.lang.Object
-
- com.chrt.api.resources.orgconnectioninfos.courier.CourierClient
-
public class CourierClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description CourierClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateV1(CourierOrgInfoForConnectionsClientCreate1 request)Creates courier organization connection information.java.lang.StringcreateV1(CourierOrgInfoForConnectionsClientCreate1 request, RequestOptions requestOptions)Creates courier organization connection information.CourierOrgInfoForConnections1getV1()Retrieves courier organization connection information for the authenticated organization.CourierOrgInfoForConnections1getV1(RequestOptions requestOptions)Retrieves courier organization connection information for the authenticated organization.booleanupdateV1()Updates existing courier organization connection information.booleanupdateV1(CourierOrgInfoForConnectionsClientUpdate1 request)Updates existing courier organization connection information.booleanupdateV1(CourierOrgInfoForConnectionsClientUpdate1 request, RequestOptions requestOptions)Updates existing courier organization connection information.RawCourierClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
CourierClient
public CourierClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawCourierClient withRawResponse()
Get responses with HTTP metadata like headers
-
getV1
public CourierOrgInfoForConnections1 getV1()
Retrieves courier organization connection information for the authenticated organization.
-
getV1
public CourierOrgInfoForConnections1 getV1(RequestOptions requestOptions)
Retrieves courier organization connection information for the authenticated organization.
-
createV1
public java.lang.String createV1(CourierOrgInfoForConnectionsClientCreate1 request)
Creates courier organization connection information. Fails if already exists.
-
createV1
public java.lang.String createV1(CourierOrgInfoForConnectionsClientCreate1 request, RequestOptions requestOptions)
Creates courier organization connection information. Fails if already exists.
-
updateV1
public boolean updateV1()
Updates existing courier organization connection information.
-
updateV1
public boolean updateV1(CourierOrgInfoForConnectionsClientUpdate1 request)
Updates existing courier organization connection information.
-
updateV1
public boolean updateV1(CourierOrgInfoForConnectionsClientUpdate1 request, RequestOptions requestOptions)
Updates existing courier organization connection information.
-
-