102 lines
2.7 KiB
Go
102 lines
2.7 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: api/members/members.proto
|
|
|
|
package members
|
|
|
|
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 *AddMemberReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *AddMemberResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditMemberReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditMemberResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *DeleteMemberReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *DeleteMemberResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *Filtrate) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *GetMemberListReq) Validate() error {
|
|
if this.Filterate != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Filterate); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("Filterate", err)
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *GetMemberListResp) 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 *Member) Validate() error {
|
|
if this.Management != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.Management); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("Management", err)
|
|
}
|
|
}
|
|
if this.BoardOfDirectors != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.BoardOfDirectors); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("BoardOfDirectors", err)
|
|
}
|
|
}
|
|
if this.CommitteeAppointments != nil {
|
|
if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(this.CommitteeAppointments); err != nil {
|
|
return github_com_mwitkow_go_proto_validators.FieldError("CommitteeAppointments", err)
|
|
}
|
|
}
|
|
return nil
|
|
}
|
|
func (this *Management) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditManagementReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditManagementResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *BoardOfDirectors) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditBoardOfDirectorsReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditBoardOfDirectorsResp) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *CommitteeAppointments) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditCommitteeAppointmentsReq) Validate() error {
|
|
return nil
|
|
}
|
|
func (this *EditCommitteeAppointmentsResp) Validate() error {
|
|
return nil
|
|
}
|