Class FeatureFlagListItemAttributes

java.lang.Object
com.datadog.api.client.v2.model.FeatureFlagListItemAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FeatureFlagListItemAttributes extends Object
Attributes of a feature flag in list responses.
  • Field Details

  • Constructor Details

    • FeatureFlagListItemAttributes

      public FeatureFlagListItemAttributes()
    • FeatureFlagListItemAttributes

      public FeatureFlagListItemAttributes(String description, String key, String name, ValueType valueType, List<Variant> variants)
  • Method Details

    • archivedAt

      public FeatureFlagListItemAttributes archivedAt(OffsetDateTime archivedAt)
    • getArchivedAt

      @Nullable public OffsetDateTime getArchivedAt()
      The timestamp when the feature flag was archived.
      Returns:
      archivedAt
    • getArchivedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getArchivedAt_JsonNullable()
    • setArchivedAt_JsonNullable

      public void setArchivedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> archivedAt)
    • setArchivedAt

      public void setArchivedAt(OffsetDateTime archivedAt)
    • createdAt

      public FeatureFlagListItemAttributes createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      The timestamp when the feature flag was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • createdBy

      public FeatureFlagListItemAttributes createdBy(UUID createdBy)
    • getCreatedBy

      @Nullable public UUID getCreatedBy()
      The ID of the user who created the feature flag.
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(UUID createdBy)
    • description

      public FeatureFlagListItemAttributes description(String description)
    • getDescription

      public String getDescription()
      The description of the feature flag.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • distributionChannel

      public FeatureFlagListItemAttributes distributionChannel(String distributionChannel)
    • getDistributionChannel

      @Nullable public String getDistributionChannel()
      Distribution channel for the feature flag.
      Returns:
      distributionChannel
    • setDistributionChannel

      public void setDistributionChannel(String distributionChannel)
    • featureFlagEnvironments

      public FeatureFlagListItemAttributes featureFlagEnvironments(List<FeatureFlagEnvironmentListItem> featureFlagEnvironments)
    • addFeatureFlagEnvironmentsItem

      public FeatureFlagListItemAttributes addFeatureFlagEnvironmentsItem(FeatureFlagEnvironmentListItem featureFlagEnvironmentsItem)
    • getFeatureFlagEnvironments

      @Nullable public List<FeatureFlagEnvironmentListItem> getFeatureFlagEnvironments()
      Environment-specific settings for the feature flag.
      Returns:
      featureFlagEnvironments
    • setFeatureFlagEnvironments

      public void setFeatureFlagEnvironments(List<FeatureFlagEnvironmentListItem> featureFlagEnvironments)
    • jsonSchema

      public FeatureFlagListItemAttributes jsonSchema(String jsonSchema)
    • getJsonSchema

      @Nullable public String getJsonSchema()
      JSON schema for validation when value_type is JSON.
      Returns:
      jsonSchema
    • getJsonSchema_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getJsonSchema_JsonNullable()
    • setJsonSchema_JsonNullable

      public void setJsonSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jsonSchema)
    • setJsonSchema

      public void setJsonSchema(String jsonSchema)
    • key

    • getKey

      public String getKey()
      The unique key of the feature flag.
      Returns:
      key
    • setKey

      public void setKey(String key)
    • lastUpdatedBy

      public FeatureFlagListItemAttributes lastUpdatedBy(UUID lastUpdatedBy)
    • getLastUpdatedBy

      @Nullable public UUID getLastUpdatedBy()
      The ID of the user who last updated the feature flag.
      Returns:
      lastUpdatedBy
    • setLastUpdatedBy

      public void setLastUpdatedBy(UUID lastUpdatedBy)
    • name

    • getName

      public String getName()
      The name of the feature flag.
      Returns:
      name
    • setName

      public void setName(String name)
    • requireApproval

      public FeatureFlagListItemAttributes requireApproval(Boolean requireApproval)
    • getRequireApproval

      @Nullable public Boolean getRequireApproval()
      Indicates whether this feature flag requires approval for changes.
      Returns:
      requireApproval
    • setRequireApproval

      public void setRequireApproval(Boolean requireApproval)
    • stalenessStatus

      public FeatureFlagListItemAttributes stalenessStatus(String stalenessStatus)
    • getStalenessStatus

      @Nullable public String getStalenessStatus()
      Indicates the staleness status of the feature flag.
      Returns:
      stalenessStatus
    • setStalenessStatus

      public void setStalenessStatus(String stalenessStatus)
    • tags

    • addTagsItem

      public FeatureFlagListItemAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Tags associated with the feature flag.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • updatedAt

      public FeatureFlagListItemAttributes updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      The timestamp when the feature flag was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • valueType

      public FeatureFlagListItemAttributes valueType(ValueType valueType)
    • getValueType

      public ValueType getValueType()
      The type of values for the feature flag variants.
      Returns:
      valueType
    • setValueType

      public void setValueType(ValueType valueType)
    • variants

      public FeatureFlagListItemAttributes variants(List<Variant> variants)
    • addVariantsItem

      public FeatureFlagListItemAttributes addVariantsItem(Variant variantsItem)
    • getVariants

      public List<Variant> getVariants()
      The variants of the feature flag.
      Returns:
      variants
    • setVariants

      public void setVariants(List<Variant> variants)
    • putAdditionalProperty

      public FeatureFlagListItemAttributes putAdditionalProperty(String key, 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 - The arbitrary key to set
      value - The associated value
      Returns:
      FeatureFlagListItemAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this FeatureFlagListItemAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object