Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteRuleChain(params *DeleteRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRuleChainOK, error)
- func (a *Client) DownloadRuleChain(params *DownloadRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadRuleChainOK, error)
- func (a *Client) GetRuleChain(params *GetRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuleChainOK, error)
- func (a *Client) GetRuleChainMetadata(params *GetRuleChainMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuleChainMetadataOK, error)
- func (a *Client) GetRuleChains(params *GetRuleChainsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuleChainsOK, error)
- func (a *Client) SaveRuleChain(params *SaveRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*SaveRuleChainOK, error)
- func (a *Client) SaveRuleChainMetadata(params *SaveRuleChainMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*SaveRuleChainMetadataOK, error)
- func (a *Client) SetRootRuleChain(params *SetRootRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*SetRootRuleChainOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UploadRuleChain(params *UploadRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*UploadRuleChainOK, error)
- type DeleteRuleChainInternalServerError
- type DeleteRuleChainNotFound
- type DeleteRuleChainOK
- type DeleteRuleChainParams
- func NewDeleteRuleChainParams() *DeleteRuleChainParams
- func NewDeleteRuleChainParamsWithContext(ctx context.Context) *DeleteRuleChainParams
- func NewDeleteRuleChainParamsWithHTTPClient(client *http.Client) *DeleteRuleChainParams
- func NewDeleteRuleChainParamsWithTimeout(timeout time.Duration) *DeleteRuleChainParams
- func (o *DeleteRuleChainParams) SetContext(ctx context.Context)
- func (o *DeleteRuleChainParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRuleChainParams) SetRuleChainID(ruleChainID string)
- func (o *DeleteRuleChainParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRuleChainParams) WithContext(ctx context.Context) *DeleteRuleChainParams
- func (o *DeleteRuleChainParams) WithHTTPClient(client *http.Client) *DeleteRuleChainParams
- func (o *DeleteRuleChainParams) WithRuleChainID(ruleChainID string) *DeleteRuleChainParams
- func (o *DeleteRuleChainParams) WithTimeout(timeout time.Duration) *DeleteRuleChainParams
- func (o *DeleteRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRuleChainReader
- type DownloadRuleChainInternalServerError
- type DownloadRuleChainOK
- type DownloadRuleChainOKBody
- type DownloadRuleChainParams
- func NewDownloadRuleChainParams() *DownloadRuleChainParams
- func NewDownloadRuleChainParamsWithContext(ctx context.Context) *DownloadRuleChainParams
- func NewDownloadRuleChainParamsWithHTTPClient(client *http.Client) *DownloadRuleChainParams
- func NewDownloadRuleChainParamsWithTimeout(timeout time.Duration) *DownloadRuleChainParams
- func (o *DownloadRuleChainParams) SetContext(ctx context.Context)
- func (o *DownloadRuleChainParams) SetHTTPClient(client *http.Client)
- func (o *DownloadRuleChainParams) SetRuleChainID(ruleChainID string)
- func (o *DownloadRuleChainParams) SetTimeout(timeout time.Duration)
- func (o *DownloadRuleChainParams) WithContext(ctx context.Context) *DownloadRuleChainParams
- func (o *DownloadRuleChainParams) WithHTTPClient(client *http.Client) *DownloadRuleChainParams
- func (o *DownloadRuleChainParams) WithRuleChainID(ruleChainID string) *DownloadRuleChainParams
- func (o *DownloadRuleChainParams) WithTimeout(timeout time.Duration) *DownloadRuleChainParams
- func (o *DownloadRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadRuleChainReader
- type GetRuleChainBadRequest
- type GetRuleChainMetadataNotFound
- type GetRuleChainMetadataOK
- type GetRuleChainMetadataParams
- func NewGetRuleChainMetadataParams() *GetRuleChainMetadataParams
- func NewGetRuleChainMetadataParamsWithContext(ctx context.Context) *GetRuleChainMetadataParams
- func NewGetRuleChainMetadataParamsWithHTTPClient(client *http.Client) *GetRuleChainMetadataParams
- func NewGetRuleChainMetadataParamsWithTimeout(timeout time.Duration) *GetRuleChainMetadataParams
- func (o *GetRuleChainMetadataParams) SetContext(ctx context.Context)
- func (o *GetRuleChainMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetRuleChainMetadataParams) SetRuleChainID(ruleChainID string)
- func (o *GetRuleChainMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetRuleChainMetadataParams) WithContext(ctx context.Context) *GetRuleChainMetadataParams
- func (o *GetRuleChainMetadataParams) WithHTTPClient(client *http.Client) *GetRuleChainMetadataParams
- func (o *GetRuleChainMetadataParams) WithRuleChainID(ruleChainID string) *GetRuleChainMetadataParams
- func (o *GetRuleChainMetadataParams) WithTimeout(timeout time.Duration) *GetRuleChainMetadataParams
- func (o *GetRuleChainMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuleChainMetadataReader
- type GetRuleChainNotFound
- type GetRuleChainOK
- type GetRuleChainParams
- func (o *GetRuleChainParams) SetContext(ctx context.Context)
- func (o *GetRuleChainParams) SetHTTPClient(client *http.Client)
- func (o *GetRuleChainParams) SetRuleChainID(ruleChainID string)
- func (o *GetRuleChainParams) SetTimeout(timeout time.Duration)
- func (o *GetRuleChainParams) WithContext(ctx context.Context) *GetRuleChainParams
- func (o *GetRuleChainParams) WithHTTPClient(client *http.Client) *GetRuleChainParams
- func (o *GetRuleChainParams) WithRuleChainID(ruleChainID string) *GetRuleChainParams
- func (o *GetRuleChainParams) WithTimeout(timeout time.Duration) *GetRuleChainParams
- func (o *GetRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuleChainReader
- type GetRuleChainsBadRequest
- type GetRuleChainsInternalServerError
- type GetRuleChainsNotFound
- type GetRuleChainsOK
- type GetRuleChainsParams
- func (o *GetRuleChainsParams) SetContext(ctx context.Context)
- func (o *GetRuleChainsParams) SetHTTPClient(client *http.Client)
- func (o *GetRuleChainsParams) SetPageNumber(pageNumber *int64)
- func (o *GetRuleChainsParams) SetPageSize(pageSize *int64)
- func (o *GetRuleChainsParams) SetQ(q *string)
- func (o *GetRuleChainsParams) SetTimeout(timeout time.Duration)
- func (o *GetRuleChainsParams) WithContext(ctx context.Context) *GetRuleChainsParams
- func (o *GetRuleChainsParams) WithHTTPClient(client *http.Client) *GetRuleChainsParams
- func (o *GetRuleChainsParams) WithPageNumber(pageNumber *int64) *GetRuleChainsParams
- func (o *GetRuleChainsParams) WithPageSize(pageSize *int64) *GetRuleChainsParams
- func (o *GetRuleChainsParams) WithQ(q *string) *GetRuleChainsParams
- func (o *GetRuleChainsParams) WithTimeout(timeout time.Duration) *GetRuleChainsParams
- func (o *GetRuleChainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRuleChainsReader
- type SaveRuleChainInternalServerError
- type SaveRuleChainMetadataBadRequest
- type SaveRuleChainMetadataNotFound
- type SaveRuleChainMetadataOK
- type SaveRuleChainMetadataParams
- func NewSaveRuleChainMetadataParams() *SaveRuleChainMetadataParams
- func NewSaveRuleChainMetadataParamsWithContext(ctx context.Context) *SaveRuleChainMetadataParams
- func NewSaveRuleChainMetadataParamsWithHTTPClient(client *http.Client) *SaveRuleChainMetadataParams
- func NewSaveRuleChainMetadataParamsWithTimeout(timeout time.Duration) *SaveRuleChainMetadataParams
- func (o *SaveRuleChainMetadataParams) SetContext(ctx context.Context)
- func (o *SaveRuleChainMetadataParams) SetHTTPClient(client *http.Client)
- func (o *SaveRuleChainMetadataParams) SetMetadata(metadata string)
- func (o *SaveRuleChainMetadataParams) SetRuleChainID(ruleChainID string)
- func (o *SaveRuleChainMetadataParams) SetTimeout(timeout time.Duration)
- func (o *SaveRuleChainMetadataParams) WithContext(ctx context.Context) *SaveRuleChainMetadataParams
- func (o *SaveRuleChainMetadataParams) WithHTTPClient(client *http.Client) *SaveRuleChainMetadataParams
- func (o *SaveRuleChainMetadataParams) WithMetadata(metadata string) *SaveRuleChainMetadataParams
- func (o *SaveRuleChainMetadataParams) WithRuleChainID(ruleChainID string) *SaveRuleChainMetadataParams
- func (o *SaveRuleChainMetadataParams) WithTimeout(timeout time.Duration) *SaveRuleChainMetadataParams
- func (o *SaveRuleChainMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveRuleChainMetadataReader
- type SaveRuleChainNotFound
- type SaveRuleChainOK
- type SaveRuleChainParams
- func (o *SaveRuleChainParams) SetContext(ctx context.Context)
- func (o *SaveRuleChainParams) SetHTTPClient(client *http.Client)
- func (o *SaveRuleChainParams) SetRuleChain(ruleChain *models.RuleChain)
- func (o *SaveRuleChainParams) SetRuleChainID(ruleChainID string)
- func (o *SaveRuleChainParams) SetTimeout(timeout time.Duration)
- func (o *SaveRuleChainParams) WithContext(ctx context.Context) *SaveRuleChainParams
- func (o *SaveRuleChainParams) WithHTTPClient(client *http.Client) *SaveRuleChainParams
- func (o *SaveRuleChainParams) WithRuleChain(ruleChain *models.RuleChain) *SaveRuleChainParams
- func (o *SaveRuleChainParams) WithRuleChainID(ruleChainID string) *SaveRuleChainParams
- func (o *SaveRuleChainParams) WithTimeout(timeout time.Duration) *SaveRuleChainParams
- func (o *SaveRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SaveRuleChainReader
- type SetRootRuleChainInternalServerError
- type SetRootRuleChainNotFound
- type SetRootRuleChainOK
- type SetRootRuleChainParams
- func NewSetRootRuleChainParams() *SetRootRuleChainParams
- func NewSetRootRuleChainParamsWithContext(ctx context.Context) *SetRootRuleChainParams
- func NewSetRootRuleChainParamsWithHTTPClient(client *http.Client) *SetRootRuleChainParams
- func NewSetRootRuleChainParamsWithTimeout(timeout time.Duration) *SetRootRuleChainParams
- func (o *SetRootRuleChainParams) SetContext(ctx context.Context)
- func (o *SetRootRuleChainParams) SetHTTPClient(client *http.Client)
- func (o *SetRootRuleChainParams) SetRuleChainID(ruleChainID string)
- func (o *SetRootRuleChainParams) SetTimeout(timeout time.Duration)
- func (o *SetRootRuleChainParams) WithContext(ctx context.Context) *SetRootRuleChainParams
- func (o *SetRootRuleChainParams) WithHTTPClient(client *http.Client) *SetRootRuleChainParams
- func (o *SetRootRuleChainParams) WithRuleChainID(ruleChainID string) *SetRootRuleChainParams
- func (o *SetRootRuleChainParams) WithTimeout(timeout time.Duration) *SetRootRuleChainParams
- func (o *SetRootRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetRootRuleChainReader
- type UploadRuleChainInternalServerError
- type UploadRuleChainOK
- type UploadRuleChainParams
- func NewUploadRuleChainParams() *UploadRuleChainParams
- func NewUploadRuleChainParamsWithContext(ctx context.Context) *UploadRuleChainParams
- func NewUploadRuleChainParamsWithHTTPClient(client *http.Client) *UploadRuleChainParams
- func NewUploadRuleChainParamsWithTimeout(timeout time.Duration) *UploadRuleChainParams
- func (o *UploadRuleChainParams) SetContext(ctx context.Context)
- func (o *UploadRuleChainParams) SetHTTPClient(client *http.Client)
- func (o *UploadRuleChainParams) SetPath(path string)
- func (o *UploadRuleChainParams) SetRuleChainID(ruleChainID string)
- func (o *UploadRuleChainParams) SetTimeout(timeout time.Duration)
- func (o *UploadRuleChainParams) WithContext(ctx context.Context) *UploadRuleChainParams
- func (o *UploadRuleChainParams) WithHTTPClient(client *http.Client) *UploadRuleChainParams
- func (o *UploadRuleChainParams) WithPath(path string) *UploadRuleChainParams
- func (o *UploadRuleChainParams) WithRuleChainID(ruleChainID string) *UploadRuleChainParams
- func (o *UploadRuleChainParams) WithTimeout(timeout time.Duration) *UploadRuleChainParams
- func (o *UploadRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadRuleChainReader
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 rulechain API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new rulechain API client.
func (*Client) DeleteRuleChain ¶
func (a *Client) DeleteRuleChain(params *DeleteRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRuleChainOK, error)
DeleteRuleChain deletes rule chain
delete rule chain with Id
func (*Client) DownloadRuleChain ¶
func (a *Client) DownloadRuleChain(params *DownloadRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*DownloadRuleChainOK, error)
DownloadRuleChain downloads all infomation of one rule chain to the local pc
download all infomation of one rule chain to the local pc
func (*Client) GetRuleChain ¶
func (a *Client) GetRuleChain(params *GetRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuleChainOK, error)
GetRuleChain gets rule chain by id
get rule chain by id
func (*Client) GetRuleChainMetadata ¶
func (a *Client) GetRuleChainMetadata(params *GetRuleChainMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuleChainMetadataOK, error)
GetRuleChainMetadata gets meta data of perticular rule chain
get meta data of perticular rule chain
func (*Client) GetRuleChains ¶
func (a *Client) GetRuleChains(params *GetRuleChainsParams, authInfo runtime.ClientAuthInfoWriter) (*GetRuleChainsOK, error)
GetRuleChains gets all of rule chains
get all of rule chains
func (*Client) SaveRuleChain ¶
func (a *Client) SaveRuleChain(params *SaveRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*SaveRuleChainOK, error)
SaveRuleChain saves one rule chain
save one rule chain
func (*Client) SaveRuleChainMetadata ¶
func (a *Client) SaveRuleChainMetadata(params *SaveRuleChainMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*SaveRuleChainMetadataOK, error)
SaveRuleChainMetadata saves meta data
save meta data
func (*Client) SetRootRuleChain ¶
func (a *Client) SetRootRuleChain(params *SetRootRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*SetRootRuleChainOK, error)
SetRootRuleChain sets root id
set root id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UploadRuleChain ¶
func (a *Client) UploadRuleChain(params *UploadRuleChainParams, authInfo runtime.ClientAuthInfoWriter) (*UploadRuleChainOK, error)
UploadRuleChain uploads all infomation of one rule chain to the system
upload all infomation of one rule chain to the system
type DeleteRuleChainInternalServerError ¶
type DeleteRuleChainInternalServerError struct { }
DeleteRuleChainInternalServerError handles this case with default header values.
Server internal error
func NewDeleteRuleChainInternalServerError ¶
func NewDeleteRuleChainInternalServerError() *DeleteRuleChainInternalServerError
NewDeleteRuleChainInternalServerError creates a DeleteRuleChainInternalServerError with default headers values
func (*DeleteRuleChainInternalServerError) Error ¶
func (o *DeleteRuleChainInternalServerError) Error() string
type DeleteRuleChainNotFound ¶
type DeleteRuleChainNotFound struct { }
DeleteRuleChainNotFound handles this case with default header values.
rule chain not found
func NewDeleteRuleChainNotFound ¶
func NewDeleteRuleChainNotFound() *DeleteRuleChainNotFound
NewDeleteRuleChainNotFound creates a DeleteRuleChainNotFound with default headers values
func (*DeleteRuleChainNotFound) Error ¶
func (o *DeleteRuleChainNotFound) Error() string
type DeleteRuleChainOK ¶
type DeleteRuleChainOK struct { }
DeleteRuleChainOK handles this case with default header values.
Delete successfully
func NewDeleteRuleChainOK ¶
func NewDeleteRuleChainOK() *DeleteRuleChainOK
NewDeleteRuleChainOK creates a DeleteRuleChainOK with default headers values
func (*DeleteRuleChainOK) Error ¶
func (o *DeleteRuleChainOK) Error() string
type DeleteRuleChainParams ¶
type DeleteRuleChainParams struct { /*RuleChainID rule chain id */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRuleChainParams contains all the parameters to send to the API endpoint for the delete rule chain operation typically these are written to a http.Request
func NewDeleteRuleChainParams ¶
func NewDeleteRuleChainParams() *DeleteRuleChainParams
NewDeleteRuleChainParams creates a new DeleteRuleChainParams object with the default values initialized.
func NewDeleteRuleChainParamsWithContext ¶
func NewDeleteRuleChainParamsWithContext(ctx context.Context) *DeleteRuleChainParams
NewDeleteRuleChainParamsWithContext creates a new DeleteRuleChainParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRuleChainParamsWithHTTPClient ¶
func NewDeleteRuleChainParamsWithHTTPClient(client *http.Client) *DeleteRuleChainParams
NewDeleteRuleChainParamsWithHTTPClient creates a new DeleteRuleChainParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRuleChainParamsWithTimeout ¶
func NewDeleteRuleChainParamsWithTimeout(timeout time.Duration) *DeleteRuleChainParams
NewDeleteRuleChainParamsWithTimeout creates a new DeleteRuleChainParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRuleChainParams) SetContext ¶
func (o *DeleteRuleChainParams) SetContext(ctx context.Context)
SetContext adds the context to the delete rule chain params
func (*DeleteRuleChainParams) SetHTTPClient ¶
func (o *DeleteRuleChainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete rule chain params
func (*DeleteRuleChainParams) SetRuleChainID ¶
func (o *DeleteRuleChainParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the delete rule chain params
func (*DeleteRuleChainParams) SetTimeout ¶
func (o *DeleteRuleChainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete rule chain params
func (*DeleteRuleChainParams) WithContext ¶
func (o *DeleteRuleChainParams) WithContext(ctx context.Context) *DeleteRuleChainParams
WithContext adds the context to the delete rule chain params
func (*DeleteRuleChainParams) WithHTTPClient ¶
func (o *DeleteRuleChainParams) WithHTTPClient(client *http.Client) *DeleteRuleChainParams
WithHTTPClient adds the HTTPClient to the delete rule chain params
func (*DeleteRuleChainParams) WithRuleChainID ¶
func (o *DeleteRuleChainParams) WithRuleChainID(ruleChainID string) *DeleteRuleChainParams
WithRuleChainID adds the ruleChainID to the delete rule chain params
func (*DeleteRuleChainParams) WithTimeout ¶
func (o *DeleteRuleChainParams) WithTimeout(timeout time.Duration) *DeleteRuleChainParams
WithTimeout adds the timeout to the delete rule chain params
func (*DeleteRuleChainParams) WriteToRequest ¶
func (o *DeleteRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRuleChainReader ¶
type DeleteRuleChainReader struct {
// contains filtered or unexported fields
}
DeleteRuleChainReader is a Reader for the DeleteRuleChain structure.
func (*DeleteRuleChainReader) ReadResponse ¶
func (o *DeleteRuleChainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DownloadRuleChainInternalServerError ¶
type DownloadRuleChainInternalServerError struct { }
DownloadRuleChainInternalServerError handles this case with default header values.
Server internal error
func NewDownloadRuleChainInternalServerError ¶
func NewDownloadRuleChainInternalServerError() *DownloadRuleChainInternalServerError
NewDownloadRuleChainInternalServerError creates a DownloadRuleChainInternalServerError with default headers values
func (*DownloadRuleChainInternalServerError) Error ¶
func (o *DownloadRuleChainInternalServerError) Error() string
type DownloadRuleChainOK ¶
type DownloadRuleChainOK struct {
Payload *DownloadRuleChainOKBody
}
DownloadRuleChainOK handles this case with default header values.
excute successfully
func NewDownloadRuleChainOK ¶
func NewDownloadRuleChainOK() *DownloadRuleChainOK
NewDownloadRuleChainOK creates a DownloadRuleChainOK with default headers values
func (*DownloadRuleChainOK) Error ¶
func (o *DownloadRuleChainOK) Error() string
func (*DownloadRuleChainOK) GetPayload ¶
func (o *DownloadRuleChainOK) GetPayload() *DownloadRuleChainOKBody
type DownloadRuleChainOKBody ¶
type DownloadRuleChainOKBody struct { // the result of excution Status bool `json:"status,omitempty"` }
DownloadRuleChainOKBody download rule chain o k body swagger:model DownloadRuleChainOKBody
func (*DownloadRuleChainOKBody) MarshalBinary ¶
func (o *DownloadRuleChainOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DownloadRuleChainOKBody) UnmarshalBinary ¶
func (o *DownloadRuleChainOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DownloadRuleChainParams ¶
type DownloadRuleChainParams struct { /*RuleChainID download rule chain id */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DownloadRuleChainParams contains all the parameters to send to the API endpoint for the download rule chain operation typically these are written to a http.Request
func NewDownloadRuleChainParams ¶
func NewDownloadRuleChainParams() *DownloadRuleChainParams
NewDownloadRuleChainParams creates a new DownloadRuleChainParams object with the default values initialized.
func NewDownloadRuleChainParamsWithContext ¶
func NewDownloadRuleChainParamsWithContext(ctx context.Context) *DownloadRuleChainParams
NewDownloadRuleChainParamsWithContext creates a new DownloadRuleChainParams object with the default values initialized, and the ability to set a context for a request
func NewDownloadRuleChainParamsWithHTTPClient ¶
func NewDownloadRuleChainParamsWithHTTPClient(client *http.Client) *DownloadRuleChainParams
NewDownloadRuleChainParamsWithHTTPClient creates a new DownloadRuleChainParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDownloadRuleChainParamsWithTimeout ¶
func NewDownloadRuleChainParamsWithTimeout(timeout time.Duration) *DownloadRuleChainParams
NewDownloadRuleChainParamsWithTimeout creates a new DownloadRuleChainParams object with the default values initialized, and the ability to set a timeout on a request
func (*DownloadRuleChainParams) SetContext ¶
func (o *DownloadRuleChainParams) SetContext(ctx context.Context)
SetContext adds the context to the download rule chain params
func (*DownloadRuleChainParams) SetHTTPClient ¶
func (o *DownloadRuleChainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download rule chain params
func (*DownloadRuleChainParams) SetRuleChainID ¶
func (o *DownloadRuleChainParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the download rule chain params
func (*DownloadRuleChainParams) SetTimeout ¶
func (o *DownloadRuleChainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download rule chain params
func (*DownloadRuleChainParams) WithContext ¶
func (o *DownloadRuleChainParams) WithContext(ctx context.Context) *DownloadRuleChainParams
WithContext adds the context to the download rule chain params
func (*DownloadRuleChainParams) WithHTTPClient ¶
func (o *DownloadRuleChainParams) WithHTTPClient(client *http.Client) *DownloadRuleChainParams
WithHTTPClient adds the HTTPClient to the download rule chain params
func (*DownloadRuleChainParams) WithRuleChainID ¶
func (o *DownloadRuleChainParams) WithRuleChainID(ruleChainID string) *DownloadRuleChainParams
WithRuleChainID adds the ruleChainID to the download rule chain params
func (*DownloadRuleChainParams) WithTimeout ¶
func (o *DownloadRuleChainParams) WithTimeout(timeout time.Duration) *DownloadRuleChainParams
WithTimeout adds the timeout to the download rule chain params
func (*DownloadRuleChainParams) WriteToRequest ¶
func (o *DownloadRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadRuleChainReader ¶
type DownloadRuleChainReader struct {
// contains filtered or unexported fields
}
DownloadRuleChainReader is a Reader for the DownloadRuleChain structure.
func (*DownloadRuleChainReader) ReadResponse ¶
func (o *DownloadRuleChainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuleChainBadRequest ¶
type GetRuleChainBadRequest struct { }
GetRuleChainBadRequest handles this case with default header values.
Bad request
func NewGetRuleChainBadRequest ¶
func NewGetRuleChainBadRequest() *GetRuleChainBadRequest
NewGetRuleChainBadRequest creates a GetRuleChainBadRequest with default headers values
func (*GetRuleChainBadRequest) Error ¶
func (o *GetRuleChainBadRequest) Error() string
type GetRuleChainMetadataNotFound ¶
type GetRuleChainMetadataNotFound struct { }
GetRuleChainMetadataNotFound handles this case with default header values.
rule chain metadata not found
func NewGetRuleChainMetadataNotFound ¶
func NewGetRuleChainMetadataNotFound() *GetRuleChainMetadataNotFound
NewGetRuleChainMetadataNotFound creates a GetRuleChainMetadataNotFound with default headers values
func (*GetRuleChainMetadataNotFound) Error ¶
func (o *GetRuleChainMetadataNotFound) Error() string
type GetRuleChainMetadataOK ¶
type GetRuleChainMetadataOK struct {
Payload string
}
GetRuleChainMetadataOK handles this case with default header values.
execute successfully
func NewGetRuleChainMetadataOK ¶
func NewGetRuleChainMetadataOK() *GetRuleChainMetadataOK
NewGetRuleChainMetadataOK creates a GetRuleChainMetadataOK with default headers values
func (*GetRuleChainMetadataOK) Error ¶
func (o *GetRuleChainMetadataOK) Error() string
func (*GetRuleChainMetadataOK) GetPayload ¶
func (o *GetRuleChainMetadataOK) GetPayload() string
type GetRuleChainMetadataParams ¶
type GetRuleChainMetadataParams struct { /*RuleChainID rule chain id */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuleChainMetadataParams contains all the parameters to send to the API endpoint for the get rule chain metadata operation typically these are written to a http.Request
func NewGetRuleChainMetadataParams ¶
func NewGetRuleChainMetadataParams() *GetRuleChainMetadataParams
NewGetRuleChainMetadataParams creates a new GetRuleChainMetadataParams object with the default values initialized.
func NewGetRuleChainMetadataParamsWithContext ¶
func NewGetRuleChainMetadataParamsWithContext(ctx context.Context) *GetRuleChainMetadataParams
NewGetRuleChainMetadataParamsWithContext creates a new GetRuleChainMetadataParams object with the default values initialized, and the ability to set a context for a request
func NewGetRuleChainMetadataParamsWithHTTPClient ¶
func NewGetRuleChainMetadataParamsWithHTTPClient(client *http.Client) *GetRuleChainMetadataParams
NewGetRuleChainMetadataParamsWithHTTPClient creates a new GetRuleChainMetadataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRuleChainMetadataParamsWithTimeout ¶
func NewGetRuleChainMetadataParamsWithTimeout(timeout time.Duration) *GetRuleChainMetadataParams
NewGetRuleChainMetadataParamsWithTimeout creates a new GetRuleChainMetadataParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRuleChainMetadataParams) SetContext ¶
func (o *GetRuleChainMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get rule chain metadata params
func (*GetRuleChainMetadataParams) SetHTTPClient ¶
func (o *GetRuleChainMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rule chain metadata params
func (*GetRuleChainMetadataParams) SetRuleChainID ¶
func (o *GetRuleChainMetadataParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the get rule chain metadata params
func (*GetRuleChainMetadataParams) SetTimeout ¶
func (o *GetRuleChainMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rule chain metadata params
func (*GetRuleChainMetadataParams) WithContext ¶
func (o *GetRuleChainMetadataParams) WithContext(ctx context.Context) *GetRuleChainMetadataParams
WithContext adds the context to the get rule chain metadata params
func (*GetRuleChainMetadataParams) WithHTTPClient ¶
func (o *GetRuleChainMetadataParams) WithHTTPClient(client *http.Client) *GetRuleChainMetadataParams
WithHTTPClient adds the HTTPClient to the get rule chain metadata params
func (*GetRuleChainMetadataParams) WithRuleChainID ¶
func (o *GetRuleChainMetadataParams) WithRuleChainID(ruleChainID string) *GetRuleChainMetadataParams
WithRuleChainID adds the ruleChainID to the get rule chain metadata params
func (*GetRuleChainMetadataParams) WithTimeout ¶
func (o *GetRuleChainMetadataParams) WithTimeout(timeout time.Duration) *GetRuleChainMetadataParams
WithTimeout adds the timeout to the get rule chain metadata params
func (*GetRuleChainMetadataParams) WriteToRequest ¶
func (o *GetRuleChainMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuleChainMetadataReader ¶
type GetRuleChainMetadataReader struct {
// contains filtered or unexported fields
}
GetRuleChainMetadataReader is a Reader for the GetRuleChainMetadata structure.
func (*GetRuleChainMetadataReader) ReadResponse ¶
func (o *GetRuleChainMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuleChainNotFound ¶
type GetRuleChainNotFound struct { }
GetRuleChainNotFound handles this case with default header values.
rule chain not found
func NewGetRuleChainNotFound ¶
func NewGetRuleChainNotFound() *GetRuleChainNotFound
NewGetRuleChainNotFound creates a GetRuleChainNotFound with default headers values
func (*GetRuleChainNotFound) Error ¶
func (o *GetRuleChainNotFound) Error() string
type GetRuleChainOK ¶
GetRuleChainOK handles this case with default header values.
successfully operation
func NewGetRuleChainOK ¶
func NewGetRuleChainOK() *GetRuleChainOK
NewGetRuleChainOK creates a GetRuleChainOK with default headers values
func (*GetRuleChainOK) Error ¶
func (o *GetRuleChainOK) Error() string
func (*GetRuleChainOK) GetPayload ¶
func (o *GetRuleChainOK) GetPayload() *models.RuleChain
type GetRuleChainParams ¶
type GetRuleChainParams struct { /*RuleChainID rule chain id */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuleChainParams contains all the parameters to send to the API endpoint for the get rule chain operation typically these are written to a http.Request
func NewGetRuleChainParams ¶
func NewGetRuleChainParams() *GetRuleChainParams
NewGetRuleChainParams creates a new GetRuleChainParams object with the default values initialized.
func NewGetRuleChainParamsWithContext ¶
func NewGetRuleChainParamsWithContext(ctx context.Context) *GetRuleChainParams
NewGetRuleChainParamsWithContext creates a new GetRuleChainParams object with the default values initialized, and the ability to set a context for a request
func NewGetRuleChainParamsWithHTTPClient ¶
func NewGetRuleChainParamsWithHTTPClient(client *http.Client) *GetRuleChainParams
NewGetRuleChainParamsWithHTTPClient creates a new GetRuleChainParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRuleChainParamsWithTimeout ¶
func NewGetRuleChainParamsWithTimeout(timeout time.Duration) *GetRuleChainParams
NewGetRuleChainParamsWithTimeout creates a new GetRuleChainParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRuleChainParams) SetContext ¶
func (o *GetRuleChainParams) SetContext(ctx context.Context)
SetContext adds the context to the get rule chain params
func (*GetRuleChainParams) SetHTTPClient ¶
func (o *GetRuleChainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rule chain params
func (*GetRuleChainParams) SetRuleChainID ¶
func (o *GetRuleChainParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the get rule chain params
func (*GetRuleChainParams) SetTimeout ¶
func (o *GetRuleChainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rule chain params
func (*GetRuleChainParams) WithContext ¶
func (o *GetRuleChainParams) WithContext(ctx context.Context) *GetRuleChainParams
WithContext adds the context to the get rule chain params
func (*GetRuleChainParams) WithHTTPClient ¶
func (o *GetRuleChainParams) WithHTTPClient(client *http.Client) *GetRuleChainParams
WithHTTPClient adds the HTTPClient to the get rule chain params
func (*GetRuleChainParams) WithRuleChainID ¶
func (o *GetRuleChainParams) WithRuleChainID(ruleChainID string) *GetRuleChainParams
WithRuleChainID adds the ruleChainID to the get rule chain params
func (*GetRuleChainParams) WithTimeout ¶
func (o *GetRuleChainParams) WithTimeout(timeout time.Duration) *GetRuleChainParams
WithTimeout adds the timeout to the get rule chain params
func (*GetRuleChainParams) WriteToRequest ¶
func (o *GetRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuleChainReader ¶
type GetRuleChainReader struct {
// contains filtered or unexported fields
}
GetRuleChainReader is a Reader for the GetRuleChain structure.
func (*GetRuleChainReader) ReadResponse ¶
func (o *GetRuleChainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRuleChainsBadRequest ¶
type GetRuleChainsBadRequest struct { }
GetRuleChainsBadRequest handles this case with default header values.
Bad request
func NewGetRuleChainsBadRequest ¶
func NewGetRuleChainsBadRequest() *GetRuleChainsBadRequest
NewGetRuleChainsBadRequest creates a GetRuleChainsBadRequest with default headers values
func (*GetRuleChainsBadRequest) Error ¶
func (o *GetRuleChainsBadRequest) Error() string
type GetRuleChainsInternalServerError ¶
type GetRuleChainsInternalServerError struct { }
GetRuleChainsInternalServerError handles this case with default header values.
Internal error
func NewGetRuleChainsInternalServerError ¶
func NewGetRuleChainsInternalServerError() *GetRuleChainsInternalServerError
NewGetRuleChainsInternalServerError creates a GetRuleChainsInternalServerError with default headers values
func (*GetRuleChainsInternalServerError) Error ¶
func (o *GetRuleChainsInternalServerError) Error() string
type GetRuleChainsNotFound ¶
type GetRuleChainsNotFound struct { }
GetRuleChainsNotFound handles this case with default header values.
Not found
func NewGetRuleChainsNotFound ¶
func NewGetRuleChainsNotFound() *GetRuleChainsNotFound
NewGetRuleChainsNotFound creates a GetRuleChainsNotFound with default headers values
func (*GetRuleChainsNotFound) Error ¶
func (o *GetRuleChainsNotFound) Error() string
type GetRuleChainsOK ¶
GetRuleChainsOK handles this case with default header values.
successfully operation
func NewGetRuleChainsOK ¶
func NewGetRuleChainsOK() *GetRuleChainsOK
NewGetRuleChainsOK creates a GetRuleChainsOK with default headers values
func (*GetRuleChainsOK) Error ¶
func (o *GetRuleChainsOK) Error() string
func (*GetRuleChainsOK) GetPayload ¶
func (o *GetRuleChainsOK) GetPayload() []*models.RuleChain
type GetRuleChainsParams ¶
type GetRuleChainsParams struct { /*PageNumber Page number */ PageNumber *int64 /*PageSize Number of persons returned */ PageSize *int64 /*Q query object for.You can get query key from rulechain object. This is a json string. For example: * 模糊检索name,description,category {"name": "product"} {"description": "abcd"} {"category": "abcd"} * 多条件模糊检索(and) {"name": "product", "description": "abcd"} * (deprecated) 模糊检索created_at,updated_at {"created_at": "2018-10-11T09:13:26Z"} {"updated_at": "2018-10-11T09:13:26Z"} * 精确检索user_id,id,template_id,key,secret,status,data_format {"user_id": "bevh8dkvr53g2n6u9l70"} {"id": "bevh8dkvr53g2n6u9l70"} {"template_id": "bevh8dkvr53g2n6u9l70"} {"key": "bevh8dkvr53g2n6u9l70"} {"secret": "bevh8dkvr53g2n6u9l70"} {"data_format": "JSON"} {"data_format": "XML"} */ Q *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRuleChainsParams contains all the parameters to send to the API endpoint for the get rule chains operation typically these are written to a http.Request
func NewGetRuleChainsParams ¶
func NewGetRuleChainsParams() *GetRuleChainsParams
NewGetRuleChainsParams creates a new GetRuleChainsParams object with the default values initialized.
func NewGetRuleChainsParamsWithContext ¶
func NewGetRuleChainsParamsWithContext(ctx context.Context) *GetRuleChainsParams
NewGetRuleChainsParamsWithContext creates a new GetRuleChainsParams object with the default values initialized, and the ability to set a context for a request
func NewGetRuleChainsParamsWithHTTPClient ¶
func NewGetRuleChainsParamsWithHTTPClient(client *http.Client) *GetRuleChainsParams
NewGetRuleChainsParamsWithHTTPClient creates a new GetRuleChainsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRuleChainsParamsWithTimeout ¶
func NewGetRuleChainsParamsWithTimeout(timeout time.Duration) *GetRuleChainsParams
NewGetRuleChainsParamsWithTimeout creates a new GetRuleChainsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRuleChainsParams) SetContext ¶
func (o *GetRuleChainsParams) SetContext(ctx context.Context)
SetContext adds the context to the get rule chains params
func (*GetRuleChainsParams) SetHTTPClient ¶
func (o *GetRuleChainsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get rule chains params
func (*GetRuleChainsParams) SetPageNumber ¶
func (o *GetRuleChainsParams) SetPageNumber(pageNumber *int64)
SetPageNumber adds the pageNumber to the get rule chains params
func (*GetRuleChainsParams) SetPageSize ¶
func (o *GetRuleChainsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get rule chains params
func (*GetRuleChainsParams) SetQ ¶
func (o *GetRuleChainsParams) SetQ(q *string)
SetQ adds the q to the get rule chains params
func (*GetRuleChainsParams) SetTimeout ¶
func (o *GetRuleChainsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get rule chains params
func (*GetRuleChainsParams) WithContext ¶
func (o *GetRuleChainsParams) WithContext(ctx context.Context) *GetRuleChainsParams
WithContext adds the context to the get rule chains params
func (*GetRuleChainsParams) WithHTTPClient ¶
func (o *GetRuleChainsParams) WithHTTPClient(client *http.Client) *GetRuleChainsParams
WithHTTPClient adds the HTTPClient to the get rule chains params
func (*GetRuleChainsParams) WithPageNumber ¶
func (o *GetRuleChainsParams) WithPageNumber(pageNumber *int64) *GetRuleChainsParams
WithPageNumber adds the pageNumber to the get rule chains params
func (*GetRuleChainsParams) WithPageSize ¶
func (o *GetRuleChainsParams) WithPageSize(pageSize *int64) *GetRuleChainsParams
WithPageSize adds the pageSize to the get rule chains params
func (*GetRuleChainsParams) WithQ ¶
func (o *GetRuleChainsParams) WithQ(q *string) *GetRuleChainsParams
WithQ adds the q to the get rule chains params
func (*GetRuleChainsParams) WithTimeout ¶
func (o *GetRuleChainsParams) WithTimeout(timeout time.Duration) *GetRuleChainsParams
WithTimeout adds the timeout to the get rule chains params
func (*GetRuleChainsParams) WriteToRequest ¶
func (o *GetRuleChainsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRuleChainsReader ¶
type GetRuleChainsReader struct {
// contains filtered or unexported fields
}
GetRuleChainsReader is a Reader for the GetRuleChains structure.
func (*GetRuleChainsReader) ReadResponse ¶
func (o *GetRuleChainsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SaveRuleChainInternalServerError ¶
type SaveRuleChainInternalServerError struct { }
SaveRuleChainInternalServerError handles this case with default header values.
Server internal error
func NewSaveRuleChainInternalServerError ¶
func NewSaveRuleChainInternalServerError() *SaveRuleChainInternalServerError
NewSaveRuleChainInternalServerError creates a SaveRuleChainInternalServerError with default headers values
func (*SaveRuleChainInternalServerError) Error ¶
func (o *SaveRuleChainInternalServerError) Error() string
type SaveRuleChainMetadataBadRequest ¶
type SaveRuleChainMetadataBadRequest struct { }
SaveRuleChainMetadataBadRequest handles this case with default header values.
Invalid metadata
func NewSaveRuleChainMetadataBadRequest ¶
func NewSaveRuleChainMetadataBadRequest() *SaveRuleChainMetadataBadRequest
NewSaveRuleChainMetadataBadRequest creates a SaveRuleChainMetadataBadRequest with default headers values
func (*SaveRuleChainMetadataBadRequest) Error ¶
func (o *SaveRuleChainMetadataBadRequest) Error() string
type SaveRuleChainMetadataNotFound ¶
type SaveRuleChainMetadataNotFound struct { }
SaveRuleChainMetadataNotFound handles this case with default header values.
rule chain not found
func NewSaveRuleChainMetadataNotFound ¶
func NewSaveRuleChainMetadataNotFound() *SaveRuleChainMetadataNotFound
NewSaveRuleChainMetadataNotFound creates a SaveRuleChainMetadataNotFound with default headers values
func (*SaveRuleChainMetadataNotFound) Error ¶
func (o *SaveRuleChainMetadataNotFound) Error() string
type SaveRuleChainMetadataOK ¶
type SaveRuleChainMetadataOK struct { }
SaveRuleChainMetadataOK handles this case with default header values.
excute successfully
func NewSaveRuleChainMetadataOK ¶
func NewSaveRuleChainMetadataOK() *SaveRuleChainMetadataOK
NewSaveRuleChainMetadataOK creates a SaveRuleChainMetadataOK with default headers values
func (*SaveRuleChainMetadataOK) Error ¶
func (o *SaveRuleChainMetadataOK) Error() string
type SaveRuleChainMetadataParams ¶
type SaveRuleChainMetadataParams struct { /*Metadata meta data */ Metadata string /*RuleChainID rule chain identifier */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SaveRuleChainMetadataParams contains all the parameters to send to the API endpoint for the save rule chain metadata operation typically these are written to a http.Request
func NewSaveRuleChainMetadataParams ¶
func NewSaveRuleChainMetadataParams() *SaveRuleChainMetadataParams
NewSaveRuleChainMetadataParams creates a new SaveRuleChainMetadataParams object with the default values initialized.
func NewSaveRuleChainMetadataParamsWithContext ¶
func NewSaveRuleChainMetadataParamsWithContext(ctx context.Context) *SaveRuleChainMetadataParams
NewSaveRuleChainMetadataParamsWithContext creates a new SaveRuleChainMetadataParams object with the default values initialized, and the ability to set a context for a request
func NewSaveRuleChainMetadataParamsWithHTTPClient ¶
func NewSaveRuleChainMetadataParamsWithHTTPClient(client *http.Client) *SaveRuleChainMetadataParams
NewSaveRuleChainMetadataParamsWithHTTPClient creates a new SaveRuleChainMetadataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSaveRuleChainMetadataParamsWithTimeout ¶
func NewSaveRuleChainMetadataParamsWithTimeout(timeout time.Duration) *SaveRuleChainMetadataParams
NewSaveRuleChainMetadataParamsWithTimeout creates a new SaveRuleChainMetadataParams object with the default values initialized, and the ability to set a timeout on a request
func (*SaveRuleChainMetadataParams) SetContext ¶
func (o *SaveRuleChainMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) SetHTTPClient ¶
func (o *SaveRuleChainMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) SetMetadata ¶
func (o *SaveRuleChainMetadataParams) SetMetadata(metadata string)
SetMetadata adds the metadata to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) SetRuleChainID ¶
func (o *SaveRuleChainMetadataParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) SetTimeout ¶
func (o *SaveRuleChainMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) WithContext ¶
func (o *SaveRuleChainMetadataParams) WithContext(ctx context.Context) *SaveRuleChainMetadataParams
WithContext adds the context to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) WithHTTPClient ¶
func (o *SaveRuleChainMetadataParams) WithHTTPClient(client *http.Client) *SaveRuleChainMetadataParams
WithHTTPClient adds the HTTPClient to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) WithMetadata ¶
func (o *SaveRuleChainMetadataParams) WithMetadata(metadata string) *SaveRuleChainMetadataParams
WithMetadata adds the metadata to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) WithRuleChainID ¶
func (o *SaveRuleChainMetadataParams) WithRuleChainID(ruleChainID string) *SaveRuleChainMetadataParams
WithRuleChainID adds the ruleChainID to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) WithTimeout ¶
func (o *SaveRuleChainMetadataParams) WithTimeout(timeout time.Duration) *SaveRuleChainMetadataParams
WithTimeout adds the timeout to the save rule chain metadata params
func (*SaveRuleChainMetadataParams) WriteToRequest ¶
func (o *SaveRuleChainMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SaveRuleChainMetadataReader ¶
type SaveRuleChainMetadataReader struct {
// contains filtered or unexported fields
}
SaveRuleChainMetadataReader is a Reader for the SaveRuleChainMetadata structure.
func (*SaveRuleChainMetadataReader) ReadResponse ¶
func (o *SaveRuleChainMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SaveRuleChainNotFound ¶
type SaveRuleChainNotFound struct { }
SaveRuleChainNotFound handles this case with default header values.
Rule chain not found
func NewSaveRuleChainNotFound ¶
func NewSaveRuleChainNotFound() *SaveRuleChainNotFound
NewSaveRuleChainNotFound creates a SaveRuleChainNotFound with default headers values
func (*SaveRuleChainNotFound) Error ¶
func (o *SaveRuleChainNotFound) Error() string
type SaveRuleChainOK ¶
type SaveRuleChainOK struct { }
SaveRuleChainOK handles this case with default header values.
Successfully operation
func NewSaveRuleChainOK ¶
func NewSaveRuleChainOK() *SaveRuleChainOK
NewSaveRuleChainOK creates a SaveRuleChainOK with default headers values
func (*SaveRuleChainOK) Error ¶
func (o *SaveRuleChainOK) Error() string
type SaveRuleChainParams ¶
type SaveRuleChainParams struct { /*RuleChain updated rule chain */ RuleChain *models.RuleChain /*RuleChainID rule chain */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SaveRuleChainParams contains all the parameters to send to the API endpoint for the save rule chain operation typically these are written to a http.Request
func NewSaveRuleChainParams ¶
func NewSaveRuleChainParams() *SaveRuleChainParams
NewSaveRuleChainParams creates a new SaveRuleChainParams object with the default values initialized.
func NewSaveRuleChainParamsWithContext ¶
func NewSaveRuleChainParamsWithContext(ctx context.Context) *SaveRuleChainParams
NewSaveRuleChainParamsWithContext creates a new SaveRuleChainParams object with the default values initialized, and the ability to set a context for a request
func NewSaveRuleChainParamsWithHTTPClient ¶
func NewSaveRuleChainParamsWithHTTPClient(client *http.Client) *SaveRuleChainParams
NewSaveRuleChainParamsWithHTTPClient creates a new SaveRuleChainParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSaveRuleChainParamsWithTimeout ¶
func NewSaveRuleChainParamsWithTimeout(timeout time.Duration) *SaveRuleChainParams
NewSaveRuleChainParamsWithTimeout creates a new SaveRuleChainParams object with the default values initialized, and the ability to set a timeout on a request
func (*SaveRuleChainParams) SetContext ¶
func (o *SaveRuleChainParams) SetContext(ctx context.Context)
SetContext adds the context to the save rule chain params
func (*SaveRuleChainParams) SetHTTPClient ¶
func (o *SaveRuleChainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the save rule chain params
func (*SaveRuleChainParams) SetRuleChain ¶
func (o *SaveRuleChainParams) SetRuleChain(ruleChain *models.RuleChain)
SetRuleChain adds the ruleChain to the save rule chain params
func (*SaveRuleChainParams) SetRuleChainID ¶
func (o *SaveRuleChainParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the save rule chain params
func (*SaveRuleChainParams) SetTimeout ¶
func (o *SaveRuleChainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the save rule chain params
func (*SaveRuleChainParams) WithContext ¶
func (o *SaveRuleChainParams) WithContext(ctx context.Context) *SaveRuleChainParams
WithContext adds the context to the save rule chain params
func (*SaveRuleChainParams) WithHTTPClient ¶
func (o *SaveRuleChainParams) WithHTTPClient(client *http.Client) *SaveRuleChainParams
WithHTTPClient adds the HTTPClient to the save rule chain params
func (*SaveRuleChainParams) WithRuleChain ¶
func (o *SaveRuleChainParams) WithRuleChain(ruleChain *models.RuleChain) *SaveRuleChainParams
WithRuleChain adds the ruleChain to the save rule chain params
func (*SaveRuleChainParams) WithRuleChainID ¶
func (o *SaveRuleChainParams) WithRuleChainID(ruleChainID string) *SaveRuleChainParams
WithRuleChainID adds the ruleChainID to the save rule chain params
func (*SaveRuleChainParams) WithTimeout ¶
func (o *SaveRuleChainParams) WithTimeout(timeout time.Duration) *SaveRuleChainParams
WithTimeout adds the timeout to the save rule chain params
func (*SaveRuleChainParams) WriteToRequest ¶
func (o *SaveRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SaveRuleChainReader ¶
type SaveRuleChainReader struct {
// contains filtered or unexported fields
}
SaveRuleChainReader is a Reader for the SaveRuleChain structure.
func (*SaveRuleChainReader) ReadResponse ¶
func (o *SaveRuleChainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetRootRuleChainInternalServerError ¶
type SetRootRuleChainInternalServerError struct { }
SetRootRuleChainInternalServerError handles this case with default header values.
server internal error
func NewSetRootRuleChainInternalServerError ¶
func NewSetRootRuleChainInternalServerError() *SetRootRuleChainInternalServerError
NewSetRootRuleChainInternalServerError creates a SetRootRuleChainInternalServerError with default headers values
func (*SetRootRuleChainInternalServerError) Error ¶
func (o *SetRootRuleChainInternalServerError) Error() string
type SetRootRuleChainNotFound ¶
type SetRootRuleChainNotFound struct { }
SetRootRuleChainNotFound handles this case with default header values.
rule chain not found
func NewSetRootRuleChainNotFound ¶
func NewSetRootRuleChainNotFound() *SetRootRuleChainNotFound
NewSetRootRuleChainNotFound creates a SetRootRuleChainNotFound with default headers values
func (*SetRootRuleChainNotFound) Error ¶
func (o *SetRootRuleChainNotFound) Error() string
type SetRootRuleChainOK ¶
type SetRootRuleChainOK struct { }
SetRootRuleChainOK handles this case with default header values.
set successfully
func NewSetRootRuleChainOK ¶
func NewSetRootRuleChainOK() *SetRootRuleChainOK
NewSetRootRuleChainOK creates a SetRootRuleChainOK with default headers values
func (*SetRootRuleChainOK) Error ¶
func (o *SetRootRuleChainOK) Error() string
type SetRootRuleChainParams ¶
type SetRootRuleChainParams struct { /*RuleChainID rule chain id */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetRootRuleChainParams contains all the parameters to send to the API endpoint for the set root rule chain operation typically these are written to a http.Request
func NewSetRootRuleChainParams ¶
func NewSetRootRuleChainParams() *SetRootRuleChainParams
NewSetRootRuleChainParams creates a new SetRootRuleChainParams object with the default values initialized.
func NewSetRootRuleChainParamsWithContext ¶
func NewSetRootRuleChainParamsWithContext(ctx context.Context) *SetRootRuleChainParams
NewSetRootRuleChainParamsWithContext creates a new SetRootRuleChainParams object with the default values initialized, and the ability to set a context for a request
func NewSetRootRuleChainParamsWithHTTPClient ¶
func NewSetRootRuleChainParamsWithHTTPClient(client *http.Client) *SetRootRuleChainParams
NewSetRootRuleChainParamsWithHTTPClient creates a new SetRootRuleChainParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetRootRuleChainParamsWithTimeout ¶
func NewSetRootRuleChainParamsWithTimeout(timeout time.Duration) *SetRootRuleChainParams
NewSetRootRuleChainParamsWithTimeout creates a new SetRootRuleChainParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetRootRuleChainParams) SetContext ¶
func (o *SetRootRuleChainParams) SetContext(ctx context.Context)
SetContext adds the context to the set root rule chain params
func (*SetRootRuleChainParams) SetHTTPClient ¶
func (o *SetRootRuleChainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set root rule chain params
func (*SetRootRuleChainParams) SetRuleChainID ¶
func (o *SetRootRuleChainParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the set root rule chain params
func (*SetRootRuleChainParams) SetTimeout ¶
func (o *SetRootRuleChainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set root rule chain params
func (*SetRootRuleChainParams) WithContext ¶
func (o *SetRootRuleChainParams) WithContext(ctx context.Context) *SetRootRuleChainParams
WithContext adds the context to the set root rule chain params
func (*SetRootRuleChainParams) WithHTTPClient ¶
func (o *SetRootRuleChainParams) WithHTTPClient(client *http.Client) *SetRootRuleChainParams
WithHTTPClient adds the HTTPClient to the set root rule chain params
func (*SetRootRuleChainParams) WithRuleChainID ¶
func (o *SetRootRuleChainParams) WithRuleChainID(ruleChainID string) *SetRootRuleChainParams
WithRuleChainID adds the ruleChainID to the set root rule chain params
func (*SetRootRuleChainParams) WithTimeout ¶
func (o *SetRootRuleChainParams) WithTimeout(timeout time.Duration) *SetRootRuleChainParams
WithTimeout adds the timeout to the set root rule chain params
func (*SetRootRuleChainParams) WriteToRequest ¶
func (o *SetRootRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetRootRuleChainReader ¶
type SetRootRuleChainReader struct {
// contains filtered or unexported fields
}
SetRootRuleChainReader is a Reader for the SetRootRuleChain structure.
func (*SetRootRuleChainReader) ReadResponse ¶
func (o *SetRootRuleChainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadRuleChainInternalServerError ¶
type UploadRuleChainInternalServerError struct { }
UploadRuleChainInternalServerError handles this case with default header values.
Server internal error
func NewUploadRuleChainInternalServerError ¶
func NewUploadRuleChainInternalServerError() *UploadRuleChainInternalServerError
NewUploadRuleChainInternalServerError creates a UploadRuleChainInternalServerError with default headers values
func (*UploadRuleChainInternalServerError) Error ¶
func (o *UploadRuleChainInternalServerError) Error() string
type UploadRuleChainOK ¶
UploadRuleChainOK handles this case with default header values.
excute successfully
func NewUploadRuleChainOK ¶
func NewUploadRuleChainOK() *UploadRuleChainOK
NewUploadRuleChainOK creates a UploadRuleChainOK with default headers values
func (*UploadRuleChainOK) Error ¶
func (o *UploadRuleChainOK) Error() string
func (*UploadRuleChainOK) GetPayload ¶
func (o *UploadRuleChainOK) GetPayload() []*models.RuleChain
type UploadRuleChainParams ¶
type UploadRuleChainParams struct { /*Path upload address */ Path string /*RuleChainID rule chain identifier */ RuleChainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UploadRuleChainParams contains all the parameters to send to the API endpoint for the upload rule chain operation typically these are written to a http.Request
func NewUploadRuleChainParams ¶
func NewUploadRuleChainParams() *UploadRuleChainParams
NewUploadRuleChainParams creates a new UploadRuleChainParams object with the default values initialized.
func NewUploadRuleChainParamsWithContext ¶
func NewUploadRuleChainParamsWithContext(ctx context.Context) *UploadRuleChainParams
NewUploadRuleChainParamsWithContext creates a new UploadRuleChainParams object with the default values initialized, and the ability to set a context for a request
func NewUploadRuleChainParamsWithHTTPClient ¶
func NewUploadRuleChainParamsWithHTTPClient(client *http.Client) *UploadRuleChainParams
NewUploadRuleChainParamsWithHTTPClient creates a new UploadRuleChainParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUploadRuleChainParamsWithTimeout ¶
func NewUploadRuleChainParamsWithTimeout(timeout time.Duration) *UploadRuleChainParams
NewUploadRuleChainParamsWithTimeout creates a new UploadRuleChainParams object with the default values initialized, and the ability to set a timeout on a request
func (*UploadRuleChainParams) SetContext ¶
func (o *UploadRuleChainParams) SetContext(ctx context.Context)
SetContext adds the context to the upload rule chain params
func (*UploadRuleChainParams) SetHTTPClient ¶
func (o *UploadRuleChainParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload rule chain params
func (*UploadRuleChainParams) SetPath ¶
func (o *UploadRuleChainParams) SetPath(path string)
SetPath adds the path to the upload rule chain params
func (*UploadRuleChainParams) SetRuleChainID ¶
func (o *UploadRuleChainParams) SetRuleChainID(ruleChainID string)
SetRuleChainID adds the ruleChainId to the upload rule chain params
func (*UploadRuleChainParams) SetTimeout ¶
func (o *UploadRuleChainParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload rule chain params
func (*UploadRuleChainParams) WithContext ¶
func (o *UploadRuleChainParams) WithContext(ctx context.Context) *UploadRuleChainParams
WithContext adds the context to the upload rule chain params
func (*UploadRuleChainParams) WithHTTPClient ¶
func (o *UploadRuleChainParams) WithHTTPClient(client *http.Client) *UploadRuleChainParams
WithHTTPClient adds the HTTPClient to the upload rule chain params
func (*UploadRuleChainParams) WithPath ¶
func (o *UploadRuleChainParams) WithPath(path string) *UploadRuleChainParams
WithPath adds the path to the upload rule chain params
func (*UploadRuleChainParams) WithRuleChainID ¶
func (o *UploadRuleChainParams) WithRuleChainID(ruleChainID string) *UploadRuleChainParams
WithRuleChainID adds the ruleChainID to the upload rule chain params
func (*UploadRuleChainParams) WithTimeout ¶
func (o *UploadRuleChainParams) WithTimeout(timeout time.Duration) *UploadRuleChainParams
WithTimeout adds the timeout to the upload rule chain params
func (*UploadRuleChainParams) WriteToRequest ¶
func (o *UploadRuleChainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadRuleChainReader ¶
type UploadRuleChainReader struct {
// contains filtered or unexported fields
}
UploadRuleChainReader is a Reader for the UploadRuleChain structure.
func (*UploadRuleChainReader) ReadResponse ¶
func (o *UploadRuleChainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_rule_chain_parameters.go
- delete_rule_chain_responses.go
- download_rule_chain_parameters.go
- download_rule_chain_responses.go
- get_rule_chain_metadata_parameters.go
- get_rule_chain_metadata_responses.go
- get_rule_chain_parameters.go
- get_rule_chain_responses.go
- get_rule_chains_parameters.go
- get_rule_chains_responses.go
- rulechain_client.go
- save_rule_chain_metadata_parameters.go
- save_rule_chain_metadata_responses.go
- save_rule_chain_parameters.go
- save_rule_chain_responses.go
- set_root_rule_chain_parameters.go
- set_root_rule_chain_responses.go
- upload_rule_chain_parameters.go
- upload_rule_chain_responses.go