Files
de-golang-sdk/shared/models.go
T
2026-08-26 17:15:06 +03:00

60 lines
1.9 KiB
Go
Executable File

// Code generated by internal codegen utility; DO NOT EDIT.
package shared
type CreateTaskResult struct {
TaskID int64 `json:"taskId,omitempty"`
}
type CreateTaskResultWithError struct {
Error bool `json:"error,omitempty"`
ErrorCode int64 `json:"errorCode,omitempty"`
Message string `json:"message,omitempty"`
Result CreateTaskResult `json:"result,omitempty"`
}
type DependencyAny struct {
Depends []string `json:"depends,omitempty"`
Key string `json:"key,omitempty"`
}
type ImageDescr struct {
Image string `json:"image,omitempty"`
Name string `json:"name,omitempty"`
}
type ProductDescr struct {
Depends []string `json:"depends,omitempty"`
DependsAny []DependencyAny `json:"dependsAny,omitempty"`
Images []ImageDescr `json:"images,omitempty"`
Name string `json:"name,omitempty"`
ProductName string `json:"productName,omitempty"`
ProductVersion string `json:"productVersion,omitempty"`
}
type Rule struct {
Message string `json:"message,omitempty"`
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
}
type TaskBrief struct {
Deleted bool `json:"deleted,omitempty"`
Done bool `json:"done,omitempty"`
Error bool `json:"error,omitempty"`
ErrorMessage string `json:"errormessage,omitempty"`
ID int64 `json:"id,omitempty"`
Operation string `json:"operation,omitempty"`
OwnerID int64 `json:"ownerId,omitempty"`
StartTimestamp string `json:"startTimestamp,omitempty"`
StopTimestamp string `json:"stopTimestamp,omitempty"`
SubjectID int64 `json:"subjectId,omitempty"`
SubjectType string `json:"subjectType,omitempty"`
}
type Version struct {
Major int64 `json:"major,omitempty"`
Minor int64 `json:"minor,omitempty"`
Patch int64 `json:"patch,omitempty"`
}