Class AsyncRawConnectionToForwarderClient
- java.lang.Object
-
- com.chrt.api.resources.connections.connectiontoforwarder.AsyncRawConnectionToForwarderClient
-
public class AsyncRawConnectionToForwarderClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawConnectionToForwarderClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CreateConnectionReq request)Creates a new connection to a forwarder organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CreateConnectionReq request, RequestOptions requestOptions)Creates a new connection to a forwarder organization.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawConnectionToForwarderClient
public AsyncRawConnectionToForwarderClient(ClientOptions clientOptions)
-
-
Method Detail
-
createV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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)
-
-