Skip to content

Commit

Permalink
Update PeerMdm stuct to reflect current output
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiasA1 committed Oct 21, 2024
1 parent bc4527e commit bafd5b8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
5 changes: 5 additions & 0 deletions types/v1/templateTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -986,3 +986,8 @@ type Categories struct {
type TemplateDetailsFilter struct {
TemplateDetails []TemplateDetails `json:"serviceTemplate"`
}

// IPListNoRole model for Peer Mdm
type IPListNoRole struct {
IP string `json:"ip,omitempty"`
}
22 changes: 11 additions & 11 deletions types/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1197,17 +1197,17 @@ type SnapshotPolicyQueryIDByKeyParam struct {

// PeerMDM defines a replication peer system.
type PeerMDM struct {
ID string `json:"id"`
Name string `json:"name"`
Port int `json:"port"`
PeerSystemID string `json:"peerSystemId"`
SystemID string `json:"systemId"`
SoftwareVersionInfo string `json:"softwareVersionInfo"`
MembershipState string `json:"membershipState"`
PerfProfile string `json:"perfProfile"`
NetworkType string `json:"networkType"`
CouplingRC string `json:"couplingRC"`
IPList []*PeerMDM `json:"ipList"`
ID string `json:"id"`
Name string `json:"name"`
Port int `json:"port"`
PeerSystemID string `json:"peerSystemId"`
SystemID string `json:"systemId"`
SoftwareVersionInfo string `json:"softwareVersionInfo"`
MembershipState string `json:"membershipState"`
PerfProfile string `json:"perfProfile"`
NetworkType string `json:"networkType"`
CouplingRC string `json:"couplingRC"`
IPList []*IPListNoRole `json:"ipList"`
}

// ReplicationConsistencyGroup (RCG) has information about a replication session
Expand Down

0 comments on commit bafd5b8

Please sign in to comment.