/
model_package.go
148 lines (146 loc) · 5.27 KB
/
model_package.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/*
* Cloudsmith API
*
* The API to the Cloudsmith Service
*
* API version: v1
* Contact: support@cloudsmith.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package cloudsmith_api
type ModelPackage struct {
//
Architectures []PackagesownerrepoArchitectures `json:"architectures,omitempty"`
//
CdnUrl string `json:"cdn_url,omitempty"`
//
ChecksumMd5 string `json:"checksum_md5,omitempty"`
//
ChecksumSha1 string `json:"checksum_sha1,omitempty"`
//
ChecksumSha256 string `json:"checksum_sha256,omitempty"`
//
ChecksumSha512 string `json:"checksum_sha512,omitempty"`
// A checksum of all of the package's dependencies.
DependenciesChecksumMd5 string `json:"dependencies_checksum_md5,omitempty"`
//
DependenciesUrl string `json:"dependencies_url,omitempty"`
// A textual description of this package.
Description string `json:"description,omitempty"`
//
Distro interface{} `json:"distro,omitempty"`
//
DistroVersion interface{} `json:"distro_version,omitempty"`
//
Downloads int32 `json:"downloads,omitempty"`
// The epoch of the package version (if any).
Epoch int32 `json:"epoch,omitempty"`
//
Extension string `json:"extension,omitempty"`
//
Filename string `json:"filename,omitempty"`
//
Files []PackagesownerrepoFiles `json:"files,omitempty"`
//
Format string `json:"format,omitempty"`
//
FormatUrl string `json:"format_url,omitempty"`
// Unique and permanent identifier for the package.
IdentifierPerm string `json:"identifier_perm,omitempty"`
//
Indexed bool `json:"indexed,omitempty"`
//
IsDownloadable bool `json:"is_downloadable,omitempty"`
//
IsQuarantined bool `json:"is_quarantined,omitempty"`
//
IsSyncAwaiting bool `json:"is_sync_awaiting,omitempty"`
//
IsSyncCompleted bool `json:"is_sync_completed,omitempty"`
//
IsSyncFailed bool `json:"is_sync_failed,omitempty"`
//
IsSyncInFlight bool `json:"is_sync_in_flight,omitempty"`
//
IsSyncInProgress bool `json:"is_sync_in_progress,omitempty"`
// The license of this package.
License string `json:"license,omitempty"`
// The name of this package.
Name string `json:"name,omitempty"`
//
Namespace string `json:"namespace,omitempty"`
//
NamespaceUrl string `json:"namespace_url,omitempty"`
//
NumFiles int32 `json:"num_files,omitempty"`
// The type of package contents.
PackageType int32 `json:"package_type,omitempty"`
// The release of the package version (if any).
Release string `json:"release,omitempty"`
//
Repository string `json:"repository,omitempty"`
//
RepositoryUrl string `json:"repository_url,omitempty"`
// The datetime the security scanning was completed.
SecurityScanCompletedAt string `json:"security_scan_completed_at,omitempty"`
// The datetime the security scanning was started.
SecurityScanStartedAt string `json:"security_scan_started_at,omitempty"`
//
SecurityScanStatus string `json:"security_scan_status,omitempty"`
// The datetime the security scanning status was updated.
SecurityScanStatusUpdatedAt string `json:"security_scan_status_updated_at,omitempty"`
//
SelfHtmlUrl string `json:"self_html_url,omitempty"`
//
SelfUrl string `json:"self_url,omitempty"`
//
SignatureUrl string `json:"signature_url,omitempty"`
// The calculated size of the package.
Size int32 `json:"size,omitempty"`
// The public unique identifier for the package.
Slug string `json:"slug,omitempty"`
//
SlugPerm string `json:"slug_perm,omitempty"`
// The synchronisation (in progress) stage of the package.
Stage int32 `json:"stage,omitempty"`
//
StageStr string `json:"stage_str,omitempty"`
// The datetime the package stage was updated at.
StageUpdatedAt string `json:"stage_updated_at,omitempty"`
// The synchronisation status of the package.
Status int32 `json:"status,omitempty"`
// A textual description for the synchronous status reason (if any
StatusReason string `json:"status_reason,omitempty"`
//
StatusStr string `json:"status_str,omitempty"`
// The datetime the package status was updated at.
StatusUpdatedAt string `json:"status_updated_at,omitempty"`
//
StatusUrl string `json:"status_url,omitempty"`
//
Subtype string `json:"subtype,omitempty"`
// A one-liner synopsis of this package.
Summary string `json:"summary,omitempty"`
// The datetime the package sync was finished at.
SyncFinishedAt string `json:"sync_finished_at,omitempty"`
// Synchronisation progress (from 0-100)
SyncProgress int32 `json:"sync_progress,omitempty"`
// All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field.
Tags interface{} `json:"tags,omitempty"`
// All immutable tags on the package, grouped by tag type. Immutable tags cannot be (easily) deleted.
TagsImmutable interface{} `json:"tags_immutable,omitempty"`
//
TypeDisplay string `json:"type_display,omitempty"`
// The date this package was uploaded.
UploadedAt string `json:"uploaded_at,omitempty"`
//
Uploader string `json:"uploader,omitempty"`
//
UploaderUrl string `json:"uploader_url,omitempty"`
// The raw version for this package.
Version string `json:"version,omitempty"`
//
VersionOrig string `json:"version_orig,omitempty"`
//
VulnerabilityScanResultsUrl string `json:"vulnerability_scan_results_url,omitempty"`
}