Class ProxyProfileSdkKeyItem
- java.lang.Object
-
- com.configcat.publicapi.java.client.model.ProxyProfileSdkKeyItem
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-11-28T09:20:10.031721056Z[Etc/UTC]", comments="Generator version: 7.7.0") public class ProxyProfileSdkKeyItem extends java.lang.ObjectProxyProfileSdkKeyItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProxyProfileSdkKeyItem.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_CONFIG_IDstatic java.lang.StringSERIALIZED_NAME_ENVIRONMENT_IDstatic java.lang.StringSERIALIZED_NAME_PRIMARY_SDK_KEYstatic java.lang.StringSERIALIZED_NAME_SDK_IDstatic java.lang.StringSERIALIZED_NAME_SECONDARY_SDK_KEY
-
Constructor Summary
Constructors Constructor Description ProxyProfileSdkKeyItem()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyProfileSdkKeyItemconfigId(java.util.UUID configId)ProxyProfileSdkKeyItemenvironmentId(java.util.UUID environmentId)booleanequals(java.lang.Object o)static ProxyProfileSdkKeyItemfromJson(java.lang.String jsonString)Create an instance of ProxyProfileSdkKeyItem 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.java.util.UUIDgetConfigId()The identifier of the Config associated with the SDK key.java.util.UUIDgetEnvironmentId()The identifier of the Environment associated with the SDK key.java.lang.StringgetPrimarySdkKey()The primary SDK Key of the Config / Environment pair selected for the Proxy Profile.java.lang.StringgetSdkId()The SDK ID identifying the Config / Environment pair selected for the Proxy Profile.java.lang.StringgetSecondarySdkKey()The secondary SDK Key of the Config / Environment pair selected for the Proxy Profile.inthashCode()ProxyProfileSdkKeyItemprimarySdkKey(java.lang.String primarySdkKey)ProxyProfileSdkKeyItemputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.ProxyProfileSdkKeyItemsdkId(java.lang.String sdkId)ProxyProfileSdkKeyItemsecondarySdkKey(java.lang.String secondarySdkKey)voidsetConfigId(java.util.UUID configId)voidsetEnvironmentId(java.util.UUID environmentId)voidsetPrimarySdkKey(java.lang.String primarySdkKey)voidsetSdkId(java.lang.String sdkId)voidsetSecondarySdkKey(java.lang.String secondarySdkKey)java.lang.StringtoJson()Convert an instance of ProxyProfileSdkKeyItem 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_PRIMARY_SDK_KEY
public static final java.lang.String SERIALIZED_NAME_PRIMARY_SDK_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECONDARY_SDK_KEY
public static final java.lang.String SERIALIZED_NAME_SECONDARY_SDK_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SDK_ID
public static final java.lang.String SERIALIZED_NAME_SDK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFIG_ID
public static final java.lang.String SERIALIZED_NAME_CONFIG_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ENVIRONMENT_ID
public static final java.lang.String SERIALIZED_NAME_ENVIRONMENT_ID
- 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
-
primarySdkKey
public ProxyProfileSdkKeyItem primarySdkKey(java.lang.String primarySdkKey)
-
getPrimarySdkKey
@Nonnull public java.lang.String getPrimarySdkKey()
The primary SDK Key of the Config / Environment pair selected for the Proxy Profile.- Returns:
- primarySdkKey
-
setPrimarySdkKey
public void setPrimarySdkKey(java.lang.String primarySdkKey)
-
secondarySdkKey
public ProxyProfileSdkKeyItem secondarySdkKey(java.lang.String secondarySdkKey)
-
getSecondarySdkKey
@Nullable public java.lang.String getSecondarySdkKey()
The secondary SDK Key of the Config / Environment pair selected for the Proxy Profile.- Returns:
- secondarySdkKey
-
setSecondarySdkKey
public void setSecondarySdkKey(java.lang.String secondarySdkKey)
-
sdkId
public ProxyProfileSdkKeyItem sdkId(java.lang.String sdkId)
-
getSdkId
@Nonnull public java.lang.String getSdkId()
The SDK ID identifying the Config / Environment pair selected for the Proxy Profile.- Returns:
- sdkId
-
setSdkId
public void setSdkId(java.lang.String sdkId)
-
configId
public ProxyProfileSdkKeyItem configId(java.util.UUID configId)
-
getConfigId
@Nonnull public java.util.UUID getConfigId()
The identifier of the Config associated with the SDK key.- Returns:
- configId
-
setConfigId
public void setConfigId(java.util.UUID configId)
-
environmentId
public ProxyProfileSdkKeyItem environmentId(java.util.UUID environmentId)
-
getEnvironmentId
@Nonnull public java.util.UUID getEnvironmentId()
The identifier of the Environment associated with the SDK key.- Returns:
- environmentId
-
setEnvironmentId
public void setEnvironmentId(java.util.UUID environmentId)
-
putAdditionalProperty
public ProxyProfileSdkKeyItem 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 ProxyProfileSdkKeyItem 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 ProxyProfileSdkKeyItem
-
fromJson
public static ProxyProfileSdkKeyItem fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of ProxyProfileSdkKeyItem given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ProxyProfileSdkKeyItem
- Throws:
java.io.IOException- if the JSON string is invalid with respect to ProxyProfileSdkKeyItem
-
toJson
public java.lang.String toJson()
Convert an instance of ProxyProfileSdkKeyItem to an JSON string- Returns:
- JSON string
-
-