query

package
v0.0.0-...-ad19e34 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
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

Code gets the status code for the ibc core connection v1 connection default response

func (*IbcCoreConnectionV1ConnectionDefault) Error

func (*IbcCoreConnectionV1ConnectionDefault) GetPayload

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

IsCode returns true when this ibc core connection v1 connection default response a status code equal to that given

func (*IbcCoreConnectionV1ConnectionDefault) IsRedirect

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

IsSuccess returns true when this ibc core connection v1 connection default response has a 2xx status code

func (*IbcCoreConnectionV1ConnectionDefault) 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

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

func (*IbcCoreConnectionV1ConnectionDefaultBody) Validate

Validate validates this ibc core connection v1 connection default body

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

ContextValidate validates this ibc core connection v1 connection default body details items0 based on context it is used

func (*IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionDefaultBodyDetailsItems0) Validate

Validate validates this ibc core connection v1 connection default body details items0

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

Code gets the status code for the ibc core connection v1 connection o k response

func (*IbcCoreConnectionV1ConnectionOK) Error

func (*IbcCoreConnectionV1ConnectionOK) GetPayload

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

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

func (*IbcCoreConnectionV1ConnectionOKBody) Validate

Validate validates this ibc core connection v1 connection o k body

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

ContextValidate validate this ibc core connection v1 connection o k body connection based on the context it is used

func (*IbcCoreConnectionV1ConnectionOKBodyConnection) MarshalBinary

MarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnection) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnection) Validate

Validate validates this ibc core connection v1 connection o k body connection

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

ContextValidate validate this ibc core connection v1 connection o k body connection counterparty based on the context it is used

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) MarshalBinary

MarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterparty) Validate

Validate validates this ibc core connection v1 connection o k body connection counterparty

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

ContextValidate validates this ibc core connection v1 connection o k body connection counterparty prefix based on context it is used

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) MarshalBinary

MarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionCounterpartyPrefix) Validate

Validate validates this ibc core connection v1 connection o k body connection counterparty prefix

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

ContextValidate validates this ibc core connection v1 connection o k body connection versions items0 based on context it is used

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyConnectionVersionsItems0) Validate

Validate validates this ibc core connection v1 connection o k body connection versions items0

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

ContextValidate validates this ibc core connection v1 connection o k body proof height based on context it is used

func (*IbcCoreConnectionV1ConnectionOKBodyProofHeight) MarshalBinary

MarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyProofHeight) UnmarshalBinary

UnmarshalBinary interface implementation

func (*IbcCoreConnectionV1ConnectionOKBodyProofHeight) Validate

Validate validates this ibc core connection v1 connection o k body proof height

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

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

WithConnectionID adds the connectionID to the ibc core connection v1 connection params

func (*IbcCoreConnectionV1ConnectionParams) WithContext

WithContext adds the context to the ibc core connection v1 connection params

func (*IbcCoreConnectionV1ConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the ibc core connection v1 connection params

func (*IbcCoreConnectionV1ConnectionParams) WithTimeout

WithTimeout adds the timeout to the ibc core connection v1 connection params

func (*IbcCoreConnectionV1ConnectionParams) WriteToRequest

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

Code gets the status code for the neutron interchain queries registered queries default response

func (*NeutronInterchainQueriesRegisteredQueriesDefault) Error

func (*NeutronInterchainQueriesRegisteredQueriesDefault) GetPayload

func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsClientError

IsClientError returns true when this neutron interchain queries registered queries default response has a 4xx status code

func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsCode

IsCode returns true when this neutron interchain queries registered queries default response a status code equal to that given

func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsRedirect

IsRedirect returns true when this neutron interchain queries registered queries default response has a 3xx status code

func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsServerError

IsServerError returns true when this neutron interchain queries registered queries default response has a 5xx status code

func (*NeutronInterchainQueriesRegisteredQueriesDefault) IsSuccess

IsSuccess returns true when this neutron interchain queries registered queries default response has a 2xx status code

func (*NeutronInterchainQueriesRegisteredQueriesDefault) 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

ContextValidate validate this neutron interchain queries registered queries default body based on the context it is used

func (*NeutronInterchainQueriesRegisteredQueriesDefaultBody) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesDefaultBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesDefaultBody) Validate

Validate validates this neutron interchain queries registered queries default body

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

ContextValidate validates this neutron interchain queries registered queries default body details items0 based on context it is used

func (*NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesDefaultBodyDetailsItems0) Validate

Validate validates this neutron interchain queries registered queries default body details items0

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

Code gets the status code for the neutron interchain queries registered queries o k response

func (*NeutronInterchainQueriesRegisteredQueriesOK) Error

func (*NeutronInterchainQueriesRegisteredQueriesOK) GetPayload

func (*NeutronInterchainQueriesRegisteredQueriesOK) IsClientError

IsClientError returns true when this neutron interchain queries registered queries o k response has a 4xx status code

func (*NeutronInterchainQueriesRegisteredQueriesOK) IsCode

IsCode returns true when this neutron interchain queries registered queries o k response a status code equal to that given

func (*NeutronInterchainQueriesRegisteredQueriesOK) IsRedirect

IsRedirect returns true when this neutron interchain queries registered queries o k response has a 3xx status code

func (*NeutronInterchainQueriesRegisteredQueriesOK) IsServerError

IsServerError returns true when this neutron interchain queries registered queries o k response has a 5xx status code

func (*NeutronInterchainQueriesRegisteredQueriesOK) IsSuccess

IsSuccess returns true when this neutron interchain queries registered queries o k response has a 2xx status code

func (*NeutronInterchainQueriesRegisteredQueriesOK) 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

ContextValidate validate this neutron interchain queries registered queries o k body based on the context it is used

func (*NeutronInterchainQueriesRegisteredQueriesOKBody) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBody) Validate

Validate validates this neutron interchain queries registered queries o k body

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

ContextValidate validates this neutron interchain queries registered queries o k body pagination based on context it is used

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyPagination) Validate

Validate validates this neutron interchain queries registered queries o k body pagination

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

ContextValidate validate this neutron interchain queries registered queries o k body registered queries items0 based on the context it is used

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) ToNeutronRegisteredQuery

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0) Validate

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

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

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0KeysItems0) Validate

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

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

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueriesOKBodyRegisteredQueriesItems0LastSubmittedResultRemoteHeight) Validate

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

SetContext adds the context to the neutron interchain queries registered queries params

func (*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

SetHTTPClient adds the HTTPClient to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) SetOwners

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

SetTimeout adds the timeout to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithConnectionID

WithConnectionID adds the connectionID to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithContext

WithContext adds the context to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithOwners

WithOwners adds the owners to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationCountTotal

WithPaginationCountTotal adds the paginationCountTotal to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationKey

WithPaginationKey adds the paginationKey to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationLimit

WithPaginationLimit adds the paginationLimit to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationOffset

WithPaginationOffset adds the paginationOffset to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithPaginationReverse

WithPaginationReverse adds the paginationReverse to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WithTimeout

WithTimeout adds the timeout to the neutron interchain queries registered queries params

func (*NeutronInterchainQueriesRegisteredQueriesParams) WriteToRequest

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

Code gets the status code for the neutron interchain queries registered query default response

func (*NeutronInterchainQueriesRegisteredQueryDefault) Error

func (*NeutronInterchainQueriesRegisteredQueryDefault) GetPayload

func (*NeutronInterchainQueriesRegisteredQueryDefault) IsClientError

IsClientError returns true when this neutron interchain queries registered query default response has a 4xx status code

func (*NeutronInterchainQueriesRegisteredQueryDefault) IsCode

IsCode returns true when this neutron interchain queries registered query default response a status code equal to that given

func (*NeutronInterchainQueriesRegisteredQueryDefault) IsRedirect

IsRedirect returns true when this neutron interchain queries registered query default response has a 3xx status code

func (*NeutronInterchainQueriesRegisteredQueryDefault) IsServerError

IsServerError returns true when this neutron interchain queries registered query default response has a 5xx status code

func (*NeutronInterchainQueriesRegisteredQueryDefault) IsSuccess

IsSuccess returns true when this neutron interchain queries registered query default response has a 2xx status code

func (*NeutronInterchainQueriesRegisteredQueryDefault) 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

ContextValidate validate this neutron interchain queries registered query default body based on the context it is used

func (*NeutronInterchainQueriesRegisteredQueryDefaultBody) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryDefaultBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryDefaultBody) Validate

Validate validates this neutron interchain queries registered query default body

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

ContextValidate validates this neutron interchain queries registered query default body details items0 based on context it is used

func (*NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryDefaultBodyDetailsItems0) Validate

Validate validates this neutron interchain queries registered query default body details items0

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

Code gets the status code for the neutron interchain queries registered query o k response

func (*NeutronInterchainQueriesRegisteredQueryOK) Error

func (*NeutronInterchainQueriesRegisteredQueryOK) GetPayload

func (*NeutronInterchainQueriesRegisteredQueryOK) IsClientError

IsClientError returns true when this neutron interchain queries registered query o k response has a 4xx status code

func (*NeutronInterchainQueriesRegisteredQueryOK) IsCode

IsCode returns true when this neutron interchain queries registered query o k response a status code equal to that given

func (*NeutronInterchainQueriesRegisteredQueryOK) IsRedirect

IsRedirect returns true when this neutron interchain queries registered query o k response has a 3xx status code

func (*NeutronInterchainQueriesRegisteredQueryOK) IsServerError

IsServerError returns true when this neutron interchain queries registered query o k response has a 5xx status code

func (*NeutronInterchainQueriesRegisteredQueryOK) IsSuccess

IsSuccess returns true when this neutron interchain queries registered query o k response has a 2xx status code

func (*NeutronInterchainQueriesRegisteredQueryOK) 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

ContextValidate validate this neutron interchain queries registered query o k body based on the context it is used

func (*NeutronInterchainQueriesRegisteredQueryOKBody) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBody) Validate

Validate validates this neutron interchain queries registered query o k body

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

ContextValidate validate this neutron interchain queries registered query o k body registered query based on the context it is used

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) ToNeutronRegisteredQuery

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQuery) Validate

Validate validates this neutron interchain queries registered query o k body registered query

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

ContextValidate validates this neutron interchain queries registered query o k body registered query keys items0 based on context it is used

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) MarshalBinary

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryKeysItems0) Validate

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

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

MarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) UnmarshalBinary

UnmarshalBinary interface implementation

func (*NeutronInterchainQueriesRegisteredQueryOKBodyRegisteredQueryLastSubmittedResultRemoteHeight) Validate

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

SetContext adds the context to the neutron interchain queries registered query params

func (*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

SetTimeout adds the timeout to the neutron interchain queries registered query params

func (*NeutronInterchainQueriesRegisteredQueryParams) WithContext

WithContext adds the context to the neutron interchain queries registered query params

func (*NeutronInterchainQueriesRegisteredQueryParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the neutron interchain queries registered query params

func (*NeutronInterchainQueriesRegisteredQueryParams) WithQueryID

WithQueryID adds the queryID to the neutron interchain queries registered query params

func (*NeutronInterchainQueriesRegisteredQueryParams) WithTimeout

WithTimeout adds the timeout to the neutron interchain queries registered query params

func (*NeutronInterchainQueriesRegisteredQueryParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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