Package com.qtsurfer.api.client.model
Enum Class PrepareRequest.CadenceEnum
- All Implemented Interfaces:
Serializable,Comparable<PrepareRequest.CadenceEnum>,Constable
- Enclosing class:
- PrepareRequest
Output bar cadence for the prepared range. Defaults to the publisher's native cadence (`1s`); coarser cadences are produced on demand via resampling and stored alongside the native blob in cache. Coarser-than- source values must be exact multiples of the source cadence — invalid labels return `400`.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PrepareRequest.CadenceEnumgetValue()toString()static PrepareRequest.CadenceEnumReturns the enum constant of this class with the specified name.static PrepareRequest.CadenceEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
_1S
-
_5S
-
_1M
-
_5M
-
_15M
-
_1H
-
_4H
-
_1D
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<PrepareRequest.CadenceEnum>
-
fromValue
-