blob: b7d51c72b7bcfbde348a3f7c4c9683927f7e5acf [file] [log] [blame]
jrperrittbb45a5e2016-11-14 12:20:22 -06001package volumetenants
jrperritt7dc49462016-11-08 15:09:33 -06002
jrperritt98d01622017-01-12 14:24:42 -06003// VolumeExt is an extension to the base Volume object
jrperritt7dc49462016-11-08 15:09:33 -06004type VolumeExt struct {
jrperritt6be8c422016-11-09 13:08:35 -06005 // TenantID is the id of the project that owns the volume.
jrperritt7dc49462016-11-08 15:09:33 -06006 TenantID string `json:"os-vol-tenant-attr:tenant_id"`
7}
jrperritt98d01622017-01-12 14:24:42 -06008
9// UnmarshalJSON to override default
10func (r *VolumeExt) UnmarshalJSON(b []byte) error {
11 return nil
12}