Documentation ¶
Index ¶
- func NewOrderServiceEndpoints() []*api.Endpoint
- func RegisterOrderServiceHandler(s server.Server, hdlr OrderServiceHandler, opts ...server.HandlerOption) error
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)
- func (m *GetResponse) GetData() *Order
- func (*GetResponse) ProtoMessage()
- func (m *GetResponse) Reset()
- func (m *GetResponse) String() string
- func (m *GetResponse) Validate() error
- func (m *GetResponse) XXX_DiscardUnknown()
- func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetResponse) XXX_Merge(src proto.Message)
- func (m *GetResponse) XXX_Size() int
- func (m *GetResponse) XXX_Unmarshal(b []byte) error
- type GetResponseValidationError
- func (e GetResponseValidationError) Cause() error
- func (e GetResponseValidationError) Error() string
- func (e GetResponseValidationError) ErrorName() string
- func (e GetResponseValidationError) Field() string
- func (e GetResponseValidationError) Key() bool
- func (e GetResponseValidationError) Reason() string
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetAmount() map[string]float64
- func (m *Order) GetContract() *Order_Contract
- func (m *Order) GetCreatedAt() string
- func (m *Order) GetCustomer() *Order_Customer
- func (m *Order) GetDetail() []byte
- func (m *Order) GetDetails() *types.Struct
- func (m *Order) GetItems() *Order_Item
- func (m *Order) GetPayment() *payment.Payment
- func (m *Order) GetStatus() map[string]string
- func (m *Order) GetType() string
- func (m *Order) GetUpdatedAt() string
- func (m *Order) GetUuid() string
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) String() string
- func (m *Order) Validate() error
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type OrderService
- type OrderServiceHandler
- type OrderValidationError
- type Order_Contract
- func (*Order_Contract) Descriptor() ([]byte, []int)
- func (m *Order_Contract) GetContractId() string
- func (m *Order_Contract) GetName() string
- func (m *Order_Contract) GetUuid() string
- func (*Order_Contract) ProtoMessage()
- func (m *Order_Contract) Reset()
- func (m *Order_Contract) String() string
- func (m *Order_Contract) Validate() error
- func (m *Order_Contract) XXX_DiscardUnknown()
- func (m *Order_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Contract) XXX_Merge(src proto.Message)
- func (m *Order_Contract) XXX_Size() int
- func (m *Order_Contract) XXX_Unmarshal(b []byte) error
- type Order_ContractValidationError
- func (e Order_ContractValidationError) Cause() error
- func (e Order_ContractValidationError) Error() string
- func (e Order_ContractValidationError) ErrorName() string
- func (e Order_ContractValidationError) Field() string
- func (e Order_ContractValidationError) Key() bool
- func (e Order_ContractValidationError) Reason() string
- type Order_Customer
- func (*Order_Customer) Descriptor() ([]byte, []int)
- func (m *Order_Customer) GetEmail() string
- func (m *Order_Customer) GetPhone() string
- func (m *Order_Customer) GetUuid() string
- func (*Order_Customer) ProtoMessage()
- func (m *Order_Customer) Reset()
- func (m *Order_Customer) String() string
- func (m *Order_Customer) Validate() error
- func (m *Order_Customer) XXX_DiscardUnknown()
- func (m *Order_Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Customer) XXX_Merge(src proto.Message)
- func (m *Order_Customer) XXX_Size() int
- func (m *Order_Customer) XXX_Unmarshal(b []byte) error
- type Order_CustomerValidationError
- func (e Order_CustomerValidationError) Cause() error
- func (e Order_CustomerValidationError) Error() string
- func (e Order_CustomerValidationError) ErrorName() string
- func (e Order_CustomerValidationError) Field() string
- func (e Order_CustomerValidationError) Key() bool
- func (e Order_CustomerValidationError) Reason() string
- type Order_Item
- func (*Order_Item) Descriptor() ([]byte, []int)
- func (m *Order_Item) GetReservation() *reservation.Reservation
- func (*Order_Item) ProtoMessage()
- func (m *Order_Item) Reset()
- func (m *Order_Item) String() string
- func (m *Order_Item) Validate() error
- func (m *Order_Item) XXX_DiscardUnknown()
- func (m *Order_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order_Item) XXX_Merge(src proto.Message)
- func (m *Order_Item) XXX_Size() int
- func (m *Order_Item) XXX_Unmarshal(b []byte) error
- type Order_ItemValidationError
- type PaginateRequest
- func (*PaginateRequest) Descriptor() ([]byte, []int)
- func (m *PaginateRequest) GetFilter() *PaginateRequest_Filter
- func (m *PaginateRequest) GetLimit() int64
- func (m *PaginateRequest) GetSkip() int64
- func (m *PaginateRequest) GetSort() string
- func (*PaginateRequest) ProtoMessage()
- func (m *PaginateRequest) Reset()
- func (m *PaginateRequest) String() string
- func (m *PaginateRequest) Validate() error
- func (m *PaginateRequest) XXX_DiscardUnknown()
- func (m *PaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateRequest) XXX_Merge(src proto.Message)
- func (m *PaginateRequest) XXX_Size() int
- func (m *PaginateRequest) XXX_Unmarshal(b []byte) error
- type PaginateRequestValidationError
- func (e PaginateRequestValidationError) Cause() error
- func (e PaginateRequestValidationError) Error() string
- func (e PaginateRequestValidationError) ErrorName() string
- func (e PaginateRequestValidationError) Field() string
- func (e PaginateRequestValidationError) Key() bool
- func (e PaginateRequestValidationError) Reason() string
- type PaginateRequest_Filter
- func (*PaginateRequest_Filter) Descriptor() ([]byte, []int)
- func (m *PaginateRequest_Filter) GetExternalId() string
- func (m *PaginateRequest_Filter) GetReservationNumber() string
- func (m *PaginateRequest_Filter) GetSortOrder() string
- func (m *PaginateRequest_Filter) GetUuid() string
- func (*PaginateRequest_Filter) ProtoMessage()
- func (m *PaginateRequest_Filter) Reset()
- func (m *PaginateRequest_Filter) String() string
- func (m *PaginateRequest_Filter) Validate() error
- func (m *PaginateRequest_Filter) XXX_DiscardUnknown()
- func (m *PaginateRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateRequest_Filter) XXX_Merge(src proto.Message)
- func (m *PaginateRequest_Filter) XXX_Size() int
- func (m *PaginateRequest_Filter) XXX_Unmarshal(b []byte) error
- type PaginateRequest_FilterValidationError
- func (e PaginateRequest_FilterValidationError) Cause() error
- func (e PaginateRequest_FilterValidationError) Error() string
- func (e PaginateRequest_FilterValidationError) ErrorName() string
- func (e PaginateRequest_FilterValidationError) Field() string
- func (e PaginateRequest_FilterValidationError) Key() bool
- func (e PaginateRequest_FilterValidationError) Reason() string
- type PaginateResponse
- func (*PaginateResponse) Descriptor() ([]byte, []int)
- func (m *PaginateResponse) GetData() []*Order
- func (*PaginateResponse) ProtoMessage()
- func (m *PaginateResponse) Reset()
- func (m *PaginateResponse) String() string
- func (m *PaginateResponse) Validate() error
- func (m *PaginateResponse) XXX_DiscardUnknown()
- func (m *PaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateResponse) XXX_Merge(src proto.Message)
- func (m *PaginateResponse) XXX_Size() int
- func (m *PaginateResponse) XXX_Unmarshal(b []byte) error
- type PaginateResponseValidationError
- func (e PaginateResponseValidationError) Cause() error
- func (e PaginateResponseValidationError) Error() string
- func (e PaginateResponseValidationError) ErrorName() string
- func (e PaginateResponseValidationError) Field() string
- func (e PaginateResponseValidationError) Key() bool
- func (e PaginateResponseValidationError) Reason() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetUuid() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) Validate() error
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOrderServiceHandler ¶
func RegisterOrderServiceHandler(s server.Server, hdlr OrderServiceHandler, opts ...server.HandlerOption) error
Types ¶
type GetResponse ¶
type GetResponse struct {
Data *Order `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*GetResponse) Descriptor ¶
func (*GetResponse) Descriptor() ([]byte, []int)
func (*GetResponse) GetData ¶
func (m *GetResponse) GetData() *Order
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) Reset ¶
func (m *GetResponse) Reset()
func (*GetResponse) String ¶
func (m *GetResponse) String() string
func (*GetResponse) Validate ¶
func (m *GetResponse) Validate() error
Validate checks the field values on GetResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetResponse) XXX_DiscardUnknown ¶
func (m *GetResponse) XXX_DiscardUnknown()
func (*GetResponse) XXX_Marshal ¶
func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetResponse) XXX_Merge ¶
func (m *GetResponse) XXX_Merge(src proto.Message)
func (*GetResponse) XXX_Size ¶
func (m *GetResponse) XXX_Size() int
func (*GetResponse) XXX_Unmarshal ¶
func (m *GetResponse) XXX_Unmarshal(b []byte) error
type GetResponseValidationError ¶
type GetResponseValidationError struct {
// contains filtered or unexported fields
}
GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.
func (GetResponseValidationError) Cause ¶
func (e GetResponseValidationError) Cause() error
Cause function returns cause value.
func (GetResponseValidationError) Error ¶
func (e GetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetResponseValidationError) ErrorName ¶
func (e GetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetResponseValidationError) Field ¶
func (e GetResponseValidationError) Field() string
Field function returns field value.
func (GetResponseValidationError) Key ¶
func (e GetResponseValidationError) Key() bool
Key function returns key value.
func (GetResponseValidationError) Reason ¶
func (e GetResponseValidationError) Reason() string
Reason function returns reason value.
type Order ¶
type Order struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" bson:"type"` Contract *Order_Contract `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty" bson:"contract"` Detail []byte `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty" bson:"detail"` Customer *Order_Customer `protobuf:"bytes,5,opt,name=customer,proto3" json:"customer,omitempty" bson:"customer"` Items *Order_Item `protobuf:"bytes,6,opt,name=items,proto3" json:"items,omitempty" bson:"items"` Payment *payment.Payment `protobuf:"bytes,7,opt,name=payment,proto3" json:"payment,omitempty" bson:"payment"` Status map[string]string `` /* 167-byte string literal not displayed */ Amount map[string]float64 `` /* 169-byte string literal not displayed */ CreatedAt string `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at"` UpdatedAt string `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"` Details *types.Struct `protobuf:"bytes,10,opt,name=details,proto3" json:"details,omitempty"` }
func (*Order) Descriptor ¶
func (*Order) GetContract ¶
func (m *Order) GetContract() *Order_Contract
func (*Order) GetCreatedAt ¶
func (*Order) GetCustomer ¶
func (m *Order) GetCustomer() *Order_Customer
func (*Order) GetDetails ¶
func (*Order) GetItems ¶
func (m *Order) GetItems() *Order_Item
func (*Order) GetPayment ¶
func (*Order) GetUpdatedAt ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) Validate ¶
Validate checks the field values on Order with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type OrderService ¶
type OrderService interface { Get(ctx context.Context, in *Request, opts ...client.CallOption) (*GetResponse, error) Paginate(ctx context.Context, in *PaginateRequest, opts ...client.CallOption) (*PaginateResponse, error) }
func NewOrderService ¶
func NewOrderService(name string, c client.Client) OrderService
type OrderServiceHandler ¶
type OrderServiceHandler interface { Get(context.Context, *Request, *GetResponse) error Paginate(context.Context, *PaginateRequest, *PaginateResponse) error }
type OrderValidationError ¶
type OrderValidationError struct {
// contains filtered or unexported fields
}
OrderValidationError is the validation error returned by Order.Validate if the designated constraints aren't met.
func (OrderValidationError) Cause ¶
func (e OrderValidationError) Cause() error
Cause function returns cause value.
func (OrderValidationError) Error ¶
func (e OrderValidationError) Error() string
Error satisfies the builtin error interface
func (OrderValidationError) ErrorName ¶
func (e OrderValidationError) ErrorName() string
ErrorName returns error name.
func (OrderValidationError) Field ¶
func (e OrderValidationError) Field() string
Field function returns field value.
func (OrderValidationError) Key ¶
func (e OrderValidationError) Key() bool
Key function returns key value.
func (OrderValidationError) Reason ¶
func (e OrderValidationError) Reason() string
Reason function returns reason value.
type Order_Contract ¶
type Order_Contract struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" bson:"name"` ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" bson:"contract_id"` }
func (*Order_Contract) Descriptor ¶
func (*Order_Contract) Descriptor() ([]byte, []int)
func (*Order_Contract) GetContractId ¶
func (m *Order_Contract) GetContractId() string
func (*Order_Contract) GetName ¶
func (m *Order_Contract) GetName() string
func (*Order_Contract) GetUuid ¶
func (m *Order_Contract) GetUuid() string
func (*Order_Contract) ProtoMessage ¶
func (*Order_Contract) ProtoMessage()
func (*Order_Contract) Reset ¶
func (m *Order_Contract) Reset()
func (*Order_Contract) String ¶
func (m *Order_Contract) String() string
func (*Order_Contract) Validate ¶
func (m *Order_Contract) Validate() error
Validate checks the field values on Order_Contract with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Contract) XXX_DiscardUnknown ¶
func (m *Order_Contract) XXX_DiscardUnknown()
func (*Order_Contract) XXX_Marshal ¶
func (m *Order_Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Contract) XXX_Merge ¶
func (m *Order_Contract) XXX_Merge(src proto.Message)
func (*Order_Contract) XXX_Size ¶
func (m *Order_Contract) XXX_Size() int
func (*Order_Contract) XXX_Unmarshal ¶
func (m *Order_Contract) XXX_Unmarshal(b []byte) error
type Order_ContractValidationError ¶
type Order_ContractValidationError struct {
// contains filtered or unexported fields
}
Order_ContractValidationError is the validation error returned by Order_Contract.Validate if the designated constraints aren't met.
func (Order_ContractValidationError) Cause ¶
func (e Order_ContractValidationError) Cause() error
Cause function returns cause value.
func (Order_ContractValidationError) Error ¶
func (e Order_ContractValidationError) Error() string
Error satisfies the builtin error interface
func (Order_ContractValidationError) ErrorName ¶
func (e Order_ContractValidationError) ErrorName() string
ErrorName returns error name.
func (Order_ContractValidationError) Field ¶
func (e Order_ContractValidationError) Field() string
Field function returns field value.
func (Order_ContractValidationError) Key ¶
func (e Order_ContractValidationError) Key() bool
Key function returns key value.
func (Order_ContractValidationError) Reason ¶
func (e Order_ContractValidationError) Reason() string
Reason function returns reason value.
type Order_Customer ¶
type Order_Customer struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Phone string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty" bson:"phone"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty" bson:"email"` }
func (*Order_Customer) Descriptor ¶
func (*Order_Customer) Descriptor() ([]byte, []int)
func (*Order_Customer) GetEmail ¶
func (m *Order_Customer) GetEmail() string
func (*Order_Customer) GetPhone ¶
func (m *Order_Customer) GetPhone() string
func (*Order_Customer) GetUuid ¶
func (m *Order_Customer) GetUuid() string
func (*Order_Customer) ProtoMessage ¶
func (*Order_Customer) ProtoMessage()
func (*Order_Customer) Reset ¶
func (m *Order_Customer) Reset()
func (*Order_Customer) String ¶
func (m *Order_Customer) String() string
func (*Order_Customer) Validate ¶
func (m *Order_Customer) Validate() error
Validate checks the field values on Order_Customer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Customer) XXX_DiscardUnknown ¶
func (m *Order_Customer) XXX_DiscardUnknown()
func (*Order_Customer) XXX_Marshal ¶
func (m *Order_Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Customer) XXX_Merge ¶
func (m *Order_Customer) XXX_Merge(src proto.Message)
func (*Order_Customer) XXX_Size ¶
func (m *Order_Customer) XXX_Size() int
func (*Order_Customer) XXX_Unmarshal ¶
func (m *Order_Customer) XXX_Unmarshal(b []byte) error
type Order_CustomerValidationError ¶
type Order_CustomerValidationError struct {
// contains filtered or unexported fields
}
Order_CustomerValidationError is the validation error returned by Order_Customer.Validate if the designated constraints aren't met.
func (Order_CustomerValidationError) Cause ¶
func (e Order_CustomerValidationError) Cause() error
Cause function returns cause value.
func (Order_CustomerValidationError) Error ¶
func (e Order_CustomerValidationError) Error() string
Error satisfies the builtin error interface
func (Order_CustomerValidationError) ErrorName ¶
func (e Order_CustomerValidationError) ErrorName() string
ErrorName returns error name.
func (Order_CustomerValidationError) Field ¶
func (e Order_CustomerValidationError) Field() string
Field function returns field value.
func (Order_CustomerValidationError) Key ¶
func (e Order_CustomerValidationError) Key() bool
Key function returns key value.
func (Order_CustomerValidationError) Reason ¶
func (e Order_CustomerValidationError) Reason() string
Reason function returns reason value.
type Order_Item ¶
type Order_Item struct {
Reservation *reservation.Reservation `protobuf:"bytes,1,opt,name=reservation,proto3" json:"reservation,omitempty" bson:"reservation"`
}
func (*Order_Item) Descriptor ¶
func (*Order_Item) Descriptor() ([]byte, []int)
func (*Order_Item) GetReservation ¶
func (m *Order_Item) GetReservation() *reservation.Reservation
func (*Order_Item) ProtoMessage ¶
func (*Order_Item) ProtoMessage()
func (*Order_Item) Reset ¶
func (m *Order_Item) Reset()
func (*Order_Item) String ¶
func (m *Order_Item) String() string
func (*Order_Item) Validate ¶
func (m *Order_Item) Validate() error
Validate checks the field values on Order_Item with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Order_Item) XXX_DiscardUnknown ¶
func (m *Order_Item) XXX_DiscardUnknown()
func (*Order_Item) XXX_Marshal ¶
func (m *Order_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Order_Item) XXX_Merge ¶
func (m *Order_Item) XXX_Merge(src proto.Message)
func (*Order_Item) XXX_Size ¶
func (m *Order_Item) XXX_Size() int
func (*Order_Item) XXX_Unmarshal ¶
func (m *Order_Item) XXX_Unmarshal(b []byte) error
type Order_ItemValidationError ¶
type Order_ItemValidationError struct {
// contains filtered or unexported fields
}
Order_ItemValidationError is the validation error returned by Order_Item.Validate if the designated constraints aren't met.
func (Order_ItemValidationError) Cause ¶
func (e Order_ItemValidationError) Cause() error
Cause function returns cause value.
func (Order_ItemValidationError) Error ¶
func (e Order_ItemValidationError) Error() string
Error satisfies the builtin error interface
func (Order_ItemValidationError) ErrorName ¶
func (e Order_ItemValidationError) ErrorName() string
ErrorName returns error name.
func (Order_ItemValidationError) Field ¶
func (e Order_ItemValidationError) Field() string
Field function returns field value.
func (Order_ItemValidationError) Key ¶
func (e Order_ItemValidationError) Key() bool
Key function returns key value.
func (Order_ItemValidationError) Reason ¶
func (e Order_ItemValidationError) Reason() string
Reason function returns reason value.
type PaginateRequest ¶
type PaginateRequest struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort,omitempty"` Filter *PaginateRequest_Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` }
func (*PaginateRequest) Descriptor ¶
func (*PaginateRequest) Descriptor() ([]byte, []int)
func (*PaginateRequest) GetFilter ¶
func (m *PaginateRequest) GetFilter() *PaginateRequest_Filter
func (*PaginateRequest) GetLimit ¶
func (m *PaginateRequest) GetLimit() int64
func (*PaginateRequest) GetSkip ¶
func (m *PaginateRequest) GetSkip() int64
func (*PaginateRequest) GetSort ¶
func (m *PaginateRequest) GetSort() string
func (*PaginateRequest) ProtoMessage ¶
func (*PaginateRequest) ProtoMessage()
func (*PaginateRequest) Reset ¶
func (m *PaginateRequest) Reset()
func (*PaginateRequest) String ¶
func (m *PaginateRequest) String() string
func (*PaginateRequest) Validate ¶
func (m *PaginateRequest) Validate() error
Validate checks the field values on PaginateRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateRequest) XXX_DiscardUnknown ¶
func (m *PaginateRequest) XXX_DiscardUnknown()
func (*PaginateRequest) XXX_Marshal ¶
func (m *PaginateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateRequest) XXX_Merge ¶
func (m *PaginateRequest) XXX_Merge(src proto.Message)
func (*PaginateRequest) XXX_Size ¶
func (m *PaginateRequest) XXX_Size() int
func (*PaginateRequest) XXX_Unmarshal ¶
func (m *PaginateRequest) XXX_Unmarshal(b []byte) error
type PaginateRequestValidationError ¶
type PaginateRequestValidationError struct {
// contains filtered or unexported fields
}
PaginateRequestValidationError is the validation error returned by PaginateRequest.Validate if the designated constraints aren't met.
func (PaginateRequestValidationError) Cause ¶
func (e PaginateRequestValidationError) Cause() error
Cause function returns cause value.
func (PaginateRequestValidationError) Error ¶
func (e PaginateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateRequestValidationError) ErrorName ¶
func (e PaginateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateRequestValidationError) Field ¶
func (e PaginateRequestValidationError) Field() string
Field function returns field value.
func (PaginateRequestValidationError) Key ¶
func (e PaginateRequestValidationError) Key() bool
Key function returns key value.
func (PaginateRequestValidationError) Reason ¶
func (e PaginateRequestValidationError) Reason() string
Reason function returns reason value.
type PaginateRequest_Filter ¶
type PaginateRequest_Filter struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` ReservationNumber string `protobuf:"bytes,2,opt,name=reservation_number,json=reservationNumber,proto3" json:"reservation_number,omitempty"` ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"` SortOrder string `protobuf:"bytes,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"` }
func (*PaginateRequest_Filter) Descriptor ¶
func (*PaginateRequest_Filter) Descriptor() ([]byte, []int)
func (*PaginateRequest_Filter) GetExternalId ¶
func (m *PaginateRequest_Filter) GetExternalId() string
func (*PaginateRequest_Filter) GetReservationNumber ¶
func (m *PaginateRequest_Filter) GetReservationNumber() string
func (*PaginateRequest_Filter) GetSortOrder ¶
func (m *PaginateRequest_Filter) GetSortOrder() string
func (*PaginateRequest_Filter) GetUuid ¶
func (m *PaginateRequest_Filter) GetUuid() string
func (*PaginateRequest_Filter) ProtoMessage ¶
func (*PaginateRequest_Filter) ProtoMessage()
func (*PaginateRequest_Filter) Reset ¶
func (m *PaginateRequest_Filter) Reset()
func (*PaginateRequest_Filter) String ¶
func (m *PaginateRequest_Filter) String() string
func (*PaginateRequest_Filter) Validate ¶
func (m *PaginateRequest_Filter) Validate() error
Validate checks the field values on PaginateRequest_Filter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateRequest_Filter) XXX_DiscardUnknown ¶
func (m *PaginateRequest_Filter) XXX_DiscardUnknown()
func (*PaginateRequest_Filter) XXX_Marshal ¶
func (m *PaginateRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateRequest_Filter) XXX_Merge ¶
func (m *PaginateRequest_Filter) XXX_Merge(src proto.Message)
func (*PaginateRequest_Filter) XXX_Size ¶
func (m *PaginateRequest_Filter) XXX_Size() int
func (*PaginateRequest_Filter) XXX_Unmarshal ¶
func (m *PaginateRequest_Filter) XXX_Unmarshal(b []byte) error
type PaginateRequest_FilterValidationError ¶
type PaginateRequest_FilterValidationError struct {
// contains filtered or unexported fields
}
PaginateRequest_FilterValidationError is the validation error returned by PaginateRequest_Filter.Validate if the designated constraints aren't met.
func (PaginateRequest_FilterValidationError) Cause ¶
func (e PaginateRequest_FilterValidationError) Cause() error
Cause function returns cause value.
func (PaginateRequest_FilterValidationError) Error ¶
func (e PaginateRequest_FilterValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateRequest_FilterValidationError) ErrorName ¶
func (e PaginateRequest_FilterValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateRequest_FilterValidationError) Field ¶
func (e PaginateRequest_FilterValidationError) Field() string
Field function returns field value.
func (PaginateRequest_FilterValidationError) Key ¶
func (e PaginateRequest_FilterValidationError) Key() bool
Key function returns key value.
func (PaginateRequest_FilterValidationError) Reason ¶
func (e PaginateRequest_FilterValidationError) Reason() string
Reason function returns reason value.
type PaginateResponse ¶
type PaginateResponse struct {
Data []*Order `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
}
func (*PaginateResponse) Descriptor ¶
func (*PaginateResponse) Descriptor() ([]byte, []int)
func (*PaginateResponse) GetData ¶
func (m *PaginateResponse) GetData() []*Order
func (*PaginateResponse) ProtoMessage ¶
func (*PaginateResponse) ProtoMessage()
func (*PaginateResponse) Reset ¶
func (m *PaginateResponse) Reset()
func (*PaginateResponse) String ¶
func (m *PaginateResponse) String() string
func (*PaginateResponse) Validate ¶
func (m *PaginateResponse) Validate() error
Validate checks the field values on PaginateResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateResponse) XXX_DiscardUnknown ¶
func (m *PaginateResponse) XXX_DiscardUnknown()
func (*PaginateResponse) XXX_Marshal ¶
func (m *PaginateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateResponse) XXX_Merge ¶
func (m *PaginateResponse) XXX_Merge(src proto.Message)
func (*PaginateResponse) XXX_Size ¶
func (m *PaginateResponse) XXX_Size() int
func (*PaginateResponse) XXX_Unmarshal ¶
func (m *PaginateResponse) XXX_Unmarshal(b []byte) error
type PaginateResponseValidationError ¶
type PaginateResponseValidationError struct {
// contains filtered or unexported fields
}
PaginateResponseValidationError is the validation error returned by PaginateResponse.Validate if the designated constraints aren't met.
func (PaginateResponseValidationError) Cause ¶
func (e PaginateResponseValidationError) Cause() error
Cause function returns cause value.
func (PaginateResponseValidationError) Error ¶
func (e PaginateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateResponseValidationError) ErrorName ¶
func (e PaginateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateResponseValidationError) Field ¶
func (e PaginateResponseValidationError) Field() string
Field function returns field value.
func (PaginateResponseValidationError) Key ¶
func (e PaginateResponseValidationError) Key() bool
Key function returns key value.
func (PaginateResponseValidationError) Reason ¶
func (e PaginateResponseValidationError) Reason() string
Reason function returns reason value.
type Request ¶
type Request struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) Validate ¶
Validate checks the field values on Request with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type RequestValidationError ¶
type RequestValidationError struct {
// contains filtered or unexported fields
}
RequestValidationError is the validation error returned by Request.Validate if the designated constraints aren't met.
func (RequestValidationError) Cause ¶
func (e RequestValidationError) Cause() error
Cause function returns cause value.
func (RequestValidationError) Error ¶
func (e RequestValidationError) Error() string
Error satisfies the builtin error interface
func (RequestValidationError) ErrorName ¶
func (e RequestValidationError) ErrorName() string
ErrorName returns error name.
func (RequestValidationError) Field ¶
func (e RequestValidationError) Field() string
Field function returns field value.
func (RequestValidationError) Key ¶
func (e RequestValidationError) Key() bool
Key function returns key value.
func (RequestValidationError) Reason ¶
func (e RequestValidationError) Reason() string
Reason function returns reason value.