Package com.chrt.api.resources.utils
Class AsyncUtilsClient
- java.lang.Object
-
- com.chrt.api.resources.utils.AsyncUtilsClient
-
public class AsyncUtilsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptionsprotected java.util.function.Supplier<AsyncDevClient>devClientprotected java.util.function.Supplier<AsyncRootClient>rootClient
-
Constructor Summary
Constructors Constructor Description AsyncUtilsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncDevClientdev()java.util.concurrent.CompletableFuture<TimezoneResponse>getTimezoneV1(UtilsGetTimezoneV1Request request)Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates.java.util.concurrent.CompletableFuture<TimezoneResponse>getTimezoneV1(UtilsGetTimezoneV1Request request, RequestOptions requestOptions)Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates.AsyncRootClientroot()AsyncRawUtilsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
devClient
protected final java.util.function.Supplier<AsyncDevClient> devClient
-
rootClient
protected final java.util.function.Supplier<AsyncRootClient> rootClient
-
-
Constructor Detail
-
AsyncUtilsClient
public AsyncUtilsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawUtilsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getTimezoneV1
public java.util.concurrent.CompletableFuture<TimezoneResponse> getTimezoneV1(UtilsGetTimezoneV1Request request)
Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge. | () -> (TimezoneResponse)
-
getTimezoneV1
public java.util.concurrent.CompletableFuture<TimezoneResponse> getTimezoneV1(UtilsGetTimezoneV1Request request, RequestOptions requestOptions)
Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates. Falls back to closest timezone if the point is in the ocean or at an edge. | () -> (TimezoneResponse)
-
dev
public AsyncDevClient dev()
-
root
public AsyncRootClient root()
-
-