Package com.datadog.api.client.v2.model
Class FeatureFlagEnvironmentListItem
java.lang.Object
com.datadog.api.client.v2.model.FeatureFlagEnvironmentListItem
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FeatureFlagEnvironmentListItem
extends Object
Environment-specific settings for a feature flag in list responses.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFeatureFlagEnvironmentListItem(UUID environmentId, FeatureFlagStatus status) -
Method Summary
Modifier and TypeMethodDescriptionaddEnvironmentQueriesItem(String environmentQueriesItem) defaultAllocationKey(String defaultAllocationKey) defaultVariantId(String defaultVariantId) environmentId(UUID environmentId) environmentName(String environmentName) environmentQueries(List<String> environmentQueries) booleanReturn true if this FeatureFlagEnvironmentListItem object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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.requireFeatureFlagApproval(Boolean requireFeatureFlagApproval) 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_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
-
FeatureFlagEnvironmentListItem
public FeatureFlagEnvironmentListItem() -
FeatureFlagEnvironmentListItem
-
-
Method Details
-
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
public FeatureFlagEnvironmentListItem requireFeatureFlagApproval(Boolean 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:
- FeatureFlagEnvironmentListItem
-
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 FeatureFlagEnvironmentListItem object is equal to o. -
hashCode
public int hashCode() -
toString
-