models

package
v1.5.66-0...-1e0c951 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtobufAny

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`

	// protobuf any
	ProtobufAny map[string]interface{} `json:"-"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProtobufAny) MarshalJSON

func (m ProtobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) UnmarshalJSON

func (m *ProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type ProtocolBlockResponse

type ProtocolBlockResponse struct {

	// blockhash
	Blockhash string `json:"blockhash,omitempty"`

	// chainid
	Chainid string `json:"chainid,omitempty"`

	// height
	Height string `json:"height,omitempty"`

	// proposer
	Proposer string `json:"proposer,omitempty"`

	// transactions
	Transactions []*ProtocolSignedTransaction `json:"transactions"`
}

ProtocolBlockResponse protocol block response

swagger:model protocolBlockResponse

func (*ProtocolBlockResponse) ContextValidate

func (m *ProtocolBlockResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this protocol block response based on the context it is used

func (*ProtocolBlockResponse) MarshalBinary

func (m *ProtocolBlockResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolBlockResponse) UnmarshalBinary

func (m *ProtocolBlockResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolBlockResponse) Validate

func (m *ProtocolBlockResponse) Validate(formats strfmt.Registry) error

Validate validates this protocol block response

type ProtocolForwardTransactionResponse

type ProtocolForwardTransactionResponse interface{}

ProtocolForwardTransactionResponse protocol forward transaction response

swagger:model protocolForwardTransactionResponse

type ProtocolManageEntityLegacy

type ProtocolManageEntityLegacy struct {

	// action
	Action string `json:"action,omitempty"`

	// entity Id
	EntityID string `json:"entityId,omitempty"`

	// entity type
	EntityType string `json:"entityType,omitempty"`

	// metadata
	Metadata string `json:"metadata,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

ProtocolManageEntityLegacy protocol manage entity legacy

swagger:model protocolManageEntityLegacy

func (*ProtocolManageEntityLegacy) ContextValidate

func (m *ProtocolManageEntityLegacy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol manage entity legacy based on context it is used

func (*ProtocolManageEntityLegacy) MarshalBinary

func (m *ProtocolManageEntityLegacy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolManageEntityLegacy) UnmarshalBinary

func (m *ProtocolManageEntityLegacy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolManageEntityLegacy) Validate

func (m *ProtocolManageEntityLegacy) Validate(formats strfmt.Registry) error

Validate validates this protocol manage entity legacy

type ProtocolNodeInfoResponse

type ProtocolNodeInfoResponse struct {

	// chainid
	Chainid string `json:"chainid,omitempty"`

	// comet address
	CometAddress string `json:"cometAddress,omitempty"`

	// current height
	CurrentHeight string `json:"currentHeight,omitempty"`

	// eth address
	EthAddress string `json:"ethAddress,omitempty"`

	// synced
	Synced bool `json:"synced,omitempty"`
}

ProtocolNodeInfoResponse protocol node info response

swagger:model protocolNodeInfoResponse

func (*ProtocolNodeInfoResponse) ContextValidate

func (m *ProtocolNodeInfoResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol node info response based on context it is used

func (*ProtocolNodeInfoResponse) MarshalBinary

func (m *ProtocolNodeInfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolNodeInfoResponse) UnmarshalBinary

func (m *ProtocolNodeInfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolNodeInfoResponse) Validate

func (m *ProtocolNodeInfoResponse) Validate(formats strfmt.Registry) error

Validate validates this protocol node info response

type ProtocolPingResponse

type ProtocolPingResponse struct {

	// message
	Message string `json:"message,omitempty"`
}

ProtocolPingResponse protocol ping response

swagger:model protocolPingResponse

func (*ProtocolPingResponse) ContextValidate

func (m *ProtocolPingResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol ping response based on context it is used

func (*ProtocolPingResponse) MarshalBinary

func (m *ProtocolPingResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolPingResponse) UnmarshalBinary

func (m *ProtocolPingResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolPingResponse) Validate

func (m *ProtocolPingResponse) Validate(formats strfmt.Registry) error

Validate validates this protocol ping response

type ProtocolSLANodeReport

type ProtocolSLANodeReport struct {

	// address
	Address string `json:"address,omitempty"`

	// num blocks proposed
	NumBlocksProposed int32 `json:"numBlocksProposed,omitempty"`
}

ProtocolSLANodeReport protocol Sla node report

swagger:model protocolSlaNodeReport

func (*ProtocolSLANodeReport) ContextValidate

func (m *ProtocolSLANodeReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol Sla node report based on context it is used

func (*ProtocolSLANodeReport) MarshalBinary

func (m *ProtocolSLANodeReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolSLANodeReport) UnmarshalBinary

func (m *ProtocolSLANodeReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolSLANodeReport) Validate

func (m *ProtocolSLANodeReport) Validate(formats strfmt.Registry) error

Validate validates this protocol Sla node report

type ProtocolSLARollup

type ProtocolSLARollup struct {

	// block end
	BlockEnd string `json:"blockEnd,omitempty"`

	// block start
	BlockStart string `json:"blockStart,omitempty"`

	// reports
	Reports []*ProtocolSLANodeReport `json:"reports"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

ProtocolSLARollup protocol Sla rollup

swagger:model protocolSlaRollup

func (*ProtocolSLARollup) ContextValidate

func (m *ProtocolSLARollup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this protocol Sla rollup based on the context it is used

func (*ProtocolSLARollup) MarshalBinary

func (m *ProtocolSLARollup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolSLARollup) UnmarshalBinary

func (m *ProtocolSLARollup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolSLARollup) Validate

func (m *ProtocolSLARollup) Validate(formats strfmt.Registry) error

Validate validates this protocol Sla rollup

type ProtocolSignedTransaction

type ProtocolSignedTransaction struct {

	// manage entity
	ManageEntity *ProtocolManageEntityLegacy `json:"manageEntity,omitempty"`

	// plays
	Plays *ProtocolTrackPlays `json:"plays,omitempty"`

	// request Id
	RequestID string `json:"requestId,omitempty"`

	// signature
	Signature string `json:"signature,omitempty"`

	// sla rollup
	SLARollup *ProtocolSLARollup `json:"slaRollup,omitempty"`

	// validator registration
	ValidatorRegistration *ProtocolValidatorRegistration `json:"validatorRegistration,omitempty"`
}

ProtocolSignedTransaction protocol signed transaction

swagger:model protocolSignedTransaction

func (*ProtocolSignedTransaction) ContextValidate

func (m *ProtocolSignedTransaction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this protocol signed transaction based on the context it is used

func (*ProtocolSignedTransaction) MarshalBinary

func (m *ProtocolSignedTransaction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolSignedTransaction) UnmarshalBinary

func (m *ProtocolSignedTransaction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolSignedTransaction) Validate

func (m *ProtocolSignedTransaction) Validate(formats strfmt.Registry) error

Validate validates this protocol signed transaction

type ProtocolTrackPlay

type ProtocolTrackPlay struct {

	// signature
	Signature string `json:"signature,omitempty"`

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// track Id
	TrackID string `json:"trackId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

ProtocolTrackPlay protocol track play

swagger:model protocolTrackPlay

func (*ProtocolTrackPlay) ContextValidate

func (m *ProtocolTrackPlay) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol track play based on context it is used

func (*ProtocolTrackPlay) MarshalBinary

func (m *ProtocolTrackPlay) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolTrackPlay) UnmarshalBinary

func (m *ProtocolTrackPlay) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolTrackPlay) Validate

func (m *ProtocolTrackPlay) Validate(formats strfmt.Registry) error

Validate validates this protocol track play

type ProtocolTrackPlays

type ProtocolTrackPlays struct {

	// plays
	Plays []*ProtocolTrackPlay `json:"plays"`
}

ProtocolTrackPlays protocol track plays

swagger:model protocolTrackPlays

func (*ProtocolTrackPlays) ContextValidate

func (m *ProtocolTrackPlays) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this protocol track plays based on the context it is used

func (*ProtocolTrackPlays) MarshalBinary

func (m *ProtocolTrackPlays) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolTrackPlays) UnmarshalBinary

func (m *ProtocolTrackPlays) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolTrackPlays) Validate

func (m *ProtocolTrackPlays) Validate(formats strfmt.Registry) error

Validate validates this protocol track plays

type ProtocolTransactionResponse

type ProtocolTransactionResponse struct {

	// transaction
	Transaction *ProtocolSignedTransaction `json:"transaction,omitempty"`

	// txhash
	Txhash string `json:"txhash,omitempty"`
}

ProtocolTransactionResponse protocol transaction response

swagger:model protocolTransactionResponse

func (*ProtocolTransactionResponse) ContextValidate

func (m *ProtocolTransactionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this protocol transaction response based on the context it is used

func (*ProtocolTransactionResponse) MarshalBinary

func (m *ProtocolTransactionResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolTransactionResponse) UnmarshalBinary

func (m *ProtocolTransactionResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolTransactionResponse) Validate

func (m *ProtocolTransactionResponse) Validate(formats strfmt.Registry) error

Validate validates this protocol transaction response

type ProtocolValidatorRegistration

type ProtocolValidatorRegistration struct {

	// comet address
	CometAddress string `json:"cometAddress,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// eth block
	EthBlock string `json:"ethBlock,omitempty"`

	// node type
	NodeType string `json:"nodeType,omitempty"`

	// sp Id
	SpID string `json:"spId,omitempty"`
}

ProtocolValidatorRegistration protocol validator registration

swagger:model protocolValidatorRegistration

func (*ProtocolValidatorRegistration) ContextValidate

func (m *ProtocolValidatorRegistration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protocol validator registration based on context it is used

func (*ProtocolValidatorRegistration) MarshalBinary

func (m *ProtocolValidatorRegistration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtocolValidatorRegistration) UnmarshalBinary

func (m *ProtocolValidatorRegistration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtocolValidatorRegistration) Validate

func (m *ProtocolValidatorRegistration) Validate(formats strfmt.Registry) error

Validate validates this protocol validator registration

type RPCStatus

type RPCStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

RPCStatus rpc status

swagger:model rpcStatus

func (*RPCStatus) ContextValidate

func (m *RPCStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc status based on the context it is used

func (*RPCStatus) MarshalBinary

func (m *RPCStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCStatus) UnmarshalBinary

func (m *RPCStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCStatus) Validate

func (m *RPCStatus) Validate(formats strfmt.Registry) error

Validate validates this rpc status

Jump to

Keyboard shortcuts

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