lock_controller

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 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 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

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

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

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

WithChainID adds the chainID to the get nft lockers using g e t params

func (*GetNftLockersUsingGETParams) WithContext

WithContext adds the context to the get nft lockers using g e t params

func (*GetNftLockersUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get nft lockers using g e t params

func (*GetNftLockersUsingGETParams) WithPageNum

WithPageNum adds the pageNum to the get nft lockers using g e t params

func (*GetNftLockersUsingGETParams) WithPageSize

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

WithTimeout adds the timeout to the get nft lockers using g e t params

func (*GetNftLockersUsingGETParams) WriteToRequest

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

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

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

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

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

WithChainID adds the chainID to the get token lockers using g e t params

func (*GetTokenLockersUsingGETParams) WithContext

WithContext adds the context to the get token lockers using g e t params

func (*GetTokenLockersUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get token lockers using g e t params

func (*GetTokenLockersUsingGETParams) WithPageNum

WithPageNum adds the pageNum to the get token lockers using g e t params

func (*GetTokenLockersUsingGETParams) WithPageSize

WithPageSize adds the pageSize to the get token lockers using g e t params

func (*GetTokenLockersUsingGETParams) WithTimeout

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

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

Jump to

Keyboard shortcuts

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