Package com.launchdarkly.api.model
Class IntegrationConfigurationPost
- java.lang.Object
-
- com.launchdarkly.api.model.IntegrationConfigurationPost
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-03-05T10:45:26.516033Z[Etc/UTC]", comments="Generator version: 7.18.0") public class IntegrationConfigurationPost extends java.lang.ObjectIntegrationConfigurationPost
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIntegrationConfigurationPost.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_CAPABILITY_CONFIGstatic java.lang.StringSERIALIZED_NAME_CONFIG_VALUESstatic java.lang.StringSERIALIZED_NAME_ENABLEDstatic java.lang.StringSERIALIZED_NAME_NAMEstatic java.lang.StringSERIALIZED_NAME_TAGS
-
Constructor Summary
Constructors Constructor Description IntegrationConfigurationPost()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationConfigurationPostaddTagsItem(java.lang.String tagsItem)IntegrationConfigurationPostcapabilityConfig(CapabilityConfigPost capabilityConfig)IntegrationConfigurationPostconfigValues(java.util.Map<java.lang.String,java.lang.Object> configValues)IntegrationConfigurationPostenabled(java.lang.Boolean enabled)booleanequals(java.lang.Object o)static IntegrationConfigurationPostfromJson(java.lang.String jsonString)Create an instance of IntegrationConfigurationPost given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.CapabilityConfigPostgetCapabilityConfig()Get capabilityConfigjava.util.Map<java.lang.String,java.lang.Object>getConfigValues()The unique set of fields required to configure the integration.java.lang.BooleangetEnabled()Whether the integration configuration is enabled.java.lang.StringgetName()The name of the integration configurationjava.util.List<java.lang.String>getTags()Tags for the integrationinthashCode()IntegrationConfigurationPostname(java.lang.String name)IntegrationConfigurationPostputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.IntegrationConfigurationPostputConfigValuesItem(java.lang.String key, java.lang.Object configValuesItem)voidsetCapabilityConfig(CapabilityConfigPost capabilityConfig)voidsetConfigValues(java.util.Map<java.lang.String,java.lang.Object> configValues)voidsetEnabled(java.lang.Boolean enabled)voidsetName(java.lang.String name)voidsetTags(java.util.List<java.lang.String> tags)IntegrationConfigurationPosttags(java.util.List<java.lang.String> tags)java.lang.StringtoJson()Convert an instance of IntegrationConfigurationPost to an JSON stringjava.lang.StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENABLED
public static final java.lang.String SERIALIZED_NAME_ENABLED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAGS
public static final java.lang.String SERIALIZED_NAME_TAGS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFIG_VALUES
public static final java.lang.String SERIALIZED_NAME_CONFIG_VALUES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAPABILITY_CONFIG
public static final java.lang.String SERIALIZED_NAME_CAPABILITY_CONFIG
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
name
public IntegrationConfigurationPost name(@Nonnull java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
The name of the integration configuration- Returns:
- name
-
setName
public void setName(@Nonnull java.lang.String name)
-
enabled
public IntegrationConfigurationPost enabled(@Nullable java.lang.Boolean enabled)
-
getEnabled
@Nullable public java.lang.Boolean getEnabled()
Whether the integration configuration is enabled. If omitted, defaults to true- Returns:
- enabled
-
setEnabled
public void setEnabled(@Nullable java.lang.Boolean enabled)
-
tags
public IntegrationConfigurationPost tags(@Nullable java.util.List<java.lang.String> tags)
-
addTagsItem
public IntegrationConfigurationPost addTagsItem(java.lang.String tagsItem)
-
getTags
@Nullable public java.util.List<java.lang.String> getTags()
Tags for the integration- Returns:
- tags
-
setTags
public void setTags(@Nullable java.util.List<java.lang.String> tags)
-
configValues
public IntegrationConfigurationPost configValues(@Nonnull java.util.Map<java.lang.String,java.lang.Object> configValues)
-
putConfigValuesItem
public IntegrationConfigurationPost putConfigValuesItem(java.lang.String key, java.lang.Object configValuesItem)
-
getConfigValues
@Nonnull public java.util.Map<java.lang.String,java.lang.Object> getConfigValues()
The unique set of fields required to configure the integration. Refer to the <code>formVariables</code> field in the corresponding <code>manifest.json</code> at https://github.com/launchdarkly/integration-framework/tree/main/integrations for a full list of fields for the integration you wish to configure.- Returns:
- configValues
-
setConfigValues
public void setConfigValues(@Nonnull java.util.Map<java.lang.String,java.lang.Object> configValues)
-
capabilityConfig
public IntegrationConfigurationPost capabilityConfig(@Nullable CapabilityConfigPost capabilityConfig)
-
getCapabilityConfig
@Nullable public CapabilityConfigPost getCapabilityConfig()
Get capabilityConfig- Returns:
- capabilityConfig
-
setCapabilityConfig
public void setCapabilityConfig(@Nullable CapabilityConfigPost capabilityConfig)
-
putAdditionalProperty
public IntegrationConfigurationPost putAdditionalProperty(java.lang.String key, java.lang.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- name of the propertyvalue- value of the property- Returns:
- the IntegrationConfigurationPost instance itself
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
java.io.IOException- if the JSON Element is invalid with respect to IntegrationConfigurationPost
-
fromJson
public static IntegrationConfigurationPost fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of IntegrationConfigurationPost given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IntegrationConfigurationPost
- Throws:
java.io.IOException- if the JSON string is invalid with respect to IntegrationConfigurationPost
-
toJson
public java.lang.String toJson()
Convert an instance of IntegrationConfigurationPost to an JSON string- Returns:
- JSON string
-
-