Documentation ¶
Index ¶
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)
- func (m *Contract) GetCode() string
- func (m *Contract) GetContractId() int64
- func (m *Contract) GetCreatedAt() string
- func (m *Contract) GetDeletedAt() string
- func (m *Contract) GetName() string
- func (m *Contract) GetUpdatedAt() string
- func (m *Contract) GetUuid() string
- func (*Contract) ProtoMessage()
- func (m *Contract) Reset()
- func (m *Contract) String() string
- func (m *Contract) Validate() error
- func (m *Contract) XXX_DiscardUnknown()
- func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contract) XXX_Merge(src proto.Message)
- func (m *Contract) XXX_Size() int
- func (m *Contract) XXX_Unmarshal(b []byte) error
- type ContractValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` ContractId int64 `protobuf:"varint,4,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` CreatedAt string `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt string `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` DeletedAt string `protobuf:"bytes,1003,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` }
func (*Contract) Descriptor ¶
func (*Contract) GetContractId ¶
func (*Contract) GetCreatedAt ¶
func (*Contract) GetDeletedAt ¶
func (*Contract) GetUpdatedAt ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) Validate ¶
Validate checks the field values on Contract with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Contract) XXX_DiscardUnknown ¶
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶
func (*Contract) XXX_Unmarshal ¶
type ContractValidationError ¶
type ContractValidationError struct {
// contains filtered or unexported fields
}
ContractValidationError is the validation error returned by Contract.Validate if the designated constraints aren't met.
func (ContractValidationError) Cause ¶
func (e ContractValidationError) Cause() error
Cause function returns cause value.
func (ContractValidationError) Error ¶
func (e ContractValidationError) Error() string
Error satisfies the builtin error interface
func (ContractValidationError) ErrorName ¶
func (e ContractValidationError) ErrorName() string
ErrorName returns error name.
func (ContractValidationError) Field ¶
func (e ContractValidationError) Field() string
Field function returns field value.
func (ContractValidationError) Key ¶
func (e ContractValidationError) Key() bool
Key function returns key value.
func (ContractValidationError) Reason ¶
func (e ContractValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.