-
Notifications
You must be signed in to change notification settings - Fork 3
/
TagStruct.go
35 lines (33 loc) · 943 Bytes
/
TagStruct.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package cloudstack
type Tag struct {
ResourceBase
// the account associated with the tag
Account NullString `json:"account"`
// customer associated with the tag
Customer NullString `json:"customer"`
// the domain associated with the tag
Domain NullString `json:"domain"`
// the ID of the domain associated with the tag
DomainId ID `json:"domainid"`
// tag key name
Key NullString `json:"key"`
// the project name where tag belongs to
Project NullString `json:"project"`
// the project id the tag belongs to
ProjectId ID `json:"projectid"`
// id of the resource
ResourceId ID `json:"resourceid"`
// resource type
ResourceType NullString `json:"resourcetype"`
// tag value
Value NullString `json:"value"`
}
type StorageTag struct {
ResourceBase
// the ID of the storage tag
Id ID `json:"id"`
// the name of the storage tag
Name NullString `json:"name"`
// the pool ID of the storage tag
PoolId ID `json:"poolid"`
}