models

package
v0.0.0-...-f51c1d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (

	// TaskUpdateTaskIgnoreRequestBodyIgnoreUntilNothing captures enum value "nothing"
	TaskUpdateTaskIgnoreRequestBodyIgnoreUntilNothing string = "nothing"

	// TaskUpdateTaskIgnoreRequestBodyIgnoreUntilAnything captures enum value "anything"
	TaskUpdateTaskIgnoreRequestBodyIgnoreUntilAnything string = "anything"

	// TaskUpdateTaskIgnoreRequestBodyIgnoreUntilForever captures enum value "forever"
	TaskUpdateTaskIgnoreRequestBodyIgnoreUntilForever string = "forever"

	// TaskUpdateTaskIgnoreRequestBodyIgnoreUntilVector captures enum value "vector"
	TaskUpdateTaskIgnoreRequestBodyIgnoreUntilVector string = "vector"

	// TaskUpdateTaskIgnoreRequestBodyIgnoreUntilPkgFix captures enum value "pkg_fix"
	TaskUpdateTaskIgnoreRequestBodyIgnoreUntilPkgFix string = "pkg_fix"

	// TaskUpdateTaskIgnoreRequestBodyIgnoreUntilExploit captures enum value "exploit"
	TaskUpdateTaskIgnoreRequestBodyIgnoreUntilExploit string = "exploit"
)
View Source
const (

	// TaskUpdateTaskRequestBodyPriorityNone captures enum value "none"
	TaskUpdateTaskRequestBodyPriorityNone string = "none"

	// TaskUpdateTaskRequestBodyPriorityHigh captures enum value "high"
	TaskUpdateTaskRequestBodyPriorityHigh string = "high"

	// TaskUpdateTaskRequestBodyPriorityMedium captures enum value "medium"
	TaskUpdateTaskRequestBodyPriorityMedium string = "medium"

	// TaskUpdateTaskRequestBodyPriorityLow captures enum value "low"
	TaskUpdateTaskRequestBodyPriorityLow string = "low"
)
View Source
const (

	// TaskUpdateTaskRequestBodyStatusNew captures enum value "new"
	TaskUpdateTaskRequestBodyStatusNew string = "new"

	// TaskUpdateTaskRequestBodyStatusInvestigating captures enum value "investigating"
	TaskUpdateTaskRequestBodyStatusInvestigating string = "investigating"

	// TaskUpdateTaskRequestBodyStatusOngoing captures enum value "ongoing"
	TaskUpdateTaskRequestBodyStatusOngoing string = "ongoing"

	// TaskUpdateTaskRequestBodyStatusNotAffected captures enum value "not_affected"
	TaskUpdateTaskRequestBodyStatusNotAffected string = "not_affected"

	// TaskUpdateTaskRequestBodyStatusRiskAccepted captures enum value "risk_accepted"
	TaskUpdateTaskRequestBodyStatusRiskAccepted string = "risk_accepted"

	// TaskUpdateTaskRequestBodyStatusWorkaround captures enum value "workaround"
	TaskUpdateTaskRequestBodyStatusWorkaround string = "workaround"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvisoryResponseBody

type AdvisoryResponseBody struct {

	// AdvisoryID of advisory
	// Example: advisoryID
	// Required: true
	AdvisoryID *string `json:"advisoryID"`

	// osFamily of advisory
	// Example: redhat
	// Required: true
	OsFamily *string `json:"osFamily"`
}

AdvisoryResponseBody AdvisoryResponseBody

Advisory describes a advisory Example: {"advisoryID":"advisoryID","osFamily":"redhat"}

swagger:model AdvisoryResponseBody

func (*AdvisoryResponseBody) ContextValidate

func (m *AdvisoryResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this advisory response body based on context it is used

func (*AdvisoryResponseBody) MarshalBinary

func (m *AdvisoryResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdvisoryResponseBody) UnmarshalBinary

func (m *AdvisoryResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdvisoryResponseBody) UnmarshalJSON

func (m *AdvisoryResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*AdvisoryResponseBody) Validate

func (m *AdvisoryResponseBody) Validate(formats strfmt.Registry) error

Validate validates this advisory response body

type AffectedProcResponseBody

type AffectedProcResponseBody struct {

	// AffectedProc Name
	// Example: apache
	// Required: true
	Name *string `json:"name"`

	// PID
	// Example: 12
	// Required: true
	Pid *string `json:"pid"`
}

AffectedProcResponseBody AffectedProcResponseBody Example: {"name":"apache","pid":"12"}

swagger:model AffectedProcResponseBody

func (*AffectedProcResponseBody) ContextValidate

func (m *AffectedProcResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this affected proc response body based on context it is used

func (*AffectedProcResponseBody) MarshalBinary

func (m *AffectedProcResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AffectedProcResponseBody) UnmarshalBinary

func (m *AffectedProcResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AffectedProcResponseBody) UnmarshalJSON

func (m *AffectedProcResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*AffectedProcResponseBody) Validate

func (m *AffectedProcResponseBody) Validate(formats strfmt.Registry) error

Validate validates this affected proc response body

type ChildTaskResponseBody

type ChildTaskResponseBody struct {

	// ApplyingPatchOn of task
	// Example: 2018-07-13
	// Format: date
	ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"`

	// created time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CVE ID of task
	// Example: CVE-2017-6799
	// Required: true
	CveID *string `json:"cveID"`

	// ID of task
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Ignore of task
	// Example: true
	// Required: true
	Ignore *bool `json:"ignore"`

	// Ignore until of task
	// Example: vector
	IgnoreUntil string `json:"ignoreUntil,omitempty"`

	// MainUserID of task
	// Example: 1
	MainUserID int64 `json:"mainUserID,omitempty"`

	// MainUserName of task
	// Example: main-user-name
	MainUserName string `json:"mainUserName,omitempty"`

	// Priority of task
	// Example: high
	// Required: true
	Priority *string `json:"priority"`

	// ServerID of task
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// Status of task
	// Example: new
	// Required: true
	Status *string `json:"status"`

	// SubUserID of task
	// Example: 1
	SubUserID int64 `json:"subUserID,omitempty"`

	// SubUserName of task
	// Example: sub-user-name
	SubUserName string `json:"subUserName,omitempty"`

	// updated time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

ChildTaskResponseBody ChildTaskResponseBody Example: {"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model ChildTaskResponseBody

func (*ChildTaskResponseBody) ContextValidate

func (m *ChildTaskResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this child task response body based on context it is used

func (*ChildTaskResponseBody) MarshalBinary

func (m *ChildTaskResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChildTaskResponseBody) UnmarshalBinary

func (m *ChildTaskResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChildTaskResponseBody) UnmarshalJSON

func (m *ChildTaskResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ChildTaskResponseBody) Validate

func (m *ChildTaskResponseBody) Validate(formats strfmt.Registry) error

Validate validates this child task response body

type CveGetCveDetailResponseBody

type CveGetCveDetailResponseBody struct {

	// advisory of cve
	// Example: [{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"}]
	Advisories []*AdvisoryResponseBody `json:"advisories"`

	// created time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Cve ID string of cve
	// Example: CVE-2018-1234
	// Required: true
	CveID *string `json:"cveID"`

	// cvss of cve
	// Example: Unde dolorum distinctio voluptatem nemo ut.
	// Required: true
	// Format: binary
	Cvss io.ReadCloser `json:"cvss"`

	// cwes of cve
	// Example: [{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}]
	// Required: true
	Cwes []*CweResponseBody `json:"cwes"`

	// envMetricV2 of cve
	// Example: [{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}]
	// Required: true
	EnvMetricV2s []*EnvMetricV2ResponseBody `json:"envMetricV2s"`

	// envMetricV3 of cve
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}]
	// Required: true
	EnvMetricV3s []*EnvMetricV3ResponseBody `json:"envMetricV3s"`

	// references of cve
	// Example: {"nvd":"https://xxxxxx"}
	// Required: true
	References map[string]string `json:"references"`

	// secMetric of cve
	// Example: [{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}]
	// Required: true
	SecMetrics []*SecMetricResponseBody `json:"secMetrics"`

	// serverOsFamilies of cve
	// Example: ["Odit suscipit suscipit.","Dolor reiciendis.","Est accusamus et repudiandae.","Illum atque dicta sapiente optio commodi."]
	// Required: true
	ServerOsFamilies []string `json:"serverOsFamilies"`

	// tmp metric v2
	// Required: true
	TmpMetricV2 *TmpMetricResponseBody `json:"tmpMetricV2"`

	// tmp metric v3
	// Required: true
	TmpMetricV3 *TmpMetricResponseBody `json:"tmpMetricV3"`

	// updated time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

CveGetCveDetailResponseBody CveGetCveDetailResponseBody Example: {"advisories":[{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"},{"advisoryID":"advisoryID","osFamily":"redhat"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cvss":"Et aut quae vero fugit.","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"envMetricV2s":[{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}],"envMetricV3s":[{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"references":{"nvd":"https://xxxxxx"},"secMetrics":[{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"serverOsFamilies":["Est est.","Dolor natus.","Dolores reiciendis exercitationem labore dolor.","Magnam odit sapiente."],"tmpMetricV2":{"createdAt":"2018-07-14T08:13:28Z","e":"","rc":"","rl":"","updatedAt":"2018-07-14T08:13:28Z"},"tmpMetricV3":{"createdAt":"2018-07-14T08:13:28Z","e":"","rc":"","rl":"","updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model CveGetCveDetailResponseBody

func (*CveGetCveDetailResponseBody) ContextValidate

func (m *CveGetCveDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cve get cve detail response body based on the context it is used

func (*CveGetCveDetailResponseBody) MarshalBinary

func (m *CveGetCveDetailResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CveGetCveDetailResponseBody) UnmarshalBinary

func (m *CveGetCveDetailResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CveGetCveDetailResponseBody) UnmarshalJSON

func (m *CveGetCveDetailResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*CveGetCveDetailResponseBody) Validate

func (m *CveGetCveDetailResponseBody) Validate(formats strfmt.Registry) error

Validate validates this cve get cve detail response body

type CveGetCveListResponseBody

type CveGetCveListResponseBody struct {

	// Cves list
	// Example: [{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}}]
	Cves []*CveListResponseBody `json:"cves"`

	// paging
	Paging *PagingResponseBody `json:"paging,omitempty"`
}

CveGetCveListResponseBody CveGetCveListResponseBody Example: {"cves":[{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}},{"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}}],"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10}}

swagger:model CveGetCveListResponseBody

func (*CveGetCveListResponseBody) ContextValidate

func (m *CveGetCveListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cve get cve list response body based on the context it is used

func (*CveGetCveListResponseBody) MarshalBinary

func (m *CveGetCveListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CveGetCveListResponseBody) UnmarshalBinary

func (m *CveGetCveListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CveGetCveListResponseBody) UnmarshalJSON

func (m *CveGetCveListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*CveGetCveListResponseBody) Validate

func (m *CveGetCveListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this cve get cve list response body

type CveListResponseBody

type CveListResponseBody struct {

	// advisoryIDs of cve
	// Example: ["advisoryID"]
	AdvisoryIDs []string `json:"advisoryIDs"`

	// AllTaskCount of cve
	// Example: 100
	// Required: true
	AllTaskCount *int64 `json:"allTaskCount"`

	// created time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Cve ID string of cve
	// Example: CVE-2018-1234
	// Required: true
	CveID *string `json:"cveID"`

	// cwes of cve
	// Example: [{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}]
	// Required: true
	Cwes []*CweResponseBody `json:"cwes"`

	// hasExploit of cve
	// Example: true
	HasExploit bool `json:"hasExploit,omitempty"`

	// hasMitigation of cve
	// Example: true
	HasMitigation bool `json:"hasMitigation,omitempty"`

	// hasWorkaroundof cve
	// Example: true
	HasWorkaround bool `json:"hasWorkaround,omitempty"`

	// Flag of active cve
	// Example: true
	// Required: true
	IsNotActive *bool `json:"isNotActive"`

	// isOwaspTopTen2017 of cve
	// Example: true
	// Required: true
	IsOwaspTopTen2017 *bool `json:"isOwaspTopTen2017"`

	// maxV2 of cve
	// Example: 9
	// Required: true
	MaxV2 *float64 `json:"maxV2"`

	// maxV3 of cve
	// Example: 9
	// Required: true
	MaxV3 *float64 `json:"maxV3"`

	// NewTaskCount of cve
	// Example: 10
	// Required: true
	NewTaskCount *int64 `json:"newTaskCount"`

	// cvss v2 scores of cve
	// Example: {"nvd":9,"redhat":7}
	// Required: true
	ScoreV2s map[string]float64 `json:"scoreV2s"`

	// cvss v3 scores of cve
	// Example: {"nvd":8,"redhat":9}
	// Required: true
	ScoreV3s map[string]float64 `json:"scoreV3s"`

	// Title of cve
	// Example: title
	// Required: true
	Title *string `json:"title"`

	// topicCount of cve
	// Example: 10
	// Required: true
	TopicCount *int64 `json:"topicCount"`

	// topicLastUpdatedAt of cve
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	TopicLastUpdatedAt *strfmt.DateTime `json:"topicLastUpdatedAt"`

	// updated time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// cvss v2 vectors of cve
	// Example: {"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"}
	// Required: true
	VectorV2s map[string]string `json:"vectorV2s"`

	// cvss v3 vectors of cve
	// Example: {"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}
	// Required: true
	VectorV3s map[string]string `json:"vectorV3s"`
}

CveListResponseBody CveListResponseBody Example: {"advisoryIDs":["advisoryID"],"allTaskCount":100,"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","cwes":[{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"},{"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"isNotActive":true,"isOwaspTopTen2017":true,"maxV2":9,"maxV3":9,"newTaskCount":10,"scoreV2s":{"nvd":9,"redhat":7},"scoreV3s":{"nvd":8,"redhat":9},"title":"title","topicCount":10,"topicLastUpdatedAt":"2018-07-14T08:13:28Z","updatedAt":"2018-07-14T08:13:28Z","vectorV2s":{"jvn":"AV:L/AC:M/Au:N/C:C/I:N/A:N","nvd":"AV:L/AC:M/Au:N/C:C/I:N/A:N"},"vectorV3s":{"jvn":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","nvd":"AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N"}}

swagger:model CveListResponseBody

func (*CveListResponseBody) ContextValidate

func (m *CveListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cve list response body based on the context it is used

func (*CveListResponseBody) MarshalBinary

func (m *CveListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CveListResponseBody) UnmarshalBinary

func (m *CveListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CveListResponseBody) UnmarshalJSON

func (m *CveListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*CveListResponseBody) Validate

func (m *CveListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this cve list response body

type CweResponseBody

type CweResponseBody struct {

	// cweID of cwe
	// Example: CWE-416
	// Required: true
	CweID *string `json:"cweID"`

	// english summary of cwe
	// Example: english summary
	// Required: true
	English *string `json:"english"`

	// japanese summary of cwe
	// Example: japanese summary
	// Required: true
	Japanese *string `json:"japanese"`

	// owaspTopTen2017 of cwe
	// Example: 10
	OwaspTopTen2017 string `json:"owaspTopTen2017,omitempty"`

	// sourceType of cwe
	// Example: nvd
	// Required: true
	SourceType *string `json:"sourceType"`
}

CweResponseBody CweResponseBody

Cwe describes a cwe Example: {"cweID":"CWE-416","english":"english summary","japanese":"japanese summary","owaspTopTen2017":"10","sourceType":"nvd"}

swagger:model CweResponseBody

func (*CweResponseBody) ContextValidate

func (m *CweResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cwe response body based on context it is used

func (*CweResponseBody) MarshalBinary

func (m *CweResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CweResponseBody) UnmarshalBinary

func (m *CweResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CweResponseBody) UnmarshalJSON

func (m *CweResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*CweResponseBody) Validate

func (m *CweResponseBody) Validate(formats strfmt.Registry) error

Validate validates this cwe response body

type DetectionMethodResponseBody

type DetectionMethodResponseBody struct {

	// Detection Method Name
	// Example: vuls
	// Required: true
	Name *string `json:"name"`

	// ReliabilityScore
	// Example: 100
	// Required: true
	ReliabilityScore *int64 `json:"reliabilityScore"`
}

DetectionMethodResponseBody DetectionMethod ResponseBody Example: {"name":"vuls","reliabilityScore":100}

swagger:model DetectionMethod ResponseBody

func (*DetectionMethodResponseBody) ContextValidate

func (m *DetectionMethodResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this detection method response body based on context it is used

func (*DetectionMethodResponseBody) MarshalBinary

func (m *DetectionMethodResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DetectionMethodResponseBody) UnmarshalBinary

func (m *DetectionMethodResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DetectionMethodResponseBody) UnmarshalJSON

func (m *DetectionMethodResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*DetectionMethodResponseBody) Validate

func (m *DetectionMethodResponseBody) Validate(formats strfmt.Registry) error

Validate validates this detection method response body

type DetectionToolResponseBody

type DetectionToolResponseBody struct {

	// Detection Tool Name
	// Example: changelog
	// Required: true
	Name *string `json:"name"`

	// PatchAppliedAt
	// Example: 2018-07-14T08:13:28Z
	// Format: date-time
	PatchAppliedAt strfmt.DateTime `json:"patchAppliedAt,omitempty"`
}

DetectionToolResponseBody DetectionToolResponseBody Example: {"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}

swagger:model DetectionToolResponseBody

func (*DetectionToolResponseBody) ContextValidate

func (m *DetectionToolResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this detection tool response body based on context it is used

func (*DetectionToolResponseBody) MarshalBinary

func (m *DetectionToolResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DetectionToolResponseBody) UnmarshalBinary

func (m *DetectionToolResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DetectionToolResponseBody) UnmarshalJSON

func (m *DetectionToolResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*DetectionToolResponseBody) Validate

func (m *DetectionToolResponseBody) Validate(formats strfmt.Registry) error

Validate validates this detection tool response body

type EnvMetricV2ResponseBody

type EnvMetricV2ResponseBody struct {

	// CDP of envMetricV2
	// Required: true
	Cdp *string `json:"cdp"`

	// created time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CveID of envMetricV2
	// Example: CVE-2018-1234
	// Required: true
	CveID *string `json:"cveID"`

	// ServerRoleID of envMetricV2
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of envMetricV2
	// Example: roleName
	// Required: true
	RoleName *string `json:"roleName"`

	// TD of envMetricV2
	// Required: true
	Td *string `json:"td"`

	// updated time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

EnvMetricV2ResponseBody EnvMetricV2ResponseBody

EnvMetricV2 describes a envMetricV2 Example: {"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model EnvMetricV2ResponseBody

func (*EnvMetricV2ResponseBody) ContextValidate

func (m *EnvMetricV2ResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this env metric v2 response body based on context it is used

func (*EnvMetricV2ResponseBody) MarshalBinary

func (m *EnvMetricV2ResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnvMetricV2ResponseBody) UnmarshalBinary

func (m *EnvMetricV2ResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnvMetricV2ResponseBody) UnmarshalJSON

func (m *EnvMetricV2ResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*EnvMetricV2ResponseBody) Validate

func (m *EnvMetricV2ResponseBody) Validate(formats strfmt.Registry) error

Validate validates this env metric v2 response body

type EnvMetricV3ResponseBody

type EnvMetricV3ResponseBody struct {

	// created time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CveID of envMetricV3
	// Example: CVE-2018-1234
	// Required: true
	CveID *string `json:"cveID"`

	// MA of envMetricV3
	// Required: true
	Ma *string `json:"ma"`

	// MAC of envMetricV3
	// Required: true
	Mac *string `json:"mac"`

	// MAV of envMetricV3
	// Required: true
	Mav *string `json:"mav"`

	// MC of envMetricV3
	// Required: true
	Mc *string `json:"mc"`

	// MPR of envMetricV3
	// Required: true
	Mpr *string `json:"mpr"`

	// MS of envMetricV3
	// Required: true
	Ms *string `json:"ms"`

	// MUI of envMetricV3
	// Required: true
	Mui *string `json:"mui"`

	// ServerRoleID of envMetricV3
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of envMetricV3
	// Example: roleName
	// Required: true
	RoleName *string `json:"roleName"`

	// updated time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

EnvMetricV3ResponseBody EnvMetricV3ResponseBody

EnvMetricV3 describes a envMetricV3 Example: {"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model EnvMetricV3ResponseBody

func (*EnvMetricV3ResponseBody) ContextValidate

func (m *EnvMetricV3ResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this env metric v3 response body based on context it is used

func (*EnvMetricV3ResponseBody) MarshalBinary

func (m *EnvMetricV3ResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnvMetricV3ResponseBody) UnmarshalBinary

func (m *EnvMetricV3ResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnvMetricV3ResponseBody) UnmarshalJSON

func (m *EnvMetricV3ResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*EnvMetricV3ResponseBody) Validate

func (m *EnvMetricV3ResponseBody) Validate(formats strfmt.Registry) error

Validate validates this env metric v3 response body

type LibraryPkgChildResponseBody

type LibraryPkgChildResponseBody struct {

	// crated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// ID of library package
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Name of library package
	// Example: package01
	// Required: true
	Name *string `json:"name"`

	// updated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// Version of library package
	// Example: 1.0
	// Required: true
	Version *string `json:"version"`
}

LibraryPkgChildResponseBody LibraryPkgChildResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}

swagger:model LibraryPkgChildResponseBody

func (*LibraryPkgChildResponseBody) ContextValidate

func (m *LibraryPkgChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this library pkg child response body based on context it is used

func (*LibraryPkgChildResponseBody) MarshalBinary

func (m *LibraryPkgChildResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LibraryPkgChildResponseBody) UnmarshalBinary

func (m *LibraryPkgChildResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibraryPkgChildResponseBody) UnmarshalJSON

func (m *LibraryPkgChildResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LibraryPkgChildResponseBody) Validate

func (m *LibraryPkgChildResponseBody) Validate(formats strfmt.Registry) error

Validate validates this library pkg child response body

type LockfileAddLockfileRequestBody

type LockfileAddLockfileRequestBody struct {

	// fileContent of the lockfile
	// Required: true
	FileContent *string `json:"fileContent"`

	// Path of lockfile
	// Example: /FutureVuls/package.json
	// Required: true
	Path *string `json:"path"`

	// ServerID
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`
}

LockfileAddLockfileRequestBody LockfileAddLockfileRequestBody Example: {"fileContent":"","path":"/FutureVuls/package.json","serverID":1}

swagger:model LockfileAddLockfileRequestBody

func (*LockfileAddLockfileRequestBody) ContextValidate

func (m *LockfileAddLockfileRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this lockfile add lockfile request body based on context it is used

func (*LockfileAddLockfileRequestBody) MarshalBinary

func (m *LockfileAddLockfileRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockfileAddLockfileRequestBody) UnmarshalBinary

func (m *LockfileAddLockfileRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockfileAddLockfileRequestBody) UnmarshalJSON

func (m *LockfileAddLockfileRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LockfileAddLockfileRequestBody) Validate

func (m *LockfileAddLockfileRequestBody) Validate(formats strfmt.Registry) error

Validate validates this lockfile add lockfile request body

type LockfileAddLockfileResponseBody

type LockfileAddLockfileResponseBody struct {

	// created time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// FileContent of lockfile
	// Required: true
	FileContent *string `json:"fileContent"`

	// ID of lockfile
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// LibraryPkgs of lockfile
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"`

	// Path of lockfile
	// Example: /FutureVuls/package.json
	// Required: true
	Path *string `json:"path"`

	// server
	Server *ServerChildResponseBody `json:"server,omitempty"`

	// updated time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

LockfileAddLockfileResponseBody LockfileAddLockfileResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model LockfileAddLockfileResponseBody

func (*LockfileAddLockfileResponseBody) ContextValidate

func (m *LockfileAddLockfileResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lockfile add lockfile response body based on the context it is used

func (*LockfileAddLockfileResponseBody) MarshalBinary

func (m *LockfileAddLockfileResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockfileAddLockfileResponseBody) UnmarshalBinary

func (m *LockfileAddLockfileResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockfileAddLockfileResponseBody) UnmarshalJSON

func (m *LockfileAddLockfileResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LockfileAddLockfileResponseBody) Validate

Validate validates this lockfile add lockfile response body

type LockfileGetLockfileDetailResponseBody

type LockfileGetLockfileDetailResponseBody struct {

	// created time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// FileContent of lockfile
	// Required: true
	FileContent *string `json:"fileContent"`

	// ID of lockfile
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// LibraryPkgs of lockfile
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"`

	// Path of lockfile
	// Example: /FutureVuls/package.json
	// Required: true
	Path *string `json:"path"`

	// server
	Server *ServerChildResponseBody `json:"server,omitempty"`

	// updated time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

LockfileGetLockfileDetailResponseBody LockfileGetLockfileDetailResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model LockfileGetLockfileDetailResponseBody

func (*LockfileGetLockfileDetailResponseBody) ContextValidate

func (m *LockfileGetLockfileDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lockfile get lockfile detail response body based on the context it is used

func (*LockfileGetLockfileDetailResponseBody) MarshalBinary

func (m *LockfileGetLockfileDetailResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockfileGetLockfileDetailResponseBody) UnmarshalBinary

func (m *LockfileGetLockfileDetailResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockfileGetLockfileDetailResponseBody) UnmarshalJSON

func (m *LockfileGetLockfileDetailResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LockfileGetLockfileDetailResponseBody) Validate

Validate validates this lockfile get lockfile detail response body

type LockfileGetLockfileListResponseBody

type LockfileGetLockfileListResponseBody struct {

	// Lockfiles list
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}]
	Lockfiles []*LockfileListResponseBody `json:"lockfiles"`

	// paging
	Paging *PagingResponseBody `json:"paging,omitempty"`
}

LockfileGetLockfileListResponseBody LockfileGetLockfileListResponseBody Example: {"lockfiles":[{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}],"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10}}

swagger:model LockfileGetLockfileListResponseBody

func (*LockfileGetLockfileListResponseBody) ContextValidate

func (m *LockfileGetLockfileListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lockfile get lockfile list response body based on the context it is used

func (*LockfileGetLockfileListResponseBody) MarshalBinary

func (m *LockfileGetLockfileListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockfileGetLockfileListResponseBody) UnmarshalBinary

func (m *LockfileGetLockfileListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockfileGetLockfileListResponseBody) UnmarshalJSON

func (m *LockfileGetLockfileListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LockfileGetLockfileListResponseBody) Validate

Validate validates this lockfile get lockfile list response body

type LockfileListResponseBody

type LockfileListResponseBody struct {

	// created time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// FileContent of lockfile
	// Required: true
	FileContent *string `json:"fileContent"`

	// ID of lockfile
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// LibraryPkgs of lockfile
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"`

	// Path of lockfile
	// Example: /FutureVuls/package.json
	// Required: true
	Path *string `json:"path"`

	// server
	Server *ServerChildResponseBody `json:"server,omitempty"`

	// updated time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

LockfileListResponseBody LockfileListResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model LockfileListResponseBody

func (*LockfileListResponseBody) ContextValidate

func (m *LockfileListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lockfile list response body based on the context it is used

func (*LockfileListResponseBody) MarshalBinary

func (m *LockfileListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockfileListResponseBody) UnmarshalBinary

func (m *LockfileListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockfileListResponseBody) UnmarshalJSON

func (m *LockfileListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LockfileListResponseBody) Validate

func (m *LockfileListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this lockfile list response body

type LockfileUpdateLockfileRequestBody

type LockfileUpdateLockfileRequestBody struct {

	// fileContent of the lockfile
	FileContent string `json:"fileContent,omitempty"`

	// Path of lockfile
	// Example: /FutureVuls/package.json
	Path string `json:"path,omitempty"`
}

LockfileUpdateLockfileRequestBody LockfileUpdateLockfileRequestBody Example: {"fileContent":"","path":"/FutureVuls/package.json"}

swagger:model LockfileUpdateLockfileRequestBody

func (*LockfileUpdateLockfileRequestBody) ContextValidate

func (m *LockfileUpdateLockfileRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this lockfile update lockfile request body based on context it is used

func (*LockfileUpdateLockfileRequestBody) MarshalBinary

func (m *LockfileUpdateLockfileRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockfileUpdateLockfileRequestBody) UnmarshalBinary

func (m *LockfileUpdateLockfileRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockfileUpdateLockfileRequestBody) UnmarshalJSON

func (m *LockfileUpdateLockfileRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LockfileUpdateLockfileRequestBody) Validate

Validate validates this lockfile update lockfile request body

type LockfileUpdateLockfileResponseBody

type LockfileUpdateLockfileResponseBody struct {

	// created time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// FileContent of lockfile
	// Required: true
	FileContent *string `json:"fileContent"`

	// ID of lockfile
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// LibraryPkgs of lockfile
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	LibraryPkgs []*LibraryPkgChildResponseBody `json:"libraryPkgs"`

	// Path of lockfile
	// Example: /FutureVuls/package.json
	// Required: true
	Path *string `json:"path"`

	// server
	Server *ServerChildResponseBody `json:"server,omitempty"`

	// updated time of lockfile
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

LockfileUpdateLockfileResponseBody LockfileUpdateLockfileResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","fileContent":"","id":1,"libraryPkgs":[{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"path":"/FutureVuls/package.json","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model LockfileUpdateLockfileResponseBody

func (*LockfileUpdateLockfileResponseBody) ContextValidate

func (m *LockfileUpdateLockfileResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lockfile update lockfile response body based on the context it is used

func (*LockfileUpdateLockfileResponseBody) MarshalBinary

func (m *LockfileUpdateLockfileResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LockfileUpdateLockfileResponseBody) UnmarshalBinary

func (m *LockfileUpdateLockfileResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LockfileUpdateLockfileResponseBody) UnmarshalJSON

func (m *LockfileUpdateLockfileResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*LockfileUpdateLockfileResponseBody) Validate

Validate validates this lockfile update lockfile response body

type NeedRestartProcResponseBody

type NeedRestartProcResponseBody struct {

	// InitSystem of NeedRestartProc
	// Example: initSystem
	// Required: true
	InitSystem *string `json:"initSystem"`

	// Path of NeedRestartProc
	// Example: path
	// Required: true
	Path *string `json:"path"`

	// PID
	// Example: 12
	// Required: true
	Pid *string `json:"pid"`

	// ServiceName of NeedRestartProc
	// Example: serviceName
	// Required: true
	ServiceName *string `json:"serviceName"`
}

NeedRestartProcResponseBody NeedRestartProcResponseBody Example: {"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}

swagger:model NeedRestartProcResponseBody

func (*NeedRestartProcResponseBody) ContextValidate

func (m *NeedRestartProcResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this need restart proc response body based on context it is used

func (*NeedRestartProcResponseBody) MarshalBinary

func (m *NeedRestartProcResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NeedRestartProcResponseBody) UnmarshalBinary

func (m *NeedRestartProcResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NeedRestartProcResponseBody) UnmarshalJSON

func (m *NeedRestartProcResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*NeedRestartProcResponseBody) Validate

func (m *NeedRestartProcResponseBody) Validate(formats strfmt.Registry) error

Validate validates this need restart proc response body

type PagingResponseBody

type PagingResponseBody struct {

	// Limit
	// Example: 20
	// Required: true
	Limit *int64 `json:"limit"`

	// Offset
	// Example: 10
	// Required: true
	Offset *int64 `json:"offset"`

	// Page
	// Example: 1
	// Required: true
	Page *int64 `json:"page"`

	// TotalCount
	// Example: 200
	// Required: true
	TotalCount *int64 `json:"totalCount"`

	// Total Page Size
	// Example: 10
	// Required: true
	TotalPage *int64 `json:"totalPage"`
}

PagingResponseBody PagingResponseBody

Paging describes a paging object Example: {"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10}

swagger:model PagingResponseBody

func (*PagingResponseBody) ContextValidate

func (m *PagingResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this paging response body based on context it is used

func (*PagingResponseBody) MarshalBinary

func (m *PagingResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PagingResponseBody) UnmarshalBinary

func (m *PagingResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PagingResponseBody) UnmarshalJSON

func (m *PagingResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PagingResponseBody) Validate

func (m *PagingResponseBody) Validate(formats strfmt.Registry) error

Validate validates this paging response body

type PkgCpeAddCpeRequestBody

type PkgCpeAddCpeRequestBody struct {

	// Cpe Name(cpe uri or cpe format string)
	// Example: cpe:/a:berlios:discussion_forum_2k:3.3
	// Required: true
	CpeName *string `json:"cpeName"`

	// isURI specifies whether cpeName is in URI format or FormatString format.
	// Example: true
	IsURI *bool `json:"isURI,omitempty"`

	// ServerID
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`
}

PkgCpeAddCpeRequestBody PkgCpeAddCpeRequestBody Example: {"cpeName":"cpe:/a:berlios:discussion_forum_2k:3.3","isURI":true,"serverID":1}

swagger:model PkgCpeAddCpeRequestBody

func (*PkgCpeAddCpeRequestBody) ContextValidate

func (m *PkgCpeAddCpeRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pkg cpe add cpe request body based on context it is used

func (*PkgCpeAddCpeRequestBody) MarshalBinary

func (m *PkgCpeAddCpeRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeAddCpeRequestBody) UnmarshalBinary

func (m *PkgCpeAddCpeRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeAddCpeRequestBody) UnmarshalJSON

func (m *PkgCpeAddCpeRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeAddCpeRequestBody) Validate

func (m *PkgCpeAddCpeRequestBody) Validate(formats strfmt.Registry) error

Validate validates this pkg cpe add cpe request body

type PkgCpeAddCpeResponseBody

type PkgCpeAddCpeResponseBody struct {

	// Cpe URI of cpe
	// Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*
	CpeURI string `json:"cpeURI,omitempty"`

	// crated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// ID of package or cpe
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Name of package or cpe
	// Example: package01
	// Required: true
	Name *string `json:"name"`

	// Release of package
	// Example: release
	Release string `json:"release,omitempty"`

	// server
	// Required: true
	Server *ServerChildResponseBody `json:"server"`

	// updated time of server
	// Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*ChildTaskResponseBody `json:"tasks"`

	// updated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// Version of package or cpe
	// Example: 1.0
	// Required: true
	Version *string `json:"version"`
}

PkgCpeAddCpeResponseBody PkgCpeAddCpeResponseBody Example: {"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","release":"release","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}

swagger:model PkgCpeAddCpeResponseBody

func (*PkgCpeAddCpeResponseBody) ContextValidate

func (m *PkgCpeAddCpeResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pkg cpe add cpe response body based on the context it is used

func (*PkgCpeAddCpeResponseBody) MarshalBinary

func (m *PkgCpeAddCpeResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeAddCpeResponseBody) UnmarshalBinary

func (m *PkgCpeAddCpeResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeAddCpeResponseBody) UnmarshalJSON

func (m *PkgCpeAddCpeResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeAddCpeResponseBody) Validate

func (m *PkgCpeAddCpeResponseBody) Validate(formats strfmt.Registry) error

Validate validates this pkg cpe add cpe response body

type PkgCpeChildResponseBody

type PkgCpeChildResponseBody struct {

	// AffectedProcess list of package
	// Example: [{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}]
	AffectedProcs []*AffectedProcResponseBody `json:"affectedProcs"`

	// CpeID of cpe
	// Example: 1
	CpeID int64 `json:"cpeID,omitempty"`

	// Cpe URI of cpe
	// Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*
	CpeURI string `json:"cpeURI,omitempty"`

	// crated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Name of package or cpe
	// Example: package01
	// Required: true
	Name *string `json:"name"`

	// New Release of package
	// Example: new release
	NewRelease string `json:"newRelease,omitempty"`

	// New Version of package
	// Example: 2.0
	NewVersion string `json:"newVersion,omitempty"`

	// Package ID of package
	// Example: 1
	PkgID int64 `json:"pkgID,omitempty"`

	// Release of package
	// Example: release
	Release string `json:"release,omitempty"`

	// Repository of package
	// Example: repository
	Repository string `json:"repository,omitempty"`

	// ServerID of package or cpe
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// updated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// Version of package or cpe
	// Example: 1.0
	// Required: true
	Version *string `json:"version"`
}

PkgCpeChildResponseBody PkgCpeChildResponseBody Example: {"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}

swagger:model PkgCpeChildResponseBody

func (*PkgCpeChildResponseBody) ContextValidate

func (m *PkgCpeChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pkg cpe child response body based on the context it is used

func (*PkgCpeChildResponseBody) MarshalBinary

func (m *PkgCpeChildResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeChildResponseBody) UnmarshalBinary

func (m *PkgCpeChildResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeChildResponseBody) UnmarshalJSON

func (m *PkgCpeChildResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeChildResponseBody) Validate

func (m *PkgCpeChildResponseBody) Validate(formats strfmt.Registry) error

Validate validates this pkg cpe child response body

type PkgCpeDeleteCpeDeprecatedRequestBody

type PkgCpeDeleteCpeDeprecatedRequestBody struct {

	// cpe ID
	// Example: 4046142736569201700
	// Required: true
	CpeID *int64 `json:"cpeID"`
}

PkgCpeDeleteCpeDeprecatedRequestBody PkgCpeDeleteCpeDeprecatedRequestBody Example: {"cpeID":5690894752894253000}

swagger:model PkgCpeDeleteCpeDeprecatedRequestBody

func (*PkgCpeDeleteCpeDeprecatedRequestBody) ContextValidate

func (m *PkgCpeDeleteCpeDeprecatedRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pkg cpe delete cpe deprecated request body based on context it is used

func (*PkgCpeDeleteCpeDeprecatedRequestBody) MarshalBinary

func (m *PkgCpeDeleteCpeDeprecatedRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalBinary

func (m *PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalJSON

func (m *PkgCpeDeleteCpeDeprecatedRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeDeleteCpeDeprecatedRequestBody) Validate

Validate validates this pkg cpe delete cpe deprecated request body

type PkgCpeGetCpeDetailResponseBody

type PkgCpeGetCpeDetailResponseBody struct {

	// Cpe URI of cpe
	// Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*
	CpeURI string `json:"cpeURI,omitempty"`

	// crated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// ID of package or cpe
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Name of package or cpe
	// Example: package01
	// Required: true
	Name *string `json:"name"`

	// Release of package
	// Example: release
	Release string `json:"release,omitempty"`

	// server
	// Required: true
	Server *ServerChildResponseBody `json:"server"`

	// updated time of server
	// Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*ChildTaskResponseBody `json:"tasks"`

	// updated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// Version of package or cpe
	// Example: 1.0
	// Required: true
	Version *string `json:"version"`
}

PkgCpeGetCpeDetailResponseBody PkgCpeGetCpeDetailResponseBody Example: {"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","release":"release","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}

swagger:model PkgCpeGetCpeDetailResponseBody

func (*PkgCpeGetCpeDetailResponseBody) ContextValidate

func (m *PkgCpeGetCpeDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pkg cpe get cpe detail response body based on the context it is used

func (*PkgCpeGetCpeDetailResponseBody) MarshalBinary

func (m *PkgCpeGetCpeDetailResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeGetCpeDetailResponseBody) UnmarshalBinary

func (m *PkgCpeGetCpeDetailResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeGetCpeDetailResponseBody) UnmarshalJSON

func (m *PkgCpeGetCpeDetailResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeGetCpeDetailResponseBody) Validate

func (m *PkgCpeGetCpeDetailResponseBody) Validate(formats strfmt.Registry) error

Validate validates this pkg cpe get cpe detail response body

type PkgCpeGetPkgCpeListResponseBody

type PkgCpeGetPkgCpeListResponseBody struct {

	// paging
	Paging *PagingResponseBody `json:"paging,omitempty"`

	// PkgCpes list
	// Example: [{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	PkgCpes []*PkgCpeListResponseBody `json:"pkgCpes"`
}

PkgCpeGetPkgCpeListResponseBody PkgCpeGetPkgCpeListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"pkgCpes":[{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]}

swagger:model PkgCpeGetPkgCpeListResponseBody

func (*PkgCpeGetPkgCpeListResponseBody) ContextValidate

func (m *PkgCpeGetPkgCpeListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pkg cpe get pkg cpe list response body based on the context it is used

func (*PkgCpeGetPkgCpeListResponseBody) MarshalBinary

func (m *PkgCpeGetPkgCpeListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeGetPkgCpeListResponseBody) UnmarshalBinary

func (m *PkgCpeGetPkgCpeListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeGetPkgCpeListResponseBody) UnmarshalJSON

func (m *PkgCpeGetPkgCpeListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeGetPkgCpeListResponseBody) Validate

Validate validates this pkg cpe get pkg cpe list response body

type PkgCpeGetPkgDetailResponseBody

type PkgCpeGetPkgDetailResponseBody struct {

	// AffectedProcess list of package
	// Example: [{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}]
	AffectedProcs []*AffectedProcResponseBody `json:"affectedProcs"`

	// crated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// ID of package
	// Example: 1
	ID int64 `json:"id,omitempty"`

	// Name of package or cpe
	// Example: package01
	// Required: true
	Name *string `json:"name"`

	// NeedRestartProcess list of package
	// Example: [{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}]
	NeedRestartProcs []*NeedRestartProcResponseBody `json:"needRestartProcs"`

	// New Release of package
	// Example: new release
	NewRelease string `json:"newRelease,omitempty"`

	// New Version of package
	// Example: 2.0
	NewVersion string `json:"newVersion,omitempty"`

	// package status of package
	// Example: {"bash":"resolved"}
	PackageStatuses map[string]string `json:"packageStatuses,omitempty"`

	// Release of package
	// Example: release
	// Required: true
	Release *string `json:"release"`

	// Repository of package
	// Example: repository
	Repository string `json:"repository,omitempty"`

	// server
	// Required: true
	Server *ServerChildResponseBody `json:"server"`

	// updated time of server
	// Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*ChildTaskResponseBody `json:"tasks"`

	// updated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// Version of package or cpe
	// Example: 1.0
	// Required: true
	Version *string `json:"version"`
}

PkgCpeGetPkgDetailResponseBody PkgCpeGetPkgDetailResponseBody Example: {"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"createdAt":"2018-07-14T08:13:28Z","id":1,"name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","packageStatuses":{"bash":"resolved"},"release":"release","repository":"repository","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}

swagger:model PkgCpeGetPkgDetailResponseBody

func (*PkgCpeGetPkgDetailResponseBody) ContextValidate

func (m *PkgCpeGetPkgDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pkg cpe get pkg detail response body based on the context it is used

func (*PkgCpeGetPkgDetailResponseBody) MarshalBinary

func (m *PkgCpeGetPkgDetailResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeGetPkgDetailResponseBody) UnmarshalBinary

func (m *PkgCpeGetPkgDetailResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeGetPkgDetailResponseBody) UnmarshalJSON

func (m *PkgCpeGetPkgDetailResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeGetPkgDetailResponseBody) Validate

func (m *PkgCpeGetPkgDetailResponseBody) Validate(formats strfmt.Registry) error

Validate validates this pkg cpe get pkg detail response body

type PkgCpeListResponseBody

type PkgCpeListResponseBody struct {

	// CpeID of cpe
	// Example: 1
	CpeID int64 `json:"cpeID,omitempty"`

	// Cpe URI of cpe
	// Example: cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*
	CpeURI string `json:"cpeURI,omitempty"`

	// crated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// Name of package or cpe
	// Example: package01
	// Required: true
	Name *string `json:"name"`

	// NeedRestartProcess list of package
	// Example: [{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}]
	NeedRestartProcs []*NeedRestartProcResponseBody `json:"needRestartProcs"`

	// New Release of package
	// Example: new release
	NewRelease string `json:"newRelease,omitempty"`

	// New Version of package
	// Example: 2.0
	NewVersion string `json:"newVersion,omitempty"`

	// Flag of Not fixed yet of package
	// Example: true
	NotFixedYet bool `json:"notFixedYet,omitempty"`

	// Package ID of package
	// Example: 1
	PkgID int64 `json:"pkgID,omitempty"`

	// Release of package
	// Example: release
	Release string `json:"release,omitempty"`

	// Repository of package
	// Example: repository
	Repository string `json:"repository,omitempty"`

	// ServerID of package or cpe
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// ServerName of package or cpe
	// Example: server01
	// Required: true
	ServerName *string `json:"serverName"`

	// ServerUUID of package or cpe
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	ServerUUID *strfmt.UUID `json:"serverUuid"`

	// updated time of package or cpe
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// Version of package or cpe
	// Example: 1.0
	// Required: true
	Version *string `json:"version"`
}

PkgCpeListResponseBody PkgCpeListResponseBody Example: {"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","needRestartProcs":[{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"},{"initSystem":"initSystem","path":"path","pid":"12","serviceName":"serviceName"}],"newRelease":"new release","newVersion":"2.0","notFixedYet":true,"pkgID":1,"release":"release","repository":"repository","serverID":1,"serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}

swagger:model PkgCpeListResponseBody

func (*PkgCpeListResponseBody) ContextValidate

func (m *PkgCpeListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pkg cpe list response body based on the context it is used

func (*PkgCpeListResponseBody) MarshalBinary

func (m *PkgCpeListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PkgCpeListResponseBody) UnmarshalBinary

func (m *PkgCpeListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PkgCpeListResponseBody) UnmarshalJSON

func (m *PkgCpeListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*PkgCpeListResponseBody) Validate

func (m *PkgCpeListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this pkg cpe list response body

type RoleGetRoleDetailResponseBody

type RoleGetRoleDetailResponseBody struct {

	// AllTaskCount of server role
	// Example: 10
	AllTaskCount int64 `json:"allTaskCount,omitempty"`

	// created time of server role
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// envMetricV2s of server role
	// Example: [{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}]
	EnvMetricV2s []*EnvMetricV2ResponseBody `json:"envMetricV2s"`

	// envMetricV3s of server role
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}]
	EnvMetricV3s []*EnvMetricV3ResponseBody `json:"envMetricV3s"`

	// ID of server role
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// isDefault of server role
	// Example: true
	IsDefault bool `json:"isDefault,omitempty"`

	// Name of server role
	// Example: server-role-name
	// Required: true
	Name *string `json:"name"`

	// NewTaskCount of server role
	// Example: 10
	NewTaskCount int64 `json:"newTaskCount,omitempty"`

	// sec metric
	SecMetric *SecMetricResponseBody `json:"secMetric,omitempty"`

	// Servers of server role
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}]
	Servers []*ServerChildResponseBody `json:"servers"`

	// updated time of server role
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

RoleGetRoleDetailResponseBody RoleGetRoleDetailResponseBody Example: {"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","envMetricV2s":[{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}],"envMetricV3s":[{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"servers":[{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model RoleGetRoleDetailResponseBody

func (*RoleGetRoleDetailResponseBody) ContextValidate

func (m *RoleGetRoleDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role get role detail response body based on the context it is used

func (*RoleGetRoleDetailResponseBody) MarshalBinary

func (m *RoleGetRoleDetailResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleGetRoleDetailResponseBody) UnmarshalBinary

func (m *RoleGetRoleDetailResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleGetRoleDetailResponseBody) UnmarshalJSON

func (m *RoleGetRoleDetailResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*RoleGetRoleDetailResponseBody) Validate

func (m *RoleGetRoleDetailResponseBody) Validate(formats strfmt.Registry) error

Validate validates this role get role detail response body

type RoleGetRoleListResponseBody

type RoleGetRoleListResponseBody struct {

	// paging
	Paging *PagingResponseBody `json:"paging,omitempty"`

	// ServerRole list
	// Example: [{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"},{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"},{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"}]
	Roles []*RoleListResponseBody `json:"roles"`
}

RoleGetRoleListResponseBody RoleGetRoleListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"roles":[{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"},{"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"}]}

swagger:model RoleGetRoleListResponseBody

func (*RoleGetRoleListResponseBody) ContextValidate

func (m *RoleGetRoleListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role get role list response body based on the context it is used

func (*RoleGetRoleListResponseBody) MarshalBinary

func (m *RoleGetRoleListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleGetRoleListResponseBody) UnmarshalBinary

func (m *RoleGetRoleListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleGetRoleListResponseBody) UnmarshalJSON

func (m *RoleGetRoleListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*RoleGetRoleListResponseBody) Validate

func (m *RoleGetRoleListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this role get role list response body

type RoleListResponseBody

type RoleListResponseBody struct {

	// AllTaskCount of server role
	// Example: 10
	AllTaskCount int64 `json:"allTaskCount,omitempty"`

	// created time of server role
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// ID of server role
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// isDefault of server role
	// Example: true
	// Required: true
	IsDefault *bool `json:"isDefault"`

	// Name of server role
	// Example: server-role-name
	// Required: true
	Name *string `json:"name"`

	// NewTaskCount of server role
	// Example: 10
	NewTaskCount int64 `json:"newTaskCount,omitempty"`

	// sec metric
	SecMetric *SecMetricResponseBody `json:"secMetric,omitempty"`

	// Server Count of server role
	// Example: 10
	ServerCount int64 `json:"serverCount,omitempty"`

	// updated time of server role
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

RoleListResponseBody RoleListResponseBody Example: {"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"serverCount":10,"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model RoleListResponseBody

func (*RoleListResponseBody) ContextValidate

func (m *RoleListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role list response body based on the context it is used

func (*RoleListResponseBody) MarshalBinary

func (m *RoleListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleListResponseBody) UnmarshalBinary

func (m *RoleListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleListResponseBody) UnmarshalJSON

func (m *RoleListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*RoleListResponseBody) Validate

func (m *RoleListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this role list response body

type RoleUpdateRoleRequestBody

type RoleUpdateRoleRequestBody struct {

	// RoleName of role
	// Example: new-role-name
	RoleName string `json:"roleName,omitempty"`
}

RoleUpdateRoleRequestBody RoleUpdateRoleRequestBody Example: {"roleName":"new-role-name"}

swagger:model RoleUpdateRoleRequestBody

func (*RoleUpdateRoleRequestBody) ContextValidate

func (m *RoleUpdateRoleRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role update role request body based on context it is used

func (*RoleUpdateRoleRequestBody) MarshalBinary

func (m *RoleUpdateRoleRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleUpdateRoleRequestBody) UnmarshalBinary

func (m *RoleUpdateRoleRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleUpdateRoleRequestBody) UnmarshalJSON

func (m *RoleUpdateRoleRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*RoleUpdateRoleRequestBody) Validate

func (m *RoleUpdateRoleRequestBody) Validate(formats strfmt.Registry) error

Validate validates this role update role request body

type RoleUpdateRoleResponseBody

type RoleUpdateRoleResponseBody struct {

	// AllTaskCount of server role
	// Example: 10
	AllTaskCount int64 `json:"allTaskCount,omitempty"`

	// created time of server role
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// envMetricV2s of server role
	// Example: [{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}]
	EnvMetricV2s []*EnvMetricV2ResponseBody `json:"envMetricV2s"`

	// envMetricV3s of server role
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}]
	EnvMetricV3s []*EnvMetricV3ResponseBody `json:"envMetricV3s"`

	// ID of server role
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// isDefault of server role
	// Example: true
	IsDefault bool `json:"isDefault,omitempty"`

	// Name of server role
	// Example: server-role-name
	// Required: true
	Name *string `json:"name"`

	// NewTaskCount of server role
	// Example: 10
	NewTaskCount int64 `json:"newTaskCount,omitempty"`

	// sec metric
	SecMetric *SecMetricResponseBody `json:"secMetric,omitempty"`

	// Servers of server role
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}]
	Servers []*ServerChildResponseBody `json:"servers"`

	// updated time of server role
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

RoleUpdateRoleResponseBody RoleUpdateRoleResponseBody Example: {"allTaskCount":10,"createdAt":"2018-07-14T08:13:28Z","envMetricV2s":[{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"},{"cdp":"","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","roleID":1,"roleName":"roleName","td":"","updatedAt":"2018-07-14T08:13:28Z"}],"envMetricV3s":[{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2018-1234","ma":"","mac":"","mav":"","mc":"","mpr":"","ms":"","mui":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}],"id":1,"isDefault":true,"name":"server-role-name","newTaskCount":10,"secMetric":{"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"},"servers":[{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model RoleUpdateRoleResponseBody

func (*RoleUpdateRoleResponseBody) ContextValidate

func (m *RoleUpdateRoleResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role update role response body based on the context it is used

func (*RoleUpdateRoleResponseBody) MarshalBinary

func (m *RoleUpdateRoleResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleUpdateRoleResponseBody) UnmarshalBinary

func (m *RoleUpdateRoleResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleUpdateRoleResponseBody) UnmarshalJSON

func (m *RoleUpdateRoleResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*RoleUpdateRoleResponseBody) Validate

func (m *RoleUpdateRoleResponseBody) Validate(formats strfmt.Registry) error

Validate validates this role update role response body

type SecMetricResponseBody

type SecMetricResponseBody struct {

	// AR of secMetric
	// Required: true
	Ar *string `json:"ar"`

	// CR of secMetric
	// Required: true
	Cr *string `json:"cr"`

	// created time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// IR of secMetric
	// Required: true
	Ir *string `json:"ir"`

	// ServerRoleID of secMetric
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of secMetric
	// Example: roleName
	// Required: true
	RoleName *string `json:"roleName"`

	// updated time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

SecMetricResponseBody SecMetricResponseBody

SecMetric describes a secMetric Example: {"ar":"","cr":"","createdAt":"2018-07-14T08:13:28Z","ir":"","roleID":1,"roleName":"roleName","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model SecMetricResponseBody

func (*SecMetricResponseBody) ContextValidate

func (m *SecMetricResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sec metric response body based on context it is used

func (*SecMetricResponseBody) MarshalBinary

func (m *SecMetricResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecMetricResponseBody) UnmarshalBinary

func (m *SecMetricResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecMetricResponseBody) UnmarshalJSON

func (m *SecMetricResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*SecMetricResponseBody) Validate

func (m *SecMetricResponseBody) Validate(formats strfmt.Registry) error

Validate validates this sec metric response body

type ServerChildResponseBody

type ServerChildResponseBody struct {

	// crated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// default user ID of server
	// Example: 1
	DefaultUserID int64 `json:"defaultUserId,omitempty"`

	// default user name of server
	// Example: vuls user
	DefaultUserName string `json:"defaultUserName,omitempty"`

	// UUID of server
	// Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	HostUUID *strfmt.UUID `json:"hostUuid"`

	// ID of server
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// last scanned time of server
	// Example: 2018-07-14T08:13:28Z
	LastScannedAt string `json:"lastScannedAt,omitempty"`

	// last uploaded time of server
	// Example: 2018-07-14T08:13:28Z
	LastUploadedAt string `json:"lastUploadedAt,omitempty"`

	// Whether server needs kernel restart
	// Example: true
	// Required: true
	NeedKernelRestart *bool `json:"needKernelRestart"`

	// OS Name of server
	// Example: centos
	// Required: true
	OsFamily *string `json:"osFamily"`

	// OS Version of server
	// Example: 6
	// Required: true
	OsVersion *string `json:"osVersion"`

	// Name of server
	// Example: server01
	// Required: true
	ServerName *string `json:"serverName"`

	// UUID of server
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	ServerUUID *strfmt.UUID `json:"serverUuid"`

	// ID of server role
	// Example: 1
	// Required: true
	ServerroleID *int64 `json:"serverroleId"`

	// Name of server role
	// Example: server_role01
	// Required: true
	ServerroleName *string `json:"serverroleName"`

	// tags is list of server tag
	// Example: ["Consequatur atque et animi doloribus.","Aperiam id molestias dolore.","Consectetur asperiores."]
	Tags []string `json:"tags"`

	// updated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ServerChildResponseBody ServerChildResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Accusamus nobis alias dicta.","Perspiciatis sunt."],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model ServerChildResponseBody

func (*ServerChildResponseBody) ContextValidate

func (m *ServerChildResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server child response body based on context it is used

func (*ServerChildResponseBody) MarshalBinary

func (m *ServerChildResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerChildResponseBody) UnmarshalBinary

func (m *ServerChildResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerChildResponseBody) UnmarshalJSON

func (m *ServerChildResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerChildResponseBody) Validate

func (m *ServerChildResponseBody) Validate(formats strfmt.Registry) error

Validate validates this server child response body

type ServerCreatePkgPasteServerRequestBody

type ServerCreatePkgPasteServerRequestBody struct {

	// Kernel Release
	// Example: kernel release
	// Required: true
	KernelRelease *string `json:"kernelRelease"`

	// Kernel Version
	// Example: kernel version
	KernelVersion string `json:"kernelVersion,omitempty"`

	// Server OS Family
	// Example: 20
	// Required: true
	OsFamily *string `json:"osFamily"`

	// Server OS Version
	// Example: 20
	// Required: true
	OsVersion *string `json:"osVersion"`

	// pkg paste text
	// Required: true
	PkgPasteText *string `json:"pkgPasteText"`

	// Server Name
	// Example: Server Name
	// Required: true
	ServerName *string `json:"serverName"`
}

ServerCreatePkgPasteServerRequestBody ServerCreatePkgPasteServerRequestBody Example: {"kernelRelease":"kernel release","kernelVersion":"kernel version","osFamily":"20","osVersion":"20","pkgPasteText":"","serverName":"Server Name"}

swagger:model ServerCreatePkgPasteServerRequestBody

func (*ServerCreatePkgPasteServerRequestBody) ContextValidate

func (m *ServerCreatePkgPasteServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server create pkg paste server request body based on context it is used

func (*ServerCreatePkgPasteServerRequestBody) MarshalBinary

func (m *ServerCreatePkgPasteServerRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerCreatePkgPasteServerRequestBody) UnmarshalBinary

func (m *ServerCreatePkgPasteServerRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerCreatePkgPasteServerRequestBody) UnmarshalJSON

func (m *ServerCreatePkgPasteServerRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerCreatePkgPasteServerRequestBody) Validate

Validate validates this server create pkg paste server request body

type ServerCreatePkgPasteServerResponseBody

type ServerCreatePkgPasteServerResponseBody struct {

	// crated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// default user ID of server
	// Example: 1
	DefaultUserID int64 `json:"defaultUserId,omitempty"`

	// default user name of server
	// Example: vuls user
	DefaultUserName string `json:"defaultUserName,omitempty"`

	// UUID of server
	// Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	HostUUID *strfmt.UUID `json:"hostUuid"`

	// ID of server
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// last scanned time of server
	// Example: 2018-07-14T08:13:28Z
	LastScannedAt string `json:"lastScannedAt,omitempty"`

	// last uploaded time of server
	// Example: 2018-07-14T08:13:28Z
	LastUploadedAt string `json:"lastUploadedAt,omitempty"`

	// Whether server needs kernel restart
	// Example: true
	// Required: true
	NeedKernelRestart *bool `json:"needKernelRestart"`

	// OS Name of server
	// Example: centos
	// Required: true
	OsFamily *string `json:"osFamily"`

	// OS Version of server
	// Example: 6
	// Required: true
	OsVersion *string `json:"osVersion"`

	// platformInstanceId of server
	// Example: i-xxxxxxx
	// Required: true
	PlatformInstanceID *string `json:"platformInstanceId"`

	// platformName of server
	// Example: aws
	// Required: true
	PlatformName *string `json:"platformName"`

	// IPv4 of server
	// Example: 192.168.0.2
	// Required: true
	ServerIPV4 *string `json:"serverIpv4"`

	// Name of server
	// Example: server01
	// Required: true
	ServerName *string `json:"serverName"`

	// UUID of server
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	ServerUUID *strfmt.UUID `json:"serverUuid"`

	// ID of server role
	// Example: 1
	// Required: true
	ServerroleID *int64 `json:"serverroleId"`

	// Name of server role
	// Example: server_role01
	// Required: true
	ServerroleName *string `json:"serverroleName"`

	// tags is list of server tag
	// Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}]
	Tags []*ServerTagResponseBody `json:"tags"`

	// tasks of server
	// Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*ChildTaskResponseBody `json:"tasks"`

	// updated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ServerCreatePkgPasteServerResponseBody ServerCreatePkgPasteServerResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model ServerCreatePkgPasteServerResponseBody

func (*ServerCreatePkgPasteServerResponseBody) ContextValidate

ContextValidate validate this server create pkg paste server response body based on the context it is used

func (*ServerCreatePkgPasteServerResponseBody) MarshalBinary

func (m *ServerCreatePkgPasteServerResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerCreatePkgPasteServerResponseBody) UnmarshalBinary

func (m *ServerCreatePkgPasteServerResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerCreatePkgPasteServerResponseBody) UnmarshalJSON

func (m *ServerCreatePkgPasteServerResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerCreatePkgPasteServerResponseBody) Validate

Validate validates this server create pkg paste server response body

type ServerGetServerDetailByUUIDResponseBody

type ServerGetServerDetailByUUIDResponseBody struct {

	// crated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// default user ID of server
	// Example: 1
	DefaultUserID int64 `json:"defaultUserId,omitempty"`

	// default user name of server
	// Example: vuls user
	DefaultUserName string `json:"defaultUserName,omitempty"`

	// UUID of server
	// Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	HostUUID *strfmt.UUID `json:"hostUuid"`

	// ID of server
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// last scanned time of server
	// Example: 2018-07-14T08:13:28Z
	LastScannedAt string `json:"lastScannedAt,omitempty"`

	// last uploaded time of server
	// Example: 2018-07-14T08:13:28Z
	LastUploadedAt string `json:"lastUploadedAt,omitempty"`

	// Whether server needs kernel restart
	// Example: true
	// Required: true
	NeedKernelRestart *bool `json:"needKernelRestart"`

	// OS Name of server
	// Example: centos
	// Required: true
	OsFamily *string `json:"osFamily"`

	// OS Version of server
	// Example: 6
	// Required: true
	OsVersion *string `json:"osVersion"`

	// platformInstanceId of server
	// Example: i-xxxxxxx
	// Required: true
	PlatformInstanceID *string `json:"platformInstanceId"`

	// platformName of server
	// Example: aws
	// Required: true
	PlatformName *string `json:"platformName"`

	// IPv4 of server
	// Example: 192.168.0.2
	// Required: true
	ServerIPV4 *string `json:"serverIpv4"`

	// Name of server
	// Example: server01
	// Required: true
	ServerName *string `json:"serverName"`

	// UUID of server
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	ServerUUID *strfmt.UUID `json:"serverUuid"`

	// ID of server role
	// Example: 1
	// Required: true
	ServerroleID *int64 `json:"serverroleId"`

	// Name of server role
	// Example: server_role01
	// Required: true
	ServerroleName *string `json:"serverroleName"`

	// tags is list of server tag
	// Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"}]
	Tags []*ServerTagResponseBody `json:"tags"`

	// tasks of server
	// Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*ChildTaskResponseBody `json:"tasks"`

	// updated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ServerGetServerDetailByUUIDResponseBody ServerGetServerDetailByUUIDResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model ServerGetServerDetailByUUIDResponseBody

func (*ServerGetServerDetailByUUIDResponseBody) ContextValidate

ContextValidate validate this server get server detail by UUID response body based on the context it is used

func (*ServerGetServerDetailByUUIDResponseBody) MarshalBinary

func (m *ServerGetServerDetailByUUIDResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerGetServerDetailByUUIDResponseBody) UnmarshalBinary

func (m *ServerGetServerDetailByUUIDResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerGetServerDetailByUUIDResponseBody) UnmarshalJSON

func (m *ServerGetServerDetailByUUIDResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerGetServerDetailByUUIDResponseBody) Validate

Validate validates this server get server detail by UUID response body

type ServerGetServerDetailResponseBody

type ServerGetServerDetailResponseBody struct {

	// crated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// default user ID of server
	// Example: 1
	DefaultUserID int64 `json:"defaultUserId,omitempty"`

	// default user name of server
	// Example: vuls user
	DefaultUserName string `json:"defaultUserName,omitempty"`

	// UUID of server
	// Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	HostUUID *strfmt.UUID `json:"hostUuid"`

	// ID of server
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// last scanned time of server
	// Example: 2018-07-14T08:13:28Z
	LastScannedAt string `json:"lastScannedAt,omitempty"`

	// last uploaded time of server
	// Example: 2018-07-14T08:13:28Z
	LastUploadedAt string `json:"lastUploadedAt,omitempty"`

	// Whether server needs kernel restart
	// Example: true
	// Required: true
	NeedKernelRestart *bool `json:"needKernelRestart"`

	// OS Name of server
	// Example: centos
	// Required: true
	OsFamily *string `json:"osFamily"`

	// OS Version of server
	// Example: 6
	// Required: true
	OsVersion *string `json:"osVersion"`

	// platformInstanceId of server
	// Example: i-xxxxxxx
	// Required: true
	PlatformInstanceID *string `json:"platformInstanceId"`

	// platformName of server
	// Example: aws
	// Required: true
	PlatformName *string `json:"platformName"`

	// IPv4 of server
	// Example: 192.168.0.2
	// Required: true
	ServerIPV4 *string `json:"serverIpv4"`

	// Name of server
	// Example: server01
	// Required: true
	ServerName *string `json:"serverName"`

	// UUID of server
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	ServerUUID *strfmt.UUID `json:"serverUuid"`

	// ID of server role
	// Example: 1
	// Required: true
	ServerroleID *int64 `json:"serverroleId"`

	// Name of server role
	// Example: server_role01
	// Required: true
	ServerroleName *string `json:"serverroleName"`

	// tags is list of server tag
	// Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}]
	Tags []*ServerTagResponseBody `json:"tags"`

	// tasks of server
	// Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*ChildTaskResponseBody `json:"tasks"`

	// updated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ServerGetServerDetailResponseBody ServerGetServerDetailResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model ServerGetServerDetailResponseBody

func (*ServerGetServerDetailResponseBody) ContextValidate

func (m *ServerGetServerDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server get server detail response body based on the context it is used

func (*ServerGetServerDetailResponseBody) MarshalBinary

func (m *ServerGetServerDetailResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerGetServerDetailResponseBody) UnmarshalBinary

func (m *ServerGetServerDetailResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerGetServerDetailResponseBody) UnmarshalJSON

func (m *ServerGetServerDetailResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerGetServerDetailResponseBody) Validate

Validate validates this server get server detail response body

type ServerGetServerListResponseBody

type ServerGetServerListResponseBody struct {

	// paging
	Paging *PagingResponseBody `json:"paging,omitempty"`

	// Servers list
	// Example: [{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"}]
	Servers []*ServerListResponseBody `json:"servers"`
}

ServerGetServerListResponseBody ServerGetServerListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"servers":[{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"},{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7572510666884157000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"}]}

swagger:model ServerGetServerListResponseBody

func (*ServerGetServerListResponseBody) ContextValidate

func (m *ServerGetServerListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server get server list response body based on the context it is used

func (*ServerGetServerListResponseBody) MarshalBinary

func (m *ServerGetServerListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerGetServerListResponseBody) UnmarshalBinary

func (m *ServerGetServerListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerGetServerListResponseBody) UnmarshalJSON

func (m *ServerGetServerListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerGetServerListResponseBody) Validate

Validate validates this server get server list response body

type ServerListResponseBody

type ServerListResponseBody struct {

	// crated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// default user ID of server
	// Example: 1
	DefaultUserID int64 `json:"defaultUserId,omitempty"`

	// default user name of server
	// Example: vuls user
	DefaultUserName string `json:"defaultUserName,omitempty"`

	// UUID of server
	// Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	HostUUID *strfmt.UUID `json:"hostUuid"`

	// ID of server
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// last scanned time of server
	// Example: 2018-07-14T08:13:28Z
	LastScannedAt string `json:"lastScannedAt,omitempty"`

	// last uploaded time of server
	// Example: 2018-07-14T08:13:28Z
	LastUploadedAt string `json:"lastUploadedAt,omitempty"`

	// Whether server needs kernel restart
	// Example: true
	// Required: true
	NeedKernelRestart *bool `json:"needKernelRestart"`

	// OS Name of server
	// Example: centos
	// Required: true
	OsFamily *string `json:"osFamily"`

	// OS Version of server
	// Example: 6
	// Required: true
	OsVersion *string `json:"osVersion"`

	// platformInstanceId of server
	// Example: i-xxxxxxx
	// Required: true
	PlatformInstanceID *string `json:"platformInstanceId"`

	// platformName of server
	// Example: aws
	// Required: true
	PlatformName *string `json:"platformName"`

	// IPv4 of server
	// Example: 192.168.0.2
	// Required: true
	ServerIPV4 *string `json:"serverIpv4"`

	// Name of server
	// Example: server01
	// Required: true
	ServerName *string `json:"serverName"`

	// UUID of server
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	ServerUUID *strfmt.UUID `json:"serverUuid"`

	// ID of server role
	// Example: 1
	// Required: true
	ServerroleID *int64 `json:"serverroleId"`

	// Name of server role
	// Example: server_role01
	// Required: true
	ServerroleName *string `json:"serverroleName"`

	// successScanCount of server
	// Example: 8268415631704044000
	// Required: true
	SuccessScanCount *int64 `json:"successScanCount"`

	// tags is list of server tag
	// Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"}]
	Tags []*ServerTagResponseBody `json:"tags"`

	// updated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ServerListResponseBody ServerListResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","successScanCount":7920150438590619000,"tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model ServerListResponseBody

func (*ServerListResponseBody) ContextValidate

func (m *ServerListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server list response body based on the context it is used

func (*ServerListResponseBody) MarshalBinary

func (m *ServerListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerListResponseBody) UnmarshalBinary

func (m *ServerListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerListResponseBody) UnmarshalJSON

func (m *ServerListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerListResponseBody) Validate

func (m *ServerListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this server list response body

type ServerTagResponseBody

type ServerTagResponseBody struct {

	// ID of server tag
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Name of server tag
	// Example: tag
	// Required: true
	Name *string `json:"name"`
}

ServerTagResponseBody ServerTagResponseBody

ServerTag describes a server tag Example: {"id":1,"name":"tag"}

swagger:model ServerTagResponseBody

func (*ServerTagResponseBody) ContextValidate

func (m *ServerTagResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server tag response body based on context it is used

func (*ServerTagResponseBody) MarshalBinary

func (m *ServerTagResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerTagResponseBody) UnmarshalBinary

func (m *ServerTagResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerTagResponseBody) UnmarshalJSON

func (m *ServerTagResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerTagResponseBody) Validate

func (m *ServerTagResponseBody) Validate(formats strfmt.Registry) error

Validate validates this server tag response body

type ServerUpdatePkgPasteServerRequestBody

type ServerUpdatePkgPasteServerRequestBody struct {

	// Kernel Release
	// Example: kernel release
	KernelRelease string `json:"kernelRelease,omitempty"`

	// Kernel Version
	// Example: kernel version
	KernelVersion string `json:"kernelVersion,omitempty"`

	// Server OS Version
	// Example: 20
	OsVersion string `json:"osVersion,omitempty"`

	// pkg paste text
	// Required: true
	PkgPasteText *string `json:"pkgPasteText"`
}

ServerUpdatePkgPasteServerRequestBody ServerUpdatePkgPasteServerRequestBody Example: {"kernelRelease":"kernel release","kernelVersion":"kernel version","osVersion":"20","pkgPasteText":""}

swagger:model ServerUpdatePkgPasteServerRequestBody

func (*ServerUpdatePkgPasteServerRequestBody) ContextValidate

func (m *ServerUpdatePkgPasteServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server update pkg paste server request body based on context it is used

func (*ServerUpdatePkgPasteServerRequestBody) MarshalBinary

func (m *ServerUpdatePkgPasteServerRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerUpdatePkgPasteServerRequestBody) UnmarshalBinary

func (m *ServerUpdatePkgPasteServerRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerUpdatePkgPasteServerRequestBody) UnmarshalJSON

func (m *ServerUpdatePkgPasteServerRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerUpdatePkgPasteServerRequestBody) Validate

Validate validates this server update pkg paste server request body

type ServerUpdateServerRequestBody

type ServerUpdateServerRequestBody struct {

	// Additional information of the server
	// Example: This server is expensive
	AdditionalInfo string `json:"additionalInfo,omitempty"`

	// DefaultUserID of server
	// Example: 1
	DefaultUserID int64 `json:"defaultUserID,omitempty"`

	// ServerRoleID of server
	// Example: 1
	RoleID int64 `json:"roleID,omitempty"`

	// ServerName of server
	// Example: new-server-name
	ServerName string `json:"serverName,omitempty"`
}

ServerUpdateServerRequestBody ServerUpdateServerRequestBody Example: {"additionalInfo":"This server is expensive","defaultUserID":1,"roleID":1,"serverName":"new-server-name"}

swagger:model ServerUpdateServerRequestBody

func (*ServerUpdateServerRequestBody) ContextValidate

func (m *ServerUpdateServerRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this server update server request body based on context it is used

func (*ServerUpdateServerRequestBody) MarshalBinary

func (m *ServerUpdateServerRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerUpdateServerRequestBody) UnmarshalBinary

func (m *ServerUpdateServerRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerUpdateServerRequestBody) UnmarshalJSON

func (m *ServerUpdateServerRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerUpdateServerRequestBody) Validate

func (m *ServerUpdateServerRequestBody) Validate(formats strfmt.Registry) error

Validate validates this server update server request body

type ServerUpdateServerResponseBody

type ServerUpdateServerResponseBody struct {

	// crated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	CreatedAt *string `json:"createdAt"`

	// default user ID of server
	// Example: 1
	DefaultUserID int64 `json:"defaultUserId,omitempty"`

	// default user name of server
	// Example: vuls user
	DefaultUserName string `json:"defaultUserName,omitempty"`

	// UUID of server
	// Example: 141df30a-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	HostUUID *strfmt.UUID `json:"hostUuid"`

	// ID of server
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// last scanned time of server
	// Example: 2018-07-14T08:13:28Z
	LastScannedAt string `json:"lastScannedAt,omitempty"`

	// last uploaded time of server
	// Example: 2018-07-14T08:13:28Z
	LastUploadedAt string `json:"lastUploadedAt,omitempty"`

	// Whether server needs kernel restart
	// Example: true
	// Required: true
	NeedKernelRestart *bool `json:"needKernelRestart"`

	// OS Name of server
	// Example: centos
	// Required: true
	OsFamily *string `json:"osFamily"`

	// OS Version of server
	// Example: 6
	// Required: true
	OsVersion *string `json:"osVersion"`

	// platformInstanceId of server
	// Example: i-xxxxxxx
	// Required: true
	PlatformInstanceID *string `json:"platformInstanceId"`

	// platformName of server
	// Example: aws
	// Required: true
	PlatformName *string `json:"platformName"`

	// IPv4 of server
	// Example: 192.168.0.2
	// Required: true
	ServerIPV4 *string `json:"serverIpv4"`

	// Name of server
	// Example: server01
	// Required: true
	ServerName *string `json:"serverName"`

	// UUID of server
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	// Format: uuid
	ServerUUID *strfmt.UUID `json:"serverUuid"`

	// ID of server role
	// Example: 1
	// Required: true
	ServerroleID *int64 `json:"serverroleId"`

	// Name of server role
	// Example: server_role01
	// Required: true
	ServerroleName *string `json:"serverroleName"`

	// tags is list of server tag
	// Example: [{"id":1,"name":"tag"},{"id":1,"name":"tag"}]
	Tags []*ServerTagResponseBody `json:"tags"`

	// tasks of server
	// Example: [{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*ChildTaskResponseBody `json:"tasks"`

	// updated time of server
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	UpdatedAt *string `json:"updatedAt"`
}

ServerUpdateServerResponseBody ServerUpdateServerResponseBody Example: {"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","platformInstanceId":"i-xxxxxxx","platformName":"aws","serverIpv4":"192.168.0.2","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":[{"id":1,"name":"tag"},{"id":1,"name":"tag"}],"tasks":[{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","priority":"high","serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}],"updatedAt":"2018-07-14T08:13:28Z"}

swagger:model ServerUpdateServerResponseBody

func (*ServerUpdateServerResponseBody) ContextValidate

func (m *ServerUpdateServerResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this server update server response body based on the context it is used

func (*ServerUpdateServerResponseBody) MarshalBinary

func (m *ServerUpdateServerResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServerUpdateServerResponseBody) UnmarshalBinary

func (m *ServerUpdateServerResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServerUpdateServerResponseBody) UnmarshalJSON

func (m *ServerUpdateServerResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*ServerUpdateServerResponseBody) Validate

func (m *ServerUpdateServerResponseBody) Validate(formats strfmt.Registry) error

Validate validates this server update server response body

type TaskAddTaskCommentRequestBody

type TaskAddTaskCommentRequestBody struct {

	// comment content
	// Example: comment
	// Required: true
	CommentContent *string `json:"commentContent"`
}

TaskAddTaskCommentRequestBody TaskAddTaskCommentRequestBody Example: {"commentContent":"comment"}

swagger:model TaskAddTaskCommentRequestBody

func (*TaskAddTaskCommentRequestBody) ContextValidate

func (m *TaskAddTaskCommentRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task add task comment request body based on context it is used

func (*TaskAddTaskCommentRequestBody) MarshalBinary

func (m *TaskAddTaskCommentRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskAddTaskCommentRequestBody) UnmarshalBinary

func (m *TaskAddTaskCommentRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskAddTaskCommentRequestBody) UnmarshalJSON

func (m *TaskAddTaskCommentRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskAddTaskCommentRequestBody) Validate

func (m *TaskAddTaskCommentRequestBody) Validate(formats strfmt.Registry) error

Validate validates this task add task comment request body

type TaskAddTaskCommentResponseBody

type TaskAddTaskCommentResponseBody struct {

	// advisoryIDs of cve
	// Example: ["advisoryID"]
	AdvisoryIDs []string `json:"advisoryIDs"`

	// ApplyingPatchOn of task
	// Example: 2018-07-13
	// Format: date
	ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"`

	// Comment of task
	// Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}]
	Comments []*TaskCommentResponseBody `json:"comments"`

	// created time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CVE ID of task
	// Example: CVE-2017-6799
	// Required: true
	CveID *string `json:"cveID"`

	// Key Value of CveID and Cvss of task
	// Example: {"Quia dolor aut expedita velit est.":"Iste impedit rerum libero exercitationem deleniti et."}
	Cvss map[string]io.ReadCloser `json:"cvss,omitempty"`

	// DetectionMethod of task
	// Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}]
	DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"`

	// DetectionTools of task
	// Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}]
	DetectionTools []*DetectionToolResponseBody `json:"detectionTools"`

	// ID of task
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Ignore of task
	// Example: true
	// Required: true
	Ignore *bool `json:"ignore"`

	// Ignore until of task
	// Example: vector
	IgnoreUntil string `json:"ignoreUntil,omitempty"`

	// MainUserID of task
	// Example: 1
	MainUserID int64 `json:"mainUserID,omitempty"`

	// MainUserName of task
	// Example: main-user-name
	MainUserName string `json:"mainUserName,omitempty"`

	// packageStatus of task
	// Example: {"bash":"resolved"}
	PackageStatuses map[string]string `json:"packageStatuses,omitempty"`

	// Pcakge And Cpe list of task
	// Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"`

	// Priority of task
	// Example: high
	// Required: true
	Priority *string `json:"priority"`

	// ServerRoleID of task
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of task
	// Example: server-role-name
	// Required: true
	RoleName *string `json:"roleName"`

	// server
	// Required: true
	Server *ServerChildResponseBody `json:"server"`

	// ServerID of task
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// Status of task
	// Example: new
	// Required: true
	Status *string `json:"status"`

	// SubUserID of task
	// Example: 1
	SubUserID int64 `json:"subUserID,omitempty"`

	// SubUserName of task
	// Example: sub-user-name
	SubUserName string `json:"subUserName,omitempty"`

	// updated time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

TaskAddTaskCommentResponseBody TaskAddTaskCommentResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Delectus molestias omnis tempora perferendis.":"Saepe voluptas et praesentium expedita ut.","Voluptas ad dicta eligendi recusandae odit.":"Amet ut libero."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model TaskAddTaskCommentResponseBody

func (*TaskAddTaskCommentResponseBody) ContextValidate

func (m *TaskAddTaskCommentResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this task add task comment response body based on the context it is used

func (*TaskAddTaskCommentResponseBody) MarshalBinary

func (m *TaskAddTaskCommentResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskAddTaskCommentResponseBody) UnmarshalBinary

func (m *TaskAddTaskCommentResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskAddTaskCommentResponseBody) UnmarshalJSON

func (m *TaskAddTaskCommentResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskAddTaskCommentResponseBody) Validate

func (m *TaskAddTaskCommentResponseBody) Validate(formats strfmt.Registry) error

Validate validates this task add task comment response body

type TaskCommentResponseBody

type TaskCommentResponseBody struct {

	// Comment content of TaskComment
	// Example: comment
	// Required: true
	Comment *string `json:"comment"`

	// created time of TaskComment
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// ID of TaskComment
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Type of TaskComment
	// Example: system
	// Required: true
	Type *string `json:"type"`

	// updated time of TaskComment
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`

	// UserID of TaskComment
	// Example: 1
	// Required: true
	UserID *int64 `json:"userID"`

	// UserName of TaskComment
	// Example: user-name
	// Required: true
	UserName *string `json:"userName"`
}

TaskCommentResponseBody TaskComment ResponseBody Example: {"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}

swagger:model TaskComment ResponseBody

func (*TaskCommentResponseBody) ContextValidate

func (m *TaskCommentResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task comment response body based on context it is used

func (*TaskCommentResponseBody) MarshalBinary

func (m *TaskCommentResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskCommentResponseBody) UnmarshalBinary

func (m *TaskCommentResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskCommentResponseBody) UnmarshalJSON

func (m *TaskCommentResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskCommentResponseBody) Validate

func (m *TaskCommentResponseBody) Validate(formats strfmt.Registry) error

Validate validates this task comment response body

type TaskGetTaskDetailResponseBody

type TaskGetTaskDetailResponseBody struct {

	// advisoryIDs of cve
	// Example: ["advisoryID"]
	AdvisoryIDs []string `json:"advisoryIDs"`

	// ApplyingPatchOn of task
	// Example: 2018-07-13
	// Format: date
	ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"`

	// Comment of task
	// Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}]
	Comments []*TaskCommentResponseBody `json:"comments"`

	// created time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CVE ID of task
	// Example: CVE-2017-6799
	// Required: true
	CveID *string `json:"cveID"`

	// Key Value of CveID and Cvss of task
	// Example: {"Assumenda dolorem sed est.":"Tempore ea aperiam ipsum dolorem.","Aut molestias beatae et sed assumenda.":"Itaque iure illo maiores officia recusandae fugiat.","Nihil sint ea et.":"Et aut quasi consequatur sequi ex perspiciatis."}
	Cvss map[string]io.ReadCloser `json:"cvss,omitempty"`

	// DetectionMethod of task
	// Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}]
	DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"`

	// DetectionTools of task
	// Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}]
	DetectionTools []*DetectionToolResponseBody `json:"detectionTools"`

	// ID of task
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Ignore of task
	// Example: true
	// Required: true
	Ignore *bool `json:"ignore"`

	// Ignore until of task
	// Example: vector
	IgnoreUntil string `json:"ignoreUntil,omitempty"`

	// MainUserID of task
	// Example: 1
	MainUserID int64 `json:"mainUserID,omitempty"`

	// MainUserName of task
	// Example: main-user-name
	MainUserName string `json:"mainUserName,omitempty"`

	// packageStatus of task
	// Example: {"bash":"resolved"}
	PackageStatuses map[string]string `json:"packageStatuses,omitempty"`

	// Pcakge And Cpe list of task
	// Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"`

	// Priority of task
	// Example: high
	// Required: true
	Priority *string `json:"priority"`

	// ServerRoleID of task
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of task
	// Example: server-role-name
	// Required: true
	RoleName *string `json:"roleName"`

	// server
	// Required: true
	Server *ServerChildResponseBody `json:"server"`

	// ServerID of task
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// Status of task
	// Example: new
	// Required: true
	Status *string `json:"status"`

	// SubUserID of task
	// Example: 1
	SubUserID int64 `json:"subUserID,omitempty"`

	// SubUserName of task
	// Example: sub-user-name
	SubUserName string `json:"subUserName,omitempty"`

	// updated time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

TaskGetTaskDetailResponseBody TaskGetTaskDetailResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Ea quo.":"Dicta iure ratione ut optio."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model TaskGetTaskDetailResponseBody

func (*TaskGetTaskDetailResponseBody) ContextValidate

func (m *TaskGetTaskDetailResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this task get task detail response body based on the context it is used

func (*TaskGetTaskDetailResponseBody) MarshalBinary

func (m *TaskGetTaskDetailResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskGetTaskDetailResponseBody) UnmarshalBinary

func (m *TaskGetTaskDetailResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskGetTaskDetailResponseBody) UnmarshalJSON

func (m *TaskGetTaskDetailResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskGetTaskDetailResponseBody) Validate

func (m *TaskGetTaskDetailResponseBody) Validate(formats strfmt.Registry) error

Validate validates this task get task detail response body

type TaskGetTaskListResponseBody

type TaskGetTaskListResponseBody struct {

	// paging
	Paging *PagingResponseBody `json:"paging,omitempty"`

	// Task list
	// Example: [{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]
	Tasks []*TaskListResponseBody `json:"tasks"`
}

TaskGetTaskListResponseBody TaskGetTaskListResponseBody Example: {"paging":{"limit":20,"offset":10,"page":1,"totalCount":200,"totalPage":10},"tasks":[{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"},{"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}]}

swagger:model TaskGetTaskListResponseBody

func (*TaskGetTaskListResponseBody) ContextValidate

func (m *TaskGetTaskListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this task get task list response body based on the context it is used

func (*TaskGetTaskListResponseBody) MarshalBinary

func (m *TaskGetTaskListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskGetTaskListResponseBody) UnmarshalBinary

func (m *TaskGetTaskListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskGetTaskListResponseBody) UnmarshalJSON

func (m *TaskGetTaskListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskGetTaskListResponseBody) Validate

func (m *TaskGetTaskListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this task get task list response body

type TaskListResponseBody

type TaskListResponseBody struct {

	// advisoryIDs of cve
	// Example: ["advisoryID"]
	AdvisoryIDs []string `json:"advisoryIDs"`

	// ApplyingPatchOn of task
	// Example: 2018-07-13
	// Format: date
	ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"`

	// created time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CVE ID of task
	// Example: CVE-2017-6799
	// Required: true
	CveID *string `json:"cveID"`

	// DetectionTools of task
	// Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}]
	DetectionTools []*DetectionToolResponseBody `json:"detectionTools"`

	// hasExploit of cve
	// Example: true
	HasExploit bool `json:"hasExploit,omitempty"`

	// hasMitigation of cve
	// Example: true
	HasMitigation bool `json:"hasMitigation,omitempty"`

	// hasWorkaroundof cve
	// Example: true
	HasWorkaround bool `json:"hasWorkaround,omitempty"`

	// ID of task
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Ignore of task
	// Example: true
	// Required: true
	Ignore *bool `json:"ignore"`

	// Ignore until of task
	// Example: vector
	IgnoreUntil string `json:"ignoreUntil,omitempty"`

	// MainUserID of task
	// Example: 1
	MainUserID int64 `json:"mainUserID,omitempty"`

	// MainUserName of task
	// Example: main-user-name
	MainUserName string `json:"mainUserName,omitempty"`

	// OS Name of server
	// Example: centos
	// Required: true
	OsFamily *string `json:"osFamily"`

	// OS Version of server
	// Example: 6
	// Required: true
	OsVersion *string `json:"osVersion"`

	// Package And CPE Names of task
	// Example: ["package1","package2"]
	PkgCpeNames []string `json:"pkgCpeNames"`

	// Flag of Not Fixed Yet of task
	// Example: true
	PkgNotFixedYet bool `json:"pkgNotFixedYet,omitempty"`

	// Priority of task
	// Example: high
	// Required: true
	Priority *string `json:"priority"`

	// ServerRoleID of task
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of task
	// Example: server-role-name
	// Required: true
	RoleName *string `json:"roleName"`

	// ServerID of task
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// ServerName of task
	// Example: serverName
	// Required: true
	ServerName *string `json:"serverName"`

	// ServerTags of task
	// Example: ["tag"]
	ServerTags []string `json:"serverTags"`

	// ServerUUID of task
	// Example: abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2
	// Required: true
	ServerUUID *string `json:"serverUuid"`

	// Status of task
	// Example: new
	// Required: true
	Status *string `json:"status"`

	// SubUserID of task
	// Example: 1
	SubUserID int64 `json:"subUserID,omitempty"`

	// SubUserName of task
	// Example: sub-user-name
	SubUserName string `json:"subUserName,omitempty"`

	// updated time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

TaskListResponseBody TaskListResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"hasExploit":true,"hasMitigation":true,"hasWorkaround":true,"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","osFamily":"centos","osVersion":"6","pkgCpeNames":["package1","package2"],"pkgNotFixedYet":true,"priority":"high","roleID":1,"roleName":"server-role-name","serverID":1,"serverName":"serverName","serverTags":["tag"],"serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model TaskListResponseBody

func (*TaskListResponseBody) ContextValidate

func (m *TaskListResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this task list response body based on the context it is used

func (*TaskListResponseBody) MarshalBinary

func (m *TaskListResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskListResponseBody) UnmarshalBinary

func (m *TaskListResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskListResponseBody) UnmarshalJSON

func (m *TaskListResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskListResponseBody) Validate

func (m *TaskListResponseBody) Validate(formats strfmt.Registry) error

Validate validates this task list response body

type TaskUpdateTaskIgnoreRequestBody

type TaskUpdateTaskIgnoreRequestBody struct {

	// ignore until.
	// Example: forever
	// Required: true
	// Enum: [nothing anything forever vector pkg_fix exploit]
	IgnoreUntil *string `json:"ignoreUntil"`
}

TaskUpdateTaskIgnoreRequestBody TaskUpdateTaskIgnoreRequestBody Example: {"ignoreUntil":"forever"}

swagger:model TaskUpdateTaskIgnoreRequestBody

func (*TaskUpdateTaskIgnoreRequestBody) ContextValidate

func (m *TaskUpdateTaskIgnoreRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task update task ignore request body based on context it is used

func (*TaskUpdateTaskIgnoreRequestBody) MarshalBinary

func (m *TaskUpdateTaskIgnoreRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskUpdateTaskIgnoreRequestBody) UnmarshalBinary

func (m *TaskUpdateTaskIgnoreRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskUpdateTaskIgnoreRequestBody) UnmarshalJSON

func (m *TaskUpdateTaskIgnoreRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskUpdateTaskIgnoreRequestBody) Validate

Validate validates this task update task ignore request body

type TaskUpdateTaskIgnoreResponseBody

type TaskUpdateTaskIgnoreResponseBody struct {

	// advisoryIDs of cve
	// Example: ["advisoryID"]
	AdvisoryIDs []string `json:"advisoryIDs"`

	// ApplyingPatchOn of task
	// Example: 2018-07-13
	// Format: date
	ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"`

	// Comment of task
	// Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}]
	Comments []*TaskCommentResponseBody `json:"comments"`

	// created time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CVE ID of task
	// Example: CVE-2017-6799
	// Required: true
	CveID *string `json:"cveID"`

	// Key Value of CveID and Cvss of task
	// Example: {"Et quibusdam cumque tempore odio est quam.":"Dolores similique dolorem recusandae qui ea.","Odit et a rerum necessitatibus voluptatibus.":"Deleniti enim ut.","Voluptas culpa distinctio sed rem ab.":"A eos facilis nostrum."}
	Cvss map[string]io.ReadCloser `json:"cvss,omitempty"`

	// DetectionMethod of task
	// Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}]
	DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"`

	// DetectionTools of task
	// Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}]
	DetectionTools []*DetectionToolResponseBody `json:"detectionTools"`

	// ID of task
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Ignore of task
	// Example: true
	// Required: true
	Ignore *bool `json:"ignore"`

	// Ignore until of task
	// Example: vector
	IgnoreUntil string `json:"ignoreUntil,omitempty"`

	// MainUserID of task
	// Example: 1
	MainUserID int64 `json:"mainUserID,omitempty"`

	// MainUserName of task
	// Example: main-user-name
	MainUserName string `json:"mainUserName,omitempty"`

	// packageStatus of task
	// Example: {"bash":"resolved"}
	PackageStatuses map[string]string `json:"packageStatuses,omitempty"`

	// Pcakge And Cpe list of task
	// Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"`

	// Priority of task
	// Example: high
	// Required: true
	Priority *string `json:"priority"`

	// ServerRoleID of task
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of task
	// Example: server-role-name
	// Required: true
	RoleName *string `json:"roleName"`

	// server
	// Required: true
	Server *ServerChildResponseBody `json:"server"`

	// ServerID of task
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// Status of task
	// Example: new
	// Required: true
	Status *string `json:"status"`

	// SubUserID of task
	// Example: 1
	SubUserID int64 `json:"subUserID,omitempty"`

	// SubUserName of task
	// Example: sub-user-name
	SubUserName string `json:"subUserName,omitempty"`

	// updated time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

TaskUpdateTaskIgnoreResponseBody TaskUpdateTaskIgnoreResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Explicabo laborum fugit id distinctio ipsum soluta.":"Praesentium magnam beatae similique quisquam error.","Quidem minus.":"Quaerat facere veniam est exercitationem.","Ullam non et voluptatum.":"Nemo similique."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model TaskUpdateTaskIgnoreResponseBody

func (*TaskUpdateTaskIgnoreResponseBody) ContextValidate

func (m *TaskUpdateTaskIgnoreResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this task update task ignore response body based on the context it is used

func (*TaskUpdateTaskIgnoreResponseBody) MarshalBinary

func (m *TaskUpdateTaskIgnoreResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskUpdateTaskIgnoreResponseBody) UnmarshalBinary

func (m *TaskUpdateTaskIgnoreResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskUpdateTaskIgnoreResponseBody) UnmarshalJSON

func (m *TaskUpdateTaskIgnoreResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskUpdateTaskIgnoreResponseBody) Validate

Validate validates this task update task ignore response body

type TaskUpdateTaskRequestBody

type TaskUpdateTaskRequestBody struct {

	// applyingPatchOn (YYYY-MM-DD) UTC
	// Example: 2018-07-14
	// Format: date
	ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"`

	// mainUserID of task
	// Example: 1
	MainUserID int64 `json:"mainUserID,omitempty"`

	// Priority of task
	// Example: medium
	// Enum: [none high medium low]
	Priority string `json:"priority,omitempty"`

	// Status of task
	// Example: ongoing
	// Enum: [new investigating ongoing not_affected risk_accepted workaround]
	Status string `json:"status,omitempty"`

	// subUserID of task
	// Example: 2
	SubUserID int64 `json:"subUserID,omitempty"`
}

TaskUpdateTaskRequestBody TaskUpdateTaskRequestBody Example: {"applyingPatchOn":"2018-07-14","mainUserID":1,"priority":"none","status":"new","subUserID":2}

swagger:model TaskUpdateTaskRequestBody

func (*TaskUpdateTaskRequestBody) ContextValidate

func (m *TaskUpdateTaskRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this task update task request body based on context it is used

func (*TaskUpdateTaskRequestBody) MarshalBinary

func (m *TaskUpdateTaskRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskUpdateTaskRequestBody) UnmarshalBinary

func (m *TaskUpdateTaskRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskUpdateTaskRequestBody) UnmarshalJSON

func (m *TaskUpdateTaskRequestBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskUpdateTaskRequestBody) Validate

func (m *TaskUpdateTaskRequestBody) Validate(formats strfmt.Registry) error

Validate validates this task update task request body

type TaskUpdateTaskResponseBody

type TaskUpdateTaskResponseBody struct {

	// advisoryIDs of cve
	// Example: ["advisoryID"]
	AdvisoryIDs []string `json:"advisoryIDs"`

	// ApplyingPatchOn of task
	// Example: 2018-07-13
	// Format: date
	ApplyingPatchOn strfmt.Date `json:"applyingPatchOn,omitempty"`

	// Comment of task
	// Example: [{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}]
	Comments []*TaskCommentResponseBody `json:"comments"`

	// created time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// CVE ID of task
	// Example: CVE-2017-6799
	// Required: true
	CveID *string `json:"cveID"`

	// Key Value of CveID and Cvss of task
	// Example: {"Et voluptatem et omnis quibusdam eum ex.":"Ut quas.","Saepe qui eligendi est accusamus dolores.":"Repellat doloribus neque quasi sequi impedit."}
	Cvss map[string]io.ReadCloser `json:"cvss,omitempty"`

	// DetectionMethod of task
	// Example: [{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}]
	DetectionMethods []*DetectionMethodResponseBody `json:"detectionMethods"`

	// DetectionTools of task
	// Example: [{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}]
	DetectionTools []*DetectionToolResponseBody `json:"detectionTools"`

	// ID of task
	// Example: 1
	// Required: true
	ID *int64 `json:"id"`

	// Ignore of task
	// Example: true
	// Required: true
	Ignore *bool `json:"ignore"`

	// Ignore until of task
	// Example: vector
	IgnoreUntil string `json:"ignoreUntil,omitempty"`

	// MainUserID of task
	// Example: 1
	MainUserID int64 `json:"mainUserID,omitempty"`

	// MainUserName of task
	// Example: main-user-name
	MainUserName string `json:"mainUserName,omitempty"`

	// packageStatus of task
	// Example: {"bash":"resolved"}
	PackageStatuses map[string]string `json:"packageStatuses,omitempty"`

	// Pcakge And Cpe list of task
	// Example: [{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}]
	PkgCpes []*PkgCpeChildResponseBody `json:"pkgCpes"`

	// Priority of task
	// Example: high
	// Required: true
	Priority *string `json:"priority"`

	// ServerRoleID of task
	// Example: 1
	// Required: true
	RoleID *int64 `json:"roleID"`

	// ServerRoleName of task
	// Example: server-role-name
	// Required: true
	RoleName *string `json:"roleName"`

	// server
	// Required: true
	Server *ServerChildResponseBody `json:"server"`

	// ServerID of task
	// Example: 1
	// Required: true
	ServerID *int64 `json:"serverID"`

	// Status of task
	// Example: new
	// Required: true
	Status *string `json:"status"`

	// SubUserID of task
	// Example: 1
	SubUserID int64 `json:"subUserID,omitempty"`

	// SubUserName of task
	// Example: sub-user-name
	SubUserName string `json:"subUserName,omitempty"`

	// updated time of task
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

TaskUpdateTaskResponseBody TaskUpdateTaskResponseBody Example: {"advisoryIDs":["advisoryID"],"applyingPatchOn":"2018-07-13","comments":[{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"},{"comment":"comment","createdAt":"2018-07-14T08:13:28Z","id":1,"type":"system","updatedAt":"2018-07-14T08:13:28Z","userID":1,"userName":"user-name"}],"createdAt":"2018-07-14T08:13:28Z","cveID":"CVE-2017-6799","cvss":{"Voluptates cumque quam et sit qui.":"Temporibus esse eius et aut quo."},"detectionMethods":[{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100},{"name":"vuls","reliabilityScore":100}],"detectionTools":[{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"},{"name":"changelog","patchAppliedAt":"2018-07-14T08:13:28Z"}],"id":1,"ignore":true,"ignoreUntil":"vector","mainUserID":1,"mainUserName":"main-user-name","packageStatuses":{"bash":"resolved"},"pkgCpes":[{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"},{"affectedProcs":[{"name":"apache","pid":"12"},{"name":"apache","pid":"12"},{"name":"apache","pid":"12"}],"cpeID":1,"cpeURI":"cpe:2.3:a:clamav:clamav:*:*:*:*:*:*:*:*","createdAt":"2018-07-14T08:13:28Z","name":"package01","newRelease":"new release","newVersion":"2.0","pkgID":1,"release":"release","repository":"repository","serverID":1,"updatedAt":"2018-07-14T08:13:28Z","version":"1.0"}],"priority":"high","roleID":1,"roleName":"server-role-name","server":{"createdAt":"2018-07-14T08:13:28Z","defaultUserId":1,"defaultUserName":"vuls user","hostUuid":"141df30a-ecd0-39f4-a8f4-1ef216a4b5f2","id":1,"lastScannedAt":"2018-07-14T08:13:28Z","lastUploadedAt":"2018-07-14T08:13:28Z","needKernelRestart":true,"osFamily":"centos","osVersion":"6","serverName":"server01","serverUuid":"abcdef12-ecd0-39f4-a8f4-1ef216a4b5f2","serverroleId":1,"serverroleName":"server_role01","tags":["Fugit repellendus illo.","Aperiam ipsa voluptate autem unde.","Fuga accusamus aut."],"updatedAt":"2018-07-14T08:13:28Z"},"serverID":1,"status":"new","subUserID":1,"subUserName":"sub-user-name","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model TaskUpdateTaskResponseBody

func (*TaskUpdateTaskResponseBody) ContextValidate

func (m *TaskUpdateTaskResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this task update task response body based on the context it is used

func (*TaskUpdateTaskResponseBody) MarshalBinary

func (m *TaskUpdateTaskResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaskUpdateTaskResponseBody) UnmarshalBinary

func (m *TaskUpdateTaskResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaskUpdateTaskResponseBody) UnmarshalJSON

func (m *TaskUpdateTaskResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TaskUpdateTaskResponseBody) Validate

func (m *TaskUpdateTaskResponseBody) Validate(formats strfmt.Registry) error

Validate validates this task update task response body

type TmpMetricResponseBody

type TmpMetricResponseBody struct {

	// created time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt"`

	// E of tmpMetric
	// Required: true
	E *string `json:"e"`

	// RC of tmpMetric
	// Required: true
	Rc *string `json:"rc"`

	// RL of tmpMetric
	// Required: true
	Rl *string `json:"rl"`

	// updated time
	// Example: 2018-07-14T08:13:28Z
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

TmpMetricResponseBody TmpMetricResponseBody

TmpMetric describes a tmpMetric Example: {"createdAt":"2018-07-14T08:13:28Z","e":"","rc":"","rl":"","updatedAt":"2018-07-14T08:13:28Z"}

swagger:model TmpMetricResponseBody

func (*TmpMetricResponseBody) ContextValidate

func (m *TmpMetricResponseBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tmp metric response body based on context it is used

func (*TmpMetricResponseBody) MarshalBinary

func (m *TmpMetricResponseBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TmpMetricResponseBody) UnmarshalBinary

func (m *TmpMetricResponseBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TmpMetricResponseBody) UnmarshalJSON

func (m *TmpMetricResponseBody) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object while disallowing additional properties from JSON

func (*TmpMetricResponseBody) Validate

func (m *TmpMetricResponseBody) Validate(formats strfmt.Registry) error

Validate validates this tmp metric response body

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL