Package ai.shipeasy.admin.model
Class ListUniversesResponseDataInner
java.lang.Object
ai.shipeasy.admin.model.ListUniversesResponseDataInner
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class ListUniversesResponseDataInner
extends Object
ListUniversesResponseDataInner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHoldoutRangeItem(BigDecimal holdoutRangeItem) booleanCreate an instance of ListUniversesResponseDataInner given an JSON stringISO-8601 timestamp of creation.Reserved holdout bucket range, or `null` if none.getId()Stable opaque universe id.getName()Stable universe key.Unit of randomisation.inthashCode()holdoutRange(List<BigDecimal> holdoutRange) voidsetCreatedAt(String createdAt) voidsetHoldoutRange(List<BigDecimal> holdoutRange) voidvoidvoidsetUnitType(String unitType) toJson()Convert an instance of ListUniversesResponseDataInner 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_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_UNIT_TYPE
- See Also:
-
SERIALIZED_NAME_HOLDOUT_RANGE
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ListUniversesResponseDataInner
public ListUniversesResponseDataInner()
-
-
Method Details
-
id
-
getId
Stable opaque universe id.- Returns:
- id
-
setId
-
name
-
getName
Stable universe key. Single segment or `folder.name`. Lowercase letters, digits, `_` or `-`; max 128 chars. Immutable after create.- Returns:
- name
-
setName
-
unitType
-
getUnitType
Unit of randomisation. Snake-case in request (`unit_type`), camelCase in response.- Returns:
- unitType
-
setUnitType
-
holdoutRange
-
addHoldoutRangeItem
-
getHoldoutRange
Reserved holdout bucket range, or `null` if none.- Returns:
- holdoutRange
-
setHoldoutRange
-
createdAt
-
getCreatedAt
ISO-8601 timestamp of creation.- Returns:
- createdAt
-
setCreatedAt
-
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 ListUniversesResponseDataInner
-
fromJson
Create an instance of ListUniversesResponseDataInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ListUniversesResponseDataInner
- Throws:
IOException- if the JSON string is invalid with respect to ListUniversesResponseDataInner
-
toJson
Convert an instance of ListUniversesResponseDataInner to an JSON string- Returns:
- JSON string
-