Skip to content

Commit

Permalink
Corrected the structs to add optional attributes. Renamed files
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Petriv committed Jul 24, 2021
1 parent f565f03 commit e0a7f30
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,17 @@ type (
Acknowledged bool `json:"acknowledged"`
Contacts []string `json:"contacts"`
CurrentCidrs []string `json:"currentCidrs"`
ProposedCidrs []string `json:"proposedCidrs"`
RuleName string `json:"ruleName"`
Type string `json:"type"`
Service string `json:"service"`
Shared bool `json:"shared"`
AcknowledgeRequiredBy int64 `json:"acknowledgeRequiredBy"`
PreviouslyAcknowledgedOn int64 `json:"previouslyAcknowledgedOn"`
ID int `json:"id,omitempty"`
LatestTicketID int `json:"latestTicketId,omitempty"`
MapAlias string `json:"mapAlias,omitempty"`
McmMapRuleID int `json:"mcmMapRuleId,omitempty"`
}
)

Expand Down

0 comments on commit e0a7f30

Please sign in to comment.