pkg_cpe

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: 11 Imported by: 0

Documentation

Index

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

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

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

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

WithContext adds the context to the pkg cpe delete cpe deprecated params

func (*PkgCpeDeleteCpeDeprecatedParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the pkg cpe delete cpe deprecated params

func (*PkgCpeDeleteCpeDeprecatedParams) WithTimeout

WithTimeout adds the timeout to the pkg cpe delete cpe deprecated params

func (*PkgCpeDeleteCpeDeprecatedParams) WriteToRequest

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

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

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

WithContext adds the context to the pkg cpe get cpe detail params

func (*PkgCpeGetCpeDetailParams) WithCpeID

WithCpeID adds the cpeID to the pkg cpe get cpe detail params

func (*PkgCpeGetCpeDetailParams) WithDefaults

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

WithTimeout adds the timeout to the pkg cpe get cpe detail params

func (*PkgCpeGetCpeDetailParams) WriteToRequest

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

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

WithContext adds the context to the pkg cpe get pkg cpe list params

func (*PkgCpeGetPkgCpeListParams) WithDefaults

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

WithLimit adds the limit to the pkg cpe get pkg cpe list params

func (*PkgCpeGetPkgCpeListParams) WithOffset

WithOffset adds the offset to the pkg cpe get pkg cpe list params

func (*PkgCpeGetPkgCpeListParams) WithPage

WithPage adds the page to the pkg cpe get pkg cpe list params

func (*PkgCpeGetPkgCpeListParams) WithTimeout

WithTimeout adds the timeout to the pkg cpe get pkg cpe list params

func (*PkgCpeGetPkgCpeListParams) WriteToRequest

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

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

WithContext adds the context to the pkg cpe get pkg detail params

func (*PkgCpeGetPkgDetailParams) WithDefaults

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

WithPkgID adds the pkgID to the pkg cpe get pkg detail params

func (*PkgCpeGetPkgDetailParams) WithTimeout

WithTimeout adds the timeout to the pkg cpe get pkg detail params

func (*PkgCpeGetPkgDetailParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL