Class UsageGetParams
-
- All Implemented Interfaces:
-
io.imagekit.core.Params
public final class UsageGetParams implements Params
Get the account usage information between two dates. Note that the API response includes data from the start date while excluding data from the end date. In other words, the data covers the period starting from the specified start date up to, but not including, the end date.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUsageGetParams.BuilderA builder for UsageGetParams.
-
Method Summary
Modifier and Type Method Description final LocalDateendDate()Specify a endDateinYYYY-MM-DDformat.final LocalDatestartDate()Specify a startDateinYYYY-MM-DDformat.final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final UsageGetParams.BuildertoBuilder()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static UsageGetParams.Builderbuilder()Returns a mutable builder for constructing an instance of UsageGetParams. -
-
Method Detail
-
endDate
final LocalDate endDate()
Specify a
endDateinYYYY-MM-DDformat. It should be after thestartDate. The difference betweenstartDateandendDateshould be less than 90 days.
-
startDate
final LocalDate startDate()
Specify a
startDateinYYYY-MM-DDformat. It should be before theendDate. The difference betweenstartDateandendDateshould be less than 90 days.
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final UsageGetParams.Builder toBuilder()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static UsageGetParams.Builder builder()
Returns a mutable builder for constructing an instance of UsageGetParams.
The following fields are required:
.endDate() .startDate()
-
-
-
-