Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) IbcCoreConnectionV1Connection(params *IbcCoreConnectionV1ConnectionParams, opts ...ClientOption) (*IbcCoreConnectionV1ConnectionOK, error)
- func (a *Client) NeutronInterchainQueriesRegisteredQueries(params *NeutronInterchainQueriesRegisteredQueriesParams, opts ...ClientOption) (*NeutronInterchainQueriesRegisteredQueriesOK, error)
- func (a *Client) NeutronInterchainQueriesRegisteredQuery(params *NeutronInterchainQueriesRegisteredQueryParams, opts ...ClientOption) (*NeutronInterchainQueriesRegisteredQueryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type IbcCoreConnectionV1ConnectionDefault
- func (o *IbcCoreConnectionV1ConnectionDefault) Code() int
- func (o *IbcCoreConnectionV1ConnectionDefault) Error() string
- func (o *IbcCoreConnectionV1ConnectionDefault) GetPayload() *IbcCoreConnectionV1ConnectionDefaultBody
- func (o *IbcCoreConnectionV1ConnectionDefault) IsClientError() bool
- func (o *IbcCoreConnectionV1ConnectionDefault) IsCode(code int) bool
- func (o *IbcCoreConnectionV1ConnectionDefault) IsRedirect() bool
- func (o *IbcCoreConnectionV1ConnectionDefault) IsServerError() bool
- func (o *IbcCoreConnectionV1ConnectionDefault) IsSuccess() bool
- func (o *IbcCoreConnectionV1ConnectionDefault) String() string
- type IbcCoreConnectionV1ConnectionDefaultBody
- func (o *IbcCoreConnectionV1ConnectionDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionDefaultBody) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionDefaultBody) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionDefaultBody) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0
- func (o *IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionOK
- func (o *IbcCoreConnectionV1ConnectionOK) Code() int
- func (o *IbcCoreConnectionV1ConnectionOK) Error() string
- func (o *IbcCoreConnectionV1ConnectionOK) GetPayload() *IbcCoreConnectionV1ConnectionOKBody
- func (o *IbcCoreConnectionV1ConnectionOK) IsClientError() bool
- func (o *IbcCoreConnectionV1ConnectionOK) IsCode(code int) bool
- func (o *IbcCoreConnectionV1ConnectionOK) IsRedirect() bool
- func (o *IbcCoreConnectionV1ConnectionOK) IsServerError() bool
- func (o *IbcCoreConnectionV1ConnectionOK) IsSuccess() bool
- func (o *IbcCoreConnectionV1ConnectionOK) String() string
- type IbcCoreConnectionV1ConnectionOKBody
- func (o *IbcCoreConnectionV1ConnectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionOKBody) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionOKBody) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionOKBody) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionOKBodyConnection
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnection) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnection) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnection) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionOKBodyProofHeight
- func (o *IbcCoreConnectionV1ConnectionOKBodyProofHeight) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyProofHeight) MarshalBinary() ([]byte, error)
- func (o *IbcCoreConnectionV1ConnectionOKBodyProofHeight) UnmarshalBinary(b []byte) error
- func (o *IbcCoreConnectionV1ConnectionOKBodyProofHeight) Validate(formats strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionParams
- func NewIbcCoreConnectionV1ConnectionParams() *IbcCoreConnectionV1ConnectionParams
- func NewIbcCoreConnectionV1ConnectionParamsWithContext(ctx context.Context) *IbcCoreConnectionV1ConnectionParams
- func NewIbcCoreConnectionV1ConnectionParamsWithHTTPClient(client *http.Client) *IbcCoreConnectionV1ConnectionParams
- func NewIbcCoreConnectionV1ConnectionParamsWithTimeout(timeout time.Duration) *IbcCoreConnectionV1ConnectionParams
- func (o *IbcCoreConnectionV1ConnectionParams) SetConnectionID(connectionID string)
- func (o *IbcCoreConnectionV1ConnectionParams) SetContext(ctx context.Context)
- func (o *IbcCoreConnectionV1ConnectionParams) SetDefaults()
- func (o *IbcCoreConnectionV1ConnectionParams) SetHTTPClient(client *http.Client)
- func (o *IbcCoreConnectionV1ConnectionParams) SetTimeout(timeout time.Duration)
- func (o *IbcCoreConnectionV1ConnectionParams) WithConnectionID(connectionID string) *IbcCoreConnectionV1ConnectionParams
- func (o *IbcCoreConnectionV1ConnectionParams) WithContext(ctx context.Context) *IbcCoreConnectionV1ConnectionParams
- func (o *IbcCoreConnectionV1ConnectionParams) WithDefaults() *IbcCoreConnectionV1ConnectionParams
- func (o *IbcCoreConnectionV1ConnectionParams) WithHTTPClient(client *http.Client) *IbcCoreConnectionV1ConnectionParams
- func (o *IbcCoreConnectionV1ConnectionParams) WithTimeout(timeout time.Duration) *IbcCoreConnectionV1ConnectionParams
- func (o *IbcCoreConnectionV1ConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type IbcCoreConnectionV1ConnectionReader
- type NeutronInterchainQueriesRegisteredQueriesDefault
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) Code() int
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) Error() string
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) GetPayload() *NeutronInterchainQueriesRegisteredQueriesDefaultBody
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsClientError() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsCode(code int) bool
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsRedirect() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsServerError() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsSuccess() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesDefault) String() string
- type NeutronInterchainQueriesRegisteredQueriesDefaultBody
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBody) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBody) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBody) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesOK
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) Code() int
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) Error() string
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) GetPayload() *NeutronInterchainQueriesRegisteredQueriesOKBody
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsClientError() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsCode(code int) bool
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsRedirect() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsServerError() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsSuccess() bool
- func (o *NeutronInterchainQueriesRegisteredQueriesOK) String() string
- type NeutronInterchainQueriesRegisteredQueriesOKBody
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBody) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBody) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBody) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesOKBodyPagination
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) ToNeutronRegisteredQuery() (*neutrontypes.RegisteredQuery, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesParams
- func NewNeutronInterchainQueriesRegisteredQueriesParams() *NeutronInterchainQueriesRegisteredQueriesParams
- func NewNeutronInterchainQueriesRegisteredQueriesParamsWithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueriesParams
- func NewNeutronInterchainQueriesRegisteredQueriesParamsWithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueriesParams
- func NewNeutronInterchainQueriesRegisteredQueriesParamsWithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetConnectionID(connectionID *string)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetContext(ctx context.Context)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetDefaults()
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetHTTPClient(client *http.Client)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetOwners(owners []string)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationCountTotal(paginationCountTotal *bool)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationKey(paginationKey *strfmt.Base64)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationLimit(paginationLimit *string)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationOffset(paginationOffset *string)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationReverse(paginationReverse *bool)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetTimeout(timeout time.Duration)
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithConnectionID(connectionID *string) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithDefaults() *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithOwners(owners []string) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationCountTotal(paginationCountTotal *bool) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationKey(paginationKey *strfmt.Base64) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationLimit(paginationLimit *string) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationOffset(paginationOffset *string) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationReverse(paginationReverse *bool) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueriesParams
- func (o *NeutronInterchainQueriesRegisteredQueriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueriesReader
- type NeutronInterchainQueriesRegisteredQueryDefault
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) Code() int
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) Error() string
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) GetPayload() *NeutronInterchainQueriesRegisteredQueryDefaultBody
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsClientError() bool
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsCode(code int) bool
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsRedirect() bool
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsServerError() bool
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsSuccess() bool
- func (o *NeutronInterchainQueriesRegisteredQueryDefault) String() string
- type NeutronInterchainQueriesRegisteredQueryDefaultBody
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBody) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBody) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBody) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueryOK
- func (o *NeutronInterchainQueriesRegisteredQueryOK) Code() int
- func (o *NeutronInterchainQueriesRegisteredQueryOK) Error() string
- func (o *NeutronInterchainQueriesRegisteredQueryOK) GetPayload() *NeutronInterchainQueriesRegisteredQueryOKBody
- func (o *NeutronInterchainQueriesRegisteredQueryOK) IsClientError() bool
- func (o *NeutronInterchainQueriesRegisteredQueryOK) IsCode(code int) bool
- func (o *NeutronInterchainQueriesRegisteredQueryOK) IsRedirect() bool
- func (o *NeutronInterchainQueriesRegisteredQueryOK) IsServerError() bool
- func (o *NeutronInterchainQueriesRegisteredQueryOK) IsSuccess() bool
- func (o *NeutronInterchainQueriesRegisteredQueryOK) String() string
- type NeutronInterchainQueriesRegisteredQueryOKBody
- func (o *NeutronInterchainQueriesRegisteredQueryOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBody) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueryOKBody) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBody) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) ToNeutronRegisteredQuery() (*neutrontypes.RegisteredQuery, error)
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) MarshalBinary() ([]byte, error)
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) UnmarshalBinary(b []byte) error
- func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) Validate(formats strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueryParams
- func NewNeutronInterchainQueriesRegisteredQueryParams() *NeutronInterchainQueriesRegisteredQueryParams
- func NewNeutronInterchainQueriesRegisteredQueryParamsWithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueryParams
- func NewNeutronInterchainQueriesRegisteredQueryParamsWithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueryParams
- func NewNeutronInterchainQueriesRegisteredQueryParamsWithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueryParams
- func (o *NeutronInterchainQueriesRegisteredQueryParams) SetContext(ctx context.Context)
- func (o *NeutronInterchainQueriesRegisteredQueryParams) SetDefaults()
- func (o *NeutronInterchainQueriesRegisteredQueryParams) SetHTTPClient(client *http.Client)
- func (o *NeutronInterchainQueriesRegisteredQueryParams) SetQueryID(queryID *string)
- func (o *NeutronInterchainQueriesRegisteredQueryParams) SetTimeout(timeout time.Duration)
- func (o *NeutronInterchainQueriesRegisteredQueryParams) WithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueryParams
- func (o *NeutronInterchainQueriesRegisteredQueryParams) WithDefaults() *NeutronInterchainQueriesRegisteredQueryParams
- func (o *NeutronInterchainQueriesRegisteredQueryParams) WithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueryParams
- func (o *NeutronInterchainQueriesRegisteredQueryParams) WithQueryID(queryID *string) *NeutronInterchainQueriesRegisteredQueryParams
- func (o *NeutronInterchainQueriesRegisteredQueryParams) WithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueryParams
- func (o *NeutronInterchainQueriesRegisteredQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NeutronInterchainQueriesRegisteredQueryReader
Constants ¶
const ( // IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATEUNINITIALIZEDUNSPECIFIED captures enum value "STATE_UNINITIALIZED_UNSPECIFIED" IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATEUNINITIALIZEDUNSPECIFIED string = "STATE_UNINITIALIZED_UNSPECIFIED" // IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATEINIT captures enum value "STATE_INIT" IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATEINIT string = "STATE_INIT" // IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATETRYOPEN captures enum value "STATE_TRYOPEN" IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATETRYOPEN string = "STATE_TRYOPEN" // IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATEOPEN captures enum value "STATE_OPEN" IbcCoreConnectionV1ConnectionOKBodyConnectionStateSTATEOPEN string = "STATE_OPEN" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for query API
func (*Client) IbcCoreConnectionV1Connection ¶
func (a *Client) IbcCoreConnectionV1Connection(params *IbcCoreConnectionV1ConnectionParams, opts ...ClientOption) (*IbcCoreConnectionV1ConnectionOK, error)
IbcCoreConnectionV1Connection connections queries an i b c connection end
func (*Client) NeutronInterchainQueriesRegisteredQueries ¶
func (a *Client) NeutronInterchainQueriesRegisteredQueries(params *NeutronInterchainQueriesRegisteredQueriesParams, opts ...ClientOption) (*NeutronInterchainQueriesRegisteredQueriesOK, error)
NeutronInterchainQueriesRegisteredQueries neutron interchain queries registered queries API
func (*Client) NeutronInterchainQueriesRegisteredQuery ¶
func (a *Client) NeutronInterchainQueriesRegisteredQuery(params *NeutronInterchainQueriesRegisteredQueryParams, opts ...ClientOption) (*NeutronInterchainQueriesRegisteredQueryOK, error)
NeutronInterchainQueriesRegisteredQuery neutron interchain queries registered query API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { IbcCoreConnectionV1Connection(params *IbcCoreConnectionV1ConnectionParams, opts ...ClientOption) (*IbcCoreConnectionV1ConnectionOK, error) NeutronInterchainQueriesRegisteredQueries(params *NeutronInterchainQueriesRegisteredQueriesParams, opts ...ClientOption) (*NeutronInterchainQueriesRegisteredQueriesOK, error) NeutronInterchainQueriesRegisteredQuery(params *NeutronInterchainQueriesRegisteredQueryParams, opts ...ClientOption) (*NeutronInterchainQueriesRegisteredQueryOK, 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 query API client.
type IbcCoreConnectionV1ConnectionDefault ¶
type IbcCoreConnectionV1ConnectionDefault struct { Payload *IbcCoreConnectionV1ConnectionDefaultBody // contains filtered or unexported fields }
IbcCoreConnectionV1ConnectionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewIbcCoreConnectionV1ConnectionDefault ¶
func NewIbcCoreConnectionV1ConnectionDefault(code int) *IbcCoreConnectionV1ConnectionDefault
NewIbcCoreConnectionV1ConnectionDefault creates a IbcCoreConnectionV1ConnectionDefault with default headers values
func (*IbcCoreConnectionV1ConnectionDefault) Code ¶
func (o *IbcCoreConnectionV1ConnectionDefault) Code() int
Code gets the status code for the ibc core connection v1 connection default response
func (*IbcCoreConnectionV1ConnectionDefault) Error ¶
func (o *IbcCoreConnectionV1ConnectionDefault) Error() string
func (*IbcCoreConnectionV1ConnectionDefault) GetPayload ¶
func (o *IbcCoreConnectionV1ConnectionDefault) GetPayload() *IbcCoreConnectionV1ConnectionDefaultBody
func (*IbcCoreConnectionV1ConnectionDefault) IsClientError ¶
func (o *IbcCoreConnectionV1ConnectionDefault) IsClientError() bool
IsClientError returns true when this ibc core connection v1 connection default response has a 4xx status code
func (*IbcCoreConnectionV1ConnectionDefault) IsCode ¶
func (o *IbcCoreConnectionV1ConnectionDefault) IsCode(code int) bool
IsCode returns true when this ibc core connection v1 connection default response a status code equal to that given
func (*IbcCoreConnectionV1ConnectionDefault) IsRedirect ¶
func (o *IbcCoreConnectionV1ConnectionDefault) IsRedirect() bool
IsRedirect returns true when this ibc core connection v1 connection default response has a 3xx status code
func (*IbcCoreConnectionV1ConnectionDefault) IsServerError ¶
func (o *IbcCoreConnectionV1ConnectionDefault) IsServerError() bool
IsServerError returns true when this ibc core connection v1 connection default response has a 5xx status code
func (*IbcCoreConnectionV1ConnectionDefault) IsSuccess ¶
func (o *IbcCoreConnectionV1ConnectionDefault) IsSuccess() bool
IsSuccess returns true when this ibc core connection v1 connection default response has a 2xx status code
func (*IbcCoreConnectionV1ConnectionDefault) String ¶
func (o *IbcCoreConnectionV1ConnectionDefault) String() string
type IbcCoreConnectionV1ConnectionDefaultBody ¶
type IbcCoreConnectionV1ConnectionDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
IbcCoreConnectionV1ConnectionDefaultBody ibc core connection v1 connection default body swagger:model IbcCoreConnectionV1ConnectionDefaultBody
func (*IbcCoreConnectionV1ConnectionDefaultBody) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this ibc core connection v1 connection default body based on the context it is used
func (*IbcCoreConnectionV1ConnectionDefaultBody) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionDefaultBody) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0 ¶
type IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0 struct { // A URL/resource name that uniquely identifies the type of the serialized // protocol buffer message. This string must contain at least // one "/" character. The last segment of the URL's path must represent // the fully qualified name of the type (as in // `path/google.protobuf.Duration`). The name should be in a canonical form // (e.g., leading "." is not accepted). // // In practice, teams usually precompile into the binary all types that they // expect it to use in the context of Any. However, for URLs which use the // scheme `http`, `https`, or no scheme, one can optionally set up a type // server that maps type URLs to message definitions as follows: // // * If no scheme is provided, `https` is assumed. // * An HTTP GET on the URL must yield a [google.protobuf.Type][] // value in binary format, or produce an error. // * Applications are allowed to cache lookup results based on the // URL, or have them precompiled into a binary to avoid any // lookup. Therefore, binary compatibility needs to be preserved // on changes to types. (Use versioned type names to manage // breaking changes.) // // Note: this functionality is not currently available in the official // protobuf release, and it is not used for type URLs beginning with // type.googleapis.com. // // Schemes other than `http`, `https` (or the empty scheme) might be // used with implementation specific semantics. AtType string `json:"@type,omitempty"` }
IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message. // // Protobuf library provides support to pack/unpack Any values in the form // of utility functions or additional generated methods of the Any type. // // Example 1: Pack and unpack a message in C++. // // Foo foo = ...; // Any any; // any.PackFrom(foo); // ... // if (any.UnpackTo(&foo)) { // ... // } // // Example 2: Pack and unpack a message in Java. // // Foo foo = ...; // Any any = Any.pack(foo); // ... // if (any.is(Foo.class)) { // foo = any.unpack(Foo.class); // } // // Example 3: Pack and unpack a message in Python. // // foo = Foo(...) // any = Any() // any.Pack(foo) // ... // if any.Is(Foo.DESCRIPTOR): // any.Unpack(foo) // ... // // Example 4: Pack and unpack a message in Go // // foo := &pb.Foo{...} // any, err := anypb.New(foo) // if err != nil { // ... // } // ... // foo := &pb.Foo{} // if err := any.UnmarshalTo(foo); err != nil { // ... // } // // The pack methods provided by protobuf library will by default use // 'type.googleapis.com/full.type.name' as the type URL and the unpack // methods only use the fully qualified type name after the last '/' // in the type URL, for example "foo.bar.com/x/y.z" will yield type // name "y.z". // // // JSON // ==== // The JSON representation of an `Any` value uses the regular // representation of the deserialized, embedded message, with an // additional field `@type` which contains the type URL. Example: // // package google.profile; // message Person { // string first_name = 1; // string last_name = 2; // } // // { // "@type": "type.googleapis.com/google.profile.Person", // "firstName": <string>, // "lastName": <string> // } // // If the embedded message type is well-known and has a custom JSON // representation, that representation will be embedded adding a field // `value` which holds the custom JSON in addition to the `@type` // field. Example (for message [google.protobuf.Duration][]): // // { // "@type": "type.googleapis.com/google.protobuf.Duration", // "value": "1.212s" // } swagger:model IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0
func (*IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this ibc core connection v1 connection default body details items0 based on context it is used
func (*IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionOK ¶
type IbcCoreConnectionV1ConnectionOK struct {
Payload *IbcCoreConnectionV1ConnectionOKBody
}
IbcCoreConnectionV1ConnectionOK describes a response with status code 200, with default header values.
A successful response.
func NewIbcCoreConnectionV1ConnectionOK ¶
func NewIbcCoreConnectionV1ConnectionOK() *IbcCoreConnectionV1ConnectionOK
NewIbcCoreConnectionV1ConnectionOK creates a IbcCoreConnectionV1ConnectionOK with default headers values
func (*IbcCoreConnectionV1ConnectionOK) Code ¶
func (o *IbcCoreConnectionV1ConnectionOK) Code() int
Code gets the status code for the ibc core connection v1 connection o k response
func (*IbcCoreConnectionV1ConnectionOK) Error ¶
func (o *IbcCoreConnectionV1ConnectionOK) Error() string
func (*IbcCoreConnectionV1ConnectionOK) GetPayload ¶
func (o *IbcCoreConnectionV1ConnectionOK) GetPayload() *IbcCoreConnectionV1ConnectionOKBody
func (*IbcCoreConnectionV1ConnectionOK) IsClientError ¶
func (o *IbcCoreConnectionV1ConnectionOK) IsClientError() bool
IsClientError returns true when this ibc core connection v1 connection o k response has a 4xx status code
func (*IbcCoreConnectionV1ConnectionOK) IsCode ¶
func (o *IbcCoreConnectionV1ConnectionOK) IsCode(code int) bool
IsCode returns true when this ibc core connection v1 connection o k response a status code equal to that given
func (*IbcCoreConnectionV1ConnectionOK) IsRedirect ¶
func (o *IbcCoreConnectionV1ConnectionOK) IsRedirect() bool
IsRedirect returns true when this ibc core connection v1 connection o k response has a 3xx status code
func (*IbcCoreConnectionV1ConnectionOK) IsServerError ¶
func (o *IbcCoreConnectionV1ConnectionOK) IsServerError() bool
IsServerError returns true when this ibc core connection v1 connection o k response has a 5xx status code
func (*IbcCoreConnectionV1ConnectionOK) IsSuccess ¶
func (o *IbcCoreConnectionV1ConnectionOK) IsSuccess() bool
IsSuccess returns true when this ibc core connection v1 connection o k response has a 2xx status code
func (*IbcCoreConnectionV1ConnectionOK) String ¶
func (o *IbcCoreConnectionV1ConnectionOK) String() string
type IbcCoreConnectionV1ConnectionOKBody ¶
type IbcCoreConnectionV1ConnectionOKBody struct { // connection Connection *IbcCoreConnectionV1ConnectionOKBodyConnection `json:"connection,omitempty"` // merkle proof of existence // Format: byte Proof strfmt.Base64 `json:"proof,omitempty"` // proof height ProofHeight *IbcCoreConnectionV1ConnectionOKBodyProofHeight `json:"proof_height,omitempty"` }
IbcCoreConnectionV1ConnectionOKBody QueryConnectionResponse is the response type for the Query/Connection RPC // method. Besides the connection end, it includes a proof and the height from // which the proof was retrieved. swagger:model IbcCoreConnectionV1ConnectionOKBody
func (*IbcCoreConnectionV1ConnectionOKBody) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this ibc core connection v1 connection o k body based on the context it is used
func (*IbcCoreConnectionV1ConnectionOKBody) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionOKBody) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionOKBodyConnection ¶
type IbcCoreConnectionV1ConnectionOKBodyConnection struct { // client associated with this connection. ClientID string `json:"client_id,omitempty"` // counterparty Counterparty *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty `json:"counterparty,omitempty"` // delay period that must pass before a consensus state can be used for // packet-verification NOTE: delay period logic is only implemented by some // clients. DelayPeriod string `json:"delay_period,omitempty"` // current state of the connection end. // Enum: [STATE_UNINITIALIZED_UNSPECIFIED STATE_INIT STATE_TRYOPEN STATE_OPEN] State *string `json:"state,omitempty"` // IBC version which can be utilised to determine encodings or protocols for // channels or packets utilising this connection. Versions []*IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0 `json:"versions"` }
IbcCoreConnectionV1ConnectionOKBodyConnection connection associated with the request identifier // // ConnectionEnd defines a stateful object on a chain connected to another // separate one. // NOTE: there must only be 2 defined ConnectionEnds to establish // a connection between two chains. swagger:model IbcCoreConnectionV1ConnectionOKBodyConnection
func (*IbcCoreConnectionV1ConnectionOKBodyConnection) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this ibc core connection v1 connection o k body connection based on the context it is used
func (*IbcCoreConnectionV1ConnectionOKBodyConnection) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnection) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionOKBodyConnection) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnection) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty ¶
type IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty struct { // identifies the client on the counterparty chain associated with a given // connection. ClientID string `json:"client_id,omitempty"` // identifies the connection end on the counterparty chain associated with a // given connection. ConnectionID string `json:"connection_id,omitempty"` // prefix Prefix *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix `json:"prefix,omitempty"` }
IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty counterparty chain associated with this connection. swagger:model IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this ibc core connection v1 connection o k body connection counterparty based on the context it is used
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix ¶
type IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix struct { // key prefix // Format: byte KeyPrefix strfmt.Base64 `json:"key_prefix,omitempty"` }
IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix MerklePrefix is merkle path prefixed to the key. // The constructed key from the Path and the key will be append(Path.KeyPath, // append(Path.KeyPrefix, key...)) // // commitment merkle prefix of the counterparty chain. swagger:model IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this ibc core connection v1 connection o k body connection counterparty prefix based on context it is used
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0 ¶
type IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0 struct { // list of features compatible with the specified identifier Features []string `json:"features"` // unique version identifier Identifier string `json:"identifier,omitempty"` }
IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0 Version defines the versioning scheme used to negotiate the IBC verison in // the connection handshake. swagger:model IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this ibc core connection v1 connection o k body connection versions items0 based on context it is used
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionOKBodyProofHeight ¶
type IbcCoreConnectionV1ConnectionOKBodyProofHeight struct { // the height within the given revision RevisionHeight string `json:"revision_height,omitempty"` // the revision that the client is currently on RevisionNumber string `json:"revision_number,omitempty"` }
IbcCoreConnectionV1ConnectionOKBodyProofHeight height at which the proof was retrieved // // Normally the RevisionHeight is incremented at each height while keeping // RevisionNumber the same. However some consensus algorithms may choose to // reset the height in certain conditions e.g. hard forks, state-machine // breaking changes In these cases, the RevisionNumber is incremented so that // height continues to be monitonically increasing even as the RevisionHeight // gets reset swagger:model IbcCoreConnectionV1ConnectionOKBodyProofHeight
func (*IbcCoreConnectionV1ConnectionOKBodyProofHeight) ContextValidate ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyProofHeight) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this ibc core connection v1 connection o k body proof height based on context it is used
func (*IbcCoreConnectionV1ConnectionOKBodyProofHeight) MarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyProofHeight) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IbcCoreConnectionV1ConnectionOKBodyProofHeight) UnmarshalBinary ¶
func (o *IbcCoreConnectionV1ConnectionOKBodyProofHeight) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IbcCoreConnectionV1ConnectionParams ¶
type IbcCoreConnectionV1ConnectionParams struct { /* ConnectionID. connection unique identifier */ ConnectionID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
IbcCoreConnectionV1ConnectionParams contains all the parameters to send to the API endpoint
for the ibc core connection v1 connection operation. Typically these are written to a http.Request.
func NewIbcCoreConnectionV1ConnectionParams ¶
func NewIbcCoreConnectionV1ConnectionParams() *IbcCoreConnectionV1ConnectionParams
NewIbcCoreConnectionV1ConnectionParams creates a new IbcCoreConnectionV1ConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewIbcCoreConnectionV1ConnectionParamsWithContext ¶
func NewIbcCoreConnectionV1ConnectionParamsWithContext(ctx context.Context) *IbcCoreConnectionV1ConnectionParams
NewIbcCoreConnectionV1ConnectionParamsWithContext creates a new IbcCoreConnectionV1ConnectionParams object with the ability to set a context for a request.
func NewIbcCoreConnectionV1ConnectionParamsWithHTTPClient ¶
func NewIbcCoreConnectionV1ConnectionParamsWithHTTPClient(client *http.Client) *IbcCoreConnectionV1ConnectionParams
NewIbcCoreConnectionV1ConnectionParamsWithHTTPClient creates a new IbcCoreConnectionV1ConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewIbcCoreConnectionV1ConnectionParamsWithTimeout ¶
func NewIbcCoreConnectionV1ConnectionParamsWithTimeout(timeout time.Duration) *IbcCoreConnectionV1ConnectionParams
NewIbcCoreConnectionV1ConnectionParamsWithTimeout creates a new IbcCoreConnectionV1ConnectionParams object with the ability to set a timeout on a request.
func (*IbcCoreConnectionV1ConnectionParams) SetConnectionID ¶
func (o *IbcCoreConnectionV1ConnectionParams) SetConnectionID(connectionID string)
SetConnectionID adds the connectionId to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) SetContext ¶
func (o *IbcCoreConnectionV1ConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) SetDefaults ¶
func (o *IbcCoreConnectionV1ConnectionParams) SetDefaults()
SetDefaults hydrates default values in the ibc core connection v1 connection params (not the query body).
All values with no default are reset to their zero value.
func (*IbcCoreConnectionV1ConnectionParams) SetHTTPClient ¶
func (o *IbcCoreConnectionV1ConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) SetTimeout ¶
func (o *IbcCoreConnectionV1ConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) WithConnectionID ¶
func (o *IbcCoreConnectionV1ConnectionParams) WithConnectionID(connectionID string) *IbcCoreConnectionV1ConnectionParams
WithConnectionID adds the connectionID to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) WithContext ¶
func (o *IbcCoreConnectionV1ConnectionParams) WithContext(ctx context.Context) *IbcCoreConnectionV1ConnectionParams
WithContext adds the context to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) WithDefaults ¶
func (o *IbcCoreConnectionV1ConnectionParams) WithDefaults() *IbcCoreConnectionV1ConnectionParams
WithDefaults hydrates default values in the ibc core connection v1 connection params (not the query body).
All values with no default are reset to their zero value.
func (*IbcCoreConnectionV1ConnectionParams) WithHTTPClient ¶
func (o *IbcCoreConnectionV1ConnectionParams) WithHTTPClient(client *http.Client) *IbcCoreConnectionV1ConnectionParams
WithHTTPClient adds the HTTPClient to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) WithTimeout ¶
func (o *IbcCoreConnectionV1ConnectionParams) WithTimeout(timeout time.Duration) *IbcCoreConnectionV1ConnectionParams
WithTimeout adds the timeout to the ibc core connection v1 connection params
func (*IbcCoreConnectionV1ConnectionParams) WriteToRequest ¶
func (o *IbcCoreConnectionV1ConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type IbcCoreConnectionV1ConnectionReader ¶
type IbcCoreConnectionV1ConnectionReader struct {
// contains filtered or unexported fields
}
IbcCoreConnectionV1ConnectionReader is a Reader for the IbcCoreConnectionV1Connection structure.
func (*IbcCoreConnectionV1ConnectionReader) ReadResponse ¶
func (o *IbcCoreConnectionV1ConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NeutronInterchainQueriesRegisteredQueriesDefault ¶
type NeutronInterchainQueriesRegisteredQueriesDefault struct { Payload *NeutronInterchainQueriesRegisteredQueriesDefaultBody // contains filtered or unexported fields }
NeutronInterchainQueriesRegisteredQueriesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewNeutronInterchainQueriesRegisteredQueriesDefault ¶
func NewNeutronInterchainQueriesRegisteredQueriesDefault(code int) *NeutronInterchainQueriesRegisteredQueriesDefault
NewNeutronInterchainQueriesRegisteredQueriesDefault creates a NeutronInterchainQueriesRegisteredQueriesDefault with default headers values
func (*NeutronInterchainQueriesRegisteredQueriesDefault) Code ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) Code() int
Code gets the status code for the neutron interchain queries registered queries default response
func (*NeutronInterchainQueriesRegisteredQueriesDefault) Error ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) Error() string
func (*NeutronInterchainQueriesRegisteredQueriesDefault) GetPayload ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) GetPayload() *NeutronInterchainQueriesRegisteredQueriesDefaultBody
func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsClientError ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsClientError() bool
IsClientError returns true when this neutron interchain queries registered queries default response has a 4xx status code
func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsCode ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsCode(code int) bool
IsCode returns true when this neutron interchain queries registered queries default response a status code equal to that given
func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsRedirect ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsRedirect() bool
IsRedirect returns true when this neutron interchain queries registered queries default response has a 3xx status code
func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsServerError ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsServerError() bool
IsServerError returns true when this neutron interchain queries registered queries default response has a 5xx status code
func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsSuccess ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) IsSuccess() bool
IsSuccess returns true when this neutron interchain queries registered queries default response has a 2xx status code
func (*NeutronInterchainQueriesRegisteredQueriesDefault) String ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefault) String() string
type NeutronInterchainQueriesRegisteredQueriesDefaultBody ¶
type NeutronInterchainQueriesRegisteredQueriesDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
NeutronInterchainQueriesRegisteredQueriesDefaultBody neutron interchain queries registered queries default body swagger:model NeutronInterchainQueriesRegisteredQueriesDefaultBody
func (*NeutronInterchainQueriesRegisteredQueriesDefaultBody) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this neutron interchain queries registered queries default body based on the context it is used
func (*NeutronInterchainQueriesRegisteredQueriesDefaultBody) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesDefaultBody) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0 ¶
type NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0 struct { // A URL/resource name that uniquely identifies the type of the serialized // protocol buffer message. This string must contain at least // one "/" character. The last segment of the URL's path must represent // the fully qualified name of the type (as in // `path/google.protobuf.Duration`). The name should be in a canonical form // (e.g., leading "." is not accepted). // // In practice, teams usually precompile into the binary all types that they // expect it to use in the context of Any. However, for URLs which use the // scheme `http`, `https`, or no scheme, one can optionally set up a type // server that maps type URLs to message definitions as follows: // // * If no scheme is provided, `https` is assumed. // * An HTTP GET on the URL must yield a [google.protobuf.Type][] // value in binary format, or produce an error. // * Applications are allowed to cache lookup results based on the // URL, or have them precompiled into a binary to avoid any // lookup. Therefore, binary compatibility needs to be preserved // on changes to types. (Use versioned type names to manage // breaking changes.) // // Note: this functionality is not currently available in the official // protobuf release, and it is not used for type URLs beginning with // type.googleapis.com. // // Schemes other than `http`, `https` (or the empty scheme) might be // used with implementation specific semantics. AtType string `json:"@type,omitempty"` }
NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message. // // Protobuf library provides support to pack/unpack Any values in the form // of utility functions or additional generated methods of the Any type. // // Example 1: Pack and unpack a message in C++. // // Foo foo = ...; // Any any; // any.PackFrom(foo); // ... // if (any.UnpackTo(&foo)) { // ... // } // // Example 2: Pack and unpack a message in Java. // // Foo foo = ...; // Any any = Any.pack(foo); // ... // if (any.is(Foo.class)) { // foo = any.unpack(Foo.class); // } // // Example 3: Pack and unpack a message in Python. // // foo = Foo(...) // any = Any() // any.Pack(foo) // ... // if any.Is(Foo.DESCRIPTOR): // any.Unpack(foo) // ... // // Example 4: Pack and unpack a message in Go // // foo := &pb.Foo{...} // any, err := anypb.New(foo) // if err != nil { // ... // } // ... // foo := &pb.Foo{} // if err := any.UnmarshalTo(foo); err != nil { // ... // } // // The pack methods provided by protobuf library will by default use // 'type.googleapis.com/full.type.name' as the type URL and the unpack // methods only use the fully qualified type name after the last '/' // in the type URL, for example "foo.bar.com/x/y.z" will yield type // name "y.z". // // // JSON // ==== // The JSON representation of an `Any` value uses the regular // representation of the deserialized, embedded message, with an // additional field `@type` which contains the type URL. Example: // // package google.profile; // message Person { // string first_name = 1; // string last_name = 2; // } // // { // "@type": "type.googleapis.com/google.profile.Person", // "firstName": <string>, // "lastName": <string> // } // // If the embedded message type is well-known and has a custom JSON // representation, that representation will be embedded adding a field // `value` which holds the custom JSON in addition to the `@type` // field. Example (for message [google.protobuf.Duration][]): // // { // "@type": "type.googleapis.com/google.protobuf.Duration", // "value": "1.212s" // } swagger:model NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0
func (*NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this neutron interchain queries registered queries default body details items0 based on context it is used
func (*NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueriesOK ¶
type NeutronInterchainQueriesRegisteredQueriesOK struct {
Payload *NeutronInterchainQueriesRegisteredQueriesOKBody
}
NeutronInterchainQueriesRegisteredQueriesOK describes a response with status code 200, with default header values.
A successful response.
func NewNeutronInterchainQueriesRegisteredQueriesOK ¶
func NewNeutronInterchainQueriesRegisteredQueriesOK() *NeutronInterchainQueriesRegisteredQueriesOK
NewNeutronInterchainQueriesRegisteredQueriesOK creates a NeutronInterchainQueriesRegisteredQueriesOK with default headers values
func (*NeutronInterchainQueriesRegisteredQueriesOK) Code ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) Code() int
Code gets the status code for the neutron interchain queries registered queries o k response
func (*NeutronInterchainQueriesRegisteredQueriesOK) Error ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) Error() string
func (*NeutronInterchainQueriesRegisteredQueriesOK) GetPayload ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) GetPayload() *NeutronInterchainQueriesRegisteredQueriesOKBody
func (*NeutronInterchainQueriesRegisteredQueriesOK) IsClientError ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsClientError() bool
IsClientError returns true when this neutron interchain queries registered queries o k response has a 4xx status code
func (*NeutronInterchainQueriesRegisteredQueriesOK) IsCode ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsCode(code int) bool
IsCode returns true when this neutron interchain queries registered queries o k response a status code equal to that given
func (*NeutronInterchainQueriesRegisteredQueriesOK) IsRedirect ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsRedirect() bool
IsRedirect returns true when this neutron interchain queries registered queries o k response has a 3xx status code
func (*NeutronInterchainQueriesRegisteredQueriesOK) IsServerError ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsServerError() bool
IsServerError returns true when this neutron interchain queries registered queries o k response has a 5xx status code
func (*NeutronInterchainQueriesRegisteredQueriesOK) IsSuccess ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) IsSuccess() bool
IsSuccess returns true when this neutron interchain queries registered queries o k response has a 2xx status code
func (*NeutronInterchainQueriesRegisteredQueriesOK) String ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOK) String() string
type NeutronInterchainQueriesRegisteredQueriesOKBody ¶
type NeutronInterchainQueriesRegisteredQueriesOKBody struct { // pagination Pagination *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination `json:"pagination,omitempty"` // registered queries RegisteredQueries []*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0 `json:"registered_queries"` }
NeutronInterchainQueriesRegisteredQueriesOKBody neutron interchain queries registered queries o k body swagger:model NeutronInterchainQueriesRegisteredQueriesOKBody
func (*NeutronInterchainQueriesRegisteredQueriesOKBody) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this neutron interchain queries registered queries o k body based on the context it is used
func (*NeutronInterchainQueriesRegisteredQueriesOKBody) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBody) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueriesOKBodyPagination ¶
type NeutronInterchainQueriesRegisteredQueriesOKBodyPagination struct { // next_key is the key to be passed to PageRequest.key to // query the next page most efficiently // Format: byte NextKey strfmt.Base64 `json:"next_key,omitempty"` // total is total number of results available if PageRequest.count_total // was set, its value is undefined otherwise Total string `json:"total,omitempty"` }
NeutronInterchainQueriesRegisteredQueriesOKBodyPagination pagination defines the pagination in the response. swagger:model NeutronInterchainQueriesRegisteredQueriesOKBodyPagination
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this neutron interchain queries registered queries o k body pagination based on context it is used
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0 ¶
type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0 struct { // The IBC connection ID for getting ConsensusState to verify proofs ConnectionID string `json:"connection_id,omitempty"` // The unique id of the registered query. ID string `json:"id,omitempty"` // The KV-storage keys for which we want to get values from remote chain Keys []*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0 `json:"keys"` // The local chain last block height when the query result was updated. LastSubmittedResultLocalHeight string `json:"last_submitted_result_local_height,omitempty"` // last submitted result remote height LastSubmittedResultRemoteHeight *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight `json:"last_submitted_result_remote_height,omitempty"` // The address that registered the query. Owner string `json:"owner,omitempty"` // The query type identifier: `kv` or `tx` now QueryType string `json:"query_type,omitempty"` // The filter for transaction search ICQ TransactionsFilter string `json:"transactions_filter,omitempty"` // Parameter that defines how often the query must be updated. UpdatePeriod string `json:"update_period,omitempty"` }
NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0 neutron interchain queries registered queries o k body registered queries items0 swagger:model NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this neutron interchain queries registered queries o k body registered queries items0 based on the context it is used
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) ToNeutronRegisteredQuery ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) ToNeutronRegisteredQuery() (*neutrontypes.RegisteredQuery, error)
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) Validate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) Validate(formats strfmt.Registry) error
Validate validates this neutron interchain queries registered queries o k body registered queries items0
type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0 ¶
type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0 struct { // Key you want to read from the storage // Format: byte Key strfmt.Base64 `json:"key,omitempty"` // Path (storage prefix) to the storage where you want to read value by key (usually name of cosmos-sdk module: 'staking', 'bank', etc.) Path string `json:"path,omitempty"` }
NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0 neutron interchain queries registered queries o k body registered queries items0 keys items0 swagger:model NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this neutron interchain queries registered queries o k body registered queries items0 keys items0 based on context it is used
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) Validate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) Validate(formats strfmt.Registry) error
Validate validates this neutron interchain queries registered queries o k body registered queries items0 keys items0
type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight ¶
type NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight struct { // revision height RevisionHeight string `json:"revision_height,omitempty"` // revision number RevisionNumber string `json:"revision_number,omitempty"` }
NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight The remote chain last block height & revision number when the query result was updated. swagger:model NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this neutron interchain queries registered queries o k body registered queries items0 last submitted result remote height based on context it is used
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) Validate ¶
func (o *NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) Validate(formats strfmt.Registry) error
Validate validates this neutron interchain queries registered queries o k body registered queries items0 last submitted result remote height
type NeutronInterchainQueriesRegisteredQueriesParams ¶
type NeutronInterchainQueriesRegisteredQueriesParams struct { // ConnectionID. ConnectionID *string // Owners. Owners []string /* PaginationCountTotal. count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. */ PaginationCountTotal *bool /* PaginationKey. key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. Format: byte */ PaginationKey *strfmt.Base64 /* PaginationLimit. limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. Format: uint64 */ PaginationLimit *string /* PaginationOffset. offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. Format: uint64 */ PaginationOffset *string /* PaginationReverse. reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43 */ PaginationReverse *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NeutronInterchainQueriesRegisteredQueriesParams contains all the parameters to send to the API endpoint
for the neutron interchain queries registered queries operation. Typically these are written to a http.Request.
func NewNeutronInterchainQueriesRegisteredQueriesParams ¶
func NewNeutronInterchainQueriesRegisteredQueriesParams() *NeutronInterchainQueriesRegisteredQueriesParams
NewNeutronInterchainQueriesRegisteredQueriesParams creates a new NeutronInterchainQueriesRegisteredQueriesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewNeutronInterchainQueriesRegisteredQueriesParamsWithContext ¶
func NewNeutronInterchainQueriesRegisteredQueriesParamsWithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueriesParams
NewNeutronInterchainQueriesRegisteredQueriesParamsWithContext creates a new NeutronInterchainQueriesRegisteredQueriesParams object with the ability to set a context for a request.
func NewNeutronInterchainQueriesRegisteredQueriesParamsWithHTTPClient ¶
func NewNeutronInterchainQueriesRegisteredQueriesParamsWithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueriesParams
NewNeutronInterchainQueriesRegisteredQueriesParamsWithHTTPClient creates a new NeutronInterchainQueriesRegisteredQueriesParams object with the ability to set a custom HTTPClient for a request.
func NewNeutronInterchainQueriesRegisteredQueriesParamsWithTimeout ¶
func NewNeutronInterchainQueriesRegisteredQueriesParamsWithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueriesParams
NewNeutronInterchainQueriesRegisteredQueriesParamsWithTimeout creates a new NeutronInterchainQueriesRegisteredQueriesParams object with the ability to set a timeout on a request.
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetConnectionID ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetConnectionID(connectionID *string)
SetConnectionID adds the connectionId to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetContext ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetContext(ctx context.Context)
SetContext adds the context to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetDefaults ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetDefaults()
SetDefaults hydrates default values in the neutron interchain queries registered queries params (not the query body).
All values with no default are reset to their zero value.
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetHTTPClient ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetOwners ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetOwners(owners []string)
SetOwners adds the owners to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationCountTotal ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationCountTotal(paginationCountTotal *bool)
SetPaginationCountTotal adds the paginationCountTotal to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationKey ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationKey(paginationKey *strfmt.Base64)
SetPaginationKey adds the paginationKey to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationLimit ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationLimit(paginationLimit *string)
SetPaginationLimit adds the paginationLimit to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationOffset ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationOffset(paginationOffset *string)
SetPaginationOffset adds the paginationOffset to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationReverse ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetPaginationReverse(paginationReverse *bool)
SetPaginationReverse adds the paginationReverse to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) SetTimeout ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithConnectionID ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithConnectionID(connectionID *string) *NeutronInterchainQueriesRegisteredQueriesParams
WithConnectionID adds the connectionID to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithContext ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueriesParams
WithContext adds the context to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithDefaults ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithDefaults() *NeutronInterchainQueriesRegisteredQueriesParams
WithDefaults hydrates default values in the neutron interchain queries registered queries params (not the query body).
All values with no default are reset to their zero value.
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithHTTPClient ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueriesParams
WithHTTPClient adds the HTTPClient to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithOwners ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithOwners(owners []string) *NeutronInterchainQueriesRegisteredQueriesParams
WithOwners adds the owners to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationCountTotal ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationCountTotal(paginationCountTotal *bool) *NeutronInterchainQueriesRegisteredQueriesParams
WithPaginationCountTotal adds the paginationCountTotal to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationKey ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationKey(paginationKey *strfmt.Base64) *NeutronInterchainQueriesRegisteredQueriesParams
WithPaginationKey adds the paginationKey to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationLimit ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationLimit(paginationLimit *string) *NeutronInterchainQueriesRegisteredQueriesParams
WithPaginationLimit adds the paginationLimit to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationOffset ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationOffset(paginationOffset *string) *NeutronInterchainQueriesRegisteredQueriesParams
WithPaginationOffset adds the paginationOffset to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationReverse ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationReverse(paginationReverse *bool) *NeutronInterchainQueriesRegisteredQueriesParams
WithPaginationReverse adds the paginationReverse to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WithTimeout ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueriesParams
WithTimeout adds the timeout to the neutron interchain queries registered queries params
func (*NeutronInterchainQueriesRegisteredQueriesParams) WriteToRequest ¶
func (o *NeutronInterchainQueriesRegisteredQueriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NeutronInterchainQueriesRegisteredQueriesReader ¶
type NeutronInterchainQueriesRegisteredQueriesReader struct {
// contains filtered or unexported fields
}
NeutronInterchainQueriesRegisteredQueriesReader is a Reader for the NeutronInterchainQueriesRegisteredQueries structure.
func (*NeutronInterchainQueriesRegisteredQueriesReader) ReadResponse ¶
func (o *NeutronInterchainQueriesRegisteredQueriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type NeutronInterchainQueriesRegisteredQueryDefault ¶
type NeutronInterchainQueriesRegisteredQueryDefault struct { Payload *NeutronInterchainQueriesRegisteredQueryDefaultBody // contains filtered or unexported fields }
NeutronInterchainQueriesRegisteredQueryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewNeutronInterchainQueriesRegisteredQueryDefault ¶
func NewNeutronInterchainQueriesRegisteredQueryDefault(code int) *NeutronInterchainQueriesRegisteredQueryDefault
NewNeutronInterchainQueriesRegisteredQueryDefault creates a NeutronInterchainQueriesRegisteredQueryDefault with default headers values
func (*NeutronInterchainQueriesRegisteredQueryDefault) Code ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) Code() int
Code gets the status code for the neutron interchain queries registered query default response
func (*NeutronInterchainQueriesRegisteredQueryDefault) Error ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) Error() string
func (*NeutronInterchainQueriesRegisteredQueryDefault) GetPayload ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) GetPayload() *NeutronInterchainQueriesRegisteredQueryDefaultBody
func (*NeutronInterchainQueriesRegisteredQueryDefault) IsClientError ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsClientError() bool
IsClientError returns true when this neutron interchain queries registered query default response has a 4xx status code
func (*NeutronInterchainQueriesRegisteredQueryDefault) IsCode ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsCode(code int) bool
IsCode returns true when this neutron interchain queries registered query default response a status code equal to that given
func (*NeutronInterchainQueriesRegisteredQueryDefault) IsRedirect ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsRedirect() bool
IsRedirect returns true when this neutron interchain queries registered query default response has a 3xx status code
func (*NeutronInterchainQueriesRegisteredQueryDefault) IsServerError ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsServerError() bool
IsServerError returns true when this neutron interchain queries registered query default response has a 5xx status code
func (*NeutronInterchainQueriesRegisteredQueryDefault) IsSuccess ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) IsSuccess() bool
IsSuccess returns true when this neutron interchain queries registered query default response has a 2xx status code
func (*NeutronInterchainQueriesRegisteredQueryDefault) String ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefault) String() string
type NeutronInterchainQueriesRegisteredQueryDefaultBody ¶
type NeutronInterchainQueriesRegisteredQueryDefaultBody struct { // code Code int32 `json:"code,omitempty"` // details Details []*NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0 `json:"details"` // message Message string `json:"message,omitempty"` }
NeutronInterchainQueriesRegisteredQueryDefaultBody neutron interchain queries registered query default body swagger:model NeutronInterchainQueriesRegisteredQueryDefaultBody
func (*NeutronInterchainQueriesRegisteredQueryDefaultBody) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefaultBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this neutron interchain queries registered query default body based on the context it is used
func (*NeutronInterchainQueriesRegisteredQueryDefaultBody) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefaultBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryDefaultBody) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefaultBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0 ¶
type NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0 struct { // A URL/resource name that uniquely identifies the type of the serialized // protocol buffer message. This string must contain at least // one "/" character. The last segment of the URL's path must represent // the fully qualified name of the type (as in // `path/google.protobuf.Duration`). The name should be in a canonical form // (e.g., leading "." is not accepted). // // In practice, teams usually precompile into the binary all types that they // expect it to use in the context of Any. However, for URLs which use the // scheme `http`, `https`, or no scheme, one can optionally set up a type // server that maps type URLs to message definitions as follows: // // * If no scheme is provided, `https` is assumed. // * An HTTP GET on the URL must yield a [google.protobuf.Type][] // value in binary format, or produce an error. // * Applications are allowed to cache lookup results based on the // URL, or have them precompiled into a binary to avoid any // lookup. Therefore, binary compatibility needs to be preserved // on changes to types. (Use versioned type names to manage // breaking changes.) // // Note: this functionality is not currently available in the official // protobuf release, and it is not used for type URLs beginning with // type.googleapis.com. // // Schemes other than `http`, `https` (or the empty scheme) might be // used with implementation specific semantics. AtType string `json:"@type,omitempty"` }
NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0 `Any` contains an arbitrary serialized protocol buffer message along with a // URL that describes the type of the serialized message. // // Protobuf library provides support to pack/unpack Any values in the form // of utility functions or additional generated methods of the Any type. // // Example 1: Pack and unpack a message in C++. // // Foo foo = ...; // Any any; // any.PackFrom(foo); // ... // if (any.UnpackTo(&foo)) { // ... // } // // Example 2: Pack and unpack a message in Java. // // Foo foo = ...; // Any any = Any.pack(foo); // ... // if (any.is(Foo.class)) { // foo = any.unpack(Foo.class); // } // // Example 3: Pack and unpack a message in Python. // // foo = Foo(...) // any = Any() // any.Pack(foo) // ... // if any.Is(Foo.DESCRIPTOR): // any.Unpack(foo) // ... // // Example 4: Pack and unpack a message in Go // // foo := &pb.Foo{...} // any, err := anypb.New(foo) // if err != nil { // ... // } // ... // foo := &pb.Foo{} // if err := any.UnmarshalTo(foo); err != nil { // ... // } // // The pack methods provided by protobuf library will by default use // 'type.googleapis.com/full.type.name' as the type URL and the unpack // methods only use the fully qualified type name after the last '/' // in the type URL, for example "foo.bar.com/x/y.z" will yield type // name "y.z". // // // JSON // ==== // The JSON representation of an `Any` value uses the regular // representation of the deserialized, embedded message, with an // additional field `@type` which contains the type URL. Example: // // package google.profile; // message Person { // string first_name = 1; // string last_name = 2; // } // // { // "@type": "type.googleapis.com/google.profile.Person", // "firstName": <string>, // "lastName": <string> // } // // If the embedded message type is well-known and has a custom JSON // representation, that representation will be embedded adding a field // `value` which holds the custom JSON in addition to the `@type` // field. Example (for message [google.protobuf.Duration][]): // // { // "@type": "type.googleapis.com/google.protobuf.Duration", // "value": "1.212s" // } swagger:model NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0
func (*NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this neutron interchain queries registered query default body details items0 based on context it is used
func (*NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueryOK ¶
type NeutronInterchainQueriesRegisteredQueryOK struct {
Payload *NeutronInterchainQueriesRegisteredQueryOKBody
}
NeutronInterchainQueriesRegisteredQueryOK describes a response with status code 200, with default header values.
A successful response.
func NewNeutronInterchainQueriesRegisteredQueryOK ¶
func NewNeutronInterchainQueriesRegisteredQueryOK() *NeutronInterchainQueriesRegisteredQueryOK
NewNeutronInterchainQueriesRegisteredQueryOK creates a NeutronInterchainQueriesRegisteredQueryOK with default headers values
func (*NeutronInterchainQueriesRegisteredQueryOK) Code ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) Code() int
Code gets the status code for the neutron interchain queries registered query o k response
func (*NeutronInterchainQueriesRegisteredQueryOK) Error ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) Error() string
func (*NeutronInterchainQueriesRegisteredQueryOK) GetPayload ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) GetPayload() *NeutronInterchainQueriesRegisteredQueryOKBody
func (*NeutronInterchainQueriesRegisteredQueryOK) IsClientError ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) IsClientError() bool
IsClientError returns true when this neutron interchain queries registered query o k response has a 4xx status code
func (*NeutronInterchainQueriesRegisteredQueryOK) IsCode ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) IsCode(code int) bool
IsCode returns true when this neutron interchain queries registered query o k response a status code equal to that given
func (*NeutronInterchainQueriesRegisteredQueryOK) IsRedirect ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) IsRedirect() bool
IsRedirect returns true when this neutron interchain queries registered query o k response has a 3xx status code
func (*NeutronInterchainQueriesRegisteredQueryOK) IsServerError ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) IsServerError() bool
IsServerError returns true when this neutron interchain queries registered query o k response has a 5xx status code
func (*NeutronInterchainQueriesRegisteredQueryOK) IsSuccess ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) IsSuccess() bool
IsSuccess returns true when this neutron interchain queries registered query o k response has a 2xx status code
func (*NeutronInterchainQueriesRegisteredQueryOK) String ¶
func (o *NeutronInterchainQueriesRegisteredQueryOK) String() string
type NeutronInterchainQueriesRegisteredQueryOKBody ¶
type NeutronInterchainQueriesRegisteredQueryOKBody struct { // registered query RegisteredQuery *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery `json:"registered_query,omitempty"` }
NeutronInterchainQueriesRegisteredQueryOKBody neutron interchain queries registered query o k body swagger:model NeutronInterchainQueriesRegisteredQueryOKBody
func (*NeutronInterchainQueriesRegisteredQueryOKBody) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this neutron interchain queries registered query o k body based on the context it is used
func (*NeutronInterchainQueriesRegisteredQueryOKBody) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryOKBody) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery ¶
type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery struct { // The IBC connection ID for getting ConsensusState to verify proofs ConnectionID string `json:"connection_id,omitempty"` // The unique id of the registered query. ID string `json:"id,omitempty"` // The KV-storage keys for which we want to get values from remote chain Keys []*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0 `json:"keys"` // The local chain last block height when the query result was updated. LastSubmittedResultLocalHeight string `json:"last_submitted_result_local_height,omitempty"` // last submitted result remote height LastSubmittedResultRemoteHeight *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight `json:"last_submitted_result_remote_height,omitempty"` // The address that registered the query. Owner string `json:"owner,omitempty"` // The query type identifier: `kv` or `tx` now QueryType string `json:"query_type,omitempty"` // The filter for transaction search ICQ TransactionsFilter string `json:"transactions_filter,omitempty"` // Parameter that defines how often the query must be updated. UpdatePeriod string `json:"update_period,omitempty"` }
NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery neutron interchain queries registered query o k body registered query swagger:model NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this neutron interchain queries registered query o k body registered query based on the context it is used
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) ToNeutronRegisteredQuery ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) ToNeutronRegisteredQuery() (*neutrontypes.RegisteredQuery, error)
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0 ¶
type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0 struct { // Key you want to read from the storage // Format: byte Key strfmt.Base64 `json:"key,omitempty"` // Path (storage prefix) to the storage where you want to read value by key (usually name of cosmos-sdk module: 'staking', 'bank', etc.) Path string `json:"path,omitempty"` }
NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0 neutron interchain queries registered query o k body registered query keys items0 swagger:model NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this neutron interchain queries registered query o k body registered query keys items0 based on context it is used
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) Validate ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) Validate(formats strfmt.Registry) error
Validate validates this neutron interchain queries registered query o k body registered query keys items0
type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight ¶
type NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight struct { // revision height RevisionHeight string `json:"revision_height,omitempty"` // revision number RevisionNumber string `json:"revision_number,omitempty"` }
NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight The remote chain last block height & revision number when the query result was updated. swagger:model NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) ContextValidate ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this neutron interchain queries registered query o k body registered query last submitted result remote height based on context it is used
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) MarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) UnmarshalBinary ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) Validate ¶
func (o *NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) Validate(formats strfmt.Registry) error
Validate validates this neutron interchain queries registered query o k body registered query last submitted result remote height
type NeutronInterchainQueriesRegisteredQueryParams ¶
type NeutronInterchainQueriesRegisteredQueryParams struct { // QueryID. // // Format: uint64 QueryID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
NeutronInterchainQueriesRegisteredQueryParams contains all the parameters to send to the API endpoint
for the neutron interchain queries registered query operation. Typically these are written to a http.Request.
func NewNeutronInterchainQueriesRegisteredQueryParams ¶
func NewNeutronInterchainQueriesRegisteredQueryParams() *NeutronInterchainQueriesRegisteredQueryParams
NewNeutronInterchainQueriesRegisteredQueryParams creates a new NeutronInterchainQueriesRegisteredQueryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewNeutronInterchainQueriesRegisteredQueryParamsWithContext ¶
func NewNeutronInterchainQueriesRegisteredQueryParamsWithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueryParams
NewNeutronInterchainQueriesRegisteredQueryParamsWithContext creates a new NeutronInterchainQueriesRegisteredQueryParams object with the ability to set a context for a request.
func NewNeutronInterchainQueriesRegisteredQueryParamsWithHTTPClient ¶
func NewNeutronInterchainQueriesRegisteredQueryParamsWithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueryParams
NewNeutronInterchainQueriesRegisteredQueryParamsWithHTTPClient creates a new NeutronInterchainQueriesRegisteredQueryParams object with the ability to set a custom HTTPClient for a request.
func NewNeutronInterchainQueriesRegisteredQueryParamsWithTimeout ¶
func NewNeutronInterchainQueriesRegisteredQueryParamsWithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueryParams
NewNeutronInterchainQueriesRegisteredQueryParamsWithTimeout creates a new NeutronInterchainQueriesRegisteredQueryParams object with the ability to set a timeout on a request.
func (*NeutronInterchainQueriesRegisteredQueryParams) SetContext ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) SetContext(ctx context.Context)
SetContext adds the context to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) SetDefaults ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) SetDefaults()
SetDefaults hydrates default values in the neutron interchain queries registered query params (not the query body).
All values with no default are reset to their zero value.
func (*NeutronInterchainQueriesRegisteredQueryParams) SetHTTPClient ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) SetQueryID ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) SetQueryID(queryID *string)
SetQueryID adds the queryId to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) SetTimeout ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) WithContext ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) WithContext(ctx context.Context) *NeutronInterchainQueriesRegisteredQueryParams
WithContext adds the context to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) WithDefaults ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) WithDefaults() *NeutronInterchainQueriesRegisteredQueryParams
WithDefaults hydrates default values in the neutron interchain queries registered query params (not the query body).
All values with no default are reset to their zero value.
func (*NeutronInterchainQueriesRegisteredQueryParams) WithHTTPClient ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) WithHTTPClient(client *http.Client) *NeutronInterchainQueriesRegisteredQueryParams
WithHTTPClient adds the HTTPClient to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) WithQueryID ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) WithQueryID(queryID *string) *NeutronInterchainQueriesRegisteredQueryParams
WithQueryID adds the queryID to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) WithTimeout ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) WithTimeout(timeout time.Duration) *NeutronInterchainQueriesRegisteredQueryParams
WithTimeout adds the timeout to the neutron interchain queries registered query params
func (*NeutronInterchainQueriesRegisteredQueryParams) WriteToRequest ¶
func (o *NeutronInterchainQueriesRegisteredQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type NeutronInterchainQueriesRegisteredQueryReader ¶
type NeutronInterchainQueriesRegisteredQueryReader struct {
// contains filtered or unexported fields
}
NeutronInterchainQueriesRegisteredQueryReader is a Reader for the NeutronInterchainQueriesRegisteredQuery structure.
func (*NeutronInterchainQueriesRegisteredQueryReader) ReadResponse ¶
func (o *NeutronInterchainQueriesRegisteredQueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- ibc_core_connection_v1_connection_parameters.go
- ibc_core_connection_v1_connection_responses.go
- neutron_interchain_queries_registered_queries_parameters.go
- neutron_interchain_queries_registered_queries_responses.go
- neutron_interchain_queries_registered_query_parameters.go
- neutron_interchain_queries_registered_query_responses.go
- query_client.go
- utils.go