Documentation ¶
Index ¶
- type Client
- func (a *Client) PkgCpeAddCpe(params *PkgCpeAddCpeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PkgCpeAddCpeOK, error)
- func (a *Client) PkgCpeDeleteCpe(params *PkgCpeDeleteCpeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PkgCpeDeleteCpeOK, error)
- func (a *Client) PkgCpeDeleteCpeDeprecated(params *PkgCpeDeleteCpeDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PkgCpeDeleteCpeDeprecatedOK, error)
- func (a *Client) PkgCpeGetCpeDetail(params *PkgCpeGetCpeDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PkgCpeGetCpeDetailOK, error)
- func (a *Client) PkgCpeGetPkgCpeList(params *PkgCpeGetPkgCpeListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PkgCpeGetPkgCpeListOK, error)
- func (a *Client) PkgCpeGetPkgDetail(params *PkgCpeGetPkgDetailParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PkgCpeGetPkgDetailOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PkgCpeAddCpeOK
- type PkgCpeAddCpeParams
- func (o *PkgCpeAddCpeParams) SetAddCpeRequestBody(addCpeRequestBody *models.PkgCpeAddCpeRequestBody)
- func (o *PkgCpeAddCpeParams) SetAuthorization(authorization *string)
- func (o *PkgCpeAddCpeParams) SetContext(ctx context.Context)
- func (o *PkgCpeAddCpeParams) SetDefaults()
- func (o *PkgCpeAddCpeParams) SetHTTPClient(client *http.Client)
- func (o *PkgCpeAddCpeParams) SetTimeout(timeout time.Duration)
- func (o *PkgCpeAddCpeParams) WithAddCpeRequestBody(addCpeRequestBody *models.PkgCpeAddCpeRequestBody) *PkgCpeAddCpeParams
- func (o *PkgCpeAddCpeParams) WithAuthorization(authorization *string) *PkgCpeAddCpeParams
- func (o *PkgCpeAddCpeParams) WithContext(ctx context.Context) *PkgCpeAddCpeParams
- func (o *PkgCpeAddCpeParams) WithDefaults() *PkgCpeAddCpeParams
- func (o *PkgCpeAddCpeParams) WithHTTPClient(client *http.Client) *PkgCpeAddCpeParams
- func (o *PkgCpeAddCpeParams) WithTimeout(timeout time.Duration) *PkgCpeAddCpeParams
- func (o *PkgCpeAddCpeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PkgCpeAddCpeReader
- type PkgCpeDeleteCpeDeprecatedOK
- type PkgCpeDeleteCpeDeprecatedParams
- func NewPkgCpeDeleteCpeDeprecatedParams() *PkgCpeDeleteCpeDeprecatedParams
- func NewPkgCpeDeleteCpeDeprecatedParamsWithContext(ctx context.Context) *PkgCpeDeleteCpeDeprecatedParams
- func NewPkgCpeDeleteCpeDeprecatedParamsWithHTTPClient(client *http.Client) *PkgCpeDeleteCpeDeprecatedParams
- func NewPkgCpeDeleteCpeDeprecatedParamsWithTimeout(timeout time.Duration) *PkgCpeDeleteCpeDeprecatedParams
- func (o *PkgCpeDeleteCpeDeprecatedParams) SetAuthorization(authorization *string)
- func (o *PkgCpeDeleteCpeDeprecatedParams) SetContext(ctx context.Context)
- func (o *PkgCpeDeleteCpeDeprecatedParams) SetDefaults()
- func (o *PkgCpeDeleteCpeDeprecatedParams) SetDeleteCpeDeprecatedRequestBody(deleteCpeDeprecatedRequestBody *models.PkgCpeDeleteCpeDeprecatedRequestBody)
- func (o *PkgCpeDeleteCpeDeprecatedParams) SetHTTPClient(client *http.Client)
- func (o *PkgCpeDeleteCpeDeprecatedParams) SetTimeout(timeout time.Duration)
- func (o *PkgCpeDeleteCpeDeprecatedParams) WithAuthorization(authorization *string) *PkgCpeDeleteCpeDeprecatedParams
- func (o *PkgCpeDeleteCpeDeprecatedParams) WithContext(ctx context.Context) *PkgCpeDeleteCpeDeprecatedParams
- func (o *PkgCpeDeleteCpeDeprecatedParams) WithDefaults() *PkgCpeDeleteCpeDeprecatedParams
- func (o *PkgCpeDeleteCpeDeprecatedParams) WithDeleteCpeDeprecatedRequestBody(deleteCpeDeprecatedRequestBody *models.PkgCpeDeleteCpeDeprecatedRequestBody) *PkgCpeDeleteCpeDeprecatedParams
- func (o *PkgCpeDeleteCpeDeprecatedParams) WithHTTPClient(client *http.Client) *PkgCpeDeleteCpeDeprecatedParams
- func (o *PkgCpeDeleteCpeDeprecatedParams) WithTimeout(timeout time.Duration) *PkgCpeDeleteCpeDeprecatedParams
- func (o *PkgCpeDeleteCpeDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PkgCpeDeleteCpeDeprecatedReader
- type PkgCpeDeleteCpeOK
- type PkgCpeDeleteCpeParams
- func NewPkgCpeDeleteCpeParams() *PkgCpeDeleteCpeParams
- func NewPkgCpeDeleteCpeParamsWithContext(ctx context.Context) *PkgCpeDeleteCpeParams
- func NewPkgCpeDeleteCpeParamsWithHTTPClient(client *http.Client) *PkgCpeDeleteCpeParams
- func NewPkgCpeDeleteCpeParamsWithTimeout(timeout time.Duration) *PkgCpeDeleteCpeParams
- func (o *PkgCpeDeleteCpeParams) SetAuthorization(authorization *string)
- func (o *PkgCpeDeleteCpeParams) SetContext(ctx context.Context)
- func (o *PkgCpeDeleteCpeParams) SetCpeID(cpeID int64)
- func (o *PkgCpeDeleteCpeParams) SetDefaults()
- func (o *PkgCpeDeleteCpeParams) SetHTTPClient(client *http.Client)
- func (o *PkgCpeDeleteCpeParams) SetTimeout(timeout time.Duration)
- func (o *PkgCpeDeleteCpeParams) WithAuthorization(authorization *string) *PkgCpeDeleteCpeParams
- func (o *PkgCpeDeleteCpeParams) WithContext(ctx context.Context) *PkgCpeDeleteCpeParams
- func (o *PkgCpeDeleteCpeParams) WithCpeID(cpeID int64) *PkgCpeDeleteCpeParams
- func (o *PkgCpeDeleteCpeParams) WithDefaults() *PkgCpeDeleteCpeParams
- func (o *PkgCpeDeleteCpeParams) WithHTTPClient(client *http.Client) *PkgCpeDeleteCpeParams
- func (o *PkgCpeDeleteCpeParams) WithTimeout(timeout time.Duration) *PkgCpeDeleteCpeParams
- func (o *PkgCpeDeleteCpeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PkgCpeDeleteCpeReader
- type PkgCpeGetCpeDetailOK
- type PkgCpeGetCpeDetailParams
- func NewPkgCpeGetCpeDetailParams() *PkgCpeGetCpeDetailParams
- func NewPkgCpeGetCpeDetailParamsWithContext(ctx context.Context) *PkgCpeGetCpeDetailParams
- func NewPkgCpeGetCpeDetailParamsWithHTTPClient(client *http.Client) *PkgCpeGetCpeDetailParams
- func NewPkgCpeGetCpeDetailParamsWithTimeout(timeout time.Duration) *PkgCpeGetCpeDetailParams
- func (o *PkgCpeGetCpeDetailParams) SetAuthorization(authorization *string)
- func (o *PkgCpeGetCpeDetailParams) SetContext(ctx context.Context)
- func (o *PkgCpeGetCpeDetailParams) SetCpeID(cpeID int64)
- func (o *PkgCpeGetCpeDetailParams) SetDefaults()
- func (o *PkgCpeGetCpeDetailParams) SetHTTPClient(client *http.Client)
- func (o *PkgCpeGetCpeDetailParams) SetTimeout(timeout time.Duration)
- func (o *PkgCpeGetCpeDetailParams) WithAuthorization(authorization *string) *PkgCpeGetCpeDetailParams
- func (o *PkgCpeGetCpeDetailParams) WithContext(ctx context.Context) *PkgCpeGetCpeDetailParams
- func (o *PkgCpeGetCpeDetailParams) WithCpeID(cpeID int64) *PkgCpeGetCpeDetailParams
- func (o *PkgCpeGetCpeDetailParams) WithDefaults() *PkgCpeGetCpeDetailParams
- func (o *PkgCpeGetCpeDetailParams) WithHTTPClient(client *http.Client) *PkgCpeGetCpeDetailParams
- func (o *PkgCpeGetCpeDetailParams) WithTimeout(timeout time.Duration) *PkgCpeGetCpeDetailParams
- func (o *PkgCpeGetCpeDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PkgCpeGetCpeDetailReader
- type PkgCpeGetPkgCpeListOK
- type PkgCpeGetPkgCpeListParams
- func NewPkgCpeGetPkgCpeListParams() *PkgCpeGetPkgCpeListParams
- func NewPkgCpeGetPkgCpeListParamsWithContext(ctx context.Context) *PkgCpeGetPkgCpeListParams
- func NewPkgCpeGetPkgCpeListParamsWithHTTPClient(client *http.Client) *PkgCpeGetPkgCpeListParams
- func NewPkgCpeGetPkgCpeListParamsWithTimeout(timeout time.Duration) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) SetAuthorization(authorization *string)
- func (o *PkgCpeGetPkgCpeListParams) SetContext(ctx context.Context)
- func (o *PkgCpeGetPkgCpeListParams) SetDefaults()
- func (o *PkgCpeGetPkgCpeListParams) SetFilterCveID(filterCveID *string)
- func (o *PkgCpeGetPkgCpeListParams) SetFilterRoleID(filterRoleID *int64)
- func (o *PkgCpeGetPkgCpeListParams) SetFilterServerID(filterServerID *int64)
- func (o *PkgCpeGetPkgCpeListParams) SetFilterTaskID(filterTaskID *int64)
- func (o *PkgCpeGetPkgCpeListParams) SetHTTPClient(client *http.Client)
- func (o *PkgCpeGetPkgCpeListParams) SetLimit(limit *int64)
- func (o *PkgCpeGetPkgCpeListParams) SetOffset(offset *int64)
- func (o *PkgCpeGetPkgCpeListParams) SetPage(page *int64)
- func (o *PkgCpeGetPkgCpeListParams) SetTimeout(timeout time.Duration)
- func (o *PkgCpeGetPkgCpeListParams) WithAuthorization(authorization *string) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithContext(ctx context.Context) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithDefaults() *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithFilterCveID(filterCveID *string) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithFilterRoleID(filterRoleID *int64) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithFilterServerID(filterServerID *int64) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithFilterTaskID(filterTaskID *int64) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithHTTPClient(client *http.Client) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithLimit(limit *int64) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithOffset(offset *int64) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithPage(page *int64) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WithTimeout(timeout time.Duration) *PkgCpeGetPkgCpeListParams
- func (o *PkgCpeGetPkgCpeListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PkgCpeGetPkgCpeListReader
- type PkgCpeGetPkgDetailOK
- type PkgCpeGetPkgDetailParams
- func NewPkgCpeGetPkgDetailParams() *PkgCpeGetPkgDetailParams
- func NewPkgCpeGetPkgDetailParamsWithContext(ctx context.Context) *PkgCpeGetPkgDetailParams
- func NewPkgCpeGetPkgDetailParamsWithHTTPClient(client *http.Client) *PkgCpeGetPkgDetailParams
- func NewPkgCpeGetPkgDetailParamsWithTimeout(timeout time.Duration) *PkgCpeGetPkgDetailParams
- func (o *PkgCpeGetPkgDetailParams) SetAuthorization(authorization *string)
- func (o *PkgCpeGetPkgDetailParams) SetContext(ctx context.Context)
- func (o *PkgCpeGetPkgDetailParams) SetDefaults()
- func (o *PkgCpeGetPkgDetailParams) SetHTTPClient(client *http.Client)
- func (o *PkgCpeGetPkgDetailParams) SetPkgID(pkgID int64)
- func (o *PkgCpeGetPkgDetailParams) SetTimeout(timeout time.Duration)
- func (o *PkgCpeGetPkgDetailParams) WithAuthorization(authorization *string) *PkgCpeGetPkgDetailParams
- func (o *PkgCpeGetPkgDetailParams) WithContext(ctx context.Context) *PkgCpeGetPkgDetailParams
- func (o *PkgCpeGetPkgDetailParams) WithDefaults() *PkgCpeGetPkgDetailParams
- func (o *PkgCpeGetPkgDetailParams) WithHTTPClient(client *http.Client) *PkgCpeGetPkgDetailParams
- func (o *PkgCpeGetPkgDetailParams) WithPkgID(pkgID int64) *PkgCpeGetPkgDetailParams
- func (o *PkgCpeGetPkgDetailParams) WithTimeout(timeout time.Duration) *PkgCpeGetPkgDetailParams
- func (o *PkgCpeGetPkgDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PkgCpeGetPkgDetailReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for pkg cpe API
func (*Client) PkgCpeAddCpe ¶
func (a *Client) PkgCpeAddCpe(params *PkgCpeAddCpeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeAddCpeOK, error)
PkgCpeAddCpe adds cpe pkg cpe
add cpe
func (*Client) PkgCpeDeleteCpe ¶
func (a *Client) PkgCpeDeleteCpe(params *PkgCpeDeleteCpeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeDeleteCpeOK, error)
PkgCpeDeleteCpe deletes cpe pkg cpe
delete cpe (urlにcpeIDを指定してください。cpeIDの指定のないアクセス方法は今後削除されます。)
func (*Client) PkgCpeDeleteCpeDeprecated ¶
func (a *Client) PkgCpeDeleteCpeDeprecated(params *PkgCpeDeleteCpeDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeDeleteCpeDeprecatedOK, error)
PkgCpeDeleteCpeDeprecated deletes cpe deprecated pkg cpe
[deprecated] urlにcpeIDを指定して利用してください。cpeIDの指定のないこちらのアクセス方法は今後削除されます。
func (*Client) PkgCpeGetCpeDetail ¶
func (a *Client) PkgCpeGetCpeDetail(params *PkgCpeGetCpeDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeGetCpeDetailOK, error)
PkgCpeGetCpeDetail gets cpe detail pkg cpe
cpe detail
func (*Client) PkgCpeGetPkgCpeList ¶
func (a *Client) PkgCpeGetPkgCpeList(params *PkgCpeGetPkgCpeListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeGetPkgCpeListOK, error)
PkgCpeGetPkgCpeList gets pkg cpe list pkg cpe
pkgCpe list
func (*Client) PkgCpeGetPkgDetail ¶
func (a *Client) PkgCpeGetPkgDetail(params *PkgCpeGetPkgDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeGetPkgDetailOK, error)
PkgCpeGetPkgDetail gets pkg detail pkg cpe
pkg detail
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PkgCpeAddCpe(params *PkgCpeAddCpeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeAddCpeOK, error) PkgCpeDeleteCpe(params *PkgCpeDeleteCpeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeDeleteCpeOK, error) PkgCpeDeleteCpeDeprecated(params *PkgCpeDeleteCpeDeprecatedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeDeleteCpeDeprecatedOK, error) PkgCpeGetCpeDetail(params *PkgCpeGetCpeDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeGetCpeDetailOK, error) PkgCpeGetPkgCpeList(params *PkgCpeGetPkgCpeListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeGetPkgCpeListOK, error) PkgCpeGetPkgDetail(params *PkgCpeGetPkgDetailParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PkgCpeGetPkgDetailOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new pkg cpe API client.
type PkgCpeAddCpeOK ¶
type PkgCpeAddCpeOK struct {
Payload *models.PkgCpeAddCpeResponseBody
}
PkgCpeAddCpeOK describes a response with status code 200, with default header values.
OK response.
func NewPkgCpeAddCpeOK ¶
func NewPkgCpeAddCpeOK() *PkgCpeAddCpeOK
NewPkgCpeAddCpeOK creates a PkgCpeAddCpeOK with default headers values
func (*PkgCpeAddCpeOK) Error ¶
func (o *PkgCpeAddCpeOK) Error() string
func (*PkgCpeAddCpeOK) GetPayload ¶
func (o *PkgCpeAddCpeOK) GetPayload() *models.PkgCpeAddCpeResponseBody
type PkgCpeAddCpeParams ¶
type PkgCpeAddCpeParams struct { // AddCpeRequestBody. AddCpeRequestBody *models.PkgCpeAddCpeRequestBody /* Authorization. api key auth */ Authorization *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PkgCpeAddCpeParams contains all the parameters to send to the API endpoint
for the pkg cpe add cpe operation. Typically these are written to a http.Request.
func NewPkgCpeAddCpeParams ¶
func NewPkgCpeAddCpeParams() *PkgCpeAddCpeParams
NewPkgCpeAddCpeParams creates a new PkgCpeAddCpeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPkgCpeAddCpeParamsWithContext ¶
func NewPkgCpeAddCpeParamsWithContext(ctx context.Context) *PkgCpeAddCpeParams
NewPkgCpeAddCpeParamsWithContext creates a new PkgCpeAddCpeParams object with the ability to set a context for a request.
func NewPkgCpeAddCpeParamsWithHTTPClient ¶
func NewPkgCpeAddCpeParamsWithHTTPClient(client *http.Client) *PkgCpeAddCpeParams
NewPkgCpeAddCpeParamsWithHTTPClient creates a new PkgCpeAddCpeParams object with the ability to set a custom HTTPClient for a request.
func NewPkgCpeAddCpeParamsWithTimeout ¶
func NewPkgCpeAddCpeParamsWithTimeout(timeout time.Duration) *PkgCpeAddCpeParams
NewPkgCpeAddCpeParamsWithTimeout creates a new PkgCpeAddCpeParams object with the ability to set a timeout on a request.
func (*PkgCpeAddCpeParams) SetAddCpeRequestBody ¶
func (o *PkgCpeAddCpeParams) SetAddCpeRequestBody(addCpeRequestBody *models.PkgCpeAddCpeRequestBody)
SetAddCpeRequestBody adds the addCpeRequestBody to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) SetAuthorization ¶
func (o *PkgCpeAddCpeParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) SetContext ¶
func (o *PkgCpeAddCpeParams) SetContext(ctx context.Context)
SetContext adds the context to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) SetDefaults ¶
func (o *PkgCpeAddCpeParams) SetDefaults()
SetDefaults hydrates default values in the pkg cpe add cpe params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeAddCpeParams) SetHTTPClient ¶
func (o *PkgCpeAddCpeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) SetTimeout ¶
func (o *PkgCpeAddCpeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) WithAddCpeRequestBody ¶
func (o *PkgCpeAddCpeParams) WithAddCpeRequestBody(addCpeRequestBody *models.PkgCpeAddCpeRequestBody) *PkgCpeAddCpeParams
WithAddCpeRequestBody adds the addCpeRequestBody to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) WithAuthorization ¶
func (o *PkgCpeAddCpeParams) WithAuthorization(authorization *string) *PkgCpeAddCpeParams
WithAuthorization adds the authorization to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) WithContext ¶
func (o *PkgCpeAddCpeParams) WithContext(ctx context.Context) *PkgCpeAddCpeParams
WithContext adds the context to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) WithDefaults ¶
func (o *PkgCpeAddCpeParams) WithDefaults() *PkgCpeAddCpeParams
WithDefaults hydrates default values in the pkg cpe add cpe params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeAddCpeParams) WithHTTPClient ¶
func (o *PkgCpeAddCpeParams) WithHTTPClient(client *http.Client) *PkgCpeAddCpeParams
WithHTTPClient adds the HTTPClient to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) WithTimeout ¶
func (o *PkgCpeAddCpeParams) WithTimeout(timeout time.Duration) *PkgCpeAddCpeParams
WithTimeout adds the timeout to the pkg cpe add cpe params
func (*PkgCpeAddCpeParams) WriteToRequest ¶
func (o *PkgCpeAddCpeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PkgCpeAddCpeReader ¶
type PkgCpeAddCpeReader struct {
// contains filtered or unexported fields
}
PkgCpeAddCpeReader is a Reader for the PkgCpeAddCpe structure.
func (*PkgCpeAddCpeReader) ReadResponse ¶
func (o *PkgCpeAddCpeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PkgCpeDeleteCpeDeprecatedOK ¶
type PkgCpeDeleteCpeDeprecatedOK struct { }
PkgCpeDeleteCpeDeprecatedOK describes a response with status code 200, with default header values.
OK response.
func NewPkgCpeDeleteCpeDeprecatedOK ¶
func NewPkgCpeDeleteCpeDeprecatedOK() *PkgCpeDeleteCpeDeprecatedOK
NewPkgCpeDeleteCpeDeprecatedOK creates a PkgCpeDeleteCpeDeprecatedOK with default headers values
func (*PkgCpeDeleteCpeDeprecatedOK) Error ¶
func (o *PkgCpeDeleteCpeDeprecatedOK) Error() string
type PkgCpeDeleteCpeDeprecatedParams ¶
type PkgCpeDeleteCpeDeprecatedParams struct { /* Authorization. api key auth */ Authorization *string // DeleteCpeDeprecatedRequestBody. DeleteCpeDeprecatedRequestBody *models.PkgCpeDeleteCpeDeprecatedRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PkgCpeDeleteCpeDeprecatedParams contains all the parameters to send to the API endpoint
for the pkg cpe delete cpe deprecated operation. Typically these are written to a http.Request.
func NewPkgCpeDeleteCpeDeprecatedParams ¶
func NewPkgCpeDeleteCpeDeprecatedParams() *PkgCpeDeleteCpeDeprecatedParams
NewPkgCpeDeleteCpeDeprecatedParams creates a new PkgCpeDeleteCpeDeprecatedParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPkgCpeDeleteCpeDeprecatedParamsWithContext ¶
func NewPkgCpeDeleteCpeDeprecatedParamsWithContext(ctx context.Context) *PkgCpeDeleteCpeDeprecatedParams
NewPkgCpeDeleteCpeDeprecatedParamsWithContext creates a new PkgCpeDeleteCpeDeprecatedParams object with the ability to set a context for a request.
func NewPkgCpeDeleteCpeDeprecatedParamsWithHTTPClient ¶
func NewPkgCpeDeleteCpeDeprecatedParamsWithHTTPClient(client *http.Client) *PkgCpeDeleteCpeDeprecatedParams
NewPkgCpeDeleteCpeDeprecatedParamsWithHTTPClient creates a new PkgCpeDeleteCpeDeprecatedParams object with the ability to set a custom HTTPClient for a request.
func NewPkgCpeDeleteCpeDeprecatedParamsWithTimeout ¶
func NewPkgCpeDeleteCpeDeprecatedParamsWithTimeout(timeout time.Duration) *PkgCpeDeleteCpeDeprecatedParams
NewPkgCpeDeleteCpeDeprecatedParamsWithTimeout creates a new PkgCpeDeleteCpeDeprecatedParams object with the ability to set a timeout on a request.
func (*PkgCpeDeleteCpeDeprecatedParams) SetAuthorization ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) SetContext ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) SetContext(ctx context.Context)
SetContext adds the context to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) SetDefaults ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) SetDefaults()
SetDefaults hydrates default values in the pkg cpe delete cpe deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeDeleteCpeDeprecatedParams) SetDeleteCpeDeprecatedRequestBody ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) SetDeleteCpeDeprecatedRequestBody(deleteCpeDeprecatedRequestBody *models.PkgCpeDeleteCpeDeprecatedRequestBody)
SetDeleteCpeDeprecatedRequestBody adds the deleteCpeDeprecatedRequestBody to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) SetHTTPClient ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) SetTimeout ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) WithAuthorization ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) WithAuthorization(authorization *string) *PkgCpeDeleteCpeDeprecatedParams
WithAuthorization adds the authorization to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) WithContext ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) WithContext(ctx context.Context) *PkgCpeDeleteCpeDeprecatedParams
WithContext adds the context to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) WithDefaults ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) WithDefaults() *PkgCpeDeleteCpeDeprecatedParams
WithDefaults hydrates default values in the pkg cpe delete cpe deprecated params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeDeleteCpeDeprecatedParams) WithDeleteCpeDeprecatedRequestBody ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) WithDeleteCpeDeprecatedRequestBody(deleteCpeDeprecatedRequestBody *models.PkgCpeDeleteCpeDeprecatedRequestBody) *PkgCpeDeleteCpeDeprecatedParams
WithDeleteCpeDeprecatedRequestBody adds the deleteCpeDeprecatedRequestBody to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) WithHTTPClient ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) WithHTTPClient(client *http.Client) *PkgCpeDeleteCpeDeprecatedParams
WithHTTPClient adds the HTTPClient to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) WithTimeout ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) WithTimeout(timeout time.Duration) *PkgCpeDeleteCpeDeprecatedParams
WithTimeout adds the timeout to the pkg cpe delete cpe deprecated params
func (*PkgCpeDeleteCpeDeprecatedParams) WriteToRequest ¶
func (o *PkgCpeDeleteCpeDeprecatedParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PkgCpeDeleteCpeDeprecatedReader ¶
type PkgCpeDeleteCpeDeprecatedReader struct {
// contains filtered or unexported fields
}
PkgCpeDeleteCpeDeprecatedReader is a Reader for the PkgCpeDeleteCpeDeprecated structure.
func (*PkgCpeDeleteCpeDeprecatedReader) ReadResponse ¶
func (o *PkgCpeDeleteCpeDeprecatedReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PkgCpeDeleteCpeOK ¶
type PkgCpeDeleteCpeOK struct { }
PkgCpeDeleteCpeOK describes a response with status code 200, with default header values.
OK response.
func NewPkgCpeDeleteCpeOK ¶
func NewPkgCpeDeleteCpeOK() *PkgCpeDeleteCpeOK
NewPkgCpeDeleteCpeOK creates a PkgCpeDeleteCpeOK with default headers values
func (*PkgCpeDeleteCpeOK) Error ¶
func (o *PkgCpeDeleteCpeOK) Error() string
type PkgCpeDeleteCpeParams ¶
type PkgCpeDeleteCpeParams struct { /* Authorization. api key auth */ Authorization *string /* CpeID. cpe ID Format: int64 */ CpeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PkgCpeDeleteCpeParams contains all the parameters to send to the API endpoint
for the pkg cpe delete cpe operation. Typically these are written to a http.Request.
func NewPkgCpeDeleteCpeParams ¶
func NewPkgCpeDeleteCpeParams() *PkgCpeDeleteCpeParams
NewPkgCpeDeleteCpeParams creates a new PkgCpeDeleteCpeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPkgCpeDeleteCpeParamsWithContext ¶
func NewPkgCpeDeleteCpeParamsWithContext(ctx context.Context) *PkgCpeDeleteCpeParams
NewPkgCpeDeleteCpeParamsWithContext creates a new PkgCpeDeleteCpeParams object with the ability to set a context for a request.
func NewPkgCpeDeleteCpeParamsWithHTTPClient ¶
func NewPkgCpeDeleteCpeParamsWithHTTPClient(client *http.Client) *PkgCpeDeleteCpeParams
NewPkgCpeDeleteCpeParamsWithHTTPClient creates a new PkgCpeDeleteCpeParams object with the ability to set a custom HTTPClient for a request.
func NewPkgCpeDeleteCpeParamsWithTimeout ¶
func NewPkgCpeDeleteCpeParamsWithTimeout(timeout time.Duration) *PkgCpeDeleteCpeParams
NewPkgCpeDeleteCpeParamsWithTimeout creates a new PkgCpeDeleteCpeParams object with the ability to set a timeout on a request.
func (*PkgCpeDeleteCpeParams) SetAuthorization ¶
func (o *PkgCpeDeleteCpeParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) SetContext ¶
func (o *PkgCpeDeleteCpeParams) SetContext(ctx context.Context)
SetContext adds the context to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) SetCpeID ¶
func (o *PkgCpeDeleteCpeParams) SetCpeID(cpeID int64)
SetCpeID adds the cpeId to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) SetDefaults ¶
func (o *PkgCpeDeleteCpeParams) SetDefaults()
SetDefaults hydrates default values in the pkg cpe delete cpe params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeDeleteCpeParams) SetHTTPClient ¶
func (o *PkgCpeDeleteCpeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) SetTimeout ¶
func (o *PkgCpeDeleteCpeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) WithAuthorization ¶
func (o *PkgCpeDeleteCpeParams) WithAuthorization(authorization *string) *PkgCpeDeleteCpeParams
WithAuthorization adds the authorization to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) WithContext ¶
func (o *PkgCpeDeleteCpeParams) WithContext(ctx context.Context) *PkgCpeDeleteCpeParams
WithContext adds the context to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) WithCpeID ¶
func (o *PkgCpeDeleteCpeParams) WithCpeID(cpeID int64) *PkgCpeDeleteCpeParams
WithCpeID adds the cpeID to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) WithDefaults ¶
func (o *PkgCpeDeleteCpeParams) WithDefaults() *PkgCpeDeleteCpeParams
WithDefaults hydrates default values in the pkg cpe delete cpe params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeDeleteCpeParams) WithHTTPClient ¶
func (o *PkgCpeDeleteCpeParams) WithHTTPClient(client *http.Client) *PkgCpeDeleteCpeParams
WithHTTPClient adds the HTTPClient to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) WithTimeout ¶
func (o *PkgCpeDeleteCpeParams) WithTimeout(timeout time.Duration) *PkgCpeDeleteCpeParams
WithTimeout adds the timeout to the pkg cpe delete cpe params
func (*PkgCpeDeleteCpeParams) WriteToRequest ¶
func (o *PkgCpeDeleteCpeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PkgCpeDeleteCpeReader ¶
type PkgCpeDeleteCpeReader struct {
// contains filtered or unexported fields
}
PkgCpeDeleteCpeReader is a Reader for the PkgCpeDeleteCpe structure.
func (*PkgCpeDeleteCpeReader) ReadResponse ¶
func (o *PkgCpeDeleteCpeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PkgCpeGetCpeDetailOK ¶
type PkgCpeGetCpeDetailOK struct {
Payload *models.PkgCpeGetCpeDetailResponseBody
}
PkgCpeGetCpeDetailOK describes a response with status code 200, with default header values.
OK response.
func NewPkgCpeGetCpeDetailOK ¶
func NewPkgCpeGetCpeDetailOK() *PkgCpeGetCpeDetailOK
NewPkgCpeGetCpeDetailOK creates a PkgCpeGetCpeDetailOK with default headers values
func (*PkgCpeGetCpeDetailOK) Error ¶
func (o *PkgCpeGetCpeDetailOK) Error() string
func (*PkgCpeGetCpeDetailOK) GetPayload ¶
func (o *PkgCpeGetCpeDetailOK) GetPayload() *models.PkgCpeGetCpeDetailResponseBody
type PkgCpeGetCpeDetailParams ¶
type PkgCpeGetCpeDetailParams struct { /* Authorization. api key auth */ Authorization *string /* CpeID. cpe ID Format: int64 */ CpeID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PkgCpeGetCpeDetailParams contains all the parameters to send to the API endpoint
for the pkg cpe get cpe detail operation. Typically these are written to a http.Request.
func NewPkgCpeGetCpeDetailParams ¶
func NewPkgCpeGetCpeDetailParams() *PkgCpeGetCpeDetailParams
NewPkgCpeGetCpeDetailParams creates a new PkgCpeGetCpeDetailParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPkgCpeGetCpeDetailParamsWithContext ¶
func NewPkgCpeGetCpeDetailParamsWithContext(ctx context.Context) *PkgCpeGetCpeDetailParams
NewPkgCpeGetCpeDetailParamsWithContext creates a new PkgCpeGetCpeDetailParams object with the ability to set a context for a request.
func NewPkgCpeGetCpeDetailParamsWithHTTPClient ¶
func NewPkgCpeGetCpeDetailParamsWithHTTPClient(client *http.Client) *PkgCpeGetCpeDetailParams
NewPkgCpeGetCpeDetailParamsWithHTTPClient creates a new PkgCpeGetCpeDetailParams object with the ability to set a custom HTTPClient for a request.
func NewPkgCpeGetCpeDetailParamsWithTimeout ¶
func NewPkgCpeGetCpeDetailParamsWithTimeout(timeout time.Duration) *PkgCpeGetCpeDetailParams
NewPkgCpeGetCpeDetailParamsWithTimeout creates a new PkgCpeGetCpeDetailParams object with the ability to set a timeout on a request.
func (*PkgCpeGetCpeDetailParams) SetAuthorization ¶
func (o *PkgCpeGetCpeDetailParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) SetContext ¶
func (o *PkgCpeGetCpeDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) SetCpeID ¶
func (o *PkgCpeGetCpeDetailParams) SetCpeID(cpeID int64)
SetCpeID adds the cpeId to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) SetDefaults ¶
func (o *PkgCpeGetCpeDetailParams) SetDefaults()
SetDefaults hydrates default values in the pkg cpe get cpe detail params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeGetCpeDetailParams) SetHTTPClient ¶
func (o *PkgCpeGetCpeDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) SetTimeout ¶
func (o *PkgCpeGetCpeDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) WithAuthorization ¶
func (o *PkgCpeGetCpeDetailParams) WithAuthorization(authorization *string) *PkgCpeGetCpeDetailParams
WithAuthorization adds the authorization to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) WithContext ¶
func (o *PkgCpeGetCpeDetailParams) WithContext(ctx context.Context) *PkgCpeGetCpeDetailParams
WithContext adds the context to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) WithCpeID ¶
func (o *PkgCpeGetCpeDetailParams) WithCpeID(cpeID int64) *PkgCpeGetCpeDetailParams
WithCpeID adds the cpeID to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) WithDefaults ¶
func (o *PkgCpeGetCpeDetailParams) WithDefaults() *PkgCpeGetCpeDetailParams
WithDefaults hydrates default values in the pkg cpe get cpe detail params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeGetCpeDetailParams) WithHTTPClient ¶
func (o *PkgCpeGetCpeDetailParams) WithHTTPClient(client *http.Client) *PkgCpeGetCpeDetailParams
WithHTTPClient adds the HTTPClient to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) WithTimeout ¶
func (o *PkgCpeGetCpeDetailParams) WithTimeout(timeout time.Duration) *PkgCpeGetCpeDetailParams
WithTimeout adds the timeout to the pkg cpe get cpe detail params
func (*PkgCpeGetCpeDetailParams) WriteToRequest ¶
func (o *PkgCpeGetCpeDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PkgCpeGetCpeDetailReader ¶
type PkgCpeGetCpeDetailReader struct {
// contains filtered or unexported fields
}
PkgCpeGetCpeDetailReader is a Reader for the PkgCpeGetCpeDetail structure.
func (*PkgCpeGetCpeDetailReader) ReadResponse ¶
func (o *PkgCpeGetCpeDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PkgCpeGetPkgCpeListOK ¶
type PkgCpeGetPkgCpeListOK struct {
Payload *models.PkgCpeGetPkgCpeListResponseBody
}
PkgCpeGetPkgCpeListOK describes a response with status code 200, with default header values.
OK response.
func NewPkgCpeGetPkgCpeListOK ¶
func NewPkgCpeGetPkgCpeListOK() *PkgCpeGetPkgCpeListOK
NewPkgCpeGetPkgCpeListOK creates a PkgCpeGetPkgCpeListOK with default headers values
func (*PkgCpeGetPkgCpeListOK) Error ¶
func (o *PkgCpeGetPkgCpeListOK) Error() string
func (*PkgCpeGetPkgCpeListOK) GetPayload ¶
func (o *PkgCpeGetPkgCpeListOK) GetPayload() *models.PkgCpeGetPkgCpeListResponseBody
type PkgCpeGetPkgCpeListParams ¶
type PkgCpeGetPkgCpeListParams struct { /* Authorization. api key auth */ Authorization *string /* FilterCveID. CveID filter */ FilterCveID *string /* FilterRoleID. ServerRoleID filter */ FilterRoleID *int64 /* FilterServerID. ServerID filter */ FilterServerID *int64 /* FilterTaskID. TaskID filter */ FilterTaskID *int64 /* Limit. Limit Default: 20 */ Limit *int64 /* Offset. Offset */ Offset *int64 /* Page. Page Number Default: 1 */ Page *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PkgCpeGetPkgCpeListParams contains all the parameters to send to the API endpoint
for the pkg cpe get pkg cpe list operation. Typically these are written to a http.Request.
func NewPkgCpeGetPkgCpeListParams ¶
func NewPkgCpeGetPkgCpeListParams() *PkgCpeGetPkgCpeListParams
NewPkgCpeGetPkgCpeListParams creates a new PkgCpeGetPkgCpeListParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPkgCpeGetPkgCpeListParamsWithContext ¶
func NewPkgCpeGetPkgCpeListParamsWithContext(ctx context.Context) *PkgCpeGetPkgCpeListParams
NewPkgCpeGetPkgCpeListParamsWithContext creates a new PkgCpeGetPkgCpeListParams object with the ability to set a context for a request.
func NewPkgCpeGetPkgCpeListParamsWithHTTPClient ¶
func NewPkgCpeGetPkgCpeListParamsWithHTTPClient(client *http.Client) *PkgCpeGetPkgCpeListParams
NewPkgCpeGetPkgCpeListParamsWithHTTPClient creates a new PkgCpeGetPkgCpeListParams object with the ability to set a custom HTTPClient for a request.
func NewPkgCpeGetPkgCpeListParamsWithTimeout ¶
func NewPkgCpeGetPkgCpeListParamsWithTimeout(timeout time.Duration) *PkgCpeGetPkgCpeListParams
NewPkgCpeGetPkgCpeListParamsWithTimeout creates a new PkgCpeGetPkgCpeListParams object with the ability to set a timeout on a request.
func (*PkgCpeGetPkgCpeListParams) SetAuthorization ¶
func (o *PkgCpeGetPkgCpeListParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetContext ¶
func (o *PkgCpeGetPkgCpeListParams) SetContext(ctx context.Context)
SetContext adds the context to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetDefaults ¶
func (o *PkgCpeGetPkgCpeListParams) SetDefaults()
SetDefaults hydrates default values in the pkg cpe get pkg cpe list params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeGetPkgCpeListParams) SetFilterCveID ¶
func (o *PkgCpeGetPkgCpeListParams) SetFilterCveID(filterCveID *string)
SetFilterCveID adds the filterCveId to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetFilterRoleID ¶
func (o *PkgCpeGetPkgCpeListParams) SetFilterRoleID(filterRoleID *int64)
SetFilterRoleID adds the filterRoleId to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetFilterServerID ¶
func (o *PkgCpeGetPkgCpeListParams) SetFilterServerID(filterServerID *int64)
SetFilterServerID adds the filterServerId to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetFilterTaskID ¶
func (o *PkgCpeGetPkgCpeListParams) SetFilterTaskID(filterTaskID *int64)
SetFilterTaskID adds the filterTaskId to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetHTTPClient ¶
func (o *PkgCpeGetPkgCpeListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetLimit ¶
func (o *PkgCpeGetPkgCpeListParams) SetLimit(limit *int64)
SetLimit adds the limit to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetOffset ¶
func (o *PkgCpeGetPkgCpeListParams) SetOffset(offset *int64)
SetOffset adds the offset to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetPage ¶
func (o *PkgCpeGetPkgCpeListParams) SetPage(page *int64)
SetPage adds the page to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) SetTimeout ¶
func (o *PkgCpeGetPkgCpeListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithAuthorization ¶
func (o *PkgCpeGetPkgCpeListParams) WithAuthorization(authorization *string) *PkgCpeGetPkgCpeListParams
WithAuthorization adds the authorization to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithContext ¶
func (o *PkgCpeGetPkgCpeListParams) WithContext(ctx context.Context) *PkgCpeGetPkgCpeListParams
WithContext adds the context to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithDefaults ¶
func (o *PkgCpeGetPkgCpeListParams) WithDefaults() *PkgCpeGetPkgCpeListParams
WithDefaults hydrates default values in the pkg cpe get pkg cpe list params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeGetPkgCpeListParams) WithFilterCveID ¶
func (o *PkgCpeGetPkgCpeListParams) WithFilterCveID(filterCveID *string) *PkgCpeGetPkgCpeListParams
WithFilterCveID adds the filterCveID to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithFilterRoleID ¶
func (o *PkgCpeGetPkgCpeListParams) WithFilterRoleID(filterRoleID *int64) *PkgCpeGetPkgCpeListParams
WithFilterRoleID adds the filterRoleID to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithFilterServerID ¶
func (o *PkgCpeGetPkgCpeListParams) WithFilterServerID(filterServerID *int64) *PkgCpeGetPkgCpeListParams
WithFilterServerID adds the filterServerID to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithFilterTaskID ¶
func (o *PkgCpeGetPkgCpeListParams) WithFilterTaskID(filterTaskID *int64) *PkgCpeGetPkgCpeListParams
WithFilterTaskID adds the filterTaskID to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithHTTPClient ¶
func (o *PkgCpeGetPkgCpeListParams) WithHTTPClient(client *http.Client) *PkgCpeGetPkgCpeListParams
WithHTTPClient adds the HTTPClient to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithLimit ¶
func (o *PkgCpeGetPkgCpeListParams) WithLimit(limit *int64) *PkgCpeGetPkgCpeListParams
WithLimit adds the limit to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithOffset ¶
func (o *PkgCpeGetPkgCpeListParams) WithOffset(offset *int64) *PkgCpeGetPkgCpeListParams
WithOffset adds the offset to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithPage ¶
func (o *PkgCpeGetPkgCpeListParams) WithPage(page *int64) *PkgCpeGetPkgCpeListParams
WithPage adds the page to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WithTimeout ¶
func (o *PkgCpeGetPkgCpeListParams) WithTimeout(timeout time.Duration) *PkgCpeGetPkgCpeListParams
WithTimeout adds the timeout to the pkg cpe get pkg cpe list params
func (*PkgCpeGetPkgCpeListParams) WriteToRequest ¶
func (o *PkgCpeGetPkgCpeListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PkgCpeGetPkgCpeListReader ¶
type PkgCpeGetPkgCpeListReader struct {
// contains filtered or unexported fields
}
PkgCpeGetPkgCpeListReader is a Reader for the PkgCpeGetPkgCpeList structure.
func (*PkgCpeGetPkgCpeListReader) ReadResponse ¶
func (o *PkgCpeGetPkgCpeListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PkgCpeGetPkgDetailOK ¶
type PkgCpeGetPkgDetailOK struct {
Payload *models.PkgCpeGetPkgDetailResponseBody
}
PkgCpeGetPkgDetailOK describes a response with status code 200, with default header values.
OK response.
func NewPkgCpeGetPkgDetailOK ¶
func NewPkgCpeGetPkgDetailOK() *PkgCpeGetPkgDetailOK
NewPkgCpeGetPkgDetailOK creates a PkgCpeGetPkgDetailOK with default headers values
func (*PkgCpeGetPkgDetailOK) Error ¶
func (o *PkgCpeGetPkgDetailOK) Error() string
func (*PkgCpeGetPkgDetailOK) GetPayload ¶
func (o *PkgCpeGetPkgDetailOK) GetPayload() *models.PkgCpeGetPkgDetailResponseBody
type PkgCpeGetPkgDetailParams ¶
type PkgCpeGetPkgDetailParams struct { /* Authorization. api key auth */ Authorization *string /* PkgID. PackageID Format: int64 */ PkgID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PkgCpeGetPkgDetailParams contains all the parameters to send to the API endpoint
for the pkg cpe get pkg detail operation. Typically these are written to a http.Request.
func NewPkgCpeGetPkgDetailParams ¶
func NewPkgCpeGetPkgDetailParams() *PkgCpeGetPkgDetailParams
NewPkgCpeGetPkgDetailParams creates a new PkgCpeGetPkgDetailParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPkgCpeGetPkgDetailParamsWithContext ¶
func NewPkgCpeGetPkgDetailParamsWithContext(ctx context.Context) *PkgCpeGetPkgDetailParams
NewPkgCpeGetPkgDetailParamsWithContext creates a new PkgCpeGetPkgDetailParams object with the ability to set a context for a request.
func NewPkgCpeGetPkgDetailParamsWithHTTPClient ¶
func NewPkgCpeGetPkgDetailParamsWithHTTPClient(client *http.Client) *PkgCpeGetPkgDetailParams
NewPkgCpeGetPkgDetailParamsWithHTTPClient creates a new PkgCpeGetPkgDetailParams object with the ability to set a custom HTTPClient for a request.
func NewPkgCpeGetPkgDetailParamsWithTimeout ¶
func NewPkgCpeGetPkgDetailParamsWithTimeout(timeout time.Duration) *PkgCpeGetPkgDetailParams
NewPkgCpeGetPkgDetailParamsWithTimeout creates a new PkgCpeGetPkgDetailParams object with the ability to set a timeout on a request.
func (*PkgCpeGetPkgDetailParams) SetAuthorization ¶
func (o *PkgCpeGetPkgDetailParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) SetContext ¶
func (o *PkgCpeGetPkgDetailParams) SetContext(ctx context.Context)
SetContext adds the context to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) SetDefaults ¶
func (o *PkgCpeGetPkgDetailParams) SetDefaults()
SetDefaults hydrates default values in the pkg cpe get pkg detail params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeGetPkgDetailParams) SetHTTPClient ¶
func (o *PkgCpeGetPkgDetailParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) SetPkgID ¶
func (o *PkgCpeGetPkgDetailParams) SetPkgID(pkgID int64)
SetPkgID adds the pkgId to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) SetTimeout ¶
func (o *PkgCpeGetPkgDetailParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) WithAuthorization ¶
func (o *PkgCpeGetPkgDetailParams) WithAuthorization(authorization *string) *PkgCpeGetPkgDetailParams
WithAuthorization adds the authorization to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) WithContext ¶
func (o *PkgCpeGetPkgDetailParams) WithContext(ctx context.Context) *PkgCpeGetPkgDetailParams
WithContext adds the context to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) WithDefaults ¶
func (o *PkgCpeGetPkgDetailParams) WithDefaults() *PkgCpeGetPkgDetailParams
WithDefaults hydrates default values in the pkg cpe get pkg detail params (not the query body).
All values with no default are reset to their zero value.
func (*PkgCpeGetPkgDetailParams) WithHTTPClient ¶
func (o *PkgCpeGetPkgDetailParams) WithHTTPClient(client *http.Client) *PkgCpeGetPkgDetailParams
WithHTTPClient adds the HTTPClient to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) WithPkgID ¶
func (o *PkgCpeGetPkgDetailParams) WithPkgID(pkgID int64) *PkgCpeGetPkgDetailParams
WithPkgID adds the pkgID to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) WithTimeout ¶
func (o *PkgCpeGetPkgDetailParams) WithTimeout(timeout time.Duration) *PkgCpeGetPkgDetailParams
WithTimeout adds the timeout to the pkg cpe get pkg detail params
func (*PkgCpeGetPkgDetailParams) WriteToRequest ¶
func (o *PkgCpeGetPkgDetailParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PkgCpeGetPkgDetailReader ¶
type PkgCpeGetPkgDetailReader struct {
// contains filtered or unexported fields
}
PkgCpeGetPkgDetailReader is a Reader for the PkgCpeGetPkgDetail structure.
func (*PkgCpeGetPkgDetailReader) ReadResponse ¶
func (o *PkgCpeGetPkgDetailReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- pkg_cpe_add_cpe_parameters.go
- pkg_cpe_add_cpe_responses.go
- pkg_cpe_client.go
- pkg_cpe_delete_cpe_deprecated_parameters.go
- pkg_cpe_delete_cpe_deprecated_responses.go
- pkg_cpe_delete_cpe_parameters.go
- pkg_cpe_delete_cpe_responses.go
- pkg_cpe_get_cpe_detail_parameters.go
- pkg_cpe_get_cpe_detail_responses.go
- pkg_cpe_get_pkg_cpe_list_parameters.go
- pkg_cpe_get_pkg_cpe_list_responses.go
- pkg_cpe_get_pkg_detail_parameters.go
- pkg_cpe_get_pkg_detail_responses.go