Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterOrganizationHTTPServer(s *http.Server, srv OrganizationHTTPServer)
- func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer)
- type CreateOrganizationRequest
- func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrganizationRequest) GetAddress() string
- func (x *CreateOrganizationRequest) GetCityID() int32
- func (x *CreateOrganizationRequest) GetCityName() string
- func (x *CreateOrganizationRequest) GetComment() string
- func (x *CreateOrganizationRequest) GetCountry() string
- func (x *CreateOrganizationRequest) GetCountryID() int32
- func (x *CreateOrganizationRequest) GetName() string
- func (x *CreateOrganizationRequest) GetOrgType() int32
- func (x *CreateOrganizationRequest) GetParentID() string
- func (x *CreateOrganizationRequest) GetProvinceID() int32
- func (x *CreateOrganizationRequest) GetProvinceName() string
- func (*CreateOrganizationRequest) ProtoMessage()
- func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrganizationRequest) Reset()
- func (x *CreateOrganizationRequest) String() string
- func (m *CreateOrganizationRequest) Validate() error
- func (m *CreateOrganizationRequest) ValidateAll() error
- type CreateOrganizationRequestMultiError
- type CreateOrganizationRequestValidationError
- func (e CreateOrganizationRequestValidationError) Cause() error
- func (e CreateOrganizationRequestValidationError) Error() string
- func (e CreateOrganizationRequestValidationError) ErrorName() string
- func (e CreateOrganizationRequestValidationError) Field() string
- func (e CreateOrganizationRequestValidationError) Key() bool
- func (e CreateOrganizationRequestValidationError) Reason() string
- type CreateUserOrgRequest
- func (*CreateUserOrgRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserOrgRequest) GetUserOrgs() []*CreateUserOrgRequest_UserOrg
- func (*CreateUserOrgRequest) ProtoMessage()
- func (x *CreateUserOrgRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserOrgRequest) Reset()
- func (x *CreateUserOrgRequest) String() string
- func (m *CreateUserOrgRequest) Validate() error
- func (m *CreateUserOrgRequest) ValidateAll() error
- type CreateUserOrgRequestMultiError
- type CreateUserOrgRequestValidationError
- func (e CreateUserOrgRequestValidationError) Cause() error
- func (e CreateUserOrgRequestValidationError) Error() string
- func (e CreateUserOrgRequestValidationError) ErrorName() string
- func (e CreateUserOrgRequestValidationError) Field() string
- func (e CreateUserOrgRequestValidationError) Key() bool
- func (e CreateUserOrgRequestValidationError) Reason() string
- type CreateUserOrgRequest_UserOrg
- func (*CreateUserOrgRequest_UserOrg) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserOrgRequest_UserOrg) GetOrgID() string
- func (x *CreateUserOrgRequest_UserOrg) GetUserID() string
- func (*CreateUserOrgRequest_UserOrg) ProtoMessage()
- func (x *CreateUserOrgRequest_UserOrg) ProtoReflect() protoreflect.Message
- func (x *CreateUserOrgRequest_UserOrg) Reset()
- func (x *CreateUserOrgRequest_UserOrg) String() string
- func (m *CreateUserOrgRequest_UserOrg) Validate() error
- func (m *CreateUserOrgRequest_UserOrg) ValidateAll() error
- type CreateUserOrgRequest_UserOrgMultiError
- type CreateUserOrgRequest_UserOrgValidationError
- func (e CreateUserOrgRequest_UserOrgValidationError) Cause() error
- func (e CreateUserOrgRequest_UserOrgValidationError) Error() string
- func (e CreateUserOrgRequest_UserOrgValidationError) ErrorName() string
- func (e CreateUserOrgRequest_UserOrgValidationError) Field() string
- func (e CreateUserOrgRequest_UserOrgValidationError) Key() bool
- func (e CreateUserOrgRequest_UserOrgValidationError) Reason() string
- type DeleteOrgUserRequest
- func (*DeleteOrgUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOrgUserRequest) GetBindIDList() []string
- func (*DeleteOrgUserRequest) ProtoMessage()
- func (x *DeleteOrgUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteOrgUserRequest) Reset()
- func (x *DeleteOrgUserRequest) String() string
- func (m *DeleteOrgUserRequest) Validate() error
- func (m *DeleteOrgUserRequest) ValidateAll() error
- type DeleteOrgUserRequestMultiError
- type DeleteOrgUserRequestValidationError
- func (e DeleteOrgUserRequestValidationError) Cause() error
- func (e DeleteOrgUserRequestValidationError) Error() string
- func (e DeleteOrgUserRequestValidationError) ErrorName() string
- func (e DeleteOrgUserRequestValidationError) Field() string
- func (e DeleteOrgUserRequestValidationError) Key() bool
- func (e DeleteOrgUserRequestValidationError) Reason() string
- type GetOrganizationReply
- func (*GetOrganizationReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetOrganizationReply) GetAddress() string
- func (x *GetOrganizationReply) GetCityID() int32
- func (x *GetOrganizationReply) GetCityName() string
- func (x *GetOrganizationReply) GetComment() string
- func (x *GetOrganizationReply) GetCountry() string
- func (x *GetOrganizationReply) GetCountryID() int32
- func (x *GetOrganizationReply) GetId() string
- func (x *GetOrganizationReply) GetName() string
- func (x *GetOrganizationReply) GetOrgType() int32
- func (x *GetOrganizationReply) GetParentID() string
- func (x *GetOrganizationReply) GetProvinceID() int32
- func (x *GetOrganizationReply) GetProvinceName() string
- func (*GetOrganizationReply) ProtoMessage()
- func (x *GetOrganizationReply) ProtoReflect() protoreflect.Message
- func (x *GetOrganizationReply) Reset()
- func (x *GetOrganizationReply) String() string
- func (m *GetOrganizationReply) Validate() error
- func (m *GetOrganizationReply) ValidateAll() error
- type GetOrganizationReplyMultiError
- type GetOrganizationReplyValidationError
- func (e GetOrganizationReplyValidationError) Cause() error
- func (e GetOrganizationReplyValidationError) Error() string
- func (e GetOrganizationReplyValidationError) ErrorName() string
- func (e GetOrganizationReplyValidationError) Field() string
- func (e GetOrganizationReplyValidationError) Key() bool
- func (e GetOrganizationReplyValidationError) Reason() string
- type ListDistrictRequest
- func (*ListDistrictRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDistrictRequest) GetParentID() int32
- func (*ListDistrictRequest) ProtoMessage()
- func (x *ListDistrictRequest) ProtoReflect() protoreflect.Message
- func (x *ListDistrictRequest) Reset()
- func (x *ListDistrictRequest) String() string
- func (m *ListDistrictRequest) Validate() error
- func (m *ListDistrictRequest) ValidateAll() error
- type ListDistrictRequestMultiError
- type ListDistrictRequestValidationError
- func (e ListDistrictRequestValidationError) Cause() error
- func (e ListDistrictRequestValidationError) Error() string
- func (e ListDistrictRequestValidationError) ErrorName() string
- func (e ListDistrictRequestValidationError) Field() string
- func (e ListDistrictRequestValidationError) Key() bool
- func (e ListDistrictRequestValidationError) Reason() string
- type ListDistrictResponse
- func (*ListDistrictResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDistrictResponse) GetDistricts() []*ListDistrictResponse_DistrictResponse
- func (*ListDistrictResponse) ProtoMessage()
- func (x *ListDistrictResponse) ProtoReflect() protoreflect.Message
- func (x *ListDistrictResponse) Reset()
- func (x *ListDistrictResponse) String() string
- func (m *ListDistrictResponse) Validate() error
- func (m *ListDistrictResponse) ValidateAll() error
- type ListDistrictResponseMultiError
- type ListDistrictResponseValidationError
- func (e ListDistrictResponseValidationError) Cause() error
- func (e ListDistrictResponseValidationError) Error() string
- func (e ListDistrictResponseValidationError) ErrorName() string
- func (e ListDistrictResponseValidationError) Field() string
- func (e ListDistrictResponseValidationError) Key() bool
- func (e ListDistrictResponseValidationError) Reason() string
- type ListDistrictResponse_DistrictResponse
- func (*ListDistrictResponse_DistrictResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDistrictResponse_DistrictResponse) GetId() int32
- func (x *ListDistrictResponse_DistrictResponse) GetName() string
- func (x *ListDistrictResponse_DistrictResponse) GetParentID() int32
- func (*ListDistrictResponse_DistrictResponse) ProtoMessage()
- func (x *ListDistrictResponse_DistrictResponse) ProtoReflect() protoreflect.Message
- func (x *ListDistrictResponse_DistrictResponse) Reset()
- func (x *ListDistrictResponse_DistrictResponse) String() string
- func (m *ListDistrictResponse_DistrictResponse) Validate() error
- func (m *ListDistrictResponse_DistrictResponse) ValidateAll() error
- type ListDistrictResponse_DistrictResponseMultiError
- type ListDistrictResponse_DistrictResponseValidationError
- func (e ListDistrictResponse_DistrictResponseValidationError) Cause() error
- func (e ListDistrictResponse_DistrictResponseValidationError) Error() string
- func (e ListDistrictResponse_DistrictResponseValidationError) ErrorName() string
- func (e ListDistrictResponse_DistrictResponseValidationError) Field() string
- func (e ListDistrictResponse_DistrictResponseValidationError) Key() bool
- func (e ListDistrictResponse_DistrictResponseValidationError) Reason() string
- type ListOrgIDRequest
- func (*ListOrgIDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgIDRequest) GetOrgIDList() []string
- func (*ListOrgIDRequest) ProtoMessage()
- func (x *ListOrgIDRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrgIDRequest) Reset()
- func (x *ListOrgIDRequest) String() string
- func (m *ListOrgIDRequest) Validate() error
- func (m *ListOrgIDRequest) ValidateAll() error
- type ListOrgIDRequestMultiError
- type ListOrgIDRequestValidationError
- func (e ListOrgIDRequestValidationError) Cause() error
- func (e ListOrgIDRequestValidationError) Error() string
- func (e ListOrgIDRequestValidationError) ErrorName() string
- func (e ListOrgIDRequestValidationError) Field() string
- func (e ListOrgIDRequestValidationError) Key() bool
- func (e ListOrgIDRequestValidationError) Reason() string
- type ListOrgUserReply
- func (*ListOrgUserReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgUserReply) GetDataList() []*ListOrgUserReply_User
- func (x *ListOrgUserReply) GetPage() int32
- func (x *ListOrgUserReply) GetPerPage() int32
- func (x *ListOrgUserReply) GetTotal() int32
- func (*ListOrgUserReply) ProtoMessage()
- func (x *ListOrgUserReply) ProtoReflect() protoreflect.Message
- func (x *ListOrgUserReply) Reset()
- func (x *ListOrgUserReply) String() string
- func (m *ListOrgUserReply) Validate() error
- func (m *ListOrgUserReply) ValidateAll() error
- type ListOrgUserReplyMultiError
- type ListOrgUserReplyValidationError
- func (e ListOrgUserReplyValidationError) Cause() error
- func (e ListOrgUserReplyValidationError) Error() string
- func (e ListOrgUserReplyValidationError) ErrorName() string
- func (e ListOrgUserReplyValidationError) Field() string
- func (e ListOrgUserReplyValidationError) Key() bool
- func (e ListOrgUserReplyValidationError) Reason() string
- type ListOrgUserReply_User
- func (*ListOrgUserReply_User) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgUserReply_User) GetAvatarUrl() string
- func (x *ListOrgUserReply_User) GetBindID() string
- func (x *ListOrgUserReply_User) GetComment() string
- func (x *ListOrgUserReply_User) GetEmail() string
- func (x *ListOrgUserReply_User) GetId() string
- func (x *ListOrgUserReply_User) GetIsVerify() bool
- func (x *ListOrgUserReply_User) GetPhone() string
- func (x *ListOrgUserReply_User) GetUserID() string
- func (x *ListOrgUserReply_User) GetUserName() string
- func (*ListOrgUserReply_User) ProtoMessage()
- func (x *ListOrgUserReply_User) ProtoReflect() protoreflect.Message
- func (x *ListOrgUserReply_User) Reset()
- func (x *ListOrgUserReply_User) String() string
- func (m *ListOrgUserReply_User) Validate() error
- func (m *ListOrgUserReply_User) ValidateAll() error
- type ListOrgUserReply_UserMultiError
- type ListOrgUserReply_UserValidationError
- func (e ListOrgUserReply_UserValidationError) Cause() error
- func (e ListOrgUserReply_UserValidationError) Error() string
- func (e ListOrgUserReply_UserValidationError) ErrorName() string
- func (e ListOrgUserReply_UserValidationError) Field() string
- func (e ListOrgUserReply_UserValidationError) Key() bool
- func (e ListOrgUserReply_UserValidationError) Reason() string
- type ListOrgUserReqeust
- func (*ListOrgUserReqeust) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrgUserReqeust) GetOrgID() string
- func (x *ListOrgUserReqeust) GetPage() int32
- func (x *ListOrgUserReqeust) GetPerPage() int32
- func (x *ListOrgUserReqeust) GetQuery() string
- func (*ListOrgUserReqeust) ProtoMessage()
- func (x *ListOrgUserReqeust) ProtoReflect() protoreflect.Message
- func (x *ListOrgUserReqeust) Reset()
- func (x *ListOrgUserReqeust) String() string
- func (m *ListOrgUserReqeust) Validate() error
- func (m *ListOrgUserReqeust) ValidateAll() error
- type ListOrgUserReqeustMultiError
- type ListOrgUserReqeustValidationError
- func (e ListOrgUserReqeustValidationError) Cause() error
- func (e ListOrgUserReqeustValidationError) Error() string
- func (e ListOrgUserReqeustValidationError) ErrorName() string
- func (e ListOrgUserReqeustValidationError) Field() string
- func (e ListOrgUserReqeustValidationError) Key() bool
- func (e ListOrgUserReqeustValidationError) Reason() string
- type ListOrganizationReply
- func (*ListOrganizationReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationReply) GetDataList() []*GetOrganizationReply
- func (x *ListOrganizationReply) GetPage() int32
- func (x *ListOrganizationReply) GetPerPage() int32
- func (x *ListOrganizationReply) GetTotal() int32
- func (*ListOrganizationReply) ProtoMessage()
- func (x *ListOrganizationReply) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationReply) Reset()
- func (x *ListOrganizationReply) String() string
- func (m *ListOrganizationReply) Validate() error
- func (m *ListOrganizationReply) ValidateAll() error
- type ListOrganizationReplyMultiError
- type ListOrganizationReplyValidationError
- func (e ListOrganizationReplyValidationError) Cause() error
- func (e ListOrganizationReplyValidationError) Error() string
- func (e ListOrganizationReplyValidationError) ErrorName() string
- func (e ListOrganizationReplyValidationError) Field() string
- func (e ListOrganizationReplyValidationError) Key() bool
- func (e ListOrganizationReplyValidationError) Reason() string
- type ListOrganizationRequest
- func (*ListOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListOrganizationRequest) GetName() string
- func (x *ListOrganizationRequest) GetPage() int32
- func (x *ListOrganizationRequest) GetParentID() string
- func (x *ListOrganizationRequest) GetPerPage() int32
- func (*ListOrganizationRequest) ProtoMessage()
- func (x *ListOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *ListOrganizationRequest) Reset()
- func (x *ListOrganizationRequest) String() string
- func (m *ListOrganizationRequest) Validate() error
- func (m *ListOrganizationRequest) ValidateAll() error
- type ListOrganizationRequestMultiError
- type ListOrganizationRequestValidationError
- func (e ListOrganizationRequestValidationError) Cause() error
- func (e ListOrganizationRequestValidationError) Error() string
- func (e ListOrganizationRequestValidationError) ErrorName() string
- func (e ListOrganizationRequestValidationError) Field() string
- func (e ListOrganizationRequestValidationError) Key() bool
- func (e ListOrganizationRequestValidationError) Reason() string
- type OrganizationClient
- type OrganizationHTTPClient
- type OrganizationHTTPClientImpl
- func (c *OrganizationHTTPClientImpl) CreateOrgUser(ctx context.Context, in *CreateUserOrgRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *OrganizationHTTPClientImpl) CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *OrganizationHTTPClientImpl) DeleteOrgUser(ctx context.Context, in *DeleteOrgUserRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *OrganizationHTTPClientImpl) DeleteOrganization(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *OrganizationHTTPClientImpl) GetOrganization(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetOrganizationReply, error)
- func (c *OrganizationHTTPClientImpl) ListDistrict(ctx context.Context, in *ListDistrictRequest, opts ...http.CallOption) (*ListDistrictResponse, error)
- func (c *OrganizationHTTPClientImpl) ListOrgUser(ctx context.Context, in *ListOrgUserReqeust, opts ...http.CallOption) (*ListOrgUserReply, error)
- func (c *OrganizationHTTPClientImpl) ListOrganization(ctx context.Context, in *ListOrganizationRequest, opts ...http.CallOption) (*ListOrganizationReply, error)
- func (c *OrganizationHTTPClientImpl) UpdateOrganization(ctx context.Context, in *UpdateOrganizationRequest, opts ...http.CallOption) (*api.Success, error)
- type OrganizationHTTPServer
- type OrganizationServer
- type UnimplementedOrganizationServer
- func (UnimplementedOrganizationServer) CreateOrgUser(context.Context, *CreateUserOrgRequest) (*api.Success, error)
- func (UnimplementedOrganizationServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*api.Success, error)
- func (UnimplementedOrganizationServer) DeleteOrgUser(context.Context, *DeleteOrgUserRequest) (*api.Success, error)
- func (UnimplementedOrganizationServer) DeleteOrganization(context.Context, *api.IDRequest) (*api.Success, error)
- func (UnimplementedOrganizationServer) GetOrganization(context.Context, *api.IDRequest) (*GetOrganizationReply, error)
- func (UnimplementedOrganizationServer) ListDistrict(context.Context, *ListDistrictRequest) (*ListDistrictResponse, error)
- func (UnimplementedOrganizationServer) ListOrgUser(context.Context, *ListOrgUserReqeust) (*ListOrgUserReply, error)
- func (UnimplementedOrganizationServer) ListOrganization(context.Context, *ListOrganizationRequest) (*ListOrganizationReply, error)
- func (UnimplementedOrganizationServer) UpdateOrganization(context.Context, *UpdateOrganizationRequest) (*api.Success, error)
- type UnsafeOrganizationServer
- type UpdateOrganizationRequest
- func (*UpdateOrganizationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateOrganizationRequest) GetAddress() string
- func (x *UpdateOrganizationRequest) GetCityID() int32
- func (x *UpdateOrganizationRequest) GetCityName() string
- func (x *UpdateOrganizationRequest) GetComment() string
- func (x *UpdateOrganizationRequest) GetCountry() string
- func (x *UpdateOrganizationRequest) GetCountryID() int32
- func (x *UpdateOrganizationRequest) GetId() string
- func (x *UpdateOrganizationRequest) GetName() string
- func (x *UpdateOrganizationRequest) GetOrgType() int32
- func (x *UpdateOrganizationRequest) GetParentID() string
- func (x *UpdateOrganizationRequest) GetProvinceID() int32
- func (x *UpdateOrganizationRequest) GetProvinceName() string
- func (*UpdateOrganizationRequest) ProtoMessage()
- func (x *UpdateOrganizationRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateOrganizationRequest) Reset()
- func (x *UpdateOrganizationRequest) String() string
- func (m *UpdateOrganizationRequest) Validate() error
- func (m *UpdateOrganizationRequest) ValidateAll() error
- type UpdateOrganizationRequestMultiError
- type UpdateOrganizationRequestValidationError
- func (e UpdateOrganizationRequestValidationError) Cause() error
- func (e UpdateOrganizationRequestValidationError) Error() string
- func (e UpdateOrganizationRequestValidationError) ErrorName() string
- func (e UpdateOrganizationRequestValidationError) Field() string
- func (e UpdateOrganizationRequestValidationError) Key() bool
- func (e UpdateOrganizationRequestValidationError) Reason() string
Constants ¶
const OperationOrganizationCreateOrgUser = "/api.auth.organization.Organization/CreateOrgUser"
const OperationOrganizationCreateOrganization = "/api.auth.organization.Organization/CreateOrganization"
const OperationOrganizationDeleteOrgUser = "/api.auth.organization.Organization/DeleteOrgUser"
const OperationOrganizationDeleteOrganization = "/api.auth.organization.Organization/DeleteOrganization"
const OperationOrganizationGetOrganization = "/api.auth.organization.Organization/GetOrganization"
const OperationOrganizationListDistrict = "/api.auth.organization.Organization/ListDistrict"
const OperationOrganizationListOrgUser = "/api.auth.organization.Organization/ListOrgUser"
const OperationOrganizationListOrganization = "/api.auth.organization.Organization/ListOrganization"
const OperationOrganizationUpdateOrganization = "/api.auth.organization.Organization/UpdateOrganization"
Variables ¶
var File_api_auth_organization_organization_proto protoreflect.FileDescriptor
var Organization_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.auth.organization.Organization", HandlerType: (*OrganizationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrganization", Handler: _Organization_CreateOrganization_Handler, }, { MethodName: "UpdateOrganization", Handler: _Organization_UpdateOrganization_Handler, }, { MethodName: "DeleteOrganization", Handler: _Organization_DeleteOrganization_Handler, }, { MethodName: "GetOrganization", Handler: _Organization_GetOrganization_Handler, }, { MethodName: "ListOrganization", Handler: _Organization_ListOrganization_Handler, }, { MethodName: "CreateOrgUser", Handler: _Organization_CreateOrgUser_Handler, }, { MethodName: "ListOrgUser", Handler: _Organization_ListOrgUser_Handler, }, { MethodName: "DeleteOrgUser", Handler: _Organization_DeleteOrgUser_Handler, }, { MethodName: "ListDistrict", Handler: _Organization_ListDistrict_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/auth/organization/organization.proto", }
Organization_ServiceDesc is the grpc.ServiceDesc for Organization service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrganizationHTTPServer ¶
func RegisterOrganizationHTTPServer(s *http.Server, srv OrganizationHTTPServer)
func RegisterOrganizationServer ¶
func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer)
Types ¶
type CreateOrganizationRequest ¶
type CreateOrganizationRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` OrgType int32 `protobuf:"varint,3,opt,name=orgType,proto3" json:"orgType,omitempty"` ProvinceID int32 `protobuf:"varint,4,opt,name=provinceID,proto3" json:"provinceID,omitempty"` ProvinceName string `protobuf:"bytes,5,opt,name=provinceName,proto3" json:"provinceName,omitempty"` CityID int32 `protobuf:"varint,6,opt,name=cityID,proto3" json:"cityID,omitempty"` CityName string `protobuf:"bytes,7,opt,name=cityName,proto3" json:"cityName,omitempty"` CountryID int32 `protobuf:"varint,8,opt,name=countryID,proto3" json:"countryID,omitempty"` Country string `protobuf:"bytes,9,opt,name=country,proto3" json:"country,omitempty"` ParentID string `protobuf:"bytes,10,opt,name=parentID,proto3" json:"parentID,omitempty"` Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*CreateOrganizationRequest) Descriptor
deprecated
func (*CreateOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizationRequest) GetAddress ¶
func (x *CreateOrganizationRequest) GetAddress() string
func (*CreateOrganizationRequest) GetCityID ¶
func (x *CreateOrganizationRequest) GetCityID() int32
func (*CreateOrganizationRequest) GetCityName ¶
func (x *CreateOrganizationRequest) GetCityName() string
func (*CreateOrganizationRequest) GetComment ¶
func (x *CreateOrganizationRequest) GetComment() string
func (*CreateOrganizationRequest) GetCountry ¶
func (x *CreateOrganizationRequest) GetCountry() string
func (*CreateOrganizationRequest) GetCountryID ¶
func (x *CreateOrganizationRequest) GetCountryID() int32
func (*CreateOrganizationRequest) GetName ¶
func (x *CreateOrganizationRequest) GetName() string
func (*CreateOrganizationRequest) GetOrgType ¶
func (x *CreateOrganizationRequest) GetOrgType() int32
func (*CreateOrganizationRequest) GetParentID ¶
func (x *CreateOrganizationRequest) GetParentID() string
func (*CreateOrganizationRequest) GetProvinceID ¶
func (x *CreateOrganizationRequest) GetProvinceID() int32
func (*CreateOrganizationRequest) GetProvinceName ¶
func (x *CreateOrganizationRequest) GetProvinceName() string
func (*CreateOrganizationRequest) ProtoMessage ¶
func (*CreateOrganizationRequest) ProtoMessage()
func (*CreateOrganizationRequest) ProtoReflect ¶
func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message
func (*CreateOrganizationRequest) Reset ¶
func (x *CreateOrganizationRequest) Reset()
func (*CreateOrganizationRequest) String ¶
func (x *CreateOrganizationRequest) String() string
func (*CreateOrganizationRequest) Validate ¶
func (m *CreateOrganizationRequest) Validate() error
Validate checks the field values on CreateOrganizationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateOrganizationRequest) ValidateAll ¶
func (m *CreateOrganizationRequest) ValidateAll() error
ValidateAll checks the field values on CreateOrganizationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrganizationRequestMultiError, or nil if none found.
type CreateOrganizationRequestMultiError ¶
type CreateOrganizationRequestMultiError []error
CreateOrganizationRequestMultiError is an error wrapping multiple validation errors returned by CreateOrganizationRequest.ValidateAll() if the designated constraints aren't met.
func (CreateOrganizationRequestMultiError) AllErrors ¶
func (m CreateOrganizationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateOrganizationRequestMultiError) Error ¶
func (m CreateOrganizationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateOrganizationRequestValidationError ¶
type CreateOrganizationRequestValidationError struct {
// contains filtered or unexported fields
}
CreateOrganizationRequestValidationError is the validation error returned by CreateOrganizationRequest.Validate if the designated constraints aren't met.
func (CreateOrganizationRequestValidationError) Cause ¶
func (e CreateOrganizationRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateOrganizationRequestValidationError) Error ¶
func (e CreateOrganizationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateOrganizationRequestValidationError) ErrorName ¶
func (e CreateOrganizationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateOrganizationRequestValidationError) Field ¶
func (e CreateOrganizationRequestValidationError) Field() string
Field function returns field value.
func (CreateOrganizationRequestValidationError) Key ¶
func (e CreateOrganizationRequestValidationError) Key() bool
Key function returns key value.
func (CreateOrganizationRequestValidationError) Reason ¶
func (e CreateOrganizationRequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserOrgRequest ¶
type CreateUserOrgRequest struct { UserOrgs []*CreateUserOrgRequest_UserOrg `protobuf:"bytes,1,rep,name=userOrgs,proto3" json:"userOrgs,omitempty"` // contains filtered or unexported fields }
func (*CreateUserOrgRequest) Descriptor
deprecated
func (*CreateUserOrgRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserOrgRequest.ProtoReflect.Descriptor instead.
func (*CreateUserOrgRequest) GetUserOrgs ¶
func (x *CreateUserOrgRequest) GetUserOrgs() []*CreateUserOrgRequest_UserOrg
func (*CreateUserOrgRequest) ProtoMessage ¶
func (*CreateUserOrgRequest) ProtoMessage()
func (*CreateUserOrgRequest) ProtoReflect ¶
func (x *CreateUserOrgRequest) ProtoReflect() protoreflect.Message
func (*CreateUserOrgRequest) Reset ¶
func (x *CreateUserOrgRequest) Reset()
func (*CreateUserOrgRequest) String ¶
func (x *CreateUserOrgRequest) String() string
func (*CreateUserOrgRequest) Validate ¶
func (m *CreateUserOrgRequest) Validate() error
Validate checks the field values on CreateUserOrgRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserOrgRequest) ValidateAll ¶
func (m *CreateUserOrgRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserOrgRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserOrgRequestMultiError, or nil if none found.
type CreateUserOrgRequestMultiError ¶
type CreateUserOrgRequestMultiError []error
CreateUserOrgRequestMultiError is an error wrapping multiple validation errors returned by CreateUserOrgRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserOrgRequestMultiError) AllErrors ¶
func (m CreateUserOrgRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserOrgRequestMultiError) Error ¶
func (m CreateUserOrgRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserOrgRequestValidationError ¶
type CreateUserOrgRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserOrgRequestValidationError is the validation error returned by CreateUserOrgRequest.Validate if the designated constraints aren't met.
func (CreateUserOrgRequestValidationError) Cause ¶
func (e CreateUserOrgRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserOrgRequestValidationError) Error ¶
func (e CreateUserOrgRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserOrgRequestValidationError) ErrorName ¶
func (e CreateUserOrgRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserOrgRequestValidationError) Field ¶
func (e CreateUserOrgRequestValidationError) Field() string
Field function returns field value.
func (CreateUserOrgRequestValidationError) Key ¶
func (e CreateUserOrgRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserOrgRequestValidationError) Reason ¶
func (e CreateUserOrgRequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserOrgRequest_UserOrg ¶
type CreateUserOrgRequest_UserOrg struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` OrgID string `protobuf:"bytes,2,opt,name=OrgID,proto3" json:"OrgID,omitempty"` // contains filtered or unexported fields }
func (*CreateUserOrgRequest_UserOrg) Descriptor
deprecated
func (*CreateUserOrgRequest_UserOrg) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserOrgRequest_UserOrg.ProtoReflect.Descriptor instead.
func (*CreateUserOrgRequest_UserOrg) GetOrgID ¶
func (x *CreateUserOrgRequest_UserOrg) GetOrgID() string
func (*CreateUserOrgRequest_UserOrg) GetUserID ¶
func (x *CreateUserOrgRequest_UserOrg) GetUserID() string
func (*CreateUserOrgRequest_UserOrg) ProtoMessage ¶
func (*CreateUserOrgRequest_UserOrg) ProtoMessage()
func (*CreateUserOrgRequest_UserOrg) ProtoReflect ¶
func (x *CreateUserOrgRequest_UserOrg) ProtoReflect() protoreflect.Message
func (*CreateUserOrgRequest_UserOrg) Reset ¶
func (x *CreateUserOrgRequest_UserOrg) Reset()
func (*CreateUserOrgRequest_UserOrg) String ¶
func (x *CreateUserOrgRequest_UserOrg) String() string
func (*CreateUserOrgRequest_UserOrg) Validate ¶
func (m *CreateUserOrgRequest_UserOrg) Validate() error
Validate checks the field values on CreateUserOrgRequest_UserOrg with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserOrgRequest_UserOrg) ValidateAll ¶
func (m *CreateUserOrgRequest_UserOrg) ValidateAll() error
ValidateAll checks the field values on CreateUserOrgRequest_UserOrg with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserOrgRequest_UserOrgMultiError, or nil if none found.
type CreateUserOrgRequest_UserOrgMultiError ¶
type CreateUserOrgRequest_UserOrgMultiError []error
CreateUserOrgRequest_UserOrgMultiError is an error wrapping multiple validation errors returned by CreateUserOrgRequest_UserOrg.ValidateAll() if the designated constraints aren't met.
func (CreateUserOrgRequest_UserOrgMultiError) AllErrors ¶
func (m CreateUserOrgRequest_UserOrgMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserOrgRequest_UserOrgMultiError) Error ¶
func (m CreateUserOrgRequest_UserOrgMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserOrgRequest_UserOrgValidationError ¶
type CreateUserOrgRequest_UserOrgValidationError struct {
// contains filtered or unexported fields
}
CreateUserOrgRequest_UserOrgValidationError is the validation error returned by CreateUserOrgRequest_UserOrg.Validate if the designated constraints aren't met.
func (CreateUserOrgRequest_UserOrgValidationError) Cause ¶
func (e CreateUserOrgRequest_UserOrgValidationError) Cause() error
Cause function returns cause value.
func (CreateUserOrgRequest_UserOrgValidationError) Error ¶
func (e CreateUserOrgRequest_UserOrgValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserOrgRequest_UserOrgValidationError) ErrorName ¶
func (e CreateUserOrgRequest_UserOrgValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserOrgRequest_UserOrgValidationError) Field ¶
func (e CreateUserOrgRequest_UserOrgValidationError) Field() string
Field function returns field value.
func (CreateUserOrgRequest_UserOrgValidationError) Key ¶
func (e CreateUserOrgRequest_UserOrgValidationError) Key() bool
Key function returns key value.
func (CreateUserOrgRequest_UserOrgValidationError) Reason ¶
func (e CreateUserOrgRequest_UserOrgValidationError) Reason() string
Reason function returns reason value.
type DeleteOrgUserRequest ¶
type DeleteOrgUserRequest struct { BindIDList []string `protobuf:"bytes,1,rep,name=bindIDList,proto3" json:"bindIDList,omitempty"` // contains filtered or unexported fields }
func (*DeleteOrgUserRequest) Descriptor
deprecated
func (*DeleteOrgUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOrgUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteOrgUserRequest) GetBindIDList ¶
func (x *DeleteOrgUserRequest) GetBindIDList() []string
func (*DeleteOrgUserRequest) ProtoMessage ¶
func (*DeleteOrgUserRequest) ProtoMessage()
func (*DeleteOrgUserRequest) ProtoReflect ¶
func (x *DeleteOrgUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteOrgUserRequest) Reset ¶
func (x *DeleteOrgUserRequest) Reset()
func (*DeleteOrgUserRequest) String ¶
func (x *DeleteOrgUserRequest) String() string
func (*DeleteOrgUserRequest) Validate ¶
func (m *DeleteOrgUserRequest) Validate() error
Validate checks the field values on DeleteOrgUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteOrgUserRequest) ValidateAll ¶
func (m *DeleteOrgUserRequest) ValidateAll() error
ValidateAll checks the field values on DeleteOrgUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteOrgUserRequestMultiError, or nil if none found.
type DeleteOrgUserRequestMultiError ¶
type DeleteOrgUserRequestMultiError []error
DeleteOrgUserRequestMultiError is an error wrapping multiple validation errors returned by DeleteOrgUserRequest.ValidateAll() if the designated constraints aren't met.
func (DeleteOrgUserRequestMultiError) AllErrors ¶
func (m DeleteOrgUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteOrgUserRequestMultiError) Error ¶
func (m DeleteOrgUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteOrgUserRequestValidationError ¶
type DeleteOrgUserRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteOrgUserRequestValidationError is the validation error returned by DeleteOrgUserRequest.Validate if the designated constraints aren't met.
func (DeleteOrgUserRequestValidationError) Cause ¶
func (e DeleteOrgUserRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteOrgUserRequestValidationError) Error ¶
func (e DeleteOrgUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteOrgUserRequestValidationError) ErrorName ¶
func (e DeleteOrgUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteOrgUserRequestValidationError) Field ¶
func (e DeleteOrgUserRequestValidationError) Field() string
Field function returns field value.
func (DeleteOrgUserRequestValidationError) Key ¶
func (e DeleteOrgUserRequestValidationError) Key() bool
Key function returns key value.
func (DeleteOrgUserRequestValidationError) Reason ¶
func (e DeleteOrgUserRequestValidationError) Reason() string
Reason function returns reason value.
type GetOrganizationReply ¶
type GetOrganizationReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` OrgType int32 `protobuf:"varint,4,opt,name=orgType,proto3" json:"orgType,omitempty"` ProvinceID int32 `protobuf:"varint,5,opt,name=provinceID,proto3" json:"provinceID,omitempty"` ProvinceName string `protobuf:"bytes,6,opt,name=provinceName,proto3" json:"provinceName,omitempty"` CityID int32 `protobuf:"varint,7,opt,name=cityID,proto3" json:"cityID,omitempty"` CityName string `protobuf:"bytes,8,opt,name=cityName,proto3" json:"cityName,omitempty"` CountryID int32 `protobuf:"varint,9,opt,name=countryID,proto3" json:"countryID,omitempty"` Country string `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"` ParentID string `protobuf:"bytes,11,opt,name=parentID,proto3" json:"parentID,omitempty"` Address string `protobuf:"bytes,12,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetOrganizationReply) Descriptor
deprecated
func (*GetOrganizationReply) Descriptor() ([]byte, []int)
Deprecated: Use GetOrganizationReply.ProtoReflect.Descriptor instead.
func (*GetOrganizationReply) GetAddress ¶
func (x *GetOrganizationReply) GetAddress() string
func (*GetOrganizationReply) GetCityID ¶
func (x *GetOrganizationReply) GetCityID() int32
func (*GetOrganizationReply) GetCityName ¶
func (x *GetOrganizationReply) GetCityName() string
func (*GetOrganizationReply) GetComment ¶
func (x *GetOrganizationReply) GetComment() string
func (*GetOrganizationReply) GetCountry ¶
func (x *GetOrganizationReply) GetCountry() string
func (*GetOrganizationReply) GetCountryID ¶
func (x *GetOrganizationReply) GetCountryID() int32
func (*GetOrganizationReply) GetId ¶
func (x *GetOrganizationReply) GetId() string
func (*GetOrganizationReply) GetName ¶
func (x *GetOrganizationReply) GetName() string
func (*GetOrganizationReply) GetOrgType ¶
func (x *GetOrganizationReply) GetOrgType() int32
func (*GetOrganizationReply) GetParentID ¶
func (x *GetOrganizationReply) GetParentID() string
func (*GetOrganizationReply) GetProvinceID ¶
func (x *GetOrganizationReply) GetProvinceID() int32
func (*GetOrganizationReply) GetProvinceName ¶
func (x *GetOrganizationReply) GetProvinceName() string
func (*GetOrganizationReply) ProtoMessage ¶
func (*GetOrganizationReply) ProtoMessage()
func (*GetOrganizationReply) ProtoReflect ¶
func (x *GetOrganizationReply) ProtoReflect() protoreflect.Message
func (*GetOrganizationReply) Reset ¶
func (x *GetOrganizationReply) Reset()
func (*GetOrganizationReply) String ¶
func (x *GetOrganizationReply) String() string
func (*GetOrganizationReply) Validate ¶
func (m *GetOrganizationReply) Validate() error
Validate checks the field values on GetOrganizationReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetOrganizationReply) ValidateAll ¶
func (m *GetOrganizationReply) ValidateAll() error
ValidateAll checks the field values on GetOrganizationReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetOrganizationReplyMultiError, or nil if none found.
type GetOrganizationReplyMultiError ¶
type GetOrganizationReplyMultiError []error
GetOrganizationReplyMultiError is an error wrapping multiple validation errors returned by GetOrganizationReply.ValidateAll() if the designated constraints aren't met.
func (GetOrganizationReplyMultiError) AllErrors ¶
func (m GetOrganizationReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetOrganizationReplyMultiError) Error ¶
func (m GetOrganizationReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetOrganizationReplyValidationError ¶
type GetOrganizationReplyValidationError struct {
// contains filtered or unexported fields
}
GetOrganizationReplyValidationError is the validation error returned by GetOrganizationReply.Validate if the designated constraints aren't met.
func (GetOrganizationReplyValidationError) Cause ¶
func (e GetOrganizationReplyValidationError) Cause() error
Cause function returns cause value.
func (GetOrganizationReplyValidationError) Error ¶
func (e GetOrganizationReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetOrganizationReplyValidationError) ErrorName ¶
func (e GetOrganizationReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetOrganizationReplyValidationError) Field ¶
func (e GetOrganizationReplyValidationError) Field() string
Field function returns field value.
func (GetOrganizationReplyValidationError) Key ¶
func (e GetOrganizationReplyValidationError) Key() bool
Key function returns key value.
func (GetOrganizationReplyValidationError) Reason ¶
func (e GetOrganizationReplyValidationError) Reason() string
Reason function returns reason value.
type ListDistrictRequest ¶
type ListDistrictRequest struct { ParentID int32 `protobuf:"varint,1,opt,name=parentID,proto3" json:"parentID,omitempty"` // contains filtered or unexported fields }
func (*ListDistrictRequest) Descriptor
deprecated
func (*ListDistrictRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDistrictRequest.ProtoReflect.Descriptor instead.
func (*ListDistrictRequest) GetParentID ¶
func (x *ListDistrictRequest) GetParentID() int32
func (*ListDistrictRequest) ProtoMessage ¶
func (*ListDistrictRequest) ProtoMessage()
func (*ListDistrictRequest) ProtoReflect ¶
func (x *ListDistrictRequest) ProtoReflect() protoreflect.Message
func (*ListDistrictRequest) Reset ¶
func (x *ListDistrictRequest) Reset()
func (*ListDistrictRequest) String ¶
func (x *ListDistrictRequest) String() string
func (*ListDistrictRequest) Validate ¶
func (m *ListDistrictRequest) Validate() error
Validate checks the field values on ListDistrictRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDistrictRequest) ValidateAll ¶
func (m *ListDistrictRequest) ValidateAll() error
ValidateAll checks the field values on ListDistrictRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDistrictRequestMultiError, or nil if none found.
type ListDistrictRequestMultiError ¶
type ListDistrictRequestMultiError []error
ListDistrictRequestMultiError is an error wrapping multiple validation errors returned by ListDistrictRequest.ValidateAll() if the designated constraints aren't met.
func (ListDistrictRequestMultiError) AllErrors ¶
func (m ListDistrictRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDistrictRequestMultiError) Error ¶
func (m ListDistrictRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDistrictRequestValidationError ¶
type ListDistrictRequestValidationError struct {
// contains filtered or unexported fields
}
ListDistrictRequestValidationError is the validation error returned by ListDistrictRequest.Validate if the designated constraints aren't met.
func (ListDistrictRequestValidationError) Cause ¶
func (e ListDistrictRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDistrictRequestValidationError) Error ¶
func (e ListDistrictRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDistrictRequestValidationError) ErrorName ¶
func (e ListDistrictRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDistrictRequestValidationError) Field ¶
func (e ListDistrictRequestValidationError) Field() string
Field function returns field value.
func (ListDistrictRequestValidationError) Key ¶
func (e ListDistrictRequestValidationError) Key() bool
Key function returns key value.
func (ListDistrictRequestValidationError) Reason ¶
func (e ListDistrictRequestValidationError) Reason() string
Reason function returns reason value.
type ListDistrictResponse ¶
type ListDistrictResponse struct { Districts []*ListDistrictResponse_DistrictResponse `protobuf:"bytes,1,rep,name=districts,proto3" json:"districts,omitempty"` // contains filtered or unexported fields }
func (*ListDistrictResponse) Descriptor
deprecated
func (*ListDistrictResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDistrictResponse.ProtoReflect.Descriptor instead.
func (*ListDistrictResponse) GetDistricts ¶
func (x *ListDistrictResponse) GetDistricts() []*ListDistrictResponse_DistrictResponse
func (*ListDistrictResponse) ProtoMessage ¶
func (*ListDistrictResponse) ProtoMessage()
func (*ListDistrictResponse) ProtoReflect ¶
func (x *ListDistrictResponse) ProtoReflect() protoreflect.Message
func (*ListDistrictResponse) Reset ¶
func (x *ListDistrictResponse) Reset()
func (*ListDistrictResponse) String ¶
func (x *ListDistrictResponse) String() string
func (*ListDistrictResponse) Validate ¶
func (m *ListDistrictResponse) Validate() error
Validate checks the field values on ListDistrictResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDistrictResponse) ValidateAll ¶
func (m *ListDistrictResponse) ValidateAll() error
ValidateAll checks the field values on ListDistrictResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDistrictResponseMultiError, or nil if none found.
type ListDistrictResponseMultiError ¶
type ListDistrictResponseMultiError []error
ListDistrictResponseMultiError is an error wrapping multiple validation errors returned by ListDistrictResponse.ValidateAll() if the designated constraints aren't met.
func (ListDistrictResponseMultiError) AllErrors ¶
func (m ListDistrictResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDistrictResponseMultiError) Error ¶
func (m ListDistrictResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDistrictResponseValidationError ¶
type ListDistrictResponseValidationError struct {
// contains filtered or unexported fields
}
ListDistrictResponseValidationError is the validation error returned by ListDistrictResponse.Validate if the designated constraints aren't met.
func (ListDistrictResponseValidationError) Cause ¶
func (e ListDistrictResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDistrictResponseValidationError) Error ¶
func (e ListDistrictResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDistrictResponseValidationError) ErrorName ¶
func (e ListDistrictResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDistrictResponseValidationError) Field ¶
func (e ListDistrictResponseValidationError) Field() string
Field function returns field value.
func (ListDistrictResponseValidationError) Key ¶
func (e ListDistrictResponseValidationError) Key() bool
Key function returns key value.
func (ListDistrictResponseValidationError) Reason ¶
func (e ListDistrictResponseValidationError) Reason() string
Reason function returns reason value.
type ListDistrictResponse_DistrictResponse ¶
type ListDistrictResponse_DistrictResponse struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ParentID int32 `protobuf:"varint,3,opt,name=parentID,proto3" json:"parentID,omitempty"` // contains filtered or unexported fields }
func (*ListDistrictResponse_DistrictResponse) Descriptor
deprecated
func (*ListDistrictResponse_DistrictResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDistrictResponse_DistrictResponse.ProtoReflect.Descriptor instead.
func (*ListDistrictResponse_DistrictResponse) GetId ¶
func (x *ListDistrictResponse_DistrictResponse) GetId() int32
func (*ListDistrictResponse_DistrictResponse) GetName ¶
func (x *ListDistrictResponse_DistrictResponse) GetName() string
func (*ListDistrictResponse_DistrictResponse) GetParentID ¶
func (x *ListDistrictResponse_DistrictResponse) GetParentID() int32
func (*ListDistrictResponse_DistrictResponse) ProtoMessage ¶
func (*ListDistrictResponse_DistrictResponse) ProtoMessage()
func (*ListDistrictResponse_DistrictResponse) ProtoReflect ¶
func (x *ListDistrictResponse_DistrictResponse) ProtoReflect() protoreflect.Message
func (*ListDistrictResponse_DistrictResponse) Reset ¶
func (x *ListDistrictResponse_DistrictResponse) Reset()
func (*ListDistrictResponse_DistrictResponse) String ¶
func (x *ListDistrictResponse_DistrictResponse) String() string
func (*ListDistrictResponse_DistrictResponse) Validate ¶
func (m *ListDistrictResponse_DistrictResponse) Validate() error
Validate checks the field values on ListDistrictResponse_DistrictResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListDistrictResponse_DistrictResponse) ValidateAll ¶
func (m *ListDistrictResponse_DistrictResponse) ValidateAll() error
ValidateAll checks the field values on ListDistrictResponse_DistrictResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListDistrictResponse_DistrictResponseMultiError, or nil if none found.
type ListDistrictResponse_DistrictResponseMultiError ¶
type ListDistrictResponse_DistrictResponseMultiError []error
ListDistrictResponse_DistrictResponseMultiError is an error wrapping multiple validation errors returned by ListDistrictResponse_DistrictResponse.ValidateAll() if the designated constraints aren't met.
func (ListDistrictResponse_DistrictResponseMultiError) AllErrors ¶
func (m ListDistrictResponse_DistrictResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDistrictResponse_DistrictResponseMultiError) Error ¶
func (m ListDistrictResponse_DistrictResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDistrictResponse_DistrictResponseValidationError ¶
type ListDistrictResponse_DistrictResponseValidationError struct {
// contains filtered or unexported fields
}
ListDistrictResponse_DistrictResponseValidationError is the validation error returned by ListDistrictResponse_DistrictResponse.Validate if the designated constraints aren't met.
func (ListDistrictResponse_DistrictResponseValidationError) Cause ¶
func (e ListDistrictResponse_DistrictResponseValidationError) Cause() error
Cause function returns cause value.
func (ListDistrictResponse_DistrictResponseValidationError) Error ¶
func (e ListDistrictResponse_DistrictResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListDistrictResponse_DistrictResponseValidationError) ErrorName ¶
func (e ListDistrictResponse_DistrictResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListDistrictResponse_DistrictResponseValidationError) Field ¶
func (e ListDistrictResponse_DistrictResponseValidationError) Field() string
Field function returns field value.
func (ListDistrictResponse_DistrictResponseValidationError) Key ¶
func (e ListDistrictResponse_DistrictResponseValidationError) Key() bool
Key function returns key value.
func (ListDistrictResponse_DistrictResponseValidationError) Reason ¶
func (e ListDistrictResponse_DistrictResponseValidationError) Reason() string
Reason function returns reason value.
type ListOrgIDRequest ¶
type ListOrgIDRequest struct { OrgIDList []string `protobuf:"bytes,1,rep,name=orgIDList,proto3" json:"orgIDList,omitempty"` // contains filtered or unexported fields }
func (*ListOrgIDRequest) Descriptor
deprecated
func (*ListOrgIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgIDRequest.ProtoReflect.Descriptor instead.
func (*ListOrgIDRequest) GetOrgIDList ¶
func (x *ListOrgIDRequest) GetOrgIDList() []string
func (*ListOrgIDRequest) ProtoMessage ¶
func (*ListOrgIDRequest) ProtoMessage()
func (*ListOrgIDRequest) ProtoReflect ¶
func (x *ListOrgIDRequest) ProtoReflect() protoreflect.Message
func (*ListOrgIDRequest) Reset ¶
func (x *ListOrgIDRequest) Reset()
func (*ListOrgIDRequest) String ¶
func (x *ListOrgIDRequest) String() string
func (*ListOrgIDRequest) Validate ¶
func (m *ListOrgIDRequest) Validate() error
Validate checks the field values on ListOrgIDRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrgIDRequest) ValidateAll ¶
func (m *ListOrgIDRequest) ValidateAll() error
ValidateAll checks the field values on ListOrgIDRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrgIDRequestMultiError, or nil if none found.
type ListOrgIDRequestMultiError ¶
type ListOrgIDRequestMultiError []error
ListOrgIDRequestMultiError is an error wrapping multiple validation errors returned by ListOrgIDRequest.ValidateAll() if the designated constraints aren't met.
func (ListOrgIDRequestMultiError) AllErrors ¶
func (m ListOrgIDRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrgIDRequestMultiError) Error ¶
func (m ListOrgIDRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrgIDRequestValidationError ¶
type ListOrgIDRequestValidationError struct {
// contains filtered or unexported fields
}
ListOrgIDRequestValidationError is the validation error returned by ListOrgIDRequest.Validate if the designated constraints aren't met.
func (ListOrgIDRequestValidationError) Cause ¶
func (e ListOrgIDRequestValidationError) Cause() error
Cause function returns cause value.
func (ListOrgIDRequestValidationError) Error ¶
func (e ListOrgIDRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrgIDRequestValidationError) ErrorName ¶
func (e ListOrgIDRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrgIDRequestValidationError) Field ¶
func (e ListOrgIDRequestValidationError) Field() string
Field function returns field value.
func (ListOrgIDRequestValidationError) Key ¶
func (e ListOrgIDRequestValidationError) Key() bool
Key function returns key value.
func (ListOrgIDRequestValidationError) Reason ¶
func (e ListOrgIDRequestValidationError) Reason() string
Reason function returns reason value.
type ListOrgUserReply ¶
type ListOrgUserReply struct { DataList []*ListOrgUserReply_User `protobuf:"bytes,1,rep,name=dataList,proto3" json:"dataList,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` // contains filtered or unexported fields }
func (*ListOrgUserReply) Descriptor
deprecated
func (*ListOrgUserReply) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgUserReply.ProtoReflect.Descriptor instead.
func (*ListOrgUserReply) GetDataList ¶
func (x *ListOrgUserReply) GetDataList() []*ListOrgUserReply_User
func (*ListOrgUserReply) GetPage ¶
func (x *ListOrgUserReply) GetPage() int32
func (*ListOrgUserReply) GetPerPage ¶
func (x *ListOrgUserReply) GetPerPage() int32
func (*ListOrgUserReply) GetTotal ¶
func (x *ListOrgUserReply) GetTotal() int32
func (*ListOrgUserReply) ProtoMessage ¶
func (*ListOrgUserReply) ProtoMessage()
func (*ListOrgUserReply) ProtoReflect ¶
func (x *ListOrgUserReply) ProtoReflect() protoreflect.Message
func (*ListOrgUserReply) Reset ¶
func (x *ListOrgUserReply) Reset()
func (*ListOrgUserReply) String ¶
func (x *ListOrgUserReply) String() string
func (*ListOrgUserReply) Validate ¶
func (m *ListOrgUserReply) Validate() error
Validate checks the field values on ListOrgUserReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrgUserReply) ValidateAll ¶
func (m *ListOrgUserReply) ValidateAll() error
ValidateAll checks the field values on ListOrgUserReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrgUserReplyMultiError, or nil if none found.
type ListOrgUserReplyMultiError ¶
type ListOrgUserReplyMultiError []error
ListOrgUserReplyMultiError is an error wrapping multiple validation errors returned by ListOrgUserReply.ValidateAll() if the designated constraints aren't met.
func (ListOrgUserReplyMultiError) AllErrors ¶
func (m ListOrgUserReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrgUserReplyMultiError) Error ¶
func (m ListOrgUserReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrgUserReplyValidationError ¶
type ListOrgUserReplyValidationError struct {
// contains filtered or unexported fields
}
ListOrgUserReplyValidationError is the validation error returned by ListOrgUserReply.Validate if the designated constraints aren't met.
func (ListOrgUserReplyValidationError) Cause ¶
func (e ListOrgUserReplyValidationError) Cause() error
Cause function returns cause value.
func (ListOrgUserReplyValidationError) Error ¶
func (e ListOrgUserReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrgUserReplyValidationError) ErrorName ¶
func (e ListOrgUserReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrgUserReplyValidationError) Field ¶
func (e ListOrgUserReplyValidationError) Field() string
Field function returns field value.
func (ListOrgUserReplyValidationError) Key ¶
func (e ListOrgUserReplyValidationError) Key() bool
Key function returns key value.
func (ListOrgUserReplyValidationError) Reason ¶
func (e ListOrgUserReplyValidationError) Reason() string
Reason function returns reason value.
type ListOrgUserReply_User ¶
type ListOrgUserReply_User struct { UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"` UserName string `protobuf:"bytes,2,opt,name=userName,proto3" json:"userName,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` BindID string `protobuf:"bytes,8,opt,name=bindID,proto3" json:"bindID,omitempty"` IsVerify bool `protobuf:"varint,9,opt,name=isVerify,proto3" json:"isVerify,omitempty"` Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListOrgUserReply_User) Descriptor
deprecated
func (*ListOrgUserReply_User) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgUserReply_User.ProtoReflect.Descriptor instead.
func (*ListOrgUserReply_User) GetAvatarUrl ¶
func (x *ListOrgUserReply_User) GetAvatarUrl() string
func (*ListOrgUserReply_User) GetBindID ¶
func (x *ListOrgUserReply_User) GetBindID() string
func (*ListOrgUserReply_User) GetComment ¶
func (x *ListOrgUserReply_User) GetComment() string
func (*ListOrgUserReply_User) GetEmail ¶
func (x *ListOrgUserReply_User) GetEmail() string
func (*ListOrgUserReply_User) GetId ¶
func (x *ListOrgUserReply_User) GetId() string
func (*ListOrgUserReply_User) GetIsVerify ¶
func (x *ListOrgUserReply_User) GetIsVerify() bool
func (*ListOrgUserReply_User) GetPhone ¶
func (x *ListOrgUserReply_User) GetPhone() string
func (*ListOrgUserReply_User) GetUserID ¶
func (x *ListOrgUserReply_User) GetUserID() string
func (*ListOrgUserReply_User) GetUserName ¶
func (x *ListOrgUserReply_User) GetUserName() string
func (*ListOrgUserReply_User) ProtoMessage ¶
func (*ListOrgUserReply_User) ProtoMessage()
func (*ListOrgUserReply_User) ProtoReflect ¶
func (x *ListOrgUserReply_User) ProtoReflect() protoreflect.Message
func (*ListOrgUserReply_User) Reset ¶
func (x *ListOrgUserReply_User) Reset()
func (*ListOrgUserReply_User) String ¶
func (x *ListOrgUserReply_User) String() string
func (*ListOrgUserReply_User) Validate ¶
func (m *ListOrgUserReply_User) Validate() error
Validate checks the field values on ListOrgUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrgUserReply_User) ValidateAll ¶
func (m *ListOrgUserReply_User) ValidateAll() error
ValidateAll checks the field values on ListOrgUserReply_User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrgUserReply_UserMultiError, or nil if none found.
type ListOrgUserReply_UserMultiError ¶
type ListOrgUserReply_UserMultiError []error
ListOrgUserReply_UserMultiError is an error wrapping multiple validation errors returned by ListOrgUserReply_User.ValidateAll() if the designated constraints aren't met.
func (ListOrgUserReply_UserMultiError) AllErrors ¶
func (m ListOrgUserReply_UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrgUserReply_UserMultiError) Error ¶
func (m ListOrgUserReply_UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrgUserReply_UserValidationError ¶
type ListOrgUserReply_UserValidationError struct {
// contains filtered or unexported fields
}
ListOrgUserReply_UserValidationError is the validation error returned by ListOrgUserReply_User.Validate if the designated constraints aren't met.
func (ListOrgUserReply_UserValidationError) Cause ¶
func (e ListOrgUserReply_UserValidationError) Cause() error
Cause function returns cause value.
func (ListOrgUserReply_UserValidationError) Error ¶
func (e ListOrgUserReply_UserValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrgUserReply_UserValidationError) ErrorName ¶
func (e ListOrgUserReply_UserValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrgUserReply_UserValidationError) Field ¶
func (e ListOrgUserReply_UserValidationError) Field() string
Field function returns field value.
func (ListOrgUserReply_UserValidationError) Key ¶
func (e ListOrgUserReply_UserValidationError) Key() bool
Key function returns key value.
func (ListOrgUserReply_UserValidationError) Reason ¶
func (e ListOrgUserReply_UserValidationError) Reason() string
Reason function returns reason value.
type ListOrgUserReqeust ¶
type ListOrgUserReqeust struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,2,opt,name=perPage,proto3" json:"perPage,omitempty"` Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` OrgID string `protobuf:"bytes,4,opt,name=orgID,proto3" json:"orgID,omitempty"` // contains filtered or unexported fields }
func (*ListOrgUserReqeust) Descriptor
deprecated
func (*ListOrgUserReqeust) Descriptor() ([]byte, []int)
Deprecated: Use ListOrgUserReqeust.ProtoReflect.Descriptor instead.
func (*ListOrgUserReqeust) GetOrgID ¶
func (x *ListOrgUserReqeust) GetOrgID() string
func (*ListOrgUserReqeust) GetPage ¶
func (x *ListOrgUserReqeust) GetPage() int32
func (*ListOrgUserReqeust) GetPerPage ¶
func (x *ListOrgUserReqeust) GetPerPage() int32
func (*ListOrgUserReqeust) GetQuery ¶
func (x *ListOrgUserReqeust) GetQuery() string
func (*ListOrgUserReqeust) ProtoMessage ¶
func (*ListOrgUserReqeust) ProtoMessage()
func (*ListOrgUserReqeust) ProtoReflect ¶
func (x *ListOrgUserReqeust) ProtoReflect() protoreflect.Message
func (*ListOrgUserReqeust) Reset ¶
func (x *ListOrgUserReqeust) Reset()
func (*ListOrgUserReqeust) String ¶
func (x *ListOrgUserReqeust) String() string
func (*ListOrgUserReqeust) Validate ¶
func (m *ListOrgUserReqeust) Validate() error
Validate checks the field values on ListOrgUserReqeust with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrgUserReqeust) ValidateAll ¶
func (m *ListOrgUserReqeust) ValidateAll() error
ValidateAll checks the field values on ListOrgUserReqeust with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrgUserReqeustMultiError, or nil if none found.
type ListOrgUserReqeustMultiError ¶
type ListOrgUserReqeustMultiError []error
ListOrgUserReqeustMultiError is an error wrapping multiple validation errors returned by ListOrgUserReqeust.ValidateAll() if the designated constraints aren't met.
func (ListOrgUserReqeustMultiError) AllErrors ¶
func (m ListOrgUserReqeustMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrgUserReqeustMultiError) Error ¶
func (m ListOrgUserReqeustMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrgUserReqeustValidationError ¶
type ListOrgUserReqeustValidationError struct {
// contains filtered or unexported fields
}
ListOrgUserReqeustValidationError is the validation error returned by ListOrgUserReqeust.Validate if the designated constraints aren't met.
func (ListOrgUserReqeustValidationError) Cause ¶
func (e ListOrgUserReqeustValidationError) Cause() error
Cause function returns cause value.
func (ListOrgUserReqeustValidationError) Error ¶
func (e ListOrgUserReqeustValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrgUserReqeustValidationError) ErrorName ¶
func (e ListOrgUserReqeustValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrgUserReqeustValidationError) Field ¶
func (e ListOrgUserReqeustValidationError) Field() string
Field function returns field value.
func (ListOrgUserReqeustValidationError) Key ¶
func (e ListOrgUserReqeustValidationError) Key() bool
Key function returns key value.
func (ListOrgUserReqeustValidationError) Reason ¶
func (e ListOrgUserReqeustValidationError) Reason() string
Reason function returns reason value.
type ListOrganizationReply ¶
type ListOrganizationReply struct { DataList []*GetOrganizationReply `protobuf:"bytes,1,rep,name=dataList,proto3" json:"dataList,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationReply) Descriptor
deprecated
func (*ListOrganizationReply) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationReply.ProtoReflect.Descriptor instead.
func (*ListOrganizationReply) GetDataList ¶
func (x *ListOrganizationReply) GetDataList() []*GetOrganizationReply
func (*ListOrganizationReply) GetPage ¶
func (x *ListOrganizationReply) GetPage() int32
func (*ListOrganizationReply) GetPerPage ¶
func (x *ListOrganizationReply) GetPerPage() int32
func (*ListOrganizationReply) GetTotal ¶
func (x *ListOrganizationReply) GetTotal() int32
func (*ListOrganizationReply) ProtoMessage ¶
func (*ListOrganizationReply) ProtoMessage()
func (*ListOrganizationReply) ProtoReflect ¶
func (x *ListOrganizationReply) ProtoReflect() protoreflect.Message
func (*ListOrganizationReply) Reset ¶
func (x *ListOrganizationReply) Reset()
func (*ListOrganizationReply) String ¶
func (x *ListOrganizationReply) String() string
func (*ListOrganizationReply) Validate ¶
func (m *ListOrganizationReply) Validate() error
Validate checks the field values on ListOrganizationReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrganizationReply) ValidateAll ¶
func (m *ListOrganizationReply) ValidateAll() error
ValidateAll checks the field values on ListOrganizationReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrganizationReplyMultiError, or nil if none found.
type ListOrganizationReplyMultiError ¶
type ListOrganizationReplyMultiError []error
ListOrganizationReplyMultiError is an error wrapping multiple validation errors returned by ListOrganizationReply.ValidateAll() if the designated constraints aren't met.
func (ListOrganizationReplyMultiError) AllErrors ¶
func (m ListOrganizationReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrganizationReplyMultiError) Error ¶
func (m ListOrganizationReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrganizationReplyValidationError ¶
type ListOrganizationReplyValidationError struct {
// contains filtered or unexported fields
}
ListOrganizationReplyValidationError is the validation error returned by ListOrganizationReply.Validate if the designated constraints aren't met.
func (ListOrganizationReplyValidationError) Cause ¶
func (e ListOrganizationReplyValidationError) Cause() error
Cause function returns cause value.
func (ListOrganizationReplyValidationError) Error ¶
func (e ListOrganizationReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrganizationReplyValidationError) ErrorName ¶
func (e ListOrganizationReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrganizationReplyValidationError) Field ¶
func (e ListOrganizationReplyValidationError) Field() string
Field function returns field value.
func (ListOrganizationReplyValidationError) Key ¶
func (e ListOrganizationReplyValidationError) Key() bool
Key function returns key value.
func (ListOrganizationReplyValidationError) Reason ¶
func (e ListOrganizationReplyValidationError) Reason() string
Reason function returns reason value.
type ListOrganizationRequest ¶
type ListOrganizationRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,2,opt,name=perPage,proto3" json:"perPage,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` ParentID string `protobuf:"bytes,4,opt,name=parentID,proto3" json:"parentID,omitempty"` // contains filtered or unexported fields }
func (*ListOrganizationRequest) Descriptor
deprecated
func (*ListOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOrganizationRequest.ProtoReflect.Descriptor instead.
func (*ListOrganizationRequest) GetName ¶
func (x *ListOrganizationRequest) GetName() string
func (*ListOrganizationRequest) GetPage ¶
func (x *ListOrganizationRequest) GetPage() int32
func (*ListOrganizationRequest) GetParentID ¶
func (x *ListOrganizationRequest) GetParentID() string
func (*ListOrganizationRequest) GetPerPage ¶
func (x *ListOrganizationRequest) GetPerPage() int32
func (*ListOrganizationRequest) ProtoMessage ¶
func (*ListOrganizationRequest) ProtoMessage()
func (*ListOrganizationRequest) ProtoReflect ¶
func (x *ListOrganizationRequest) ProtoReflect() protoreflect.Message
func (*ListOrganizationRequest) Reset ¶
func (x *ListOrganizationRequest) Reset()
func (*ListOrganizationRequest) String ¶
func (x *ListOrganizationRequest) String() string
func (*ListOrganizationRequest) Validate ¶
func (m *ListOrganizationRequest) Validate() error
Validate checks the field values on ListOrganizationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListOrganizationRequest) ValidateAll ¶
func (m *ListOrganizationRequest) ValidateAll() error
ValidateAll checks the field values on ListOrganizationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListOrganizationRequestMultiError, or nil if none found.
type ListOrganizationRequestMultiError ¶
type ListOrganizationRequestMultiError []error
ListOrganizationRequestMultiError is an error wrapping multiple validation errors returned by ListOrganizationRequest.ValidateAll() if the designated constraints aren't met.
func (ListOrganizationRequestMultiError) AllErrors ¶
func (m ListOrganizationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListOrganizationRequestMultiError) Error ¶
func (m ListOrganizationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListOrganizationRequestValidationError ¶
type ListOrganizationRequestValidationError struct {
// contains filtered or unexported fields
}
ListOrganizationRequestValidationError is the validation error returned by ListOrganizationRequest.Validate if the designated constraints aren't met.
func (ListOrganizationRequestValidationError) Cause ¶
func (e ListOrganizationRequestValidationError) Cause() error
Cause function returns cause value.
func (ListOrganizationRequestValidationError) Error ¶
func (e ListOrganizationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListOrganizationRequestValidationError) ErrorName ¶
func (e ListOrganizationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListOrganizationRequestValidationError) Field ¶
func (e ListOrganizationRequestValidationError) Field() string
Field function returns field value.
func (ListOrganizationRequestValidationError) Key ¶
func (e ListOrganizationRequestValidationError) Key() bool
Key function returns key value.
func (ListOrganizationRequestValidationError) Reason ¶
func (e ListOrganizationRequestValidationError) Reason() string
Reason function returns reason value.
type OrganizationClient ¶
type OrganizationClient interface { CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...grpc.CallOption) (*api.Success, error) UpdateOrganization(ctx context.Context, in *UpdateOrganizationRequest, opts ...grpc.CallOption) (*api.Success, error) DeleteOrganization(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*api.Success, error) GetOrganization(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*GetOrganizationReply, error) ListOrganization(ctx context.Context, in *ListOrganizationRequest, opts ...grpc.CallOption) (*ListOrganizationReply, error) CreateOrgUser(ctx context.Context, in *CreateUserOrgRequest, opts ...grpc.CallOption) (*api.Success, error) ListOrgUser(ctx context.Context, in *ListOrgUserReqeust, opts ...grpc.CallOption) (*ListOrgUserReply, error) DeleteOrgUser(ctx context.Context, in *DeleteOrgUserRequest, opts ...grpc.CallOption) (*api.Success, error) ListDistrict(ctx context.Context, in *ListDistrictRequest, opts ...grpc.CallOption) (*ListDistrictResponse, error) }
OrganizationClient is the client API for Organization service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOrganizationClient ¶
func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient
type OrganizationHTTPClient ¶
type OrganizationHTTPClient interface { CreateOrgUser(ctx context.Context, req *CreateUserOrgRequest, opts ...http.CallOption) (rsp *api.Success, err error) CreateOrganization(ctx context.Context, req *CreateOrganizationRequest, opts ...http.CallOption) (rsp *api.Success, err error) DeleteOrgUser(ctx context.Context, req *DeleteOrgUserRequest, opts ...http.CallOption) (rsp *api.Success, err error) DeleteOrganization(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *api.Success, err error) GetOrganization(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *GetOrganizationReply, err error) ListDistrict(ctx context.Context, req *ListDistrictRequest, opts ...http.CallOption) (rsp *ListDistrictResponse, err error) ListOrgUser(ctx context.Context, req *ListOrgUserReqeust, opts ...http.CallOption) (rsp *ListOrgUserReply, err error) ListOrganization(ctx context.Context, req *ListOrganizationRequest, opts ...http.CallOption) (rsp *ListOrganizationReply, err error) UpdateOrganization(ctx context.Context, req *UpdateOrganizationRequest, opts ...http.CallOption) (rsp *api.Success, err error) }
func NewOrganizationHTTPClient ¶
func NewOrganizationHTTPClient(client *http.Client) OrganizationHTTPClient
type OrganizationHTTPClientImpl ¶
type OrganizationHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*OrganizationHTTPClientImpl) CreateOrgUser ¶
func (c *OrganizationHTTPClientImpl) CreateOrgUser(ctx context.Context, in *CreateUserOrgRequest, opts ...http.CallOption) (*api.Success, error)
func (*OrganizationHTTPClientImpl) CreateOrganization ¶
func (c *OrganizationHTTPClientImpl) CreateOrganization(ctx context.Context, in *CreateOrganizationRequest, opts ...http.CallOption) (*api.Success, error)
func (*OrganizationHTTPClientImpl) DeleteOrgUser ¶
func (c *OrganizationHTTPClientImpl) DeleteOrgUser(ctx context.Context, in *DeleteOrgUserRequest, opts ...http.CallOption) (*api.Success, error)
func (*OrganizationHTTPClientImpl) DeleteOrganization ¶
func (c *OrganizationHTTPClientImpl) DeleteOrganization(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)
func (*OrganizationHTTPClientImpl) GetOrganization ¶
func (c *OrganizationHTTPClientImpl) GetOrganization(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetOrganizationReply, error)
func (*OrganizationHTTPClientImpl) ListDistrict ¶
func (c *OrganizationHTTPClientImpl) ListDistrict(ctx context.Context, in *ListDistrictRequest, opts ...http.CallOption) (*ListDistrictResponse, error)
func (*OrganizationHTTPClientImpl) ListOrgUser ¶
func (c *OrganizationHTTPClientImpl) ListOrgUser(ctx context.Context, in *ListOrgUserReqeust, opts ...http.CallOption) (*ListOrgUserReply, error)
func (*OrganizationHTTPClientImpl) ListOrganization ¶
func (c *OrganizationHTTPClientImpl) ListOrganization(ctx context.Context, in *ListOrganizationRequest, opts ...http.CallOption) (*ListOrganizationReply, error)
func (*OrganizationHTTPClientImpl) UpdateOrganization ¶
func (c *OrganizationHTTPClientImpl) UpdateOrganization(ctx context.Context, in *UpdateOrganizationRequest, opts ...http.CallOption) (*api.Success, error)
type OrganizationHTTPServer ¶
type OrganizationHTTPServer interface { CreateOrgUser(context.Context, *CreateUserOrgRequest) (*api.Success, error) CreateOrganization(context.Context, *CreateOrganizationRequest) (*api.Success, error) DeleteOrgUser(context.Context, *DeleteOrgUserRequest) (*api.Success, error) DeleteOrganization(context.Context, *api.IDRequest) (*api.Success, error) GetOrganization(context.Context, *api.IDRequest) (*GetOrganizationReply, error) ListDistrict(context.Context, *ListDistrictRequest) (*ListDistrictResponse, error) ListOrgUser(context.Context, *ListOrgUserReqeust) (*ListOrgUserReply, error) ListOrganization(context.Context, *ListOrganizationRequest) (*ListOrganizationReply, error) UpdateOrganization(context.Context, *UpdateOrganizationRequest) (*api.Success, error) }
type OrganizationServer ¶
type OrganizationServer interface { CreateOrganization(context.Context, *CreateOrganizationRequest) (*api.Success, error) UpdateOrganization(context.Context, *UpdateOrganizationRequest) (*api.Success, error) DeleteOrganization(context.Context, *api.IDRequest) (*api.Success, error) GetOrganization(context.Context, *api.IDRequest) (*GetOrganizationReply, error) ListOrganization(context.Context, *ListOrganizationRequest) (*ListOrganizationReply, error) CreateOrgUser(context.Context, *CreateUserOrgRequest) (*api.Success, error) ListOrgUser(context.Context, *ListOrgUserReqeust) (*ListOrgUserReply, error) DeleteOrgUser(context.Context, *DeleteOrgUserRequest) (*api.Success, error) ListDistrict(context.Context, *ListDistrictRequest) (*ListDistrictResponse, error) // contains filtered or unexported methods }
OrganizationServer is the server API for Organization service. All implementations must embed UnimplementedOrganizationServer for forward compatibility
type UnimplementedOrganizationServer ¶
type UnimplementedOrganizationServer struct { }
UnimplementedOrganizationServer must be embedded to have forward compatible implementations.
func (UnimplementedOrganizationServer) CreateOrgUser ¶
func (UnimplementedOrganizationServer) CreateOrgUser(context.Context, *CreateUserOrgRequest) (*api.Success, error)
func (UnimplementedOrganizationServer) CreateOrganization ¶
func (UnimplementedOrganizationServer) CreateOrganization(context.Context, *CreateOrganizationRequest) (*api.Success, error)
func (UnimplementedOrganizationServer) DeleteOrgUser ¶
func (UnimplementedOrganizationServer) DeleteOrgUser(context.Context, *DeleteOrgUserRequest) (*api.Success, error)
func (UnimplementedOrganizationServer) DeleteOrganization ¶
func (UnimplementedOrganizationServer) GetOrganization ¶
func (UnimplementedOrganizationServer) GetOrganization(context.Context, *api.IDRequest) (*GetOrganizationReply, error)
func (UnimplementedOrganizationServer) ListDistrict ¶
func (UnimplementedOrganizationServer) ListDistrict(context.Context, *ListDistrictRequest) (*ListDistrictResponse, error)
func (UnimplementedOrganizationServer) ListOrgUser ¶
func (UnimplementedOrganizationServer) ListOrgUser(context.Context, *ListOrgUserReqeust) (*ListOrgUserReply, error)
func (UnimplementedOrganizationServer) ListOrganization ¶
func (UnimplementedOrganizationServer) ListOrganization(context.Context, *ListOrganizationRequest) (*ListOrganizationReply, error)
func (UnimplementedOrganizationServer) UpdateOrganization ¶
func (UnimplementedOrganizationServer) UpdateOrganization(context.Context, *UpdateOrganizationRequest) (*api.Success, error)
type UnsafeOrganizationServer ¶
type UnsafeOrganizationServer interface {
// contains filtered or unexported methods
}
UnsafeOrganizationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationServer will result in compilation errors.
type UpdateOrganizationRequest ¶
type UpdateOrganizationRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` OrgType int32 `protobuf:"varint,4,opt,name=orgType,proto3" json:"orgType,omitempty"` ProvinceID int32 `protobuf:"varint,5,opt,name=provinceID,proto3" json:"provinceID,omitempty"` ProvinceName string `protobuf:"bytes,6,opt,name=provinceName,proto3" json:"provinceName,omitempty"` CityID int32 `protobuf:"varint,7,opt,name=cityID,proto3" json:"cityID,omitempty"` CityName string `protobuf:"bytes,8,opt,name=cityName,proto3" json:"cityName,omitempty"` CountryID int32 `protobuf:"varint,9,opt,name=countryID,proto3" json:"countryID,omitempty"` Country string `protobuf:"bytes,10,opt,name=country,proto3" json:"country,omitempty"` ParentID string `protobuf:"bytes,11,opt,name=parentID,proto3" json:"parentID,omitempty"` Address string `protobuf:"bytes,12,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*UpdateOrganizationRequest) Descriptor
deprecated
func (*UpdateOrganizationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateOrganizationRequest.ProtoReflect.Descriptor instead.
func (*UpdateOrganizationRequest) GetAddress ¶
func (x *UpdateOrganizationRequest) GetAddress() string
func (*UpdateOrganizationRequest) GetCityID ¶
func (x *UpdateOrganizationRequest) GetCityID() int32
func (*UpdateOrganizationRequest) GetCityName ¶
func (x *UpdateOrganizationRequest) GetCityName() string
func (*UpdateOrganizationRequest) GetComment ¶
func (x *UpdateOrganizationRequest) GetComment() string
func (*UpdateOrganizationRequest) GetCountry ¶
func (x *UpdateOrganizationRequest) GetCountry() string
func (*UpdateOrganizationRequest) GetCountryID ¶
func (x *UpdateOrganizationRequest) GetCountryID() int32
func (*UpdateOrganizationRequest) GetId ¶
func (x *UpdateOrganizationRequest) GetId() string
func (*UpdateOrganizationRequest) GetName ¶
func (x *UpdateOrganizationRequest) GetName() string
func (*UpdateOrganizationRequest) GetOrgType ¶
func (x *UpdateOrganizationRequest) GetOrgType() int32
func (*UpdateOrganizationRequest) GetParentID ¶
func (x *UpdateOrganizationRequest) GetParentID() string
func (*UpdateOrganizationRequest) GetProvinceID ¶
func (x *UpdateOrganizationRequest) GetProvinceID() int32
func (*UpdateOrganizationRequest) GetProvinceName ¶
func (x *UpdateOrganizationRequest) GetProvinceName() string
func (*UpdateOrganizationRequest) ProtoMessage ¶
func (*UpdateOrganizationRequest) ProtoMessage()
func (*UpdateOrganizationRequest) ProtoReflect ¶
func (x *UpdateOrganizationRequest) ProtoReflect() protoreflect.Message
func (*UpdateOrganizationRequest) Reset ¶
func (x *UpdateOrganizationRequest) Reset()
func (*UpdateOrganizationRequest) String ¶
func (x *UpdateOrganizationRequest) String() string
func (*UpdateOrganizationRequest) Validate ¶
func (m *UpdateOrganizationRequest) Validate() error
Validate checks the field values on UpdateOrganizationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateOrganizationRequest) ValidateAll ¶
func (m *UpdateOrganizationRequest) ValidateAll() error
ValidateAll checks the field values on UpdateOrganizationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateOrganizationRequestMultiError, or nil if none found.
type UpdateOrganizationRequestMultiError ¶
type UpdateOrganizationRequestMultiError []error
UpdateOrganizationRequestMultiError is an error wrapping multiple validation errors returned by UpdateOrganizationRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateOrganizationRequestMultiError) AllErrors ¶
func (m UpdateOrganizationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateOrganizationRequestMultiError) Error ¶
func (m UpdateOrganizationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateOrganizationRequestValidationError ¶
type UpdateOrganizationRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateOrganizationRequestValidationError is the validation error returned by UpdateOrganizationRequest.Validate if the designated constraints aren't met.
func (UpdateOrganizationRequestValidationError) Cause ¶
func (e UpdateOrganizationRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateOrganizationRequestValidationError) Error ¶
func (e UpdateOrganizationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateOrganizationRequestValidationError) ErrorName ¶
func (e UpdateOrganizationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateOrganizationRequestValidationError) Field ¶
func (e UpdateOrganizationRequestValidationError) Field() string
Field function returns field value.
func (UpdateOrganizationRequestValidationError) Key ¶
func (e UpdateOrganizationRequestValidationError) Key() bool
Key function returns key value.
func (UpdateOrganizationRequestValidationError) Reason ¶
func (e UpdateOrganizationRequestValidationError) Reason() string
Reason function returns reason value.