Package com.veeroute.lss.studio.model
Class CustomfieldConvertRule
java.lang.Object
com.veeroute.lss.studio.model.CustomfieldConvertRule
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:57.513559297+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class CustomfieldConvertRule
extends Object
Rule for converting a custom field from an attribute.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionentityType(CustomfieldEntityType entityType) booleanstatic CustomfieldConvertRuleCreate an instance of CustomfieldConvertRule given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get entityTypeThe attribute key whose value will be written to the specified custom field.Get targetCustomfieldGet translationsinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetEntityType(CustomfieldEntityType entityType) voidsetSourceAttributeKey(String sourceAttributeKey) voidsetTargetCustomfield(TableCustomfieldsColumnType targetCustomfield) voidsetTranslations(Translations translations) sourceAttributeKey(String sourceAttributeKey) targetCustomfield(TableCustomfieldsColumnType targetCustomfield) toJson()Convert an instance of CustomfieldConvertRule to an JSON stringtoString()translations(Translations translations) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ENTITY_TYPE
- See Also:
-
SERIALIZED_NAME_SOURCE_ATTRIBUTE_KEY
- See Also:
-
SERIALIZED_NAME_TARGET_CUSTOMFIELD
- See Also:
-
SERIALIZED_NAME_TRANSLATIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CustomfieldConvertRule
public CustomfieldConvertRule()
-
-
Method Details
-
entityType
-
getEntityType
Get entityType- Returns:
- entityType
-
setEntityType
-
sourceAttributeKey
-
getSourceAttributeKey
The attribute key whose value will be written to the specified custom field.- Returns:
- sourceAttributeKey
-
setSourceAttributeKey
-
targetCustomfield
public CustomfieldConvertRule targetCustomfield(@Nullable TableCustomfieldsColumnType targetCustomfield) -
getTargetCustomfield
Get targetCustomfield- Returns:
- targetCustomfield
-
setTargetCustomfield
-
translations
-
getTranslations
Get translations- Returns:
- translations
-
setTranslations
-
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- name of the propertyvalue- value of the property- Returns:
- the CustomfieldConvertRule instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates 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 CustomfieldConvertRule
-
fromJson
Create an instance of CustomfieldConvertRule given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CustomfieldConvertRule
- Throws:
IOException- if the JSON string is invalid with respect to CustomfieldConvertRule
-
toJson
Convert an instance of CustomfieldConvertRule to an JSON string- Returns:
- JSON string
-