models

package
v0.0.0-...-76fafce Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignShoppingListParamsBody

type AssignShoppingListParamsBody struct {

	// bot Id
	BotID string `json:"botId,omitempty"`
}

AssignShoppingListParamsBody assign shopping list params body

swagger:model assignShoppingListParamsBody

func (*AssignShoppingListParamsBody) ContextValidate

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

ContextValidate validates this assign shopping list params body based on context it is used

func (*AssignShoppingListParamsBody) MarshalBinary

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

MarshalBinary interface implementation

func (*AssignShoppingListParamsBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AssignShoppingListParamsBody) Validate

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

Validate validates this assign shopping list params body

type DepotpbAssignShoppingListResponse

type DepotpbAssignShoppingListResponse interface{}

DepotpbAssignShoppingListResponse depotpb assign shopping list response

swagger:model depotpbAssignShoppingListResponse

type DepotpbCancelShoppingListResponse

type DepotpbCancelShoppingListResponse interface{}

DepotpbCancelShoppingListResponse depotpb cancel shopping list response

swagger:model depotpbCancelShoppingListResponse

type DepotpbCompleteShoppingListResponse

type DepotpbCompleteShoppingListResponse interface{}

DepotpbCompleteShoppingListResponse depotpb complete shopping list response

swagger:model depotpbCompleteShoppingListResponse

type DepotpbCreateShoppingListRequest

type DepotpbCreateShoppingListRequest struct {

	// items
	Items []*DepotpbOrderItem `json:"items"`

	// order Id
	OrderID string `json:"orderId,omitempty"`
}

DepotpbCreateShoppingListRequest depotpb create shopping list request

swagger:model depotpbCreateShoppingListRequest

func (*DepotpbCreateShoppingListRequest) ContextValidate

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

ContextValidate validate this depotpb create shopping list request based on the context it is used

func (*DepotpbCreateShoppingListRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DepotpbCreateShoppingListRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DepotpbCreateShoppingListRequest) Validate

Validate validates this depotpb create shopping list request

type DepotpbCreateShoppingListResponse

type DepotpbCreateShoppingListResponse struct {

	// id
	ID string `json:"id,omitempty"`
}

DepotpbCreateShoppingListResponse depotpb create shopping list response

swagger:model depotpbCreateShoppingListResponse

func (*DepotpbCreateShoppingListResponse) ContextValidate

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

ContextValidate validates this depotpb create shopping list response based on context it is used

func (*DepotpbCreateShoppingListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DepotpbCreateShoppingListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DepotpbCreateShoppingListResponse) Validate

Validate validates this depotpb create shopping list response

type DepotpbOrderItem

type DepotpbOrderItem struct {

	// product Id
	ProductID string `json:"productId,omitempty"`

	// quantity
	Quantity int32 `json:"quantity,omitempty"`

	// store Id
	StoreID string `json:"storeId,omitempty"`
}

DepotpbOrderItem depotpb order item

swagger:model depotpbOrderItem

func (*DepotpbOrderItem) ContextValidate

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

ContextValidate validates this depotpb order item based on context it is used

func (*DepotpbOrderItem) MarshalBinary

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

MarshalBinary interface implementation

func (*DepotpbOrderItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DepotpbOrderItem) Validate

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

Validate validates this depotpb order item

type ProtobufAny

type ProtobufAny struct {

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

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) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

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

Validate validates this protobuf any

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