Class AsyncConnectionToForwarderClient
- java.lang.Object
-
- com.chrt.api.resources.connections.connectiontoforwarder.AsyncConnectionToForwarderClient
-
public class AsyncConnectionToForwarderClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncConnectionToForwarderClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.String>createV1(CreateConnectionReq request)Creates a new connection to a forwarder organization.java.util.concurrent.CompletableFuture<java.lang.String>createV1(CreateConnectionReq request, RequestOptions requestOptions)Creates a new connection to a forwarder organization.AsyncRawConnectionToForwarderClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncConnectionToForwarderClient
public AsyncConnectionToForwarderClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawConnectionToForwarderClient withRawResponse()
Get responses with HTTP metadata like headers
-
createV1
public java.util.concurrent.CompletableFuture<java.lang.String> createV1(CreateConnectionReq request)
Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)
-
createV1
public java.util.concurrent.CompletableFuture<java.lang.String> createV1(CreateConnectionReq request, RequestOptions requestOptions)
Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)
-
-