@Retention(value=RUNTIME) @Target(value=METHOD) public @interface UserDefinedProperty
UserDefinedModelInfo
and indicates that the field in its getter/setter is to be serialized/deserialized using JsonService
.
Can only be used on getters or setters of type:
BigDecimal
Boolean
String
UserDefinedModelInfo
)List
containing any of the allowed types on this listSet
containing any of the allowed types on this listMap
containing a String
for their key and any of the allowed types on this list for their valueModifier and Type | Optional Element and Description |
---|---|
String[] |
aliases
Additional aliases to deserialize to this user-defined property.
|
UserDefinedPropertyInclude |
include
The serialization behavior of this user-defined property.
|
String |
name
The name of this user-defined property.
|
public abstract UserDefinedPropertyInclude include
UserDefinedModelInfo.include()
.public abstract String name
public abstract String[] aliases
Copyright © Veeva Systems 2017–2021. All rights reserved.