37 lines
1.1 KiB
Go
37 lines
1.1 KiB
Go
package models
|
|
|
|
type ResponseGetListSteps struct {
|
|
TotalItems int `json:"_total_items"`
|
|
Embedded EmbeddedSteps `json:"_embedded"`
|
|
}
|
|
|
|
type EmbeddedSteps struct {
|
|
Statuses []Statuses `json:"statuses"`
|
|
}
|
|
|
|
type Statuses struct {
|
|
ID int `json:"id"`
|
|
Name string `json:"name"`
|
|
Sort int `json:"sort"`
|
|
IsEditable bool `json:"is_editable"`
|
|
PipelineID int `json:"pipeline_id"`
|
|
Color string `json:"color"`
|
|
Type int `json:"type"`
|
|
AccountID int `json:"account_id"`
|
|
Links LinksSelf `json:"_links"`
|
|
Descriptions []Descriptions `json:"descriptions"`
|
|
}
|
|
|
|
type Descriptions struct {
|
|
AccountID int `json:"account_id"`
|
|
CreatedAt string `json:"created_at"`
|
|
CreatedBy int `json:"created_by"`
|
|
Description string `json:"description"`
|
|
ID int `json:"id"`
|
|
Level string `json:"level"`
|
|
PipelineID int `json:"pipeline_id"`
|
|
StatusID int `json:"status_id"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
UpdatedBy int `json:"updated_by"`
|
|
}
|