Skip to content

Commit

Permalink
Update PeerMdm stuct to reflect current output (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiasA1 authored Oct 23, 2024
1 parent a93b44d commit da6863d
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 da6863d

Please sign in to comment.