Package ai.shipeasy.admin.model
Class ListGatesResponseDataInnerStackInnerOneOfRamp
java.lang.Object
ai.shipeasy.admin.model.ListGatesResponseDataInnerStackInnerOneOfRamp
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListGatesResponseDataInnerStackInnerOneOfRamp
extends Object
Linear rollout ramp. The effective rollout % interpolates `from`→`to` over `[startAt, startAt+durationMs]`, clamped outside that window, evaluated against the wall-clock at eval time. Overrides the entry's static `rolloutPct` while present.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondurationMs(Integer durationMs) booleanCreate an instance of ListGatesResponseDataInnerStackInnerOneOfRamp given an JSON stringRamp length in milliseconds.getFrom()Start of the ramp in basis points (0–10000).Ramp start, epoch milliseconds (UTC).getTo()End of the ramp in basis points (0–10000).inthashCode()voidsetDurationMs(Integer durationMs) voidvoidsetStartAt(Integer startAt) voidtoJson()Convert an instance of ListGatesResponseDataInnerStackInnerOneOfRamp to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_TO
- See Also:
-
SERIALIZED_NAME_START_AT
- See Also:
-
SERIALIZED_NAME_DURATION_MS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListGatesResponseDataInnerStackInnerOneOfRamp
public ListGatesResponseDataInnerStackInnerOneOfRamp()
-
-
Method Details
-
from
-
getFrom
Start of the ramp in basis points (0–10000). minimum: 0 maximum: 10000- Returns:
- from
-
setFrom
-
to
-
getTo
End of the ramp in basis points (0–10000). minimum: 0 maximum: 10000- Returns:
- to
-
setTo
-
startAt
-
getStartAt
Ramp start, epoch milliseconds (UTC). minimum: 0 maximum: 9007199254740991- Returns:
- startAt
-
setStartAt
-
durationMs
-
getDurationMs
Ramp length in milliseconds. minimum: 0 maximum: 9007199254740991- Returns:
- durationMs
-
setDurationMs
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ListGatesResponseDataInnerStackInnerOneOfRamp
-
fromJson
public static ListGatesResponseDataInnerStackInnerOneOfRamp fromJson(String jsonString) throws IOException Create an instance of ListGatesResponseDataInnerStackInnerOneOfRamp given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListGatesResponseDataInnerStackInnerOneOfRamp
- Throws:
IOException- if the JSON string is invalid with respect to ListGatesResponseDataInnerStackInnerOneOfRamp
-
toJson
Convert an instance of ListGatesResponseDataInnerStackInnerOneOfRamp to an JSON string- Returns:
- JSON string
-