@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-20T16:55:24.304297906Z[Etc/UTC]",
comments="Generator version: 7.7.0")
public class UpdatePreferencesRequest
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UpdatePreferencesRequest.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_KEY_GENERATION_MODE |
static java.lang.String |
SERIALIZED_NAME_MANDATORY_SETTING_HINT |
static java.lang.String |
SERIALIZED_NAME_REASON_REQUIRED |
static java.lang.String |
SERIALIZED_NAME_REASON_REQUIRED_ENVIRONMENTS |
static java.lang.String |
SERIALIZED_NAME_SHOW_VARIATION_ID |
| Constructor and Description |
|---|
UpdatePreferencesRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdatePreferencesRequest |
addReasonRequiredEnvironmentsItem(UpdateReasonRequiredEnvironmentModel reasonRequiredEnvironmentsItem) |
boolean |
equals(java.lang.Object o) |
static UpdatePreferencesRequest |
fromJson(java.lang.String jsonString)
Create an instance of UpdatePreferencesRequest given an JSON string
|
java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
java.lang.Object |
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
|
KeyGenerationMode |
getKeyGenerationMode()
Get keyGenerationMode
|
java.lang.Boolean |
getMandatorySettingHint()
Indicates whether Feature flags and Settings must have a hint.
|
java.lang.Boolean |
getReasonRequired()
Indicates that a mandatory note is required for saving and publishing.
|
java.util.List<UpdateReasonRequiredEnvironmentModel> |
getReasonRequiredEnvironments()
List of Environments where mandatory note must be set before saving and publishing.
|
java.lang.Boolean |
getShowVariationId()
Indicates whether a variation ID's must be shown on the ConfigCat Dashboard.
|
int |
hashCode() |
UpdatePreferencesRequest |
keyGenerationMode(KeyGenerationMode keyGenerationMode) |
UpdatePreferencesRequest |
mandatorySettingHint(java.lang.Boolean mandatorySettingHint) |
UpdatePreferencesRequest |
putAdditionalProperty(java.lang.String key,
java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.
|
UpdatePreferencesRequest |
reasonRequired(java.lang.Boolean reasonRequired) |
UpdatePreferencesRequest |
reasonRequiredEnvironments(java.util.List<UpdateReasonRequiredEnvironmentModel> reasonRequiredEnvironments) |
void |
setKeyGenerationMode(KeyGenerationMode keyGenerationMode) |
void |
setMandatorySettingHint(java.lang.Boolean mandatorySettingHint) |
void |
setReasonRequired(java.lang.Boolean reasonRequired) |
void |
setReasonRequiredEnvironments(java.util.List<UpdateReasonRequiredEnvironmentModel> reasonRequiredEnvironments) |
void |
setShowVariationId(java.lang.Boolean showVariationId) |
UpdatePreferencesRequest |
showVariationId(java.lang.Boolean showVariationId) |
java.lang.String |
toJson()
Convert an instance of UpdatePreferencesRequest to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_REASON_REQUIRED
public static final java.lang.String SERIALIZED_NAME_KEY_GENERATION_MODE
public static final java.lang.String SERIALIZED_NAME_SHOW_VARIATION_ID
public static final java.lang.String SERIALIZED_NAME_MANDATORY_SETTING_HINT
public static final java.lang.String SERIALIZED_NAME_REASON_REQUIRED_ENVIRONMENTS
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public UpdatePreferencesRequest reasonRequired(java.lang.Boolean reasonRequired)
@Nullable public java.lang.Boolean getReasonRequired()
public void setReasonRequired(java.lang.Boolean reasonRequired)
public UpdatePreferencesRequest keyGenerationMode(KeyGenerationMode keyGenerationMode)
@Nullable public KeyGenerationMode getKeyGenerationMode()
public void setKeyGenerationMode(KeyGenerationMode keyGenerationMode)
public UpdatePreferencesRequest showVariationId(java.lang.Boolean showVariationId)
@Nullable public java.lang.Boolean getShowVariationId()
public void setShowVariationId(java.lang.Boolean showVariationId)
public UpdatePreferencesRequest mandatorySettingHint(java.lang.Boolean mandatorySettingHint)
@Nullable public java.lang.Boolean getMandatorySettingHint()
public void setMandatorySettingHint(java.lang.Boolean mandatorySettingHint)
public UpdatePreferencesRequest reasonRequiredEnvironments(java.util.List<UpdateReasonRequiredEnvironmentModel> reasonRequiredEnvironments)
public UpdatePreferencesRequest addReasonRequiredEnvironmentsItem(UpdateReasonRequiredEnvironmentModel reasonRequiredEnvironmentsItem)
@Nullable public java.util.List<UpdateReasonRequiredEnvironmentModel> getReasonRequiredEnvironments()
public void setReasonRequiredEnvironments(java.util.List<UpdateReasonRequiredEnvironmentModel> reasonRequiredEnvironments)
public UpdatePreferencesRequest putAdditionalProperty(java.lang.String key, java.lang.Object value)
key - name of the propertyvalue - value of the propertypublic java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
public java.lang.Object getAdditionalProperty(java.lang.String key)
key - name of the propertypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to UpdatePreferencesRequestpublic static UpdatePreferencesRequest fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to UpdatePreferencesRequestpublic java.lang.String toJson()