Package com.datadog.api.client.v2.model
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeatureFlagEnvironmentsItem(FeatureFlagEnvironment featureFlagEnvironmentsItem) addTagsItem(String tagsItem) addVariantsItem(Variant variantsItem) archivedAt(OffsetDateTime archivedAt) createdAt(OffsetDateTime createdAt) description(String description) distributionChannel(String distributionChannel) booleanReturn true if this FeatureFlagAttributes object is equal to o.featureFlagEnvironments(List<FeatureFlagEnvironment> featureFlagEnvironments) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The timestamp when the feature flag was archived.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The timestamp when the feature flag was created.The ID of the user who created the feature flag.The description of the feature flag.Distribution channel for the feature flag.Environment-specific settings for the feature flag.JSON schema for validation when value_type is JSON.org.openapitools.jackson.nullable.JsonNullable<String>getKey()The unique key of the feature flag.The ID of the user who last updated the feature flag.getName()The name of the feature flag.Indicates whether this feature flag requires approval for changes.Indicates the whether a feature flag is stale or not.getTags()Tags associated with the feature flag.The timestamp when the feature flag was last updated.The type of values for the feature flag variants.The variants of the feature flag.inthashCode()jsonSchema(String jsonSchema) lastUpdatedBy(UUID lastUpdatedBy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requireApproval(Boolean requireApproval) voidsetArchivedAt(OffsetDateTime archivedAt) voidsetArchivedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> archivedAt) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(UUID createdBy) voidsetDescription(String description) voidsetDistributionChannel(String distributionChannel) voidsetFeatureFlagEnvironments(List<FeatureFlagEnvironment> featureFlagEnvironments) voidsetJsonSchema(String jsonSchema) voidsetJsonSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jsonSchema) voidvoidsetLastUpdatedBy(UUID lastUpdatedBy) voidvoidsetRequireApproval(Boolean requireApproval) voidsetStalenessStatus(String stalenessStatus) voidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidsetValueType(ValueType valueType) voidsetVariants(List<Variant> variants) stalenessStatus(String stalenessStatus) toString()updatedAt(OffsetDateTime updatedAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ARCHIVED_AT
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DISTRIBUTION_CHANNEL
- See Also:
-
JSON_PROPERTY_FEATURE_FLAG_ENVIRONMENTS
- See Also:
-
JSON_PROPERTY_JSON_SCHEMA
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_LAST_UPDATED_BY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REQUIRE_APPROVAL
- See Also:
-
JSON_PROPERTY_STALENESS_STATUS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_VALUE_TYPE
- See Also:
-
JSON_PROPERTY_VARIANTS
- See Also:
-
-
Constructor Details
-
FeatureFlagAttributes
public FeatureFlagAttributes() -
FeatureFlagAttributes
-
-
Method Details
-
archivedAt
-
getArchivedAt
The timestamp when the feature flag was archived.- Returns:
- archivedAt
-
getArchivedAt_JsonNullable
-
setArchivedAt_JsonNullable
public void setArchivedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> archivedAt) -
setArchivedAt
-
createdAt
-
getCreatedAt
The timestamp when the feature flag was created.- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
The ID of the user who created the feature flag.- Returns:
- createdBy
-
setCreatedBy
-
description
-
getDescription
The description of the feature flag.- Returns:
- description
-
setDescription
-
distributionChannel
-
getDistributionChannel
Distribution channel for the feature flag.- Returns:
- distributionChannel
-
setDistributionChannel
-
featureFlagEnvironments
public FeatureFlagAttributes featureFlagEnvironments(List<FeatureFlagEnvironment> featureFlagEnvironments) -
addFeatureFlagEnvironmentsItem
public FeatureFlagAttributes addFeatureFlagEnvironmentsItem(FeatureFlagEnvironment featureFlagEnvironmentsItem) -
getFeatureFlagEnvironments
Environment-specific settings for the feature flag.- Returns:
- featureFlagEnvironments
-
setFeatureFlagEnvironments
-
jsonSchema
-
getJsonSchema
JSON schema for validation when value_type is JSON.- Returns:
- jsonSchema
-
getJsonSchema_JsonNullable
-
setJsonSchema_JsonNullable
public void setJsonSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jsonSchema) -
setJsonSchema
-
key
-
getKey
The unique key of the feature flag.- Returns:
- key
-
setKey
-
lastUpdatedBy
-
getLastUpdatedBy
The ID of the user who last updated the feature flag.- Returns:
- lastUpdatedBy
-
setLastUpdatedBy
-
name
-
getName
The name of the feature flag.- Returns:
- name
-
setName
-
requireApproval
-
getRequireApproval
Indicates whether this feature flag requires approval for changes.- Returns:
- requireApproval
-
setRequireApproval
-
stalenessStatus
-
getStalenessStatus
Indicates the whether a feature flag is stale or not.- Returns:
- stalenessStatus
-
setStalenessStatus
-
tags
-
addTagsItem
-
getTags
Tags associated with the feature flag.- Returns:
- tags
-
setTags
-
updatedAt
-
getUpdatedAt
The timestamp when the feature flag was last updated.- Returns:
- updatedAt
-
setUpdatedAt
-
valueType
-
getValueType
The type of values for the feature flag variants.- Returns:
- valueType
-
setValueType
-
variants
-
addVariantsItem
-
getVariants
The variants of the feature flag.- Returns:
- variants
-
setVariants
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- FeatureFlagAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this FeatureFlagAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-