Package com.boldsign.model
Class ConditionalRule
- java.lang.Object
-
- com.boldsign.model.ConditionalRule
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class ConditionalRule extends Object
ConditionalRule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConditionalRule.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_FIELD_IDstatic StringSERIALIZED_NAME_IS_CHECKEDstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description ConditionalRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>createFormData()booleanequals(Object o)ConditionalRulefieldId(String fieldId)static ConditionalRulefromJson(String jsonString)Create an instance of ConditionalRule given an JSON stringStringgetFieldId()Get fieldIdBooleangetIsChecked()Get isCheckedStringgetValue()Get valueinthashCode()ConditionalRuleisChecked(Boolean isChecked)voidsetFieldId(String fieldId)voidsetIsChecked(Boolean isChecked)voidsetValue(String value)StringtoJson()Convert an instance of ConditionalRule to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundConditionalRulevalue(String value)
-
-
-
Field Detail
-
SERIALIZED_NAME_FIELD_ID
public static final String SERIALIZED_NAME_FIELD_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_CHECKED
public static final String SERIALIZED_NAME_IS_CHECKED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
fieldId
public ConditionalRule fieldId(String fieldId)
-
setFieldId
public void setFieldId(String fieldId)
-
isChecked
public ConditionalRule isChecked(Boolean isChecked)
-
setIsChecked
public void setIsChecked(Boolean isChecked)
-
value
public ConditionalRule value(String value)
-
setValue
public void setValue(String value)
-
createFormData
public Map<String,Object> createFormData() throws ApiException
- Throws:
ApiException
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to ConditionalRule
-
fromJson
public static ConditionalRule fromJson(String jsonString) throws IOException
Create an instance of ConditionalRule given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ConditionalRule
- Throws:
IOException- if the JSON string is invalid with respect to ConditionalRule
-
toJson
public String toJson()
Convert an instance of ConditionalRule to an JSON string- Returns:
- JSON string
-
-