models

package
v0.0.0-...-0954cc7 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ack

type Ack struct {

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

	// status
	Status string `json:"status,omitempty"`
}

Ack ack

swagger:model Ack

func (*Ack) ContextValidate

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

ContextValidate validates this ack based on context it is used

func (*Ack) MarshalBinary

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

MarshalBinary interface implementation

func (*Ack) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Ack) Validate

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

Validate validates this ack

type Error

type Error struct {

	// code
	// Required: true
	Code *int32 `json:"code"`

	// fields
	Fields string `json:"fields,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error

swagger:model Error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type GatewayRegister

type GatewayRegister struct {

	// Filecoin Account to be used with payment channels.
	Address string `json:"address,omitempty"`

	// Admin network addressing information.
	NetworkInfoAdmin string `json:"networkInfoAdmin,omitempty"`

	// Client network addressing information.
	NetworkInfoClient string `json:"networkInfoClient,omitempty"`

	// Gateway network addressing information.
	NetworkInfoGateway string `json:"networkInfoGateway,omitempty"`

	// Provider network addressing information.
	NetworkInfoProvider string `json:"networkInfoProvider,omitempty"`

	// Node ID.
	NodeID string `json:"nodeId,omitempty"`

	// Region Code.
	RegionCode string `json:"regionCode,omitempty"`

	// Retrieval provider Root Signing Public Key.
	RootSigningKey string `json:"rootSigningKey,omitempty"`

	// Used for signing CID Group Offers and Single CID Offers.
	SigningKey string `json:"signingKey,omitempty"`
}

GatewayRegister Register entry

swagger:model GatewayRegister

func (*GatewayRegister) ContextValidate

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

ContextValidate validates this gateway register based on context it is used

func (*GatewayRegister) MarshalBinary

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

MarshalBinary interface implementation

func (*GatewayRegister) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GatewayRegister) Validate

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

Validate validates this gateway register

type Principal

type Principal string

Principal principal

swagger:model Principal

func (Principal) ContextValidate

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

ContextValidate validates this principal based on context it is used

func (Principal) Validate

func (m Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type ProviderRegister

type ProviderRegister struct {

	// Filecoin Account to be used with payment channels.
	Address string `json:"address,omitempty"`

	// Admin network addressing information.
	NetworkInfoAdmin string `json:"networkInfoAdmin,omitempty"`

	// Client network addressing information.
	NetworkInfoClient string `json:"networkInfoClient,omitempty"`

	// Gateway network addressing information.
	NetworkInfoGateway string `json:"networkInfoGateway,omitempty"`

	// Node ID.
	NodeID string `json:"nodeId,omitempty"`

	// Region Code.
	RegionCode string `json:"regionCode,omitempty"`

	// Retrieval provider Root Signing Public Key.
	RootSigningKey string `json:"rootSigningKey,omitempty"`

	// Used for signing CID Group Offers and Single CID Offers.
	SigningKey string `json:"signingKey,omitempty"`
}

ProviderRegister Register entry

swagger:model ProviderRegister

func (*ProviderRegister) ContextValidate

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

ContextValidate validates this provider register based on context it is used

func (*ProviderRegister) MarshalBinary

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

MarshalBinary interface implementation

func (*ProviderRegister) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProviderRegister) Validate

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

Validate validates this provider register

Jump to

Keyboard shortcuts

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