@Target(value=TYPE) @Retention(value=RUNTIME) public @interface UserDefinedModelInfo
When getter and setter methods on a user-defined model are annotated with the UserDefinedProperty
annotation,
their corresponding fields are able to be serialized and deserialized as JSON objects using JsonService
.
The UserDefinedPropertyInclude
of a user-defined model is the default serialization behavior for its fields,
which can be overridden on any field by specifying the field parameter in the UserDefinedProperty
annotation.
Modifier and Type | Optional Element and Description |
---|---|
UserDefinedPropertyInclude |
include
The default serialization behavior for this user-defined model.
|
public abstract UserDefinedPropertyInclude include
UserDefinedProperty
annotation.Copyright © Veeva Systems 2017–2021. All rights reserved.