-
Notifications
You must be signed in to change notification settings - Fork 70
/
site_version.go
55 lines (39 loc) · 3.31 KB
/
site_version.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
50
51
52
53
54
55
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// SiteVersion site version
// swagger:model SiteVersion
type SiteVersion struct {
// UNIX time since epoch in microseconds. Units(MICROSECONDS).
// Read Only: true
LastModified *string `json:"_last_modified,omitempty"`
// This field represents the creation time of the federateddiff. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Datetime *string `json:"datetime,omitempty"`
// Name of the Site. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
// Required: true
Name *string `json:"name"`
// Previous targer version for a site. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
PrevTargetVersion *int64 `json:"prev_target_version,omitempty"`
// Replication state for a site. Enum options - REPLICATION_STATE_FASTFORWARD, REPLICATION_STATE_FORCESYNC, REPLICATION_STATE_STREAMING, REPLICATION_STATE_SUSPENDED, REPLICATION_STATE_INIT, REPLICATION_STATE_WAIT, REPLICATION_STATE_NOT_APPLICABLE. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ReplicationState *string `json:"replication_state,omitempty"`
// Cluster UUID of the site. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
SiteID *string `json:"site_id,omitempty"`
// Target timeline of the site. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
TargetTimeline *string `json:"target_timeline,omitempty"`
// Target version of the site. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
TargetVersion *int64 `json:"target_version,omitempty"`
// Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
TenantRef *string `json:"tenant_ref,omitempty"`
// Timeline of the site. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Timeline *string `json:"timeline,omitempty"`
// url
// Read Only: true
URL *string `json:"url,omitempty"`
// UUID of the SiteVersion object. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
UUID *string `json:"uuid,omitempty"`
// Version of the site. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Version *int64 `json:"version,omitempty"`
// Type of message for which version is maintained. Enum options - CONFIG_VERSION, HEALTH_STATUS_VERSION. Field introduced in 20.1.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
VersionType *string `json:"version_type,omitempty"`
}