90 lines
2.3 KiB
Go
90 lines
2.3 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: api/secFilings/secFilings.proto
|
|
|
|
package secFilings
|
|
|
|
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 *IsSecFilingExistReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *IsSecFilingExistResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *CommonResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *SecFiling) Validate() error {
|
|
for _, item := range this.DataFiles {
|
|
if item != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("DataFiles", err)
|
|
}
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *DataFiles) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *CreateSecFilingReq) Validate() error {
|
|
for _, item := range this.DataFiles {
|
|
if item != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("DataFiles", err)
|
|
}
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *UpdateSecFilingReq) Validate() error {
|
|
for _, item := range this.DataFiles {
|
|
if item != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("DataFiles", err)
|
|
}
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *DetailSecFilingReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *SecFilingDetailResp) 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
|
|
}
|
|
func (this *ListSecFilingReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *SecFilingListResp) 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 *DeleteSecFilingReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *UpdateSecFilingStatusReq) Validate() error {
|
|
return nil
|
|
}
|