Documentation
¶
Index ¶
- type Client
- type ClientService
- type GetNftLockersUsingGETForbidden
- type GetNftLockersUsingGETNotFound
- type GetNftLockersUsingGETOK
- type GetNftLockersUsingGETParams
- func NewGetNftLockersUsingGETParams() *GetNftLockersUsingGETParams
- func NewGetNftLockersUsingGETParamsWithContext(ctx context.Context) *GetNftLockersUsingGETParams
- func NewGetNftLockersUsingGETParamsWithHTTPClient(client *http.Client) *GetNftLockersUsingGETParams
- func NewGetNftLockersUsingGETParamsWithTimeout(timeout time.Duration) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) SetAuthorization(authorization *string)
- func (o *GetNftLockersUsingGETParams) SetChainID(chainID string)
- func (o *GetNftLockersUsingGETParams) SetContext(ctx context.Context)
- func (o *GetNftLockersUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetNftLockersUsingGETParams) SetPageNum(pageNum int32)
- func (o *GetNftLockersUsingGETParams) SetPageSize(pageSize int32)
- func (o *GetNftLockersUsingGETParams) SetPoolAddress(poolAddress string)
- func (o *GetNftLockersUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetNftLockersUsingGETParams) WithAuthorization(authorization *string) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WithChainID(chainID string) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WithContext(ctx context.Context) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WithHTTPClient(client *http.Client) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WithPageNum(pageNum int32) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WithPageSize(pageSize int32) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WithPoolAddress(poolAddress string) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WithTimeout(timeout time.Duration) *GetNftLockersUsingGETParams
- func (o *GetNftLockersUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNftLockersUsingGETReader
- type GetNftLockersUsingGETUnauthorized
- type GetTokenLockersUsingGETForbidden
- type GetTokenLockersUsingGETNotFound
- type GetTokenLockersUsingGETOK
- type GetTokenLockersUsingGETParams
- func NewGetTokenLockersUsingGETParams() *GetTokenLockersUsingGETParams
- func NewGetTokenLockersUsingGETParamsWithContext(ctx context.Context) *GetTokenLockersUsingGETParams
- func NewGetTokenLockersUsingGETParamsWithHTTPClient(client *http.Client) *GetTokenLockersUsingGETParams
- func NewGetTokenLockersUsingGETParamsWithTimeout(timeout time.Duration) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) SetAuthorization(authorization *string)
- func (o *GetTokenLockersUsingGETParams) SetChainID(chainID string)
- func (o *GetTokenLockersUsingGETParams) SetContext(ctx context.Context)
- func (o *GetTokenLockersUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetTokenLockersUsingGETParams) SetPageNum(pageNum int32)
- func (o *GetTokenLockersUsingGETParams) SetPageSize(pageSize int32)
- func (o *GetTokenLockersUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetTokenLockersUsingGETParams) SetTokenAddress(tokenAddress string)
- func (o *GetTokenLockersUsingGETParams) WithAuthorization(authorization *string) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WithChainID(chainID string) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WithContext(ctx context.Context) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WithHTTPClient(client *http.Client) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WithPageNum(pageNum int32) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WithPageSize(pageSize int32) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WithTimeout(timeout time.Duration) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WithTokenAddress(tokenAddress string) *GetTokenLockersUsingGETParams
- func (o *GetTokenLockersUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTokenLockersUsingGETReader
- type GetTokenLockersUsingGETUnauthorized
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 lock controller API
func (*Client) GetNftLockersUsingGET ¶
func (a *Client) GetNftLockersUsingGET(params *GetNftLockersUsingGETParams) (*GetNftLockersUsingGETOK, error)
GetNftLockersUsingGET gets lpv3 locker info
func (*Client) GetTokenLockersUsingGET ¶
func (a *Client) GetTokenLockersUsingGET(params *GetTokenLockersUsingGETParams) (*GetTokenLockersUsingGETOK, error)
GetTokenLockersUsingGET gets token locker info
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
GetNftLockersUsingGET(params *GetNftLockersUsingGETParams) (*GetNftLockersUsingGETOK, error)
GetTokenLockersUsingGET(params *GetTokenLockersUsingGETParams) (*GetTokenLockersUsingGETOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new lock controller API client.
type GetNftLockersUsingGETForbidden ¶
type GetNftLockersUsingGETForbidden struct {
}
GetNftLockersUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetNftLockersUsingGETForbidden ¶
func NewGetNftLockersUsingGETForbidden() *GetNftLockersUsingGETForbidden
NewGetNftLockersUsingGETForbidden creates a GetNftLockersUsingGETForbidden with default headers values
func (*GetNftLockersUsingGETForbidden) Error ¶
func (o *GetNftLockersUsingGETForbidden) Error() string
type GetNftLockersUsingGETNotFound ¶
type GetNftLockersUsingGETNotFound struct {
}
GetNftLockersUsingGETNotFound handles this case with default header values.
Not Found
func NewGetNftLockersUsingGETNotFound ¶
func NewGetNftLockersUsingGETNotFound() *GetNftLockersUsingGETNotFound
NewGetNftLockersUsingGETNotFound creates a GetNftLockersUsingGETNotFound with default headers values
func (*GetNftLockersUsingGETNotFound) Error ¶
func (o *GetNftLockersUsingGETNotFound) Error() string
type GetNftLockersUsingGETOK ¶
type GetNftLockersUsingGETOK struct {
Payload *models.ResponseWrapperNftLockerResponse
}
GetNftLockersUsingGETOK handles this case with default header values.
OK
func NewGetNftLockersUsingGETOK ¶
func NewGetNftLockersUsingGETOK() *GetNftLockersUsingGETOK
NewGetNftLockersUsingGETOK creates a GetNftLockersUsingGETOK with default headers values
func (*GetNftLockersUsingGETOK) Error ¶
func (o *GetNftLockersUsingGETOK) Error() string
func (*GetNftLockersUsingGETOK) GetPayload ¶
func (o *GetNftLockersUsingGETOK) GetPayload() *models.ResponseWrapperNftLockerResponse
type GetNftLockersUsingGETParams ¶
type GetNftLockersUsingGETParams struct {
/*Authorization
Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
*/
Authorization *string
/*ChainID
chainId
*/
ChainID string
/*PageNum
pageNum
*/
PageNum int32
/*PageSize
pageSize
*/
PageSize int32
/*PoolAddress
poolAddress
*/
PoolAddress string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetNftLockersUsingGETParams contains all the parameters to send to the API endpoint for the get nft lockers using g e t operation typically these are written to a http.Request
func NewGetNftLockersUsingGETParams ¶
func NewGetNftLockersUsingGETParams() *GetNftLockersUsingGETParams
NewGetNftLockersUsingGETParams creates a new GetNftLockersUsingGETParams object with the default values initialized.
func NewGetNftLockersUsingGETParamsWithContext ¶
func NewGetNftLockersUsingGETParamsWithContext(ctx context.Context) *GetNftLockersUsingGETParams
NewGetNftLockersUsingGETParamsWithContext creates a new GetNftLockersUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetNftLockersUsingGETParamsWithHTTPClient ¶
func NewGetNftLockersUsingGETParamsWithHTTPClient(client *http.Client) *GetNftLockersUsingGETParams
NewGetNftLockersUsingGETParamsWithHTTPClient creates a new GetNftLockersUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNftLockersUsingGETParamsWithTimeout ¶
func NewGetNftLockersUsingGETParamsWithTimeout(timeout time.Duration) *GetNftLockersUsingGETParams
NewGetNftLockersUsingGETParamsWithTimeout creates a new GetNftLockersUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNftLockersUsingGETParams) SetAuthorization ¶
func (o *GetNftLockersUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) SetChainID ¶
func (o *GetNftLockersUsingGETParams) SetChainID(chainID string)
SetChainID adds the chainId to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) SetContext ¶
func (o *GetNftLockersUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) SetHTTPClient ¶
func (o *GetNftLockersUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) SetPageNum ¶
func (o *GetNftLockersUsingGETParams) SetPageNum(pageNum int32)
SetPageNum adds the pageNum to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) SetPageSize ¶
func (o *GetNftLockersUsingGETParams) SetPageSize(pageSize int32)
SetPageSize adds the pageSize to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) SetPoolAddress ¶
func (o *GetNftLockersUsingGETParams) SetPoolAddress(poolAddress string)
SetPoolAddress adds the poolAddress to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) SetTimeout ¶
func (o *GetNftLockersUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithAuthorization ¶
func (o *GetNftLockersUsingGETParams) WithAuthorization(authorization *string) *GetNftLockersUsingGETParams
WithAuthorization adds the authorization to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithChainID ¶
func (o *GetNftLockersUsingGETParams) WithChainID(chainID string) *GetNftLockersUsingGETParams
WithChainID adds the chainID to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithContext ¶
func (o *GetNftLockersUsingGETParams) WithContext(ctx context.Context) *GetNftLockersUsingGETParams
WithContext adds the context to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithHTTPClient ¶
func (o *GetNftLockersUsingGETParams) WithHTTPClient(client *http.Client) *GetNftLockersUsingGETParams
WithHTTPClient adds the HTTPClient to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithPageNum ¶
func (o *GetNftLockersUsingGETParams) WithPageNum(pageNum int32) *GetNftLockersUsingGETParams
WithPageNum adds the pageNum to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithPageSize ¶
func (o *GetNftLockersUsingGETParams) WithPageSize(pageSize int32) *GetNftLockersUsingGETParams
WithPageSize adds the pageSize to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithPoolAddress ¶
func (o *GetNftLockersUsingGETParams) WithPoolAddress(poolAddress string) *GetNftLockersUsingGETParams
WithPoolAddress adds the poolAddress to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WithTimeout ¶
func (o *GetNftLockersUsingGETParams) WithTimeout(timeout time.Duration) *GetNftLockersUsingGETParams
WithTimeout adds the timeout to the get nft lockers using g e t params
func (*GetNftLockersUsingGETParams) WriteToRequest ¶
func (o *GetNftLockersUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNftLockersUsingGETReader ¶
type GetNftLockersUsingGETReader struct {
// contains filtered or unexported fields
}
GetNftLockersUsingGETReader is a Reader for the GetNftLockersUsingGET structure.
func (*GetNftLockersUsingGETReader) ReadResponse ¶
func (o *GetNftLockersUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNftLockersUsingGETUnauthorized ¶
type GetNftLockersUsingGETUnauthorized struct {
}
GetNftLockersUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetNftLockersUsingGETUnauthorized ¶
func NewGetNftLockersUsingGETUnauthorized() *GetNftLockersUsingGETUnauthorized
NewGetNftLockersUsingGETUnauthorized creates a GetNftLockersUsingGETUnauthorized with default headers values
func (*GetNftLockersUsingGETUnauthorized) Error ¶
func (o *GetNftLockersUsingGETUnauthorized) Error() string
type GetTokenLockersUsingGETForbidden ¶
type GetTokenLockersUsingGETForbidden struct {
}
GetTokenLockersUsingGETForbidden handles this case with default header values.
Forbidden
func NewGetTokenLockersUsingGETForbidden ¶
func NewGetTokenLockersUsingGETForbidden() *GetTokenLockersUsingGETForbidden
NewGetTokenLockersUsingGETForbidden creates a GetTokenLockersUsingGETForbidden with default headers values
func (*GetTokenLockersUsingGETForbidden) Error ¶
func (o *GetTokenLockersUsingGETForbidden) Error() string
type GetTokenLockersUsingGETNotFound ¶
type GetTokenLockersUsingGETNotFound struct {
}
GetTokenLockersUsingGETNotFound handles this case with default header values.
Not Found
func NewGetTokenLockersUsingGETNotFound ¶
func NewGetTokenLockersUsingGETNotFound() *GetTokenLockersUsingGETNotFound
NewGetTokenLockersUsingGETNotFound creates a GetTokenLockersUsingGETNotFound with default headers values
func (*GetTokenLockersUsingGETNotFound) Error ¶
func (o *GetTokenLockersUsingGETNotFound) Error() string
type GetTokenLockersUsingGETOK ¶
type GetTokenLockersUsingGETOK struct {
Payload *models.ResponseWrapperTokenLockerResponse
}
GetTokenLockersUsingGETOK handles this case with default header values.
OK
func NewGetTokenLockersUsingGETOK ¶
func NewGetTokenLockersUsingGETOK() *GetTokenLockersUsingGETOK
NewGetTokenLockersUsingGETOK creates a GetTokenLockersUsingGETOK with default headers values
func (*GetTokenLockersUsingGETOK) Error ¶
func (o *GetTokenLockersUsingGETOK) Error() string
func (*GetTokenLockersUsingGETOK) GetPayload ¶
func (o *GetTokenLockersUsingGETOK) GetPayload() *models.ResponseWrapperTokenLockerResponse
type GetTokenLockersUsingGETParams ¶
type GetTokenLockersUsingGETParams struct {
/*Authorization
Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
*/
Authorization *string
/*ChainID
chainId
*/
ChainID string
/*PageNum
pageNum
*/
PageNum int32
/*PageSize
pageSize
*/
PageSize int32
/*TokenAddress
tokenAddress
*/
TokenAddress string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetTokenLockersUsingGETParams contains all the parameters to send to the API endpoint for the get token lockers using g e t operation typically these are written to a http.Request
func NewGetTokenLockersUsingGETParams ¶
func NewGetTokenLockersUsingGETParams() *GetTokenLockersUsingGETParams
NewGetTokenLockersUsingGETParams creates a new GetTokenLockersUsingGETParams object with the default values initialized.
func NewGetTokenLockersUsingGETParamsWithContext ¶
func NewGetTokenLockersUsingGETParamsWithContext(ctx context.Context) *GetTokenLockersUsingGETParams
NewGetTokenLockersUsingGETParamsWithContext creates a new GetTokenLockersUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetTokenLockersUsingGETParamsWithHTTPClient ¶
func NewGetTokenLockersUsingGETParamsWithHTTPClient(client *http.Client) *GetTokenLockersUsingGETParams
NewGetTokenLockersUsingGETParamsWithHTTPClient creates a new GetTokenLockersUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTokenLockersUsingGETParamsWithTimeout ¶
func NewGetTokenLockersUsingGETParamsWithTimeout(timeout time.Duration) *GetTokenLockersUsingGETParams
NewGetTokenLockersUsingGETParamsWithTimeout creates a new GetTokenLockersUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTokenLockersUsingGETParams) SetAuthorization ¶
func (o *GetTokenLockersUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) SetChainID ¶
func (o *GetTokenLockersUsingGETParams) SetChainID(chainID string)
SetChainID adds the chainId to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) SetContext ¶
func (o *GetTokenLockersUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) SetHTTPClient ¶
func (o *GetTokenLockersUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) SetPageNum ¶
func (o *GetTokenLockersUsingGETParams) SetPageNum(pageNum int32)
SetPageNum adds the pageNum to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) SetPageSize ¶
func (o *GetTokenLockersUsingGETParams) SetPageSize(pageSize int32)
SetPageSize adds the pageSize to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) SetTimeout ¶
func (o *GetTokenLockersUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) SetTokenAddress ¶
func (o *GetTokenLockersUsingGETParams) SetTokenAddress(tokenAddress string)
SetTokenAddress adds the tokenAddress to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithAuthorization ¶
func (o *GetTokenLockersUsingGETParams) WithAuthorization(authorization *string) *GetTokenLockersUsingGETParams
WithAuthorization adds the authorization to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithChainID ¶
func (o *GetTokenLockersUsingGETParams) WithChainID(chainID string) *GetTokenLockersUsingGETParams
WithChainID adds the chainID to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithContext ¶
func (o *GetTokenLockersUsingGETParams) WithContext(ctx context.Context) *GetTokenLockersUsingGETParams
WithContext adds the context to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithHTTPClient ¶
func (o *GetTokenLockersUsingGETParams) WithHTTPClient(client *http.Client) *GetTokenLockersUsingGETParams
WithHTTPClient adds the HTTPClient to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithPageNum ¶
func (o *GetTokenLockersUsingGETParams) WithPageNum(pageNum int32) *GetTokenLockersUsingGETParams
WithPageNum adds the pageNum to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithPageSize ¶
func (o *GetTokenLockersUsingGETParams) WithPageSize(pageSize int32) *GetTokenLockersUsingGETParams
WithPageSize adds the pageSize to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithTimeout ¶
func (o *GetTokenLockersUsingGETParams) WithTimeout(timeout time.Duration) *GetTokenLockersUsingGETParams
WithTimeout adds the timeout to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WithTokenAddress ¶
func (o *GetTokenLockersUsingGETParams) WithTokenAddress(tokenAddress string) *GetTokenLockersUsingGETParams
WithTokenAddress adds the tokenAddress to the get token lockers using g e t params
func (*GetTokenLockersUsingGETParams) WriteToRequest ¶
func (o *GetTokenLockersUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTokenLockersUsingGETReader ¶
type GetTokenLockersUsingGETReader struct {
// contains filtered or unexported fields
}
GetTokenLockersUsingGETReader is a Reader for the GetTokenLockersUsingGET structure.
func (*GetTokenLockersUsingGETReader) ReadResponse ¶
func (o *GetTokenLockersUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTokenLockersUsingGETUnauthorized ¶
type GetTokenLockersUsingGETUnauthorized struct {
}
GetTokenLockersUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewGetTokenLockersUsingGETUnauthorized ¶
func NewGetTokenLockersUsingGETUnauthorized() *GetTokenLockersUsingGETUnauthorized
NewGetTokenLockersUsingGETUnauthorized creates a GetTokenLockersUsingGETUnauthorized with default headers values
func (*GetTokenLockersUsingGETUnauthorized) Error ¶
func (o *GetTokenLockersUsingGETUnauthorized) Error() string