66 lines
1.7 KiB
Go
66 lines
1.7 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: statement.proto
|
|
|
|
package statement
|
|
|
|
import (
|
|
fmt "fmt"
|
|
math "math"
|
|
proto "github.com/golang/protobuf/proto"
|
|
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
func (this *Contracts) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *ArtworkTxDetail) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *ArtworkSoldTxDetail) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *StatementListRequest) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *StatementListRespond) Validate() error {
|
|
for _, item := range this.Data {
|
|
if item != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("Data", err)
|
|
}
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *CreateTxContractRequest) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *CreateTxContractRespond) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *GetTxInfoByBatchUidRequest) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *GetTxInfoByBatchUidRespond) Validate() error {
|
|
for _, item := range this.ArtworkTxDetail {
|
|
if item != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("ArtworkTxDetail", err)
|
|
}
|
|
}
|
|
}
|
|
for _, item := range this.ArtworkSoldTxDetail {
|
|
if item != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("ArtworkSoldTxDetail", err)
|
|
}
|
|
}
|
|
}
|
|
return nil
|
|
}
|