Skip to content

Commit

Permalink
Merge pull request #70 from britneywright/update-BatchRecordChangeUpd…
Browse files Browse the repository at this point in the history
…ateResponse

update BatchRecordChangeUpdateResponse
  • Loading branch information
mdb authored Nov 18, 2019
2 parents 2ac3762 + ae3261f commit a3af7b3
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions vinyldns/batch_changes_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,21 @@ type RecordChange struct {

// BatchRecordChangeUpdateResponse is represents a batch record change create or update response
type BatchRecordChangeUpdateResponse struct {
Comments string `json:"comments,omitempty"`
OwnerGroupID string `json:"ownerGroupId,omitempty"`
Changes []RecordChange `json:"changes,omitempty"`
ID string `json:"id,omitempty"`
UserName string `json:"userName,omitempty"`
UserID string `json:"userId,omitempty"`
Status string `json:"status,omitempty"`
Comments string `json:"comments,omitempty"`
CreatedTimestamp string `json:"createdTimestamp,omitempty"`
OwnerGroupID string `json:"ownerGroupId,omitempty"`
Changes []RecordChange `json:"changes,omitempty"`
ApprovalStatus string `json:"approvalStatus,omitempty"`
ReviewerID string `json:"reviewerId,omitempty"`
ReviewerUserName string `json:"reviewerUserName,omitempty"`
ReviewComment string `json:"reviewComment,omitempty"`
ReviewTimestamp string `json:"reviewTimestamp,omitempty"`
ScheduledTime string `json:"scheduledTime,omitempty"`
CancelledTimestamp string `json:"cancelledTimestamp,omitempty"`
}

// RecordData is represents a batch record change record data.
Expand Down

0 comments on commit a3af7b3

Please sign in to comment.