rulechain

package
v0.0.0-...-6a25cbf Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2019 License: Apache-2.0 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 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

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

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

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

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

func (*DownloadRuleChainOKBody) Validate

func (o *DownloadRuleChainOKBody) Validate(formats strfmt.Registry) error

Validate validates this download rule chain o k body

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

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

WithTimeout adds the timeout to the download rule chain params

func (*DownloadRuleChainParams) WriteToRequest

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

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

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

WithContext adds the context to the get rule chain metadata params

func (*GetRuleChainMetadataParams) WithHTTPClient

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

WithTimeout adds the timeout to the get rule chain metadata params

func (*GetRuleChainMetadataParams) WriteToRequest

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

type GetRuleChainOK struct {
	Payload *models.RuleChain
}

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

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

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

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

type GetRuleChainsOK struct {
	Payload []*models.RuleChain
}

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

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

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

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

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

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

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

WithContext adds the context to the save rule chain metadata params

func (*SaveRuleChainMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the save rule chain metadata params

func (*SaveRuleChainMetadataParams) WithMetadata

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

WithTimeout adds the timeout to the save rule chain metadata params

func (*SaveRuleChainMetadataParams) WriteToRequest

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

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

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

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

WithTimeout adds the timeout to the set root rule chain params

func (*SetRootRuleChainParams) WriteToRequest

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

type UploadRuleChainOK

type UploadRuleChainOK struct {
	Payload []*models.RuleChain
}

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

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

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

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.

Jump to

Keyboard shortcuts

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