Documentation
¶
Index ¶
- type Client
- type ClientService
- type SuiTokenSecurityUsingGETForbidden
- type SuiTokenSecurityUsingGETNotFound
- type SuiTokenSecurityUsingGETOK
- type SuiTokenSecurityUsingGETParams
- func NewSuiTokenSecurityUsingGETParams() *SuiTokenSecurityUsingGETParams
- func NewSuiTokenSecurityUsingGETParamsWithContext(ctx context.Context) *SuiTokenSecurityUsingGETParams
- func NewSuiTokenSecurityUsingGETParamsWithHTTPClient(client *http.Client) *SuiTokenSecurityUsingGETParams
- func NewSuiTokenSecurityUsingGETParamsWithTimeout(timeout time.Duration) *SuiTokenSecurityUsingGETParams
- func (o *SuiTokenSecurityUsingGETParams) SetAuthorization(authorization *string)
- func (o *SuiTokenSecurityUsingGETParams) SetContext(ctx context.Context)
- func (o *SuiTokenSecurityUsingGETParams) SetContractAddresses(contractAddresses string)
- func (o *SuiTokenSecurityUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *SuiTokenSecurityUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *SuiTokenSecurityUsingGETParams) WithAuthorization(authorization *string) *SuiTokenSecurityUsingGETParams
- func (o *SuiTokenSecurityUsingGETParams) WithContext(ctx context.Context) *SuiTokenSecurityUsingGETParams
- func (o *SuiTokenSecurityUsingGETParams) WithContractAddresses(contractAddresses string) *SuiTokenSecurityUsingGETParams
- func (o *SuiTokenSecurityUsingGETParams) WithHTTPClient(client *http.Client) *SuiTokenSecurityUsingGETParams
- func (o *SuiTokenSecurityUsingGETParams) WithTimeout(timeout time.Duration) *SuiTokenSecurityUsingGETParams
- func (o *SuiTokenSecurityUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SuiTokenSecurityUsingGETReader
- type SuiTokenSecurityUsingGETUnauthorized
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 token security api for sui API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SuiTokenSecurityUsingGET ¶
func (a *Client) SuiTokenSecurityUsingGET(params *SuiTokenSecurityUsingGETParams) (*SuiTokenSecurityUsingGETOK, error)
SuiTokenSecurityUsingGET gets token s security and risk data
type ClientService ¶
type ClientService interface {
SuiTokenSecurityUsingGET(params *SuiTokenSecurityUsingGETParams) (*SuiTokenSecurityUsingGETOK, 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 token security api for sui API client.
type SuiTokenSecurityUsingGETForbidden ¶
type SuiTokenSecurityUsingGETForbidden struct {
}
SuiTokenSecurityUsingGETForbidden handles this case with default header values.
Forbidden
func NewSuiTokenSecurityUsingGETForbidden ¶
func NewSuiTokenSecurityUsingGETForbidden() *SuiTokenSecurityUsingGETForbidden
NewSuiTokenSecurityUsingGETForbidden creates a SuiTokenSecurityUsingGETForbidden with default headers values
func (*SuiTokenSecurityUsingGETForbidden) Error ¶
func (o *SuiTokenSecurityUsingGETForbidden) Error() string
type SuiTokenSecurityUsingGETNotFound ¶
type SuiTokenSecurityUsingGETNotFound struct {
}
SuiTokenSecurityUsingGETNotFound handles this case with default header values.
Not Found
func NewSuiTokenSecurityUsingGETNotFound ¶
func NewSuiTokenSecurityUsingGETNotFound() *SuiTokenSecurityUsingGETNotFound
NewSuiTokenSecurityUsingGETNotFound creates a SuiTokenSecurityUsingGETNotFound with default headers values
func (*SuiTokenSecurityUsingGETNotFound) Error ¶
func (o *SuiTokenSecurityUsingGETNotFound) Error() string
type SuiTokenSecurityUsingGETOK ¶
type SuiTokenSecurityUsingGETOK struct {
Payload *models.ResponseWrapperSuiTokenSecurity
}
SuiTokenSecurityUsingGETOK handles this case with default header values.
OK
func NewSuiTokenSecurityUsingGETOK ¶
func NewSuiTokenSecurityUsingGETOK() *SuiTokenSecurityUsingGETOK
NewSuiTokenSecurityUsingGETOK creates a SuiTokenSecurityUsingGETOK with default headers values
func (*SuiTokenSecurityUsingGETOK) Error ¶
func (o *SuiTokenSecurityUsingGETOK) Error() string
func (*SuiTokenSecurityUsingGETOK) GetPayload ¶
func (o *SuiTokenSecurityUsingGETOK) GetPayload() *models.ResponseWrapperSuiTokenSecurity
type SuiTokenSecurityUsingGETParams ¶
type SuiTokenSecurityUsingGETParams struct {
/*Authorization
Authorization token in the format: Bearer <token> (e.g., Bearer eyJsZXZlbCI6NSwiYXBwTmFtZSI6ImF2cyIsImFwcEtleSI6IjFaW...)
*/
Authorization *string
/*ContractAddresses
The contract address of sui tokens.
*/
ContractAddresses string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SuiTokenSecurityUsingGETParams contains all the parameters to send to the API endpoint for the sui token security using g e t operation typically these are written to a http.Request
func NewSuiTokenSecurityUsingGETParams ¶
func NewSuiTokenSecurityUsingGETParams() *SuiTokenSecurityUsingGETParams
NewSuiTokenSecurityUsingGETParams creates a new SuiTokenSecurityUsingGETParams object with the default values initialized.
func NewSuiTokenSecurityUsingGETParamsWithContext ¶
func NewSuiTokenSecurityUsingGETParamsWithContext(ctx context.Context) *SuiTokenSecurityUsingGETParams
NewSuiTokenSecurityUsingGETParamsWithContext creates a new SuiTokenSecurityUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewSuiTokenSecurityUsingGETParamsWithHTTPClient ¶
func NewSuiTokenSecurityUsingGETParamsWithHTTPClient(client *http.Client) *SuiTokenSecurityUsingGETParams
NewSuiTokenSecurityUsingGETParamsWithHTTPClient creates a new SuiTokenSecurityUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSuiTokenSecurityUsingGETParamsWithTimeout ¶
func NewSuiTokenSecurityUsingGETParamsWithTimeout(timeout time.Duration) *SuiTokenSecurityUsingGETParams
NewSuiTokenSecurityUsingGETParamsWithTimeout creates a new SuiTokenSecurityUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*SuiTokenSecurityUsingGETParams) SetAuthorization ¶
func (o *SuiTokenSecurityUsingGETParams) SetAuthorization(authorization *string)
SetAuthorization adds the authorization to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) SetContext ¶
func (o *SuiTokenSecurityUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) SetContractAddresses ¶
func (o *SuiTokenSecurityUsingGETParams) SetContractAddresses(contractAddresses string)
SetContractAddresses adds the contractAddresses to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) SetHTTPClient ¶
func (o *SuiTokenSecurityUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) SetTimeout ¶
func (o *SuiTokenSecurityUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) WithAuthorization ¶
func (o *SuiTokenSecurityUsingGETParams) WithAuthorization(authorization *string) *SuiTokenSecurityUsingGETParams
WithAuthorization adds the authorization to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) WithContext ¶
func (o *SuiTokenSecurityUsingGETParams) WithContext(ctx context.Context) *SuiTokenSecurityUsingGETParams
WithContext adds the context to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) WithContractAddresses ¶
func (o *SuiTokenSecurityUsingGETParams) WithContractAddresses(contractAddresses string) *SuiTokenSecurityUsingGETParams
WithContractAddresses adds the contractAddresses to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) WithHTTPClient ¶
func (o *SuiTokenSecurityUsingGETParams) WithHTTPClient(client *http.Client) *SuiTokenSecurityUsingGETParams
WithHTTPClient adds the HTTPClient to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) WithTimeout ¶
func (o *SuiTokenSecurityUsingGETParams) WithTimeout(timeout time.Duration) *SuiTokenSecurityUsingGETParams
WithTimeout adds the timeout to the sui token security using g e t params
func (*SuiTokenSecurityUsingGETParams) WriteToRequest ¶
func (o *SuiTokenSecurityUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SuiTokenSecurityUsingGETReader ¶
type SuiTokenSecurityUsingGETReader struct {
// contains filtered or unexported fields
}
SuiTokenSecurityUsingGETReader is a Reader for the SuiTokenSecurityUsingGET structure.
func (*SuiTokenSecurityUsingGETReader) ReadResponse ¶
func (o *SuiTokenSecurityUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SuiTokenSecurityUsingGETUnauthorized ¶
type SuiTokenSecurityUsingGETUnauthorized struct {
}
SuiTokenSecurityUsingGETUnauthorized handles this case with default header values.
Unauthorized
func NewSuiTokenSecurityUsingGETUnauthorized ¶
func NewSuiTokenSecurityUsingGETUnauthorized() *SuiTokenSecurityUsingGETUnauthorized
NewSuiTokenSecurityUsingGETUnauthorized creates a SuiTokenSecurityUsingGETUnauthorized with default headers values
func (*SuiTokenSecurityUsingGETUnauthorized) Error ¶
func (o *SuiTokenSecurityUsingGETUnauthorized) Error() string