-
Notifications
You must be signed in to change notification settings - Fork 70
/
tenant.go
49 lines (35 loc) · 2.49 KB
/
tenant.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// Tenant tenant
// swagger:model Tenant
type Tenant struct {
// UNIX time since epoch in microseconds. Units(MICROSECONDS).
// Read Only: true
LastModified *string `json:"_last_modified,omitempty"`
// Key/value tenant attributes. Field introduced in 30.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Attrs []*KeyValue `json:"attrs,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ConfigSettings *TenantConfiguration `json:"config_settings,omitempty"`
// Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed in Enterprise edition with any value, Essentials edition with any value, Basic edition with any value, Enterprise with Cloud Services edition.
ConfigpbAttributes *ConfigPbAttributes `json:"configpb_attributes,omitempty"`
// Creator of this tenant. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
CreatedBy *string `json:"created_by,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Description *string `json:"description,omitempty"`
// The referred label groups are enforced on the tenant if this is set to true.If this is set to false, the label groups are suggested for the tenant. Field introduced in 20.1.5. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
EnforceLabelGroup *bool `json:"enforce_label_group,omitempty"`
// The label_groups to be enforced on the tenant. This is strictly enforced only if enforce_label_group is set to True. It is a reference to an object of type LabelGroup. Field introduced in 20.1.5. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
LabelGroupRefs []string `json:"label_group_refs,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Local *bool `json:"local,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Name *string `json:"name"`
// url
// Read Only: true
URL *string `json:"url,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
UUID *string `json:"uuid,omitempty"`
}