public static class DXDataObject.DescribeOptions extends Object
DXDataObject.describe(DescribeOptions)) to control what optional fields get returned
 and what project to obtain project-specific metadata from.
 Examples:
DescribeOptions.get().inProject(proj).withDetails()
DescribeOptions.get().withProperties()
| Modifier and Type | Method and Description | 
|---|---|
| static DXDataObject.DescribeOptions | get()Returns a default instance of  DescribeOptionsthat returns no optional fields and
 selects the project arbitrarily. | 
| DXDataObject.DescribeOptions | inProject(DXContainer project)Returns a  DescribeOptionsthat behaves like the current one, except that
 project-specific metadata will be retrieved from the specified project or container. | 
| DXDataObject.DescribeOptions | withCustomFields(Collection<? extends String> fieldNamesToInclude)Returns a  DescribeOptionsthat behaves like the current one, except that only the
 fields in the specified collection will be included in the result. | 
| DXDataObject.DescribeOptions | withCustomFields(String... fieldNamesToInclude)Returns a  DescribeOptionsthat behaves like the current one, except that only the
 specified fields will be included in the result. | 
| DXDataObject.DescribeOptions | withDetails()Returns a  DescribeOptionsthat behaves like the current one, except that the
 details field will be included in the result. | 
| DXDataObject.DescribeOptions | withProperties()Returns a  DescribeOptionsthat behaves like the current one, except that the
 properties field will be included in the result. | 
public static DXDataObject.DescribeOptions get()
DescribeOptions that returns no optional fields and
 selects the project arbitrarily.DescribeOptions objectpublic DXDataObject.DescribeOptions inProject(DXContainer project)
DescribeOptions that behaves like the current one, except that
 project-specific metadata will be retrieved from the specified project or container.
 Attempts to invoke accessors on the resulting DXDataObject.Describe object corresponding to
 fields that were not requested will throw IllegalStateException.project - project or container from which to obtain project-specific metadataDescribeOptions objectpublic DXDataObject.DescribeOptions withCustomFields(String... fieldNamesToInclude)
DescribeOptions that behaves like the current one, except that only the
 specified fields will be included in the result. Attempts to invoke accessors on the
 resulting DXDataObject.Describe object corresponding to fields that were not requested will
 throw IllegalStateException.fieldNamesToInclude - API fields to be includedDescribeOptions objectpublic DXDataObject.DescribeOptions withCustomFields(Collection<? extends String> fieldNamesToInclude)
DescribeOptions that behaves like the current one, except that only the
 fields in the specified collection will be included in the result.fieldNamesToInclude - collection of API fields to be includedDescribeOptions objectpublic DXDataObject.DescribeOptions withDetails()
DescribeOptions that behaves like the current one, except that the
 details field will be included in the result.DescribeOptions objectpublic DXDataObject.DescribeOptions withProperties()
DescribeOptions that behaves like the current one, except that the
 properties field will be included in the result.DescribeOptions objectCopyright © 2023. All Rights Reserved.