Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JobListResponse ¶
type JobListResponse struct {
Jobs []JobResponse `json:"jobs"`
TotalCount int `json:"total_count"`
Page int `json:"page"`
PageSize int `json:"page_size"`
}
JobListResponse represents the response from listing jobs
type JobResponse ¶
type JobResponse struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Status JobStatus `json:"status"`
StartDate *time.Time `json:"start_date,omitempty"`
EndDate *time.Time `json:"end_date,omitempty"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
OwnerID string `json:"owner_id,omitempty"`
}
JobResponse represents a job in responses
Click to show internal directories.
Click to hide internal directories.