organization

package
v0.0.0-...-c38fcd0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const OperationOrganizationCreateOrgUser = "/api.auth.organization.Organization/CreateOrgUser"
View Source
const OperationOrganizationCreateOrganization = "/api.auth.organization.Organization/CreateOrganization"
View Source
const OperationOrganizationDeleteOrgUser = "/api.auth.organization.Organization/DeleteOrgUser"
View Source
const OperationOrganizationDeleteOrganization = "/api.auth.organization.Organization/DeleteOrganization"
View Source
const OperationOrganizationGetOrganization = "/api.auth.organization.Organization/GetOrganization"
View Source
const OperationOrganizationListDistrict = "/api.auth.organization.Organization/ListDistrict"
View Source
const OperationOrganizationListOrgUser = "/api.auth.organization.Organization/ListOrgUser"
View Source
const OperationOrganizationListOrganization = "/api.auth.organization.Organization/ListOrganization"
View Source
const OperationOrganizationUpdateOrganization = "/api.auth.organization.Organization/UpdateOrganization"

Variables

View Source
var File_api_auth_organization_organization_proto protoreflect.FileDescriptor
View Source
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 (*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

AllErrors returns a list of validation violation errors.

func (CreateOrganizationRequestMultiError) Error

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

Cause function returns cause value.

func (CreateOrganizationRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateOrganizationRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateOrganizationRequestValidationError) Field

Field function returns field value.

func (CreateOrganizationRequestValidationError) Key

Key function returns key value.

func (CreateOrganizationRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (CreateUserOrgRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateUserOrgRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateUserOrgRequestValidationError) Field

Field function returns field value.

func (CreateUserOrgRequestValidationError) Key

Key function returns key value.

func (CreateUserOrgRequestValidationError) Reason

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 (*CreateUserOrgRequest_UserOrg) Reset

func (x *CreateUserOrgRequest_UserOrg) Reset()

func (*CreateUserOrgRequest_UserOrg) 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

AllErrors returns a list of validation violation errors.

func (CreateUserOrgRequest_UserOrgMultiError) Error

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

Cause function returns cause value.

func (CreateUserOrgRequest_UserOrgValidationError) Error

Error satisfies the builtin error interface

func (CreateUserOrgRequest_UserOrgValidationError) ErrorName

ErrorName returns error name.

func (CreateUserOrgRequest_UserOrgValidationError) Field

Field function returns field value.

func (CreateUserOrgRequest_UserOrgValidationError) Key

Key function returns key value.

func (CreateUserOrgRequest_UserOrgValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteOrgUserRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteOrgUserRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteOrgUserRequestValidationError) Field

Field function returns field value.

func (DeleteOrgUserRequestValidationError) Key

Key function returns key value.

func (DeleteOrgUserRequestValidationError) Reason

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

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

Cause function returns cause value.

func (GetOrganizationReplyValidationError) Error

Error satisfies the builtin error interface

func (GetOrganizationReplyValidationError) ErrorName

ErrorName returns error name.

func (GetOrganizationReplyValidationError) Field

Field function returns field value.

func (GetOrganizationReplyValidationError) Key

Key function returns key value.

func (GetOrganizationReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListDistrictRequestValidationError) Error

Error satisfies the builtin error interface

func (ListDistrictRequestValidationError) ErrorName

ErrorName returns error name.

func (ListDistrictRequestValidationError) Field

Field function returns field value.

func (ListDistrictRequestValidationError) Key

Key function returns key value.

func (ListDistrictRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (ListDistrictResponseValidationError) Error

Error satisfies the builtin error interface

func (ListDistrictResponseValidationError) ErrorName

ErrorName returns error name.

func (ListDistrictResponseValidationError) Field

Field function returns field value.

func (ListDistrictResponseValidationError) Key

Key function returns key value.

func (ListDistrictResponseValidationError) Reason

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 (*ListDistrictResponse_DistrictResponse) GetName

func (*ListDistrictResponse_DistrictResponse) GetParentID

func (*ListDistrictResponse_DistrictResponse) ProtoMessage

func (*ListDistrictResponse_DistrictResponse) ProtoMessage()

func (*ListDistrictResponse_DistrictResponse) ProtoReflect

func (*ListDistrictResponse_DistrictResponse) Reset

func (*ListDistrictResponse_DistrictResponse) String

func (*ListDistrictResponse_DistrictResponse) Validate

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

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

AllErrors returns a list of validation violation errors.

func (ListDistrictResponse_DistrictResponseMultiError) Error

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

Cause function returns cause value.

func (ListDistrictResponse_DistrictResponseValidationError) Error

Error satisfies the builtin error interface

func (ListDistrictResponse_DistrictResponseValidationError) ErrorName

ErrorName returns error name.

func (ListDistrictResponse_DistrictResponseValidationError) Field

Field function returns field value.

func (ListDistrictResponse_DistrictResponseValidationError) Key

Key function returns key value.

func (ListDistrictResponse_DistrictResponseValidationError) Reason

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

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

Cause function returns cause value.

func (ListOrgIDRequestValidationError) Error

Error satisfies the builtin error interface

func (ListOrgIDRequestValidationError) ErrorName

ErrorName returns error name.

func (ListOrgIDRequestValidationError) Field

Field function returns field value.

func (ListOrgIDRequestValidationError) Key

Key function returns key value.

func (ListOrgIDRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ListOrgUserReplyValidationError) Error

Error satisfies the builtin error interface

func (ListOrgUserReplyValidationError) ErrorName

ErrorName returns error name.

func (ListOrgUserReplyValidationError) Field

Field function returns field value.

func (ListOrgUserReplyValidationError) Key

Key function returns key value.

func (ListOrgUserReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListOrgUserReply_UserValidationError) Error

Error satisfies the builtin error interface

func (ListOrgUserReply_UserValidationError) ErrorName

ErrorName returns error name.

func (ListOrgUserReply_UserValidationError) Field

Field function returns field value.

func (ListOrgUserReply_UserValidationError) Key

Key function returns key value.

func (ListOrgUserReply_UserValidationError) Reason

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

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

Cause function returns cause value.

func (ListOrgUserReqeustValidationError) Error

Error satisfies the builtin error interface

func (ListOrgUserReqeustValidationError) ErrorName

ErrorName returns error name.

func (ListOrgUserReqeustValidationError) Field

Field function returns field value.

func (ListOrgUserReqeustValidationError) Key

Key function returns key value.

func (ListOrgUserReqeustValidationError) Reason

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

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

Cause function returns cause value.

func (ListOrganizationReplyValidationError) Error

Error satisfies the builtin error interface

func (ListOrganizationReplyValidationError) ErrorName

ErrorName returns error name.

func (ListOrganizationReplyValidationError) Field

Field function returns field value.

func (ListOrganizationReplyValidationError) Key

Key function returns key value.

func (ListOrganizationReplyValidationError) Reason

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

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

Cause function returns cause value.

func (ListOrganizationRequestValidationError) Error

Error satisfies the builtin error interface

func (ListOrganizationRequestValidationError) ErrorName

ErrorName returns error name.

func (ListOrganizationRequestValidationError) Field

Field function returns field value.

func (ListOrganizationRequestValidationError) Key

Key function returns key value.

func (ListOrganizationRequestValidationError) Reason

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.

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 (*OrganizationHTTPClientImpl) CreateOrganization

func (*OrganizationHTTPClientImpl) DeleteOrgUser

func (*OrganizationHTTPClientImpl) DeleteOrganization

func (c *OrganizationHTTPClientImpl) DeleteOrganization(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)

func (*OrganizationHTTPClientImpl) GetOrganization

func (*OrganizationHTTPClientImpl) ListDistrict

func (*OrganizationHTTPClientImpl) ListOrgUser

func (*OrganizationHTTPClientImpl) ListOrganization

func (*OrganizationHTTPClientImpl) UpdateOrganization

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) CreateOrganization

func (UnimplementedOrganizationServer) DeleteOrgUser

func (UnimplementedOrganizationServer) DeleteOrganization

func (UnimplementedOrganizationServer) GetOrganization

func (UnimplementedOrganizationServer) ListDistrict

func (UnimplementedOrganizationServer) ListOrgUser

func (UnimplementedOrganizationServer) ListOrganization

func (UnimplementedOrganizationServer) UpdateOrganization

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 (*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

AllErrors returns a list of validation violation errors.

func (UpdateOrganizationRequestMultiError) Error

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

Cause function returns cause value.

func (UpdateOrganizationRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateOrganizationRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateOrganizationRequestValidationError) Field

Field function returns field value.

func (UpdateOrganizationRequestValidationError) Key

Key function returns key value.

func (UpdateOrganizationRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL