Documentation ¶
Index ¶
- Variables
- type ListParameters
- func (x *ListParameters) CalculateFromOffset() uint64
- func (*ListParameters) Descriptor() ([]byte, []int)deprecated
- func (x *ListParameters) EnsureItemsPerPage(maximum uint64) uint64
- func (x *ListParameters) GetCurrentPage() uint64
- func (x *ListParameters) GetItemsPerPage() uint64
- func (x *ListParameters) GetSorting() map[string]ListParameters_Order
- func (x *ListParameters) GetTotalItems() uint64
- func (*ListParameters) ProtoMessage()
- func (x *ListParameters) ProtoReflect() protoreflect.Message
- func (x *ListParameters) Reset()
- func (x *ListParameters) String() string
- type ListParameters_Order
- func (ListParameters_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListParameters_Order) Enum() *ListParameters_Order
- func (ListParameters_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListParameters_Order) Number() protoreflect.EnumNumber
- func (x ListParameters_Order) String() string
- func (ListParameters_Order) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ListParameters_Order_name = map[int32]string{ 0: "ASC", 1: "DESC", } ListParameters_Order_value = map[string]int32{ "ASC": 0, "DESC": 1, } )
Enum value maps for ListParameters_Order.
View Source
var File_protobuf_read_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ListParameters ¶
type ListParameters struct { Sorting map[string]ListParameters_Order `` /* 206-byte string literal not displayed */ TotalItems uint64 `protobuf:"varint,2,opt,name=total_items,json=totalItems,proto3" json:"total_items,omitempty"` ItemsPerPage uint64 `protobuf:"varint,3,opt,name=items_per_page,json=itemsPerPage,proto3" json:"items_per_page,omitempty"` CurrentPage uint64 `protobuf:"varint,4,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"` // contains filtered or unexported fields }
func (*ListParameters) CalculateFromOffset ¶
func (x *ListParameters) CalculateFromOffset() uint64
func (*ListParameters) Descriptor
deprecated
func (*ListParameters) Descriptor() ([]byte, []int)
Deprecated: Use ListParameters.ProtoReflect.Descriptor instead.
func (*ListParameters) EnsureItemsPerPage ¶
func (x *ListParameters) EnsureItemsPerPage(maximum uint64) uint64
func (*ListParameters) GetCurrentPage ¶
func (x *ListParameters) GetCurrentPage() uint64
func (*ListParameters) GetItemsPerPage ¶
func (x *ListParameters) GetItemsPerPage() uint64
func (*ListParameters) GetSorting ¶
func (x *ListParameters) GetSorting() map[string]ListParameters_Order
func (*ListParameters) GetTotalItems ¶
func (x *ListParameters) GetTotalItems() uint64
func (*ListParameters) ProtoMessage ¶
func (*ListParameters) ProtoMessage()
func (*ListParameters) ProtoReflect ¶
func (x *ListParameters) ProtoReflect() protoreflect.Message
func (*ListParameters) Reset ¶
func (x *ListParameters) Reset()
func (*ListParameters) String ¶
func (x *ListParameters) String() string
type ListParameters_Order ¶
type ListParameters_Order int32
const ( ListParameters_ASC ListParameters_Order = 0 ListParameters_DESC ListParameters_Order = 1 )
func (ListParameters_Order) Descriptor ¶
func (ListParameters_Order) Descriptor() protoreflect.EnumDescriptor
func (ListParameters_Order) Enum ¶
func (x ListParameters_Order) Enum() *ListParameters_Order
func (ListParameters_Order) EnumDescriptor
deprecated
func (ListParameters_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListParameters_Order.Descriptor instead.
func (ListParameters_Order) Number ¶
func (x ListParameters_Order) Number() protoreflect.EnumNumber
func (ListParameters_Order) String ¶
func (x ListParameters_Order) String() string
func (ListParameters_Order) Type ¶
func (ListParameters_Order) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.