Skip to content

Commit

Permalink
Auto generated from API Specifications for 20.10.10
Browse files Browse the repository at this point in the history
  • Loading branch information
pdellaert committed Sep 30, 2022
1 parent 1d5886f commit ee961c4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 21 deletions.
3 changes: 3 additions & 0 deletions vspk/controllervrslink.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ type ControllerVRSLink struct {
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
VRSID string `json:"VRSID,omitempty"`
VRSISSUFailureReason string `json:"VRSISSUFailureReason,omitempty"`
VRSISSUState string `json:"VRSISSUState,omitempty"`
VRSLastISSUState string `json:"VRSLastISSUState,omitempty"`
VRSPersonality string `json:"VRSPersonality,omitempty"`
VRSSystemId string `json:"VRSSystemId,omitempty"`
VSCConfigState string `json:"VSCConfigState,omitempty"`
Expand Down
44 changes: 23 additions & 21 deletions vspk/tier.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,35 @@ type TiersParent interface {

// Tier represents the model of a tier
type Tier struct {
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
PacketCount int `json:"packetCount,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
TierType string `json:"tierType,omitempty"`
Timeout int `json:"timeout,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
DownThresholdCount int `json:"downThresholdCount,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
ProbeInterval int `json:"probeInterval,omitempty"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
ID string `json:"ID,omitempty"`
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
PacketCount int `json:"packetCount,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Description string `json:"description,omitempty"`
TierType string `json:"tierType,omitempty"`
Timeout int `json:"timeout,omitempty"`
EmbeddedMetadata []interface{} `json:"embeddedMetadata,omitempty"`
EntityScope string `json:"entityScope,omitempty"`
DownThresholdCount int `json:"downThresholdCount,omitempty"`
CreationDate string `json:"creationDate,omitempty"`
ProbeInterval int `json:"probeInterval,omitempty"`
ProbePerformanceStats bool `json:"probePerformanceStats"`
Owner string `json:"owner,omitempty"`
ExternalID string `json:"externalID,omitempty"`
}

// NewTier returns a new *Tier
func NewTier() *Tier {

return &Tier{
PacketCount: 1,
Timeout: 3000,
DownThresholdCount: 5,
ProbeInterval: 10,
PacketCount: 1,
Timeout: 3000,
DownThresholdCount: 5,
ProbeInterval: 10,
ProbePerformanceStats: false,
}
}

Expand Down
3 changes: 3 additions & 0 deletions vspk/vrs.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,15 @@ type VRS struct {
ParentID string `json:"parentID,omitempty"`
ParentType string `json:"parentType,omitempty"`
Owner string `json:"owner,omitempty"`
ISSUFailureReason string `json:"ISSUFailureReason,omitempty"`
ISSUState string `json:"ISSUState,omitempty"`
Name string `json:"name,omitempty"`
ManagementIP string `json:"managementIP,omitempty"`
ParentIDs []interface{} `json:"parentIDs,omitempty"`
LastEventName string `json:"lastEventName,omitempty"`
LastEventObject string `json:"lastEventObject,omitempty"`
LastEventTimestamp int `json:"lastEventTimestamp,omitempty"`
LastISSUState string `json:"lastISSUState,omitempty"`
LastStateChange int `json:"lastStateChange,omitempty"`
LastUpdatedBy string `json:"lastUpdatedBy,omitempty"`
LastUpdatedDate string `json:"lastUpdatedDate,omitempty"`
Expand Down

0 comments on commit ee961c4

Please sign in to comment.