Class Struct2JsonOptions.Builder
java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.options.Struct2JsonOptions.Builder
- Enclosing class:
- Struct2JsonOptions
Builder of OData serializer options.
-
Method Summary
Modifier and TypeMethodDescriptionautoExpand(boolean autoExpand) build()Builds the OData serializer options.contextURL(ContextURL contextURL) Sets theContextURL.derivedTypeName(String typeName) expand(ExpandOption expand) Sets the $expand system query option.select(SelectOption select) Sets the $select system query option.writeOnlyReferences(boolean refsOnly) Sets to serialize only references
-
Method Details
-
contextURL
Sets theContextURL. -
expand
Sets the $expand system query option. -
select
Sets the $select system query option. -
writeOnlyReferences
Sets to serialize only references -
derivedTypeName
-
autoExpand
-
build
Builds the OData serializer options.
-