Package com.chrt.api.resources.utils
Class UtilsClient
- java.lang.Object
-
- com.chrt.api.resources.utils.UtilsClient
-
public class UtilsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description UtilsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimezoneResponsegetTimezoneV1(UtilsGetTimezoneV1Request request)Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates.TimezoneResponsegetTimezoneV1(UtilsGetTimezoneV1Request request, RequestOptions requestOptions)Returns the IANA timezone identifier (e.g., 'America/Los_Angeles') for the given latitude and longitude coordinates.RawUtilsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
UtilsClient
public UtilsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawUtilsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getTimezoneV1
public 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 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)
-
-