Package com.datadog.api.client.v2.model
Class FeatureFlagEnvironment
java.lang.Object
com.datadog.api.client.v2.model.FeatureFlagEnvironment
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FeatureFlagEnvironment
extends Object
Environment-specific settings for a feature flag.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEnvironmentQueriesItem(String environmentQueriesItem) allocations(Map<String, Object> allocations) defaultAllocationKey(String defaultAllocationKey) defaultVariantId(String defaultVariantId) environmentId(UUID environmentId) environmentName(String environmentName) environmentQueries(List<String> environmentQueries) booleanReturn true if this FeatureFlagEnvironment object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Allocation metadata for this environment.The allocation key used for the default variant.The ID of the default variant for this environment.org.openapitools.jackson.nullable.JsonNullable<String>The ID of the environment.The name of the environment.Queries that target this environment.Indicates whether the environment is production.The allocation key used for the override variant.The ID of the override variant for this environment.org.openapitools.jackson.nullable.JsonNullable<String>Pending suggestion identifier, if approval is required.org.openapitools.jackson.nullable.JsonNullable<String>Indicates whether feature flag changes require approval in this environment.The status of a feature flag in an environment.inthashCode()isProduction(Boolean isProduction) overrideAllocationKey(String overrideAllocationKey) overrideVariantId(String overrideVariantId) pendingSuggestionId(String pendingSuggestionId) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putAllocationsItem(String key, Object allocationsItem) requireFeatureFlagApproval(Boolean requireFeatureFlagApproval) voidsetAllocations(Map<String, Object> allocations) voidsetAllocations_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, Object>> allocations) voidsetDefaultAllocationKey(String defaultAllocationKey) voidsetDefaultVariantId(String defaultVariantId) voidsetDefaultVariantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> defaultVariantId) voidsetEnvironmentId(UUID environmentId) voidsetEnvironmentName(String environmentName) voidsetEnvironmentQueries(List<String> environmentQueries) voidsetIsProduction(Boolean isProduction) voidsetOverrideAllocationKey(String overrideAllocationKey) voidsetOverrideVariantId(String overrideVariantId) voidsetOverrideVariantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> overrideVariantId) voidsetPendingSuggestionId(String pendingSuggestionId) voidsetPendingSuggestionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> pendingSuggestionId) voidsetRequireFeatureFlagApproval(Boolean requireFeatureFlagApproval) voidsetStatus(FeatureFlagStatus status) status(FeatureFlagStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOCATIONS
- See Also:
-
JSON_PROPERTY_DEFAULT_ALLOCATION_KEY
- See Also:
-
JSON_PROPERTY_DEFAULT_VARIANT_ID
- See Also:
-
JSON_PROPERTY_ENVIRONMENT_ID
- See Also:
-
JSON_PROPERTY_ENVIRONMENT_NAME
- See Also:
-
JSON_PROPERTY_ENVIRONMENT_QUERIES
- See Also:
-
JSON_PROPERTY_IS_PRODUCTION
- See Also:
-
JSON_PROPERTY_OVERRIDE_ALLOCATION_KEY
- See Also:
-
JSON_PROPERTY_OVERRIDE_VARIANT_ID
- See Also:
-
JSON_PROPERTY_PENDING_SUGGESTION_ID
- See Also:
-
JSON_PROPERTY_REQUIRE_FEATURE_FLAG_APPROVAL
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
FeatureFlagEnvironment
public FeatureFlagEnvironment() -
FeatureFlagEnvironment
-
-
Method Details
-
allocations
-
putAllocationsItem
-
getAllocations
Allocation metadata for this environment.- Returns:
- allocations
-
getAllocations_JsonNullable
-
setAllocations_JsonNullable
-
setAllocations
-
defaultAllocationKey
-
getDefaultAllocationKey
The allocation key used for the default variant.- Returns:
- defaultAllocationKey
-
setDefaultAllocationKey
-
defaultVariantId
-
getDefaultVariantId
The ID of the default variant for this environment.- Returns:
- defaultVariantId
-
getDefaultVariantId_JsonNullable
-
setDefaultVariantId_JsonNullable
public void setDefaultVariantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> defaultVariantId) -
setDefaultVariantId
-
environmentId
-
getEnvironmentId
The ID of the environment.- Returns:
- environmentId
-
setEnvironmentId
-
environmentName
-
getEnvironmentName
The name of the environment.- Returns:
- environmentName
-
setEnvironmentName
-
environmentQueries
-
addEnvironmentQueriesItem
-
getEnvironmentQueries
Queries that target this environment.- Returns:
- environmentQueries
-
setEnvironmentQueries
-
isProduction
-
getIsProduction
Indicates whether the environment is production.- Returns:
- isProduction
-
setIsProduction
-
overrideAllocationKey
-
getOverrideAllocationKey
The allocation key used for the override variant.- Returns:
- overrideAllocationKey
-
setOverrideAllocationKey
-
overrideVariantId
-
getOverrideVariantId
The ID of the override variant for this environment.- Returns:
- overrideVariantId
-
getOverrideVariantId_JsonNullable
-
setOverrideVariantId_JsonNullable
public void setOverrideVariantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> overrideVariantId) -
setOverrideVariantId
-
pendingSuggestionId
-
getPendingSuggestionId
Pending suggestion identifier, if approval is required.- Returns:
- pendingSuggestionId
-
getPendingSuggestionId_JsonNullable
-
setPendingSuggestionId_JsonNullable
public void setPendingSuggestionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> pendingSuggestionId) -
setPendingSuggestionId
-
requireFeatureFlagApproval
-
getRequireFeatureFlagApproval
Indicates whether feature flag changes require approval in this environment.- Returns:
- requireFeatureFlagApproval
-
setRequireFeatureFlagApproval
-
status
-
getStatus
The status of a feature flag in an environment.- Returns:
- status
-
setStatus
-
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:
- FeatureFlagEnvironment
-
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 FeatureFlagEnvironment object is equal to o. -
hashCode
public int hashCode() -
toString
-