token_security_api_for_sui

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: 10 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 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

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

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 (*SuiTokenSecurityUsingGETOK) GetPayload

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

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

WithHTTPClient adds the HTTPClient to the sui token security using g e t params

func (*SuiTokenSecurityUsingGETParams) WithTimeout

WithTimeout adds the timeout to the sui token security using g e t params

func (*SuiTokenSecurityUsingGETParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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