Result Objects

Use the following objects to get the results of your file-based or CRUD-based calls.

  • AsyncResult - Contains the ID of a deployment or retrieval. In API version 28.0 and earlier, contains status information of any asynchronous metadata call.

  • CancelDeployResult - Contains information about a deployment cancellation—whether the cancellation completed and the deployment ID.

  • DeleteResult - Contains result information for the deleteMetadata call.

  • DeployResult - Contains information about the success or failure of the associated deploy() call.

  • DescribeMetadataResult - Contains information about the organization that is useful for developers working with declarative metadata.

  • DescribeValueTypeResult - Contains information about a value type that’s useful for developers working with declarative metadata.

  • Error - Represents an error that occurred during a synchronous CRUD (createMetadata(), updateMetadata(), or deleteMetadata()) operation.

  • ReadResult - Contains result information for the readMetadata call.

  • RetrieveResult - The retrieve() call returns an array of RetrieveResult objects.

  • SaveResult - Contains result information for the createMetadata, updateMetadata, or renameMetadata call.

  • UpsertResult - Contains information about the result of the associated upsertMetadata() call.