Documentation
¶
Index ¶
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)
- func (m *Customer) GetCreatedAt() string
- func (m *Customer) GetDeletedAt() string
- func (m *Customer) GetEmail() string
- func (m *Customer) GetPhone() string
- func (m *Customer) GetSortOrder() int64
- func (m *Customer) GetUpdatedAt() string
- func (m *Customer) GetUuid() string
- func (*Customer) ProtoMessage()
- func (m *Customer) Reset()
- func (m *Customer) String() string
- func (m *Customer) Validate() error
- func (m *Customer) XXX_DiscardUnknown()
- func (m *Customer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Customer) XXX_Merge(src proto.Message)
- func (m *Customer) XXX_Size() int
- func (m *Customer) XXX_Unmarshal(b []byte) error
- type CustomerValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Customer ¶
type Customer struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty" bson:"uuid"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" bson:"email"` Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty" bson:"phone"` SortOrder int64 `protobuf:"varint,4,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty" bson:"sort_order"` 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"` DeletedAt string `protobuf:"bytes,1003,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty" bson:"deleted_at"` }
func (*Customer) Descriptor ¶
func (*Customer) GetCreatedAt ¶
func (*Customer) GetDeletedAt ¶
func (*Customer) GetSortOrder ¶
func (*Customer) GetUpdatedAt ¶
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) Validate ¶
Validate checks the field values on Customer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Customer) XXX_DiscardUnknown ¶
func (m *Customer) XXX_DiscardUnknown()
func (*Customer) XXX_Marshal ¶
func (*Customer) XXX_Unmarshal ¶
type CustomerValidationError ¶
type CustomerValidationError struct {
// contains filtered or unexported fields
}
CustomerValidationError is the validation error returned by Customer.Validate if the designated constraints aren't met.
func (CustomerValidationError) Cause ¶
func (e CustomerValidationError) Cause() error
Cause function returns cause value.
func (CustomerValidationError) Error ¶
func (e CustomerValidationError) Error() string
Error satisfies the builtin error interface
func (CustomerValidationError) ErrorName ¶
func (e CustomerValidationError) ErrorName() string
ErrorName returns error name.
func (CustomerValidationError) Field ¶
func (e CustomerValidationError) Field() string
Field function returns field value.
func (CustomerValidationError) Key ¶
func (e CustomerValidationError) Key() bool
Key function returns key value.
func (CustomerValidationError) Reason ¶
func (e CustomerValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.