fonchain-artistinfo/pb/contract/contract.validator.pb.go

109 lines
2.8 KiB
Go
Raw Normal View History

2023-03-03 08:18:00 +00:00
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: contract.proto
2023-03-14 05:19:20 +00:00
package artistContract
2023-03-03 08:18:00 +00:00
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
2023-03-10 09:58:13 +00:00
func (this *Contracts) Validate() error {
return nil
}
2023-03-03 08:18:00 +00:00
func (this *CreateContractRequest) Validate() error {
return nil
}
func (this *CreateContractRespond) Validate() error {
return nil
}
2023-03-10 09:58:13 +00:00
func (this *ContractListMgmtRequest) Validate() error {
2023-03-03 08:18:00 +00:00
return nil
}
2023-03-10 09:58:13 +00:00
func (this *ContractListMgmtRespond) 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)
}
}
}
2023-03-03 08:18:00 +00:00
return nil
}
func (this *ContractListRequest) Validate() error {
return nil
}
func (this *ContractListRespond) 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
}
2023-03-10 09:58:13 +00:00
func (this *SignContractRequest) Validate() error {
return nil
}
func (this *SignContractRespond) Validate() error {
return nil
}
func (this *FinishContractRequest) Validate() error {
return nil
}
func (this *FinishContractRespond) Validate() error {
2023-03-14 02:35:56 +00:00
if this.Contract != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Contract); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Contract", err)
}
}
2023-03-03 08:18:00 +00:00
return nil
}
func (this *ContractTxListRequest) Validate() error {
return nil
}
func (this *ContractTxListRespond) 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
}
2023-03-17 05:06:19 +00:00
func (this *GetContractInfoByContractUidRequest) Validate() error {
return nil
}
func (this *GetContractInfoByContractUidRespond) Validate() error {
if this.Data != nil {
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Data); err != nil {
return github_com_mwitkow_go_proto_validators.FieldError("Data", err)
}
}
return nil
}
2023-03-03 08:18:00 +00:00
func (this *GetContractRequest) Validate() error {
return nil
}
func (this *UpdateContractRequest) Validate() error {
return nil
}
func (this *UpdateContractRespond) Validate() error {
return nil
}
func (this *UpdateContractTxRequest) Validate() error {
return nil
}
func (this *UpdateContractTxRespond) Validate() error {
return nil
}