You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2069 lines
81 KiB
2069 lines
81 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: organization/organization.proto
|
|
|
|
package organization // import "./organization"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import sdk_ws "Open_IM/pkg/proto/sdk_ws"
|
|
|
|
import (
|
|
context "golang.org/x/net/context"
|
|
grpc "google.golang.org/grpc"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type CreateDepartmentReq struct {
|
|
DepartmentInfo *sdk_ws.Department `protobuf:"bytes,1,opt,name=departmentInfo" json:"departmentInfo,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateDepartmentReq) Reset() { *m = CreateDepartmentReq{} }
|
|
func (m *CreateDepartmentReq) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateDepartmentReq) ProtoMessage() {}
|
|
func (*CreateDepartmentReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{0}
|
|
}
|
|
func (m *CreateDepartmentReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateDepartmentReq.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateDepartmentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateDepartmentReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateDepartmentReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateDepartmentReq.Merge(dst, src)
|
|
}
|
|
func (m *CreateDepartmentReq) XXX_Size() int {
|
|
return xxx_messageInfo_CreateDepartmentReq.Size(m)
|
|
}
|
|
func (m *CreateDepartmentReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateDepartmentReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateDepartmentReq proto.InternalMessageInfo
|
|
|
|
func (m *CreateDepartmentReq) GetDepartmentInfo() *sdk_ws.Department {
|
|
if m != nil {
|
|
return m.DepartmentInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateDepartmentReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateDepartmentReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateDepartmentResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
DepartmentInfo *sdk_ws.Department `protobuf:"bytes,3,opt,name=departmentInfo" json:"departmentInfo,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateDepartmentResp) Reset() { *m = CreateDepartmentResp{} }
|
|
func (m *CreateDepartmentResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateDepartmentResp) ProtoMessage() {}
|
|
func (*CreateDepartmentResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{1}
|
|
}
|
|
func (m *CreateDepartmentResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateDepartmentResp.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateDepartmentResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateDepartmentResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateDepartmentResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateDepartmentResp.Merge(dst, src)
|
|
}
|
|
func (m *CreateDepartmentResp) XXX_Size() int {
|
|
return xxx_messageInfo_CreateDepartmentResp.Size(m)
|
|
}
|
|
func (m *CreateDepartmentResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateDepartmentResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateDepartmentResp proto.InternalMessageInfo
|
|
|
|
func (m *CreateDepartmentResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateDepartmentResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateDepartmentResp) GetDepartmentInfo() *sdk_ws.Department {
|
|
if m != nil {
|
|
return m.DepartmentInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateDepartmentReq struct {
|
|
DepartmentInfo *sdk_ws.Department `protobuf:"bytes,1,opt,name=departmentInfo" json:"departmentInfo,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateDepartmentReq) Reset() { *m = UpdateDepartmentReq{} }
|
|
func (m *UpdateDepartmentReq) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateDepartmentReq) ProtoMessage() {}
|
|
func (*UpdateDepartmentReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{2}
|
|
}
|
|
func (m *UpdateDepartmentReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateDepartmentReq.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateDepartmentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateDepartmentReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UpdateDepartmentReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateDepartmentReq.Merge(dst, src)
|
|
}
|
|
func (m *UpdateDepartmentReq) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateDepartmentReq.Size(m)
|
|
}
|
|
func (m *UpdateDepartmentReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateDepartmentReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateDepartmentReq proto.InternalMessageInfo
|
|
|
|
func (m *UpdateDepartmentReq) GetDepartmentInfo() *sdk_ws.Department {
|
|
if m != nil {
|
|
return m.DepartmentInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateDepartmentReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateDepartmentReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateDepartmentResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateDepartmentResp) Reset() { *m = UpdateDepartmentResp{} }
|
|
func (m *UpdateDepartmentResp) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateDepartmentResp) ProtoMessage() {}
|
|
func (*UpdateDepartmentResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{3}
|
|
}
|
|
func (m *UpdateDepartmentResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateDepartmentResp.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateDepartmentResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateDepartmentResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UpdateDepartmentResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateDepartmentResp.Merge(dst, src)
|
|
}
|
|
func (m *UpdateDepartmentResp) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateDepartmentResp.Size(m)
|
|
}
|
|
func (m *UpdateDepartmentResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateDepartmentResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateDepartmentResp proto.InternalMessageInfo
|
|
|
|
func (m *UpdateDepartmentResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UpdateDepartmentResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSubDepartmentReq struct {
|
|
DepartmentID string `protobuf:"bytes,1,opt,name=departmentID" json:"departmentID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSubDepartmentReq) Reset() { *m = GetSubDepartmentReq{} }
|
|
func (m *GetSubDepartmentReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSubDepartmentReq) ProtoMessage() {}
|
|
func (*GetSubDepartmentReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{4}
|
|
}
|
|
func (m *GetSubDepartmentReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSubDepartmentReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSubDepartmentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSubDepartmentReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetSubDepartmentReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSubDepartmentReq.Merge(dst, src)
|
|
}
|
|
func (m *GetSubDepartmentReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetSubDepartmentReq.Size(m)
|
|
}
|
|
func (m *GetSubDepartmentReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSubDepartmentReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSubDepartmentReq proto.InternalMessageInfo
|
|
|
|
func (m *GetSubDepartmentReq) GetDepartmentID() string {
|
|
if m != nil {
|
|
return m.DepartmentID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetSubDepartmentReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetSubDepartmentReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSubDepartmentResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
DepartmentList []*sdk_ws.Department `protobuf:"bytes,3,rep,name=departmentList" json:"departmentList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetSubDepartmentResp) Reset() { *m = GetSubDepartmentResp{} }
|
|
func (m *GetSubDepartmentResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetSubDepartmentResp) ProtoMessage() {}
|
|
func (*GetSubDepartmentResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{5}
|
|
}
|
|
func (m *GetSubDepartmentResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetSubDepartmentResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetSubDepartmentResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetSubDepartmentResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetSubDepartmentResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetSubDepartmentResp.Merge(dst, src)
|
|
}
|
|
func (m *GetSubDepartmentResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetSubDepartmentResp.Size(m)
|
|
}
|
|
func (m *GetSubDepartmentResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetSubDepartmentResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetSubDepartmentResp proto.InternalMessageInfo
|
|
|
|
func (m *GetSubDepartmentResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetSubDepartmentResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetSubDepartmentResp) GetDepartmentList() []*sdk_ws.Department {
|
|
if m != nil {
|
|
return m.DepartmentList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteDepartmentReq struct {
|
|
DepartmentID string `protobuf:"bytes,1,opt,name=departmentID" json:"departmentID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteDepartmentReq) Reset() { *m = DeleteDepartmentReq{} }
|
|
func (m *DeleteDepartmentReq) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteDepartmentReq) ProtoMessage() {}
|
|
func (*DeleteDepartmentReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{6}
|
|
}
|
|
func (m *DeleteDepartmentReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteDepartmentReq.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteDepartmentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteDepartmentReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteDepartmentReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteDepartmentReq.Merge(dst, src)
|
|
}
|
|
func (m *DeleteDepartmentReq) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteDepartmentReq.Size(m)
|
|
}
|
|
func (m *DeleteDepartmentReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteDepartmentReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteDepartmentReq proto.InternalMessageInfo
|
|
|
|
func (m *DeleteDepartmentReq) GetDepartmentID() string {
|
|
if m != nil {
|
|
return m.DepartmentID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteDepartmentReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteDepartmentReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteDepartmentResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteDepartmentResp) Reset() { *m = DeleteDepartmentResp{} }
|
|
func (m *DeleteDepartmentResp) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteDepartmentResp) ProtoMessage() {}
|
|
func (*DeleteDepartmentResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{7}
|
|
}
|
|
func (m *DeleteDepartmentResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteDepartmentResp.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteDepartmentResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteDepartmentResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteDepartmentResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteDepartmentResp.Merge(dst, src)
|
|
}
|
|
func (m *DeleteDepartmentResp) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteDepartmentResp.Size(m)
|
|
}
|
|
func (m *DeleteDepartmentResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteDepartmentResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteDepartmentResp proto.InternalMessageInfo
|
|
|
|
func (m *DeleteDepartmentResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeleteDepartmentResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetDepartmentParentIDListReq struct {
|
|
DepartmentID string `protobuf:"bytes,1,opt,name=departmentID" json:"departmentID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetDepartmentParentIDListReq) Reset() { *m = GetDepartmentParentIDListReq{} }
|
|
func (m *GetDepartmentParentIDListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetDepartmentParentIDListReq) ProtoMessage() {}
|
|
func (*GetDepartmentParentIDListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{8}
|
|
}
|
|
func (m *GetDepartmentParentIDListReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetDepartmentParentIDListReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetDepartmentParentIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetDepartmentParentIDListReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetDepartmentParentIDListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetDepartmentParentIDListReq.Merge(dst, src)
|
|
}
|
|
func (m *GetDepartmentParentIDListReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetDepartmentParentIDListReq.Size(m)
|
|
}
|
|
func (m *GetDepartmentParentIDListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetDepartmentParentIDListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetDepartmentParentIDListReq proto.InternalMessageInfo
|
|
|
|
func (m *GetDepartmentParentIDListReq) GetDepartmentID() string {
|
|
if m != nil {
|
|
return m.DepartmentID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetDepartmentParentIDListReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetDepartmentParentIDListResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
ParentIDList []string `protobuf:"bytes,3,rep,name=parentIDList" json:"parentIDList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetDepartmentParentIDListResp) Reset() { *m = GetDepartmentParentIDListResp{} }
|
|
func (m *GetDepartmentParentIDListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetDepartmentParentIDListResp) ProtoMessage() {}
|
|
func (*GetDepartmentParentIDListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{9}
|
|
}
|
|
func (m *GetDepartmentParentIDListResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetDepartmentParentIDListResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetDepartmentParentIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetDepartmentParentIDListResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetDepartmentParentIDListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetDepartmentParentIDListResp.Merge(dst, src)
|
|
}
|
|
func (m *GetDepartmentParentIDListResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetDepartmentParentIDListResp.Size(m)
|
|
}
|
|
func (m *GetDepartmentParentIDListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetDepartmentParentIDListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetDepartmentParentIDListResp proto.InternalMessageInfo
|
|
|
|
func (m *GetDepartmentParentIDListResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetDepartmentParentIDListResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetDepartmentParentIDListResp) GetParentIDList() []string {
|
|
if m != nil {
|
|
return m.ParentIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateOrganizationUserReq struct {
|
|
OrganizationUser *sdk_ws.OrganizationUser `protobuf:"bytes,1,opt,name=organizationUser" json:"organizationUser,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
IsRegister bool `protobuf:"varint,4,opt,name=IsRegister" json:"IsRegister,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateOrganizationUserReq) Reset() { *m = CreateOrganizationUserReq{} }
|
|
func (m *CreateOrganizationUserReq) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateOrganizationUserReq) ProtoMessage() {}
|
|
func (*CreateOrganizationUserReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{10}
|
|
}
|
|
func (m *CreateOrganizationUserReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateOrganizationUserReq.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateOrganizationUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateOrganizationUserReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateOrganizationUserReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateOrganizationUserReq.Merge(dst, src)
|
|
}
|
|
func (m *CreateOrganizationUserReq) XXX_Size() int {
|
|
return xxx_messageInfo_CreateOrganizationUserReq.Size(m)
|
|
}
|
|
func (m *CreateOrganizationUserReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateOrganizationUserReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateOrganizationUserReq proto.InternalMessageInfo
|
|
|
|
func (m *CreateOrganizationUserReq) GetOrganizationUser() *sdk_ws.OrganizationUser {
|
|
if m != nil {
|
|
return m.OrganizationUser
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateOrganizationUserReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateOrganizationUserReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateOrganizationUserReq) GetIsRegister() bool {
|
|
if m != nil {
|
|
return m.IsRegister
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CreateOrganizationUserResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateOrganizationUserResp) Reset() { *m = CreateOrganizationUserResp{} }
|
|
func (m *CreateOrganizationUserResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateOrganizationUserResp) ProtoMessage() {}
|
|
func (*CreateOrganizationUserResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{11}
|
|
}
|
|
func (m *CreateOrganizationUserResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateOrganizationUserResp.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateOrganizationUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateOrganizationUserResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateOrganizationUserResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateOrganizationUserResp.Merge(dst, src)
|
|
}
|
|
func (m *CreateOrganizationUserResp) XXX_Size() int {
|
|
return xxx_messageInfo_CreateOrganizationUserResp.Size(m)
|
|
}
|
|
func (m *CreateOrganizationUserResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateOrganizationUserResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateOrganizationUserResp proto.InternalMessageInfo
|
|
|
|
func (m *CreateOrganizationUserResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateOrganizationUserResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateOrganizationUserReq struct {
|
|
OrganizationUser *sdk_ws.OrganizationUser `protobuf:"bytes,1,opt,name=organizationUser" json:"organizationUser,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateOrganizationUserReq) Reset() { *m = UpdateOrganizationUserReq{} }
|
|
func (m *UpdateOrganizationUserReq) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateOrganizationUserReq) ProtoMessage() {}
|
|
func (*UpdateOrganizationUserReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{12}
|
|
}
|
|
func (m *UpdateOrganizationUserReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateOrganizationUserReq.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateOrganizationUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateOrganizationUserReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UpdateOrganizationUserReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateOrganizationUserReq.Merge(dst, src)
|
|
}
|
|
func (m *UpdateOrganizationUserReq) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateOrganizationUserReq.Size(m)
|
|
}
|
|
func (m *UpdateOrganizationUserReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateOrganizationUserReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateOrganizationUserReq proto.InternalMessageInfo
|
|
|
|
func (m *UpdateOrganizationUserReq) GetOrganizationUser() *sdk_ws.OrganizationUser {
|
|
if m != nil {
|
|
return m.OrganizationUser
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateOrganizationUserReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateOrganizationUserReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateOrganizationUserResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateOrganizationUserResp) Reset() { *m = UpdateOrganizationUserResp{} }
|
|
func (m *UpdateOrganizationUserResp) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateOrganizationUserResp) ProtoMessage() {}
|
|
func (*UpdateOrganizationUserResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{13}
|
|
}
|
|
func (m *UpdateOrganizationUserResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateOrganizationUserResp.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateOrganizationUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateOrganizationUserResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UpdateOrganizationUserResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateOrganizationUserResp.Merge(dst, src)
|
|
}
|
|
func (m *UpdateOrganizationUserResp) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateOrganizationUserResp.Size(m)
|
|
}
|
|
func (m *UpdateOrganizationUserResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateOrganizationUserResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateOrganizationUserResp proto.InternalMessageInfo
|
|
|
|
func (m *UpdateOrganizationUserResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UpdateOrganizationUserResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateDepartmentMemberReq struct {
|
|
DepartmentMember *sdk_ws.DepartmentMember `protobuf:"bytes,1,opt,name=departmentMember" json:"departmentMember,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateDepartmentMemberReq) Reset() { *m = CreateDepartmentMemberReq{} }
|
|
func (m *CreateDepartmentMemberReq) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateDepartmentMemberReq) ProtoMessage() {}
|
|
func (*CreateDepartmentMemberReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{14}
|
|
}
|
|
func (m *CreateDepartmentMemberReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateDepartmentMemberReq.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateDepartmentMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateDepartmentMemberReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateDepartmentMemberReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateDepartmentMemberReq.Merge(dst, src)
|
|
}
|
|
func (m *CreateDepartmentMemberReq) XXX_Size() int {
|
|
return xxx_messageInfo_CreateDepartmentMemberReq.Size(m)
|
|
}
|
|
func (m *CreateDepartmentMemberReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateDepartmentMemberReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateDepartmentMemberReq proto.InternalMessageInfo
|
|
|
|
func (m *CreateDepartmentMemberReq) GetDepartmentMember() *sdk_ws.DepartmentMember {
|
|
if m != nil {
|
|
return m.DepartmentMember
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *CreateDepartmentMemberReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateDepartmentMemberReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateDepartmentMemberResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *CreateDepartmentMemberResp) Reset() { *m = CreateDepartmentMemberResp{} }
|
|
func (m *CreateDepartmentMemberResp) String() string { return proto.CompactTextString(m) }
|
|
func (*CreateDepartmentMemberResp) ProtoMessage() {}
|
|
func (*CreateDepartmentMemberResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{15}
|
|
}
|
|
func (m *CreateDepartmentMemberResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_CreateDepartmentMemberResp.Unmarshal(m, b)
|
|
}
|
|
func (m *CreateDepartmentMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_CreateDepartmentMemberResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *CreateDepartmentMemberResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_CreateDepartmentMemberResp.Merge(dst, src)
|
|
}
|
|
func (m *CreateDepartmentMemberResp) XXX_Size() int {
|
|
return xxx_messageInfo_CreateDepartmentMemberResp.Size(m)
|
|
}
|
|
func (m *CreateDepartmentMemberResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_CreateDepartmentMemberResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_CreateDepartmentMemberResp proto.InternalMessageInfo
|
|
|
|
func (m *CreateDepartmentMemberResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *CreateDepartmentMemberResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUserInDepartmentReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUserInDepartmentReq) Reset() { *m = GetUserInDepartmentReq{} }
|
|
func (m *GetUserInDepartmentReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserInDepartmentReq) ProtoMessage() {}
|
|
func (*GetUserInDepartmentReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{16}
|
|
}
|
|
func (m *GetUserInDepartmentReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUserInDepartmentReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUserInDepartmentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUserInDepartmentReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUserInDepartmentReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserInDepartmentReq.Merge(dst, src)
|
|
}
|
|
func (m *GetUserInDepartmentReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetUserInDepartmentReq.Size(m)
|
|
}
|
|
func (m *GetUserInDepartmentReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserInDepartmentReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserInDepartmentReq proto.InternalMessageInfo
|
|
|
|
func (m *GetUserInDepartmentReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUserInDepartmentReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUserInDepartmentReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetUserInDepartmentResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
UserInDepartment *sdk_ws.UserInDepartment `protobuf:"bytes,3,opt,name=userInDepartment" json:"userInDepartment,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetUserInDepartmentResp) Reset() { *m = GetUserInDepartmentResp{} }
|
|
func (m *GetUserInDepartmentResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetUserInDepartmentResp) ProtoMessage() {}
|
|
func (*GetUserInDepartmentResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{17}
|
|
}
|
|
func (m *GetUserInDepartmentResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetUserInDepartmentResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetUserInDepartmentResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetUserInDepartmentResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetUserInDepartmentResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetUserInDepartmentResp.Merge(dst, src)
|
|
}
|
|
func (m *GetUserInDepartmentResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetUserInDepartmentResp.Size(m)
|
|
}
|
|
func (m *GetUserInDepartmentResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetUserInDepartmentResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetUserInDepartmentResp proto.InternalMessageInfo
|
|
|
|
func (m *GetUserInDepartmentResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetUserInDepartmentResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetUserInDepartmentResp) GetUserInDepartment() *sdk_ws.UserInDepartment {
|
|
if m != nil {
|
|
return m.UserInDepartment
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateUserInDepartmentReq struct {
|
|
DepartmentMember *sdk_ws.DepartmentMember `protobuf:"bytes,1,opt,name=departmentMember" json:"departmentMember,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateUserInDepartmentReq) Reset() { *m = UpdateUserInDepartmentReq{} }
|
|
func (m *UpdateUserInDepartmentReq) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateUserInDepartmentReq) ProtoMessage() {}
|
|
func (*UpdateUserInDepartmentReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{18}
|
|
}
|
|
func (m *UpdateUserInDepartmentReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateUserInDepartmentReq.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateUserInDepartmentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateUserInDepartmentReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UpdateUserInDepartmentReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateUserInDepartmentReq.Merge(dst, src)
|
|
}
|
|
func (m *UpdateUserInDepartmentReq) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateUserInDepartmentReq.Size(m)
|
|
}
|
|
func (m *UpdateUserInDepartmentReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateUserInDepartmentReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateUserInDepartmentReq proto.InternalMessageInfo
|
|
|
|
func (m *UpdateUserInDepartmentReq) GetDepartmentMember() *sdk_ws.DepartmentMember {
|
|
if m != nil {
|
|
return m.DepartmentMember
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateUserInDepartmentReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateUserInDepartmentReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateUserInDepartmentResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateUserInDepartmentResp) Reset() { *m = UpdateUserInDepartmentResp{} }
|
|
func (m *UpdateUserInDepartmentResp) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateUserInDepartmentResp) ProtoMessage() {}
|
|
func (*UpdateUserInDepartmentResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{19}
|
|
}
|
|
func (m *UpdateUserInDepartmentResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateUserInDepartmentResp.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateUserInDepartmentResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateUserInDepartmentResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UpdateUserInDepartmentResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateUserInDepartmentResp.Merge(dst, src)
|
|
}
|
|
func (m *UpdateUserInDepartmentResp) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateUserInDepartmentResp.Size(m)
|
|
}
|
|
func (m *UpdateUserInDepartmentResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateUserInDepartmentResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateUserInDepartmentResp proto.InternalMessageInfo
|
|
|
|
func (m *UpdateUserInDepartmentResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UpdateUserInDepartmentResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteUserInDepartmentReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
DepartmentID string `protobuf:"bytes,4,opt,name=departmentID" json:"departmentID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteUserInDepartmentReq) Reset() { *m = DeleteUserInDepartmentReq{} }
|
|
func (m *DeleteUserInDepartmentReq) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteUserInDepartmentReq) ProtoMessage() {}
|
|
func (*DeleteUserInDepartmentReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{20}
|
|
}
|
|
func (m *DeleteUserInDepartmentReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteUserInDepartmentReq.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteUserInDepartmentReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteUserInDepartmentReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteUserInDepartmentReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteUserInDepartmentReq.Merge(dst, src)
|
|
}
|
|
func (m *DeleteUserInDepartmentReq) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteUserInDepartmentReq.Size(m)
|
|
}
|
|
func (m *DeleteUserInDepartmentReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteUserInDepartmentReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteUserInDepartmentReq proto.InternalMessageInfo
|
|
|
|
func (m *DeleteUserInDepartmentReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteUserInDepartmentReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteUserInDepartmentReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteUserInDepartmentReq) GetDepartmentID() string {
|
|
if m != nil {
|
|
return m.DepartmentID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteUserInDepartmentResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteUserInDepartmentResp) Reset() { *m = DeleteUserInDepartmentResp{} }
|
|
func (m *DeleteUserInDepartmentResp) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteUserInDepartmentResp) ProtoMessage() {}
|
|
func (*DeleteUserInDepartmentResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{21}
|
|
}
|
|
func (m *DeleteUserInDepartmentResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteUserInDepartmentResp.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteUserInDepartmentResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteUserInDepartmentResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteUserInDepartmentResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteUserInDepartmentResp.Merge(dst, src)
|
|
}
|
|
func (m *DeleteUserInDepartmentResp) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteUserInDepartmentResp.Size(m)
|
|
}
|
|
func (m *DeleteUserInDepartmentResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteUserInDepartmentResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteUserInDepartmentResp proto.InternalMessageInfo
|
|
|
|
func (m *DeleteUserInDepartmentResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeleteUserInDepartmentResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteOrganizationUserReq struct {
|
|
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteOrganizationUserReq) Reset() { *m = DeleteOrganizationUserReq{} }
|
|
func (m *DeleteOrganizationUserReq) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteOrganizationUserReq) ProtoMessage() {}
|
|
func (*DeleteOrganizationUserReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{22}
|
|
}
|
|
func (m *DeleteOrganizationUserReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteOrganizationUserReq.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteOrganizationUserReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteOrganizationUserReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteOrganizationUserReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteOrganizationUserReq.Merge(dst, src)
|
|
}
|
|
func (m *DeleteOrganizationUserReq) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteOrganizationUserReq.Size(m)
|
|
}
|
|
func (m *DeleteOrganizationUserReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteOrganizationUserReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteOrganizationUserReq proto.InternalMessageInfo
|
|
|
|
func (m *DeleteOrganizationUserReq) GetUserID() string {
|
|
if m != nil {
|
|
return m.UserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteOrganizationUserReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DeleteOrganizationUserReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DeleteOrganizationUserResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DeleteOrganizationUserResp) Reset() { *m = DeleteOrganizationUserResp{} }
|
|
func (m *DeleteOrganizationUserResp) String() string { return proto.CompactTextString(m) }
|
|
func (*DeleteOrganizationUserResp) ProtoMessage() {}
|
|
func (*DeleteOrganizationUserResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{23}
|
|
}
|
|
func (m *DeleteOrganizationUserResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DeleteOrganizationUserResp.Unmarshal(m, b)
|
|
}
|
|
func (m *DeleteOrganizationUserResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DeleteOrganizationUserResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *DeleteOrganizationUserResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DeleteOrganizationUserResp.Merge(dst, src)
|
|
}
|
|
func (m *DeleteOrganizationUserResp) XXX_Size() int {
|
|
return xxx_messageInfo_DeleteOrganizationUserResp.Size(m)
|
|
}
|
|
func (m *DeleteOrganizationUserResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DeleteOrganizationUserResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DeleteOrganizationUserResp proto.InternalMessageInfo
|
|
|
|
func (m *DeleteOrganizationUserResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DeleteOrganizationUserResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetDepartmentMemberReq struct {
|
|
DepartmentID string `protobuf:"bytes,1,opt,name=departmentID" json:"departmentID,omitempty"`
|
|
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
|
OpUserID string `protobuf:"bytes,3,opt,name=opUserID" json:"opUserID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetDepartmentMemberReq) Reset() { *m = GetDepartmentMemberReq{} }
|
|
func (m *GetDepartmentMemberReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetDepartmentMemberReq) ProtoMessage() {}
|
|
func (*GetDepartmentMemberReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{24}
|
|
}
|
|
func (m *GetDepartmentMemberReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetDepartmentMemberReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetDepartmentMemberReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetDepartmentMemberReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetDepartmentMemberReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetDepartmentMemberReq.Merge(dst, src)
|
|
}
|
|
func (m *GetDepartmentMemberReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetDepartmentMemberReq.Size(m)
|
|
}
|
|
func (m *GetDepartmentMemberReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetDepartmentMemberReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetDepartmentMemberReq proto.InternalMessageInfo
|
|
|
|
func (m *GetDepartmentMemberReq) GetDepartmentID() string {
|
|
if m != nil {
|
|
return m.DepartmentID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetDepartmentMemberReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetDepartmentMemberReq) GetOpUserID() string {
|
|
if m != nil {
|
|
return m.OpUserID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetDepartmentMemberResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
UserDepartmentMemberList []*sdk_ws.UserDepartmentMember `protobuf:"bytes,3,rep,name=userDepartmentMemberList" json:"userDepartmentMemberList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetDepartmentMemberResp) Reset() { *m = GetDepartmentMemberResp{} }
|
|
func (m *GetDepartmentMemberResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetDepartmentMemberResp) ProtoMessage() {}
|
|
func (*GetDepartmentMemberResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{25}
|
|
}
|
|
func (m *GetDepartmentMemberResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetDepartmentMemberResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetDepartmentMemberResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetDepartmentMemberResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetDepartmentMemberResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetDepartmentMemberResp.Merge(dst, src)
|
|
}
|
|
func (m *GetDepartmentMemberResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetDepartmentMemberResp.Size(m)
|
|
}
|
|
func (m *GetDepartmentMemberResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetDepartmentMemberResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetDepartmentMemberResp proto.InternalMessageInfo
|
|
|
|
func (m *GetDepartmentMemberResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetDepartmentMemberResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetDepartmentMemberResp) GetUserDepartmentMemberList() []*sdk_ws.UserDepartmentMember {
|
|
if m != nil {
|
|
return m.UserDepartmentMemberList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetDepartmentRelatedGroupIDListReq struct {
|
|
OperationID string `protobuf:"bytes,1,opt,name=operationID" json:"operationID,omitempty"`
|
|
DepartmentIDList []string `protobuf:"bytes,2,rep,name=departmentIDList" json:"departmentIDList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetDepartmentRelatedGroupIDListReq) Reset() { *m = GetDepartmentRelatedGroupIDListReq{} }
|
|
func (m *GetDepartmentRelatedGroupIDListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetDepartmentRelatedGroupIDListReq) ProtoMessage() {}
|
|
func (*GetDepartmentRelatedGroupIDListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{26}
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetDepartmentRelatedGroupIDListReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetDepartmentRelatedGroupIDListReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetDepartmentRelatedGroupIDListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetDepartmentRelatedGroupIDListReq.Merge(dst, src)
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetDepartmentRelatedGroupIDListReq.Size(m)
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetDepartmentRelatedGroupIDListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetDepartmentRelatedGroupIDListReq proto.InternalMessageInfo
|
|
|
|
func (m *GetDepartmentRelatedGroupIDListReq) GetOperationID() string {
|
|
if m != nil {
|
|
return m.OperationID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetDepartmentRelatedGroupIDListReq) GetDepartmentIDList() []string {
|
|
if m != nil {
|
|
return m.DepartmentIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetDepartmentRelatedGroupIDListResp struct {
|
|
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
|
GroupIDList []string `protobuf:"bytes,3,rep,name=groupIDList" json:"groupIDList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetDepartmentRelatedGroupIDListResp) Reset() { *m = GetDepartmentRelatedGroupIDListResp{} }
|
|
func (m *GetDepartmentRelatedGroupIDListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetDepartmentRelatedGroupIDListResp) ProtoMessage() {}
|
|
func (*GetDepartmentRelatedGroupIDListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_organization_2845c40b2de0bcf0, []int{27}
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetDepartmentRelatedGroupIDListResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetDepartmentRelatedGroupIDListResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetDepartmentRelatedGroupIDListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetDepartmentRelatedGroupIDListResp.Merge(dst, src)
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetDepartmentRelatedGroupIDListResp.Size(m)
|
|
}
|
|
func (m *GetDepartmentRelatedGroupIDListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetDepartmentRelatedGroupIDListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetDepartmentRelatedGroupIDListResp proto.InternalMessageInfo
|
|
|
|
func (m *GetDepartmentRelatedGroupIDListResp) GetErrCode() int32 {
|
|
if m != nil {
|
|
return m.ErrCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetDepartmentRelatedGroupIDListResp) GetErrMsg() string {
|
|
if m != nil {
|
|
return m.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GetDepartmentRelatedGroupIDListResp) GetGroupIDList() []string {
|
|
if m != nil {
|
|
return m.GroupIDList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*CreateDepartmentReq)(nil), "organization.CreateDepartmentReq")
|
|
proto.RegisterType((*CreateDepartmentResp)(nil), "organization.CreateDepartmentResp")
|
|
proto.RegisterType((*UpdateDepartmentReq)(nil), "organization.UpdateDepartmentReq")
|
|
proto.RegisterType((*UpdateDepartmentResp)(nil), "organization.UpdateDepartmentResp")
|
|
proto.RegisterType((*GetSubDepartmentReq)(nil), "organization.GetSubDepartmentReq")
|
|
proto.RegisterType((*GetSubDepartmentResp)(nil), "organization.GetSubDepartmentResp")
|
|
proto.RegisterType((*DeleteDepartmentReq)(nil), "organization.DeleteDepartmentReq")
|
|
proto.RegisterType((*DeleteDepartmentResp)(nil), "organization.DeleteDepartmentResp")
|
|
proto.RegisterType((*GetDepartmentParentIDListReq)(nil), "organization.GetDepartmentParentIDListReq")
|
|
proto.RegisterType((*GetDepartmentParentIDListResp)(nil), "organization.GetDepartmentParentIDListResp")
|
|
proto.RegisterType((*CreateOrganizationUserReq)(nil), "organization.CreateOrganizationUserReq")
|
|
proto.RegisterType((*CreateOrganizationUserResp)(nil), "organization.CreateOrganizationUserResp")
|
|
proto.RegisterType((*UpdateOrganizationUserReq)(nil), "organization.UpdateOrganizationUserReq")
|
|
proto.RegisterType((*UpdateOrganizationUserResp)(nil), "organization.UpdateOrganizationUserResp")
|
|
proto.RegisterType((*CreateDepartmentMemberReq)(nil), "organization.CreateDepartmentMemberReq")
|
|
proto.RegisterType((*CreateDepartmentMemberResp)(nil), "organization.CreateDepartmentMemberResp")
|
|
proto.RegisterType((*GetUserInDepartmentReq)(nil), "organization.GetUserInDepartmentReq")
|
|
proto.RegisterType((*GetUserInDepartmentResp)(nil), "organization.GetUserInDepartmentResp")
|
|
proto.RegisterType((*UpdateUserInDepartmentReq)(nil), "organization.UpdateUserInDepartmentReq")
|
|
proto.RegisterType((*UpdateUserInDepartmentResp)(nil), "organization.UpdateUserInDepartmentResp")
|
|
proto.RegisterType((*DeleteUserInDepartmentReq)(nil), "organization.DeleteUserInDepartmentReq")
|
|
proto.RegisterType((*DeleteUserInDepartmentResp)(nil), "organization.DeleteUserInDepartmentResp")
|
|
proto.RegisterType((*DeleteOrganizationUserReq)(nil), "organization.DeleteOrganizationUserReq")
|
|
proto.RegisterType((*DeleteOrganizationUserResp)(nil), "organization.DeleteOrganizationUserResp")
|
|
proto.RegisterType((*GetDepartmentMemberReq)(nil), "organization.GetDepartmentMemberReq")
|
|
proto.RegisterType((*GetDepartmentMemberResp)(nil), "organization.GetDepartmentMemberResp")
|
|
proto.RegisterType((*GetDepartmentRelatedGroupIDListReq)(nil), "organization.GetDepartmentRelatedGroupIDListReq")
|
|
proto.RegisterType((*GetDepartmentRelatedGroupIDListResp)(nil), "organization.GetDepartmentRelatedGroupIDListResp")
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// Client API for Organization service
|
|
|
|
type OrganizationClient interface {
|
|
CreateDepartment(ctx context.Context, in *CreateDepartmentReq, opts ...grpc.CallOption) (*CreateDepartmentResp, error)
|
|
UpdateDepartment(ctx context.Context, in *UpdateDepartmentReq, opts ...grpc.CallOption) (*UpdateDepartmentResp, error)
|
|
GetSubDepartment(ctx context.Context, in *GetSubDepartmentReq, opts ...grpc.CallOption) (*GetSubDepartmentResp, error)
|
|
DeleteDepartment(ctx context.Context, in *DeleteDepartmentReq, opts ...grpc.CallOption) (*DeleteDepartmentResp, error)
|
|
GetDepartmentParentIDList(ctx context.Context, in *GetDepartmentParentIDListReq, opts ...grpc.CallOption) (*GetDepartmentParentIDListResp, error)
|
|
CreateOrganizationUser(ctx context.Context, in *CreateOrganizationUserReq, opts ...grpc.CallOption) (*CreateOrganizationUserResp, error)
|
|
UpdateOrganizationUser(ctx context.Context, in *UpdateOrganizationUserReq, opts ...grpc.CallOption) (*UpdateOrganizationUserResp, error)
|
|
DeleteOrganizationUser(ctx context.Context, in *DeleteOrganizationUserReq, opts ...grpc.CallOption) (*DeleteOrganizationUserResp, error)
|
|
CreateDepartmentMember(ctx context.Context, in *CreateDepartmentMemberReq, opts ...grpc.CallOption) (*CreateDepartmentMemberResp, error)
|
|
GetUserInDepartment(ctx context.Context, in *GetUserInDepartmentReq, opts ...grpc.CallOption) (*GetUserInDepartmentResp, error)
|
|
DeleteUserInDepartment(ctx context.Context, in *DeleteUserInDepartmentReq, opts ...grpc.CallOption) (*DeleteUserInDepartmentResp, error)
|
|
UpdateUserInDepartment(ctx context.Context, in *UpdateUserInDepartmentReq, opts ...grpc.CallOption) (*UpdateUserInDepartmentResp, error)
|
|
GetDepartmentMember(ctx context.Context, in *GetDepartmentMemberReq, opts ...grpc.CallOption) (*GetDepartmentMemberResp, error)
|
|
GetDepartmentRelatedGroupIDList(ctx context.Context, in *GetDepartmentRelatedGroupIDListReq, opts ...grpc.CallOption) (*GetDepartmentRelatedGroupIDListResp, error)
|
|
}
|
|
|
|
type organizationClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewOrganizationClient(cc *grpc.ClientConn) OrganizationClient {
|
|
return &organizationClient{cc}
|
|
}
|
|
|
|
func (c *organizationClient) CreateDepartment(ctx context.Context, in *CreateDepartmentReq, opts ...grpc.CallOption) (*CreateDepartmentResp, error) {
|
|
out := new(CreateDepartmentResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/CreateDepartment", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) UpdateDepartment(ctx context.Context, in *UpdateDepartmentReq, opts ...grpc.CallOption) (*UpdateDepartmentResp, error) {
|
|
out := new(UpdateDepartmentResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/UpdateDepartment", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) GetSubDepartment(ctx context.Context, in *GetSubDepartmentReq, opts ...grpc.CallOption) (*GetSubDepartmentResp, error) {
|
|
out := new(GetSubDepartmentResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/GetSubDepartment", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) DeleteDepartment(ctx context.Context, in *DeleteDepartmentReq, opts ...grpc.CallOption) (*DeleteDepartmentResp, error) {
|
|
out := new(DeleteDepartmentResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/DeleteDepartment", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) GetDepartmentParentIDList(ctx context.Context, in *GetDepartmentParentIDListReq, opts ...grpc.CallOption) (*GetDepartmentParentIDListResp, error) {
|
|
out := new(GetDepartmentParentIDListResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/GetDepartmentParentIDList", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) CreateOrganizationUser(ctx context.Context, in *CreateOrganizationUserReq, opts ...grpc.CallOption) (*CreateOrganizationUserResp, error) {
|
|
out := new(CreateOrganizationUserResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/CreateOrganizationUser", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) UpdateOrganizationUser(ctx context.Context, in *UpdateOrganizationUserReq, opts ...grpc.CallOption) (*UpdateOrganizationUserResp, error) {
|
|
out := new(UpdateOrganizationUserResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/UpdateOrganizationUser", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) DeleteOrganizationUser(ctx context.Context, in *DeleteOrganizationUserReq, opts ...grpc.CallOption) (*DeleteOrganizationUserResp, error) {
|
|
out := new(DeleteOrganizationUserResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/DeleteOrganizationUser", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) CreateDepartmentMember(ctx context.Context, in *CreateDepartmentMemberReq, opts ...grpc.CallOption) (*CreateDepartmentMemberResp, error) {
|
|
out := new(CreateDepartmentMemberResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/CreateDepartmentMember", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) GetUserInDepartment(ctx context.Context, in *GetUserInDepartmentReq, opts ...grpc.CallOption) (*GetUserInDepartmentResp, error) {
|
|
out := new(GetUserInDepartmentResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/GetUserInDepartment", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) DeleteUserInDepartment(ctx context.Context, in *DeleteUserInDepartmentReq, opts ...grpc.CallOption) (*DeleteUserInDepartmentResp, error) {
|
|
out := new(DeleteUserInDepartmentResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/DeleteUserInDepartment", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) UpdateUserInDepartment(ctx context.Context, in *UpdateUserInDepartmentReq, opts ...grpc.CallOption) (*UpdateUserInDepartmentResp, error) {
|
|
out := new(UpdateUserInDepartmentResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/UpdateUserInDepartment", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) GetDepartmentMember(ctx context.Context, in *GetDepartmentMemberReq, opts ...grpc.CallOption) (*GetDepartmentMemberResp, error) {
|
|
out := new(GetDepartmentMemberResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/GetDepartmentMember", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *organizationClient) GetDepartmentRelatedGroupIDList(ctx context.Context, in *GetDepartmentRelatedGroupIDListReq, opts ...grpc.CallOption) (*GetDepartmentRelatedGroupIDListResp, error) {
|
|
out := new(GetDepartmentRelatedGroupIDListResp)
|
|
err := grpc.Invoke(ctx, "/organization.organization/GetDepartmentRelatedGroupIDList", in, out, c.cc, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// Server API for Organization service
|
|
|
|
type OrganizationServer interface {
|
|
CreateDepartment(context.Context, *CreateDepartmentReq) (*CreateDepartmentResp, error)
|
|
UpdateDepartment(context.Context, *UpdateDepartmentReq) (*UpdateDepartmentResp, error)
|
|
GetSubDepartment(context.Context, *GetSubDepartmentReq) (*GetSubDepartmentResp, error)
|
|
DeleteDepartment(context.Context, *DeleteDepartmentReq) (*DeleteDepartmentResp, error)
|
|
GetDepartmentParentIDList(context.Context, *GetDepartmentParentIDListReq) (*GetDepartmentParentIDListResp, error)
|
|
CreateOrganizationUser(context.Context, *CreateOrganizationUserReq) (*CreateOrganizationUserResp, error)
|
|
UpdateOrganizationUser(context.Context, *UpdateOrganizationUserReq) (*UpdateOrganizationUserResp, error)
|
|
DeleteOrganizationUser(context.Context, *DeleteOrganizationUserReq) (*DeleteOrganizationUserResp, error)
|
|
CreateDepartmentMember(context.Context, *CreateDepartmentMemberReq) (*CreateDepartmentMemberResp, error)
|
|
GetUserInDepartment(context.Context, *GetUserInDepartmentReq) (*GetUserInDepartmentResp, error)
|
|
DeleteUserInDepartment(context.Context, *DeleteUserInDepartmentReq) (*DeleteUserInDepartmentResp, error)
|
|
UpdateUserInDepartment(context.Context, *UpdateUserInDepartmentReq) (*UpdateUserInDepartmentResp, error)
|
|
GetDepartmentMember(context.Context, *GetDepartmentMemberReq) (*GetDepartmentMemberResp, error)
|
|
GetDepartmentRelatedGroupIDList(context.Context, *GetDepartmentRelatedGroupIDListReq) (*GetDepartmentRelatedGroupIDListResp, error)
|
|
}
|
|
|
|
func RegisterOrganizationServer(s *grpc.Server, srv OrganizationServer) {
|
|
s.RegisterService(&_Organization_serviceDesc, srv)
|
|
}
|
|
|
|
func _Organization_CreateDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateDepartmentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).CreateDepartment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/CreateDepartment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).CreateDepartment(ctx, req.(*CreateDepartmentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_UpdateDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateDepartmentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).UpdateDepartment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/UpdateDepartment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).UpdateDepartment(ctx, req.(*UpdateDepartmentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_GetSubDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetSubDepartmentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).GetSubDepartment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/GetSubDepartment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetSubDepartment(ctx, req.(*GetSubDepartmentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_DeleteDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteDepartmentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).DeleteDepartment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/DeleteDepartment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).DeleteDepartment(ctx, req.(*DeleteDepartmentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_GetDepartmentParentIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetDepartmentParentIDListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).GetDepartmentParentIDList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/GetDepartmentParentIDList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetDepartmentParentIDList(ctx, req.(*GetDepartmentParentIDListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_CreateOrganizationUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateOrganizationUserReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).CreateOrganizationUser(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/CreateOrganizationUser",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).CreateOrganizationUser(ctx, req.(*CreateOrganizationUserReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_UpdateOrganizationUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateOrganizationUserReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).UpdateOrganizationUser(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/UpdateOrganizationUser",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).UpdateOrganizationUser(ctx, req.(*UpdateOrganizationUserReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_DeleteOrganizationUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteOrganizationUserReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).DeleteOrganizationUser(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/DeleteOrganizationUser",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).DeleteOrganizationUser(ctx, req.(*DeleteOrganizationUserReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_CreateDepartmentMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateDepartmentMemberReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).CreateDepartmentMember(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/CreateDepartmentMember",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).CreateDepartmentMember(ctx, req.(*CreateDepartmentMemberReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_GetUserInDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserInDepartmentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).GetUserInDepartment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/GetUserInDepartment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetUserInDepartment(ctx, req.(*GetUserInDepartmentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_DeleteUserInDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteUserInDepartmentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).DeleteUserInDepartment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/DeleteUserInDepartment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).DeleteUserInDepartment(ctx, req.(*DeleteUserInDepartmentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_UpdateUserInDepartment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateUserInDepartmentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).UpdateUserInDepartment(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/UpdateUserInDepartment",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).UpdateUserInDepartment(ctx, req.(*UpdateUserInDepartmentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_GetDepartmentMember_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetDepartmentMemberReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).GetDepartmentMember(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/GetDepartmentMember",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetDepartmentMember(ctx, req.(*GetDepartmentMemberReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _Organization_GetDepartmentRelatedGroupIDList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetDepartmentRelatedGroupIDListReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(OrganizationServer).GetDepartmentRelatedGroupIDList(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/organization.organization/GetDepartmentRelatedGroupIDList",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(OrganizationServer).GetDepartmentRelatedGroupIDList(ctx, req.(*GetDepartmentRelatedGroupIDListReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _Organization_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "organization.organization",
|
|
HandlerType: (*OrganizationServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "CreateDepartment",
|
|
Handler: _Organization_CreateDepartment_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateDepartment",
|
|
Handler: _Organization_UpdateDepartment_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetSubDepartment",
|
|
Handler: _Organization_GetSubDepartment_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteDepartment",
|
|
Handler: _Organization_DeleteDepartment_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDepartmentParentIDList",
|
|
Handler: _Organization_GetDepartmentParentIDList_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateOrganizationUser",
|
|
Handler: _Organization_CreateOrganizationUser_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateOrganizationUser",
|
|
Handler: _Organization_UpdateOrganizationUser_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteOrganizationUser",
|
|
Handler: _Organization_DeleteOrganizationUser_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateDepartmentMember",
|
|
Handler: _Organization_CreateDepartmentMember_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUserInDepartment",
|
|
Handler: _Organization_GetUserInDepartment_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteUserInDepartment",
|
|
Handler: _Organization_DeleteUserInDepartment_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateUserInDepartment",
|
|
Handler: _Organization_UpdateUserInDepartment_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDepartmentMember",
|
|
Handler: _Organization_GetDepartmentMember_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDepartmentRelatedGroupIDList",
|
|
Handler: _Organization_GetDepartmentRelatedGroupIDList_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "organization/organization.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("organization/organization.proto", fileDescriptor_organization_2845c40b2de0bcf0)
|
|
}
|
|
|
|
var fileDescriptor_organization_2845c40b2de0bcf0 = []byte{
|
|
// 869 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x4f, 0x13, 0x41,
|
|
0x14, 0xcf, 0x52, 0x44, 0x78, 0x25, 0xa6, 0x19, 0x48, 0x6d, 0x57, 0x91, 0xb2, 0x40, 0x68, 0x30,
|
|
0x69, 0x15, 0x8f, 0xde, 0xa4, 0xa6, 0x34, 0x11, 0x6b, 0xd6, 0x70, 0xc0, 0x4b, 0xb3, 0xb5, 0x63,
|
|
0xd3, 0x14, 0xba, 0xc3, 0xcc, 0x56, 0x22, 0x1f, 0xc0, 0xab, 0x27, 0x2f, 0xc6, 0x4f, 0xe0, 0xc9,
|
|
0xcf, 0xe1, 0xc5, 0xaf, 0x64, 0x76, 0xb7, 0xb4, 0xb3, 0x33, 0x6f, 0xdb, 0xb2, 0x2d, 0x86, 0xe3,
|
|
0xbc, 0x9d, 0xf9, 0xbd, 0xf7, 0x7e, 0x6f, 0xe6, 0xfd, 0x59, 0xd8, 0x74, 0x79, 0xdb, 0xe9, 0x75,
|
|
0xae, 0x1c, 0xaf, 0xe3, 0xf6, 0xca, 0xf2, 0xa2, 0xc4, 0xb8, 0xeb, 0xb9, 0x64, 0x55, 0x96, 0x99,
|
|
0x5b, 0x75, 0x46, 0x7b, 0x8d, 0xda, 0x71, 0x99, 0x75, 0xdb, 0xe5, 0x60, 0x43, 0x59, 0xb4, 0xba,
|
|
0x8d, 0x4b, 0x51, 0xbe, 0x14, 0xe1, 0x01, 0xeb, 0x87, 0x01, 0x6b, 0x87, 0x9c, 0x3a, 0x1e, 0xad,
|
|
0x50, 0xe6, 0x70, 0xef, 0x9c, 0xf6, 0x3c, 0x9b, 0x5e, 0x90, 0xd7, 0xf0, 0xa0, 0x35, 0x14, 0xd4,
|
|
0x7a, 0x9f, 0xdc, 0x9c, 0x51, 0x30, 0x8a, 0xe9, 0x83, 0x8d, 0x92, 0xa0, 0xfc, 0x33, 0xe5, 0x0d,
|
|
0x87, 0x75, 0x1a, 0xcc, 0xe1, 0xce, 0xb9, 0x28, 0x49, 0x27, 0x95, 0x43, 0xa4, 0x00, 0x69, 0x97,
|
|
0x51, 0x1e, 0x98, 0x53, 0xab, 0xe4, 0x16, 0x0a, 0x46, 0x71, 0xc5, 0x96, 0x45, 0xc4, 0x84, 0x65,
|
|
0x97, 0x9d, 0x08, 0xca, 0x6b, 0x95, 0x5c, 0x2a, 0xf8, 0x3c, 0x5c, 0x5b, 0xdf, 0x0c, 0x58, 0xd7,
|
|
0x8d, 0x13, 0x8c, 0xe4, 0xe0, 0x3e, 0xe5, 0xfc, 0xd0, 0x6d, 0xd1, 0xc0, 0xac, 0x7b, 0xf6, 0xf5,
|
|
0x92, 0x64, 0x61, 0x89, 0x72, 0x7e, 0x2c, 0xda, 0x03, 0x5d, 0x83, 0x15, 0xe2, 0x4f, 0x2a, 0x81,
|
|
0x3f, 0x01, 0x5d, 0x27, 0xac, 0x75, 0x37, 0xe9, 0x3a, 0x82, 0x75, 0xdd, 0xb6, 0x24, 0x6c, 0x59,
|
|
0x97, 0xb0, 0x56, 0xa5, 0xde, 0xfb, 0x7e, 0x33, 0xea, 0xa5, 0x05, 0xab, 0x92, 0xc1, 0x95, 0x00,
|
|
0x6d, 0xc5, 0x8e, 0xc8, 0xe6, 0x10, 0x71, 0x5d, 0xf3, 0xec, 0x11, 0x7f, 0xd3, 0x11, 0x5e, 0x2e,
|
|
0x55, 0x48, 0xdd, 0x28, 0x24, 0xfe, 0x21, 0x9f, 0x8a, 0x0a, 0x3d, 0xa3, 0x6a, 0xc0, 0x6f, 0x9f,
|
|
0x8a, 0x23, 0x58, 0xd7, 0x15, 0x27, 0x8a, 0x66, 0x0b, 0x1e, 0x57, 0xa9, 0x37, 0x82, 0x79, 0xe7,
|
|
0xf0, 0xc0, 0x40, 0xdf, 0xbf, 0xb9, 0xf9, 0x62, 0xf5, 0x61, 0x63, 0x8c, 0x96, 0x44, 0x21, 0xb4,
|
|
0x60, 0x95, 0x49, 0x28, 0x41, 0x00, 0x57, 0xec, 0x88, 0xcc, 0xfa, 0x63, 0x40, 0x3e, 0xcc, 0x11,
|
|
0x75, 0x29, 0xf5, 0xf9, 0x1c, 0xfa, 0xae, 0xd5, 0x21, 0xe3, 0x2a, 0xe2, 0xc1, 0xcb, 0xdc, 0x46,
|
|
0xae, 0x81, 0x86, 0xa0, 0x1d, 0x9e, 0x2d, 0xa6, 0xe4, 0x09, 0x40, 0x4d, 0xd8, 0xb4, 0xdd, 0x11,
|
|
0x1e, 0xe5, 0xb9, 0xc5, 0x82, 0x51, 0x5c, 0xb6, 0x25, 0x89, 0xf5, 0x16, 0xcc, 0x38, 0x5f, 0x12,
|
|
0x45, 0xfe, 0x97, 0x01, 0xf9, 0x30, 0x25, 0xdc, 0x7d, 0x72, 0x7c, 0xe7, 0xe3, 0x6c, 0x4d, 0xec,
|
|
0xbc, 0x5a, 0x3d, 0x8e, 0xe9, 0x79, 0x73, 0xe8, 0x7c, 0x4b, 0x11, 0x8f, 0x71, 0x5e, 0x43, 0xd0,
|
|
0x0e, 0xcf, 0xee, 0x7c, 0x9c, 0xad, 0x89, 0x9c, 0xef, 0x41, 0xb6, 0x4a, 0xbd, 0x00, 0xbc, 0x17,
|
|
0xcd, 0x5c, 0x59, 0x58, 0xea, 0x87, 0x36, 0x84, 0xef, 0x7c, 0xb0, 0x9a, 0xd1, 0xfe, 0x9f, 0x06,
|
|
0x3c, 0x44, 0x15, 0x26, 0x7a, 0xf8, 0x75, 0xc8, 0xf4, 0x15, 0xa4, 0x41, 0xbd, 0xc6, 0x82, 0xa3,
|
|
0x29, 0xd5, 0x0e, 0x4b, 0x0f, 0x01, 0xa3, 0xe4, 0xee, 0xdd, 0x85, 0x38, 0x5b, 0x13, 0xdd, 0x85,
|
|
0xef, 0x06, 0xe4, 0xc3, 0x52, 0xf2, 0xdf, 0xee, 0x83, 0x56, 0x53, 0x16, 0xf5, 0x9a, 0xe2, 0xfb,
|
|
0x19, 0x67, 0x56, 0x22, 0x3f, 0x2f, 0xae, 0xdd, 0xc4, 0x92, 0xdd, 0xed, 0x5c, 0xfb, 0xa1, 0x0b,
|
|
0x73, 0xca, 0x59, 0x57, 0xc1, 0xb3, 0xc5, 0xf2, 0xd5, 0xed, 0x37, 0x1c, 0xbf, 0xc3, 0x27, 0x3c,
|
|
0x9f, 0x04, 0x44, 0x3e, 0x42, 0xce, 0x67, 0x58, 0x45, 0x93, 0x1a, 0xb1, 0xbd, 0x98, 0xa7, 0xac,
|
|
0x19, 0x10, 0x0b, 0x64, 0x71, 0xb0, 0x22, 0x16, 0xdb, 0xf4, 0xcc, 0xf1, 0x68, 0xab, 0xca, 0xdd,
|
|
0x3e, 0x1b, 0xf5, 0x37, 0x0a, 0x2d, 0x86, 0x4e, 0xcb, 0xbe, 0x9c, 0x00, 0x06, 0xcd, 0xc6, 0x42,
|
|
0xd0, 0x6c, 0x68, 0x72, 0xeb, 0x0b, 0x6c, 0x4f, 0xd4, 0x99, 0x88, 0xb1, 0x02, 0xa4, 0xdb, 0x23,
|
|
0x90, 0x41, 0xb3, 0x23, 0x8b, 0x0e, 0xfe, 0xa6, 0x21, 0x32, 0xe0, 0x91, 0x53, 0xc8, 0xa8, 0x55,
|
|
0x83, 0x6c, 0x95, 0x22, 0x73, 0x21, 0x32, 0xdc, 0x99, 0xd6, 0xa4, 0x2d, 0x82, 0xf9, 0xd0, 0xea,
|
|
0x30, 0xa1, 0x42, 0x23, 0x83, 0x90, 0x0a, 0x8d, 0xce, 0x23, 0xa7, 0x90, 0x51, 0x7b, 0x7c, 0x15,
|
|
0x1a, 0x99, 0x3e, 0x54, 0x68, 0x74, 0x4c, 0x38, 0x85, 0x8c, 0xda, 0x34, 0xab, 0xd0, 0x48, 0x37,
|
|
0xaf, 0x42, 0xa3, 0x7d, 0xb7, 0x07, 0xf9, 0xd8, 0xfe, 0x96, 0xec, 0x6b, 0xb6, 0xc5, 0xb6, 0xdb,
|
|
0xe6, 0xd3, 0xa9, 0xf7, 0x0a, 0x46, 0xba, 0x90, 0xc5, 0x3b, 0x42, 0xb2, 0x87, 0x05, 0x11, 0xc9,
|
|
0x7c, 0x66, 0x71, 0xba, 0x8d, 0xa1, 0x32, 0xbc, 0x03, 0x53, 0x95, 0xc5, 0xf6, 0x94, 0xaa, 0xb2,
|
|
0x31, 0x0d, 0x5d, 0x17, 0xb2, 0x78, 0xea, 0x54, 0x95, 0xc5, 0xe6, 0x74, 0x55, 0xd9, 0x98, 0x4c,
|
|
0x3c, 0xa4, 0x51, 0x4d, 0x23, 0x38, 0x8d, 0x48, 0x02, 0xc6, 0x69, 0x44, 0x93, 0x65, 0x33, 0x98,
|
|
0x9e, 0xd5, 0xa2, 0x46, 0x76, 0xb4, 0xb8, 0x23, 0xe5, 0xd8, 0xdc, 0x9d, 0x62, 0x97, 0xcc, 0x9e,
|
|
0xa6, 0x06, 0x65, 0x0f, 0xd3, 0x54, 0x9c, 0x6e, 0xa3, 0x7c, 0x2f, 0x26, 0x29, 0x8b, 0x6d, 0xb1,
|
|
0xf0, 0x7b, 0x81, 0x2a, 0x0b, 0xd9, 0xd3, 0xe2, 0xb4, 0x33, 0xe6, 0xd5, 0x8c, 0x82, 0xb4, 0x3b,
|
|
0xc5, 0x2e, 0xc1, 0xc8, 0x57, 0x03, 0x36, 0x27, 0x24, 0x71, 0xf2, 0x6c, 0x0c, 0x14, 0x5a, 0x67,
|
|
0xcc, 0xe7, 0x37, 0x3c, 0x21, 0xd8, 0xab, 0x8d, 0x0f, 0x8f, 0x4a, 0x91, 0xff, 0x78, 0x2f, 0xe5,
|
|
0x45, 0x73, 0x29, 0xf8, 0x49, 0xf7, 0xe2, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xff, 0x09,
|
|
0x1d, 0xf8, 0x13, 0x00, 0x00,
|
|
}
|