Class SettingDataV2Model


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2025-11-28T09:20:10.031721056Z[Etc/UTC]",
               comments="Generator version: 7.7.0")
    public class SettingDataV2Model
    extends java.lang.Object
    Metadata of a Feature Flag or Setting.
    • Field Detail

      • SERIALIZED_NAME_SETTING_ID

        public static final java.lang.String SERIALIZED_NAME_SETTING_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_KEY

        public static final java.lang.String SERIALIZED_NAME_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_NAME

        public static final java.lang.String SERIALIZED_NAME_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_HINT

        public static final java.lang.String SERIALIZED_NAME_HINT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_SETTING_TYPE

        public static final java.lang.String SERIALIZED_NAME_SETTING_TYPE
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ORDER

        public static final java.lang.String SERIALIZED_NAME_ORDER
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CREATED_AT

        public static final java.lang.String SERIALIZED_NAME_CREATED_AT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CREATOR_EMAIL

        public static final java.lang.String SERIALIZED_NAME_CREATOR_EMAIL
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CREATOR_FULL_NAME

        public static final java.lang.String SERIALIZED_NAME_CREATOR_FULL_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_PREDEFINED_VARIATIONS

        public static final java.lang.String SERIALIZED_NAME_PREDEFINED_VARIATIONS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_IS_WATCHING

        public static final java.lang.String SERIALIZED_NAME_IS_WATCHING
        See Also:
        Constant Field Values
      • openapiFields

        public static java.util.HashSet<java.lang.String> openapiFields
      • openapiRequiredFields

        public static java.util.HashSet<java.lang.String> openapiRequiredFields
    • Constructor Detail

      • SettingDataV2Model

        public SettingDataV2Model()
    • Method Detail

      • getSettingId

        @Nonnull
        public java.lang.Integer getSettingId()
        Identifier of the Feature Flag or Setting.
        Returns:
        settingId
      • setSettingId

        public void setSettingId​(java.lang.Integer settingId)
      • getKey

        @Nonnull
        public java.lang.String getKey()
        Key of the Feature Flag or Setting.
        Returns:
        key
      • setKey

        public void setKey​(java.lang.String key)
      • getName

        @Nonnull
        public java.lang.String getName()
        Name of the Feature Flag or Setting.
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • getHint

        @Nullable
        public java.lang.String getHint()
        Description of the Feature Flag or Setting.
        Returns:
        hint
      • setHint

        public void setHint​(java.lang.String hint)
      • getSettingType

        @Nonnull
        public SettingType getSettingType()
        Get settingType
        Returns:
        settingType
      • setSettingType

        public void setSettingType​(SettingType settingType)
      • getOrder

        @Nonnull
        public java.lang.Integer getOrder()
        The order of the Feature Flag or Setting represented on the ConfigCat Dashboard.
        Returns:
        order
      • setOrder

        public void setOrder​(java.lang.Integer order)
      • getCreatedAt

        @Nullable
        public java.time.OffsetDateTime getCreatedAt()
        The creation time of the Feature Flag or Setting.
        Returns:
        createdAt
      • setCreatedAt

        public void setCreatedAt​(java.time.OffsetDateTime createdAt)
      • creatorEmail

        public SettingDataV2Model creatorEmail​(java.lang.String creatorEmail)
      • getCreatorEmail

        @Nullable
        public java.lang.String getCreatorEmail()
        The user's email address who created the Feature Flag or Setting.
        Returns:
        creatorEmail
      • setCreatorEmail

        public void setCreatorEmail​(java.lang.String creatorEmail)
      • creatorFullName

        public SettingDataV2Model creatorFullName​(java.lang.String creatorFullName)
      • getCreatorFullName

        @Nullable
        public java.lang.String getCreatorFullName()
        The user's name who created the Feature Flag or Setting.
        Returns:
        creatorFullName
      • setCreatorFullName

        public void setCreatorFullName​(java.lang.String creatorFullName)
      • getPredefinedVariations

        @Nonnull
        public java.util.List<PredefinedVariationModel> getPredefinedVariations()
        A collection of Variations for a Feature Flag or Setting.
        Returns:
        predefinedVariations
      • setPredefinedVariations

        public void setPredefinedVariations​(java.util.List<PredefinedVariationModel> predefinedVariations)
      • getIsWatching

        @Nonnull
        public java.lang.Boolean getIsWatching()
        Get isWatching
        Returns:
        isWatching
      • setIsWatching

        public void setIsWatching​(java.lang.Boolean isWatching)
      • putAdditionalProperty

        public SettingDataV2Model putAdditionalProperty​(java.lang.String key,
                                                        java.lang.Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the SettingDataV2Model instance itself
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        java.io.IOException - if the JSON Element is invalid with respect to SettingDataV2Model
      • fromJson

        public static SettingDataV2Model fromJson​(java.lang.String jsonString)
                                           throws java.io.IOException
        Create an instance of SettingDataV2Model given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of SettingDataV2Model
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to SettingDataV2Model
      • toJson

        public java.lang.String toJson()
        Convert an instance of SettingDataV2Model to an JSON string
        Returns:
        JSON string