Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added missing date struct in request current status date #272

Merged
merged 1 commit into from
Jun 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions pkg/infra/models/sm_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,17 @@ type CustomerRequestRequestFieldValueScheme struct {

// CustomerRequestCurrentStatusScheme represents the current status of a customer request.
type CustomerRequestCurrentStatusScheme struct {
Status string `json:"status,omitempty"` // The status of the customer request.
StatusCategory string `json:"statusCategory,omitempty"` // The category of the status.
StatusDate struct {
} `json:"statusDate,omitempty"` // The date of the status.
Status string `json:"status,omitempty"` // The status of the customer request.
StatusCategory string `json:"statusCategory,omitempty"` // The category of the status.
StatusDate *CustomerRequestCurrentStatusDateScheme `json:"statusDate,omitempty"` // The date of the status.
}

// CustomerRequestCurrentStatusDateScheme represents a date for a customer request current status.
type CustomerRequestCurrentStatusDateScheme struct {
Iso8601 string `json:"iso8601,omitempty"` // The ISO 8601 format of the date.
Jira string `json:"jira,omitempty"` // The Jira format of the date.
Friendly string `json:"friendly,omitempty"` // The friendly format of the date.
EpochMillis int `json:"epochMillis,omitempty"` // The epoch milliseconds of the date.
}

// CustomerRequestLinksScheme represents the links related to a customer request.
Expand Down
Loading