Name: VolumeObject

A volume object represents a logical grouping of files. A volume is not a first class entity like an Instance; each volume belongs to a single InstanceObject.

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.generic.VolumeObject",
   "id": <String>,
   "name": <String>,
   "displayAttributes": VolumeDisplayAttributes,
   "files": [FileObject],
}

Elements
NameTypeDescription
displayAttributesVolumeDisplayAttributesAttributes used to display information on the UI. These attributes do not impact object behavior. Can be omitted. Eventually this should be deprecated, since display attributes will only be needed in OneUI and TGC.
filesxsd:list[FileObject]Files belonging to the volume. Validated for:
1) Atleast one file object should be present.
2) The same file cannot be used twice in the same InstanceObject.
3) All files in a given InstanceObject must have the same protocol.

Attributes
NameTypeDescription
idxsd:stringId of the volume.
Validated for:
1) Cannot be null.
2) Being unique within an instance. Internally all VolumeObject ids are prepended with instance ids.
3) Starts with the same type as the InstanceObject. Every endpoint created will have a type. Consult that api DTO/endpoints for details.
4) Cannot be more than 159 characters as required by filesystem.
namexsd:stringName of the object. Validated for:
1) not being null or empty string.
2) Max length ?