| FullName |
- Type
- string
- Properties
-
Group, Nillable
- Description
- The full name of the associated object in the Metadata API. Use to avoid race
conditions on create, before you have IDs.
- Query this field only if the query result contains no more than one record.
Otherwise, an error is returned. If more than one record exists, use multiple
queries to retrieve the records. This limit protects performance.
|
| Body |
- Type
- string
- Properties
-
Create, Update
- Description
- The data for the Apex
class.
The Body field is the only field you can update() or PATCH.
|
| Content |
- Type
- string
- Properties
- None
- Description
- A string representation of ApexClassMetadata that lists the version, status, and
packaged versions of the corresponding Apex class.
|
| ContentEntityId |
- Type
- reference
- Properties
-
Create, Filter, Group, Sort
- Description
- A reference to an Apex class.
There can be only one ContentEntityId per
ApexClassMember, otherwise, an error is reported.
This field is required.
|
| LastSyncDate |
- Type
- dateTime
- Properties
-
Filter, Sort
- Description
- The date and time that this ApexClassMember Body was replicated
from the underlying Apex
class.
When you deploy a MetadataContainer, this value is compared with the LastModifiedDate of the
underlying Apex class.
If LastSyncDate is older than
LastModifiedDate, the deployment fails with an error.
|
| Metadata |
- Type
- ApexClassMetadata
- Properties
- None
- Description
- An object that describes the version, status, and packaged versions of the
corresponding Apex
class.
- Query this field only if the query result contains no more than one record.
Otherwise, an error is returned. If more than one record exists, use multiple
queries to retrieve the records. This limit protects performance.
|
| MetadataContainerId |
- Type
- reference
- Properties
-
Create, Filter, Group, Sort
- Description
- A reference to a MetadataContainer or ContainerAsyncRequest object.
As part of a successful deployment, this field is reset from the ID
of the deployed MetadataContainer to the ID of the corresponding ContainerAsyncRequest object.
This field is required.
|
| SymbolTable |
- Type
- SymbolTable
- Properties
- Nillable
- Description
-
A complex type that represents all user-defined tokens in the
Body of an ApexClass, ApexClassMember, or ApexTriggerMemeber and their
associated line and column locations within the Body.
This field is null if the symbol table cannot be created. A symbol table can’t be created if the content referenced by the
ContentEntityId field doesn’t use a symbol table. Compiler errors
for the last deployment of the MetadataContainer in the MetadataContainerId field also prevent a symbol table
from being created.
|