Class FeatureFlagAttributes

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

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

  • Constructor Details

    • FeatureFlagAttributes

      public FeatureFlagAttributes()
    • FeatureFlagAttributes

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

    • archivedAt

      public FeatureFlagAttributes 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 FeatureFlagAttributes 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 FeatureFlagAttributes 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 FeatureFlagAttributes description(String description)
    • getDescription

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

      public void setDescription(String description)
    • distributionChannel

      public FeatureFlagAttributes distributionChannel(String distributionChannel)
    • getDistributionChannel

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

      public void setDistributionChannel(String distributionChannel)
    • featureFlagEnvironments

      public FeatureFlagAttributes featureFlagEnvironments(List<FeatureFlagEnvironment> featureFlagEnvironments)
    • addFeatureFlagEnvironmentsItem

      public FeatureFlagAttributes addFeatureFlagEnvironmentsItem(FeatureFlagEnvironment featureFlagEnvironmentsItem)
    • getFeatureFlagEnvironments

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

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

      public FeatureFlagAttributes 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

      public FeatureFlagAttributes key(String key)
    • getKey

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

      public void setKey(String key)
    • lastUpdatedBy

      public FeatureFlagAttributes 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

      public FeatureFlagAttributes name(String name)
    • getName

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

      public void setName(String name)
    • requireApproval

      public FeatureFlagAttributes 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 FeatureFlagAttributes stalenessStatus(String stalenessStatus)
    • getStalenessStatus

      @Nullable public String getStalenessStatus()
      Indicates the whether a feature flag is stale or not.
      Returns:
      stalenessStatus
    • setStalenessStatus

      public void setStalenessStatus(String stalenessStatus)
    • tags

      public FeatureFlagAttributes tags(List<String> tags)
    • addTagsItem

      public FeatureFlagAttributes 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 FeatureFlagAttributes 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 FeatureFlagAttributes 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 FeatureFlagAttributes variants(List<Variant> variants)
    • addVariantsItem

      public FeatureFlagAttributes 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 FeatureFlagAttributes 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:
      FeatureFlagAttributes
    • 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 FeatureFlagAttributes 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