github.com/litesolutions/justifay-api@v1.0.0-2.0.20220707114139-46f28a909481/proto/user/user_messages.validator.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: user/user_messages.proto
     3  
     4  //package example;
     5  //package resonate.api.user;
     6  
     7  package user
     8  
     9  import (
    10  	fmt "fmt"
    11  	math "math"
    12  	proto "github.com/golang/protobuf/proto"
    13  	github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
    14  )
    15  
    16  // Reference imports to suppress errors if they are not otherwise used.
    17  var _ = proto.Marshal
    18  var _ = fmt.Errorf
    19  var _ = math.Inf
    20  
    21  func (this *UserRequest) Validate() error {
    22  	return nil
    23  }
    24  func (this *UserOptionalRequest) Validate() error {
    25  	return nil
    26  }
    27  func (this *ResetUserPasswordRequest) Validate() error {
    28  	return nil
    29  }
    30  func (this *UserUpdateRequest) Validate() error {
    31  	return nil
    32  }
    33  func (this *UserUpdateRestrictedRequest) Validate() error {
    34  	return nil
    35  }
    36  func (this *UserCreditResponse) Validate() error {
    37  	return nil
    38  }
    39  func (this *UserPrivateResponse) Validate() error {
    40  	return nil
    41  }
    42  func (this *UserMembershipResponse) Validate() error {
    43  	return nil
    44  }
    45  func (this *UserPublicResponse) Validate() error {
    46  	return nil
    47  }
    48  func (this *UserAddRequest) Validate() error {
    49  	return nil
    50  }
    51  func (this *UserListResponse) Validate() error {
    52  	for _, item := range this.User {
    53  		if item != nil {
    54  			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
    55  				return github_com_mwitkow_go_proto_validators.FieldError("User", err)
    56  			}
    57  		}
    58  	}
    59  	return nil
    60  }