cpluspb

package
v0.0.0-...-fc2ebe8 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CPlusClient_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cpluspb.cPlusClient",
	HandlerType: (*CPlusClientServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCPlusUser",
			Handler:    _CPlusClient_GetCPlusUser_Handler,
		},
		{
			MethodName: "GetCPlusProject",
			Handler:    _CPlusClient_GetCPlusProject_Handler,
		},
		{
			MethodName: "AssignCPlusUserProjectRole",
			Handler:    _CPlusClient_AssignCPlusUserProjectRole_Handler,
		},
		{
			MethodName: "BatchAssignCPlusUserProjectRole",
			Handler:    _CPlusClient_BatchAssignCPlusUserProjectRole_Handler,
		},
		{
			MethodName: "UnlockCPlusUser",
			Handler:    _CPlusClient_UnlockCPlusUser_Handler,
		},
		{
			MethodName: "GetWeworkUser",
			Handler:    _CPlusClient_GetWeworkUser_Handler,
		},
		{
			MethodName: "DisableWeworkUser",
			Handler:    _CPlusClient_DisableWeworkUser_Handler,
		},
		{
			MethodName: "RenewalWeworkUser",
			Handler:    _CPlusClient_RenewalWeworkUser_Handler,
		},
		{
			MethodName: "AddWeworkUser",
			Handler:    _CPlusClient_AddWeworkUser_Handler,
		},
		{
			MethodName: "AddWeworkUserRollback",
			Handler:    _CPlusClient_AddWeworkUserRollback_Handler,
		},
		{
			MethodName: "DelWeworkUser",
			Handler:    _CPlusClient_DelWeworkUser_Handler,
		},
		{
			MethodName: "BatchAddWeworkUser",
			Handler:    _CPlusClient_BatchAddWeworkUser_Handler,
		},
		{
			MethodName: "CacheAllWeworkUser",
			Handler:    _CPlusClient_CacheAllWeworkUser_Handler,
		},
		{
			MethodName: "MediaGet",
			Handler:    _CPlusClient_MediaGet_Handler,
		},
		{
			MethodName: "AddVolcUser",
			Handler:    _CPlusClient_AddVolcUser_Handler,
		},
		{
			MethodName: "DelVolcUser",
			Handler:    _CPlusClient_DelVolcUser_Handler,
		},
		{
			MethodName: "GetVolcUser",
			Handler:    _CPlusClient_GetVolcUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cplus.proto",
}

CPlusClient_ServiceDesc is the grpc.ServiceDesc for CPlusClient service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_cplus_proto protoreflect.FileDescriptor

Functions

func RegisterCPlusClientServer

func RegisterCPlusClientServer(s grpc.ServiceRegistrar, srv CPlusClientServer)

Types

type AddVolcUserReq

type AddVolcUserReq struct {
	UserName    string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	MobilePhone string `protobuf:"bytes,3,opt,name=mobilePhone,proto3" json:"mobilePhone,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Pwd         string `protobuf:"bytes,5,opt,name=pwd,proto3" json:"pwd,omitempty"`
	// contains filtered or unexported fields
}

func (*AddVolcUserReq) Descriptor deprecated

func (*AddVolcUserReq) Descriptor() ([]byte, []int)

Deprecated: Use AddVolcUserReq.ProtoReflect.Descriptor instead.

func (*AddVolcUserReq) GetDisplayName

func (x *AddVolcUserReq) GetDisplayName() string

func (*AddVolcUserReq) GetEmail

func (x *AddVolcUserReq) GetEmail() string

func (*AddVolcUserReq) GetMobilePhone

func (x *AddVolcUserReq) GetMobilePhone() string

func (*AddVolcUserReq) GetPwd

func (x *AddVolcUserReq) GetPwd() string

func (*AddVolcUserReq) GetUserName

func (x *AddVolcUserReq) GetUserName() string

func (*AddVolcUserReq) ProtoMessage

func (*AddVolcUserReq) ProtoMessage()

func (*AddVolcUserReq) ProtoReflect

func (x *AddVolcUserReq) ProtoReflect() protoreflect.Message

func (*AddVolcUserReq) Reset

func (x *AddVolcUserReq) Reset()

func (*AddVolcUserReq) String

func (x *AddVolcUserReq) String() string

type AddVolcUserResp

type AddVolcUserResp struct {
	Code   uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*AddVolcUserResp) Descriptor deprecated

func (*AddVolcUserResp) Descriptor() ([]byte, []int)

Deprecated: Use AddVolcUserResp.ProtoReflect.Descriptor instead.

func (*AddVolcUserResp) GetCode

func (x *AddVolcUserResp) GetCode() uint32

func (*AddVolcUserResp) GetErrMsg

func (x *AddVolcUserResp) GetErrMsg() string

func (*AddVolcUserResp) ProtoMessage

func (*AddVolcUserResp) ProtoMessage()

func (*AddVolcUserResp) ProtoReflect

func (x *AddVolcUserResp) ProtoReflect() protoreflect.Message

func (*AddVolcUserResp) Reset

func (x *AddVolcUserResp) Reset()

func (*AddVolcUserResp) String

func (x *AddVolcUserResp) String() string

type AddWeworkUserReq

type AddWeworkUserReq struct {
	Eid     string `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Mail    string `protobuf:"bytes,3,opt,name=mail,proto3" json:"mail,omitempty"`
	Mobile  string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"`
	Depart  string `protobuf:"bytes,6,opt,name=depart,proto3" json:"depart,omitempty"`
	// contains filtered or unexported fields
}

用户新增

func (*AddWeworkUserReq) Descriptor deprecated

func (*AddWeworkUserReq) Descriptor() ([]byte, []int)

Deprecated: Use AddWeworkUserReq.ProtoReflect.Descriptor instead.

func (*AddWeworkUserReq) GetCompany

func (x *AddWeworkUserReq) GetCompany() string

func (*AddWeworkUserReq) GetDepart

func (x *AddWeworkUserReq) GetDepart() string

func (*AddWeworkUserReq) GetEid

func (x *AddWeworkUserReq) GetEid() string

func (*AddWeworkUserReq) GetMail

func (x *AddWeworkUserReq) GetMail() string

func (*AddWeworkUserReq) GetMobile

func (x *AddWeworkUserReq) GetMobile() string

func (*AddWeworkUserReq) GetName

func (x *AddWeworkUserReq) GetName() string

func (*AddWeworkUserReq) ProtoMessage

func (*AddWeworkUserReq) ProtoMessage()

func (*AddWeworkUserReq) ProtoReflect

func (x *AddWeworkUserReq) ProtoReflect() protoreflect.Message

func (*AddWeworkUserReq) Reset

func (x *AddWeworkUserReq) Reset()

func (*AddWeworkUserReq) String

func (x *AddWeworkUserReq) String() string

type AddWeworkUserResp

type AddWeworkUserResp struct {
	Code       uint32            `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg     string            `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	WeworkUser *WeworkUserFields `protobuf:"bytes,3,opt,name=weworkUser,proto3" json:"weworkUser,omitempty"`
	// contains filtered or unexported fields
}

func (*AddWeworkUserResp) Descriptor deprecated

func (*AddWeworkUserResp) Descriptor() ([]byte, []int)

Deprecated: Use AddWeworkUserResp.ProtoReflect.Descriptor instead.

func (*AddWeworkUserResp) GetCode

func (x *AddWeworkUserResp) GetCode() uint32

func (*AddWeworkUserResp) GetErrMsg

func (x *AddWeworkUserResp) GetErrMsg() string

func (*AddWeworkUserResp) GetWeworkUser

func (x *AddWeworkUserResp) GetWeworkUser() *WeworkUserFields

func (*AddWeworkUserResp) ProtoMessage

func (*AddWeworkUserResp) ProtoMessage()

func (*AddWeworkUserResp) ProtoReflect

func (x *AddWeworkUserResp) ProtoReflect() protoreflect.Message

func (*AddWeworkUserResp) Reset

func (x *AddWeworkUserResp) Reset()

func (*AddWeworkUserResp) String

func (x *AddWeworkUserResp) String() string

type AssignCPlusUserProjectRoleReq

type AssignCPlusUserProjectRoleReq struct {
	Eid      string          `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name     string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Projects []*SingeProject `protobuf:"bytes,3,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

AssignCPlusUserProjectRoleReq 单个用户分配项目请求

func (*AssignCPlusUserProjectRoleReq) Descriptor deprecated

func (*AssignCPlusUserProjectRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use AssignCPlusUserProjectRoleReq.ProtoReflect.Descriptor instead.

func (*AssignCPlusUserProjectRoleReq) GetEid

func (*AssignCPlusUserProjectRoleReq) GetName

func (*AssignCPlusUserProjectRoleReq) GetProjects

func (x *AssignCPlusUserProjectRoleReq) GetProjects() []*SingeProject

func (*AssignCPlusUserProjectRoleReq) ProtoMessage

func (*AssignCPlusUserProjectRoleReq) ProtoMessage()

func (*AssignCPlusUserProjectRoleReq) ProtoReflect

func (*AssignCPlusUserProjectRoleReq) Reset

func (x *AssignCPlusUserProjectRoleReq) Reset()

func (*AssignCPlusUserProjectRoleReq) String

type AssignCPlusUserProjectRoleResp

type AssignCPlusUserProjectRoleResp struct {
	Code     uint32          `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg   string          `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	Eid      string          `protobuf:"bytes,3,opt,name=eid,proto3" json:"eid,omitempty"`
	Name     string          `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Projects []*SingeProject `protobuf:"bytes,5,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

AssignCPlusUserProjectRoleResp 单个分配响应

func (*AssignCPlusUserProjectRoleResp) Descriptor deprecated

func (*AssignCPlusUserProjectRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use AssignCPlusUserProjectRoleResp.ProtoReflect.Descriptor instead.

func (*AssignCPlusUserProjectRoleResp) GetCode

func (*AssignCPlusUserProjectRoleResp) GetEid

func (*AssignCPlusUserProjectRoleResp) GetErrMsg

func (x *AssignCPlusUserProjectRoleResp) GetErrMsg() string

func (*AssignCPlusUserProjectRoleResp) GetName

func (*AssignCPlusUserProjectRoleResp) GetProjects

func (x *AssignCPlusUserProjectRoleResp) GetProjects() []*SingeProject

func (*AssignCPlusUserProjectRoleResp) ProtoMessage

func (*AssignCPlusUserProjectRoleResp) ProtoMessage()

func (*AssignCPlusUserProjectRoleResp) ProtoReflect

func (*AssignCPlusUserProjectRoleResp) Reset

func (x *AssignCPlusUserProjectRoleResp) Reset()

func (*AssignCPlusUserProjectRoleResp) String

type BatchAddWeworkUserReq

type BatchAddWeworkUserReq struct {
	User []*AddWeworkUserReq `protobuf:"bytes,1,rep,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

用户批量新增

func (*BatchAddWeworkUserReq) Descriptor deprecated

func (*BatchAddWeworkUserReq) Descriptor() ([]byte, []int)

Deprecated: Use BatchAddWeworkUserReq.ProtoReflect.Descriptor instead.

func (*BatchAddWeworkUserReq) GetUser

func (x *BatchAddWeworkUserReq) GetUser() []*AddWeworkUserReq

func (*BatchAddWeworkUserReq) ProtoMessage

func (*BatchAddWeworkUserReq) ProtoMessage()

func (*BatchAddWeworkUserReq) ProtoReflect

func (x *BatchAddWeworkUserReq) ProtoReflect() protoreflect.Message

func (*BatchAddWeworkUserReq) Reset

func (x *BatchAddWeworkUserReq) Reset()

func (*BatchAddWeworkUserReq) String

func (x *BatchAddWeworkUserReq) String() string

type BatchAddWeworkUserResp

type BatchAddWeworkUserResp struct {
	Resp []*AddWeworkUserResp `protobuf:"bytes,1,rep,name=resp,proto3" json:"resp,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchAddWeworkUserResp) Descriptor deprecated

func (*BatchAddWeworkUserResp) Descriptor() ([]byte, []int)

Deprecated: Use BatchAddWeworkUserResp.ProtoReflect.Descriptor instead.

func (*BatchAddWeworkUserResp) GetResp

func (x *BatchAddWeworkUserResp) GetResp() []*AddWeworkUserResp

func (*BatchAddWeworkUserResp) ProtoMessage

func (*BatchAddWeworkUserResp) ProtoMessage()

func (*BatchAddWeworkUserResp) ProtoReflect

func (x *BatchAddWeworkUserResp) ProtoReflect() protoreflect.Message

func (*BatchAddWeworkUserResp) Reset

func (x *BatchAddWeworkUserResp) Reset()

func (*BatchAddWeworkUserResp) String

func (x *BatchAddWeworkUserResp) String() string

type BatchAssignCPlusUserProjectRoleReq

type BatchAssignCPlusUserProjectRoleReq struct {
	User []*AssignCPlusUserProjectRoleReq `protobuf:"bytes,1,rep,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

BatchAssignCPlusUserProjectRoleReq 批量用户分配项目请求

func (*BatchAssignCPlusUserProjectRoleReq) Descriptor deprecated

func (*BatchAssignCPlusUserProjectRoleReq) Descriptor() ([]byte, []int)

Deprecated: Use BatchAssignCPlusUserProjectRoleReq.ProtoReflect.Descriptor instead.

func (*BatchAssignCPlusUserProjectRoleReq) GetUser

func (*BatchAssignCPlusUserProjectRoleReq) ProtoMessage

func (*BatchAssignCPlusUserProjectRoleReq) ProtoMessage()

func (*BatchAssignCPlusUserProjectRoleReq) ProtoReflect

func (*BatchAssignCPlusUserProjectRoleReq) Reset

func (*BatchAssignCPlusUserProjectRoleReq) String

type BatchAssignCPlusUserProjectRoleResp

type BatchAssignCPlusUserProjectRoleResp struct {
	Resp []*AssignCPlusUserProjectRoleResp `protobuf:"bytes,3,rep,name=resp,proto3" json:"resp,omitempty"`
	// contains filtered or unexported fields
}

BatchAssignCPlusUserProjectRoleResp 批量分配响应

func (*BatchAssignCPlusUserProjectRoleResp) Descriptor deprecated

func (*BatchAssignCPlusUserProjectRoleResp) Descriptor() ([]byte, []int)

Deprecated: Use BatchAssignCPlusUserProjectRoleResp.ProtoReflect.Descriptor instead.

func (*BatchAssignCPlusUserProjectRoleResp) GetResp

func (*BatchAssignCPlusUserProjectRoleResp) ProtoMessage

func (*BatchAssignCPlusUserProjectRoleResp) ProtoMessage()

func (*BatchAssignCPlusUserProjectRoleResp) ProtoReflect

func (*BatchAssignCPlusUserProjectRoleResp) Reset

func (*BatchAssignCPlusUserProjectRoleResp) String

type CPlusClientClient

type CPlusClientClient interface {
	// GetCPlusUser 用户单个获取
	GetCPlusUser(ctx context.Context, in *GetCPlusUserReq, opts ...grpc.CallOption) (*GetCPlusUserResp, error)
	// GetCPlusProject 项目单个获取
	GetCPlusProject(ctx context.Context, in *GetCPlusProjectReq, opts ...grpc.CallOption) (*GetCPlusProjectResp, error)
	// AssignCPlusUserProjectRole 用户分配项目角色
	AssignCPlusUserProjectRole(ctx context.Context, in *AssignCPlusUserProjectRoleReq, opts ...grpc.CallOption) (*AssignCPlusUserProjectRoleResp, error)
	// BatchAssignCPlusUserProjectRole 批量用户分配项目角色
	BatchAssignCPlusUserProjectRole(ctx context.Context, in *BatchAssignCPlusUserProjectRoleReq, opts ...grpc.CallOption) (*BatchAssignCPlusUserProjectRoleResp, error)
	// UnlockCPlusUser 解锁c7n用户
	UnlockCPlusUser(ctx context.Context, in *UnlockCPlusUserReq, opts ...grpc.CallOption) (*UnlockCPlusUserResp, error)
	// GetWeworkUser 企业微信用户单个获取
	GetWeworkUser(ctx context.Context, in *GetWeworkUserReq, opts ...grpc.CallOption) (*GetWeworkUserResp, error)
	// DisableWeworkUser 禁用企业微信用户
	DisableWeworkUser(ctx context.Context, in *DisableWeworkUserReq, opts ...grpc.CallOption) (*DisableWeworkUserResp, error)
	// RenewalWeworkUser 续期企微用户
	RenewalWeworkUser(ctx context.Context, in *RenewalWeworkUserReq, opts ...grpc.CallOption) (*RenewalWeworkUserResp, error)
	// AddWeworkUser 企微用户新增
	AddWeworkUser(ctx context.Context, in *AddWeworkUserReq, opts ...grpc.CallOption) (*AddWeworkUserResp, error)
	// AddWeworkUserRollback 企微用户新增回退
	AddWeworkUserRollback(ctx context.Context, in *AddWeworkUserReq, opts ...grpc.CallOption) (*AddWeworkUserResp, error)
	// DelWeworkUser 企微用户删除
	DelWeworkUser(ctx context.Context, in *DelWeworkUserReq, opts ...grpc.CallOption) (*DelWeworkUserResp, error)
	// BatchAddWeworkUser 企微用户批量新增
	BatchAddWeworkUser(ctx context.Context, in *BatchAddWeworkUserReq, opts ...grpc.CallOption) (*BatchAddWeworkUserResp, error)
	// CacheAllWeworkUser 更新全部企微用户缓存
	CacheAllWeworkUser(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*CacheAllWeworkUserResp, error)
	// MediaGet 获取文件内容
	MediaGet(ctx context.Context, in *MediaGetReq, opts ...grpc.CallOption) (*MediaGetResp, error)
	// AddVolcUser 新增端侧用户
	AddVolcUser(ctx context.Context, in *AddVolcUserReq, opts ...grpc.CallOption) (*AddVolcUserResp, error)
	// DelVolcUser 删除端侧用户
	DelVolcUser(ctx context.Context, in *DelVolcUserReq, opts ...grpc.CallOption) (*DelVolcUserResp, error)
	// GetVolcUser 查询端侧用户
	GetVolcUser(ctx context.Context, in *GetVolcUserReq, opts ...grpc.CallOption) (*GetVolcUserResp, error)
}

CPlusClientClient is the client API for CPlusClient 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 CPlusClientServer

type CPlusClientServer interface {
	// GetCPlusUser 用户单个获取
	GetCPlusUser(context.Context, *GetCPlusUserReq) (*GetCPlusUserResp, error)
	// GetCPlusProject 项目单个获取
	GetCPlusProject(context.Context, *GetCPlusProjectReq) (*GetCPlusProjectResp, error)
	// AssignCPlusUserProjectRole 用户分配项目角色
	AssignCPlusUserProjectRole(context.Context, *AssignCPlusUserProjectRoleReq) (*AssignCPlusUserProjectRoleResp, error)
	// BatchAssignCPlusUserProjectRole 批量用户分配项目角色
	BatchAssignCPlusUserProjectRole(context.Context, *BatchAssignCPlusUserProjectRoleReq) (*BatchAssignCPlusUserProjectRoleResp, error)
	// UnlockCPlusUser 解锁c7n用户
	UnlockCPlusUser(context.Context, *UnlockCPlusUserReq) (*UnlockCPlusUserResp, error)
	// GetWeworkUser 企业微信用户单个获取
	GetWeworkUser(context.Context, *GetWeworkUserReq) (*GetWeworkUserResp, error)
	// DisableWeworkUser 禁用企业微信用户
	DisableWeworkUser(context.Context, *DisableWeworkUserReq) (*DisableWeworkUserResp, error)
	// RenewalWeworkUser 续期企微用户
	RenewalWeworkUser(context.Context, *RenewalWeworkUserReq) (*RenewalWeworkUserResp, error)
	// AddWeworkUser 企微用户新增
	AddWeworkUser(context.Context, *AddWeworkUserReq) (*AddWeworkUserResp, error)
	// AddWeworkUserRollback 企微用户新增回退
	AddWeworkUserRollback(context.Context, *AddWeworkUserReq) (*AddWeworkUserResp, error)
	// DelWeworkUser 企微用户删除
	DelWeworkUser(context.Context, *DelWeworkUserReq) (*DelWeworkUserResp, error)
	// BatchAddWeworkUser 企微用户批量新增
	BatchAddWeworkUser(context.Context, *BatchAddWeworkUserReq) (*BatchAddWeworkUserResp, error)
	// CacheAllWeworkUser 更新全部企微用户缓存
	CacheAllWeworkUser(context.Context, *Empty) (*CacheAllWeworkUserResp, error)
	// MediaGet 获取文件内容
	MediaGet(context.Context, *MediaGetReq) (*MediaGetResp, error)
	// AddVolcUser 新增端侧用户
	AddVolcUser(context.Context, *AddVolcUserReq) (*AddVolcUserResp, error)
	// DelVolcUser 删除端侧用户
	DelVolcUser(context.Context, *DelVolcUserReq) (*DelVolcUserResp, error)
	// GetVolcUser 查询端侧用户
	GetVolcUser(context.Context, *GetVolcUserReq) (*GetVolcUserResp, error)
	// contains filtered or unexported methods
}

CPlusClientServer is the server API for CPlusClient service. All implementations must embed UnimplementedCPlusClientServer for forward compatibility

type CPlusProjectField

type CPlusProjectField struct {
	Id             int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Code           string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` // c7n项目code
	Enabled        bool   `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	CreationDate   string `protobuf:"bytes,5,opt,name=creationDate,proto3" json:"creationDate,omitempty"`
	CreatedBy      int64  `protobuf:"varint,6,opt,name=createdBy,proto3" json:"createdBy,omitempty"`
	LastUpdateDate string `protobuf:"bytes,7,opt,name=lastUpdateDate,proto3" json:"lastUpdateDate,omitempty"`
	LastUpdatedBy  int64  `protobuf:"varint,8,opt,name=lastUpdatedBy,proto3" json:"lastUpdatedBy,omitempty"`
	// contains filtered or unexported fields
}

CPlusProjectField 项目属性

func (*CPlusProjectField) Descriptor deprecated

func (*CPlusProjectField) Descriptor() ([]byte, []int)

Deprecated: Use CPlusProjectField.ProtoReflect.Descriptor instead.

func (*CPlusProjectField) GetCode

func (x *CPlusProjectField) GetCode() string

func (*CPlusProjectField) GetCreatedBy

func (x *CPlusProjectField) GetCreatedBy() int64

func (*CPlusProjectField) GetCreationDate

func (x *CPlusProjectField) GetCreationDate() string

func (*CPlusProjectField) GetEnabled

func (x *CPlusProjectField) GetEnabled() bool

func (*CPlusProjectField) GetId

func (x *CPlusProjectField) GetId() int64

func (*CPlusProjectField) GetLastUpdateDate

func (x *CPlusProjectField) GetLastUpdateDate() string

func (*CPlusProjectField) GetLastUpdatedBy

func (x *CPlusProjectField) GetLastUpdatedBy() int64

func (*CPlusProjectField) GetName

func (x *CPlusProjectField) GetName() string

func (*CPlusProjectField) ProtoMessage

func (*CPlusProjectField) ProtoMessage()

func (*CPlusProjectField) ProtoReflect

func (x *CPlusProjectField) ProtoReflect() protoreflect.Message

func (*CPlusProjectField) Reset

func (x *CPlusProjectField) Reset()

func (*CPlusProjectField) String

func (x *CPlusProjectField) String() string

type CPlusRoleField

type CPlusRoleField struct {
	Id          int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Code        string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` // c7n角色code
	Assignable  bool   `protobuf:"varint,3,opt,name=assignable,proto3" json:"assignable,omitempty"`
	Enabled     bool   `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Name        string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	TplRoleName string `protobuf:"bytes,6,opt,name=tplRoleName,proto3" json:"tplRoleName,omitempty"`
	RoleLevel   string `protobuf:"bytes,7,opt,name=roleLevel,proto3" json:"roleLevel,omitempty"`
	// contains filtered or unexported fields
}

CPlusRoleField 角色属性

func (*CPlusRoleField) Descriptor deprecated

func (*CPlusRoleField) Descriptor() ([]byte, []int)

Deprecated: Use CPlusRoleField.ProtoReflect.Descriptor instead.

func (*CPlusRoleField) GetAssignable

func (x *CPlusRoleField) GetAssignable() bool

func (*CPlusRoleField) GetCode

func (x *CPlusRoleField) GetCode() string

func (*CPlusRoleField) GetEnabled

func (x *CPlusRoleField) GetEnabled() bool

func (*CPlusRoleField) GetId

func (x *CPlusRoleField) GetId() int64

func (*CPlusRoleField) GetName

func (x *CPlusRoleField) GetName() string

func (*CPlusRoleField) GetRoleLevel

func (x *CPlusRoleField) GetRoleLevel() string

func (*CPlusRoleField) GetTplRoleName

func (x *CPlusRoleField) GetTplRoleName() string

func (*CPlusRoleField) ProtoMessage

func (*CPlusRoleField) ProtoMessage()

func (*CPlusRoleField) ProtoReflect

func (x *CPlusRoleField) ProtoReflect() protoreflect.Message

func (*CPlusRoleField) Reset

func (x *CPlusRoleField) Reset()

func (*CPlusRoleField) String

func (x *CPlusRoleField) String() string

type CPlusUserFields

type CPlusUserFields struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	LoginName string `protobuf:"bytes,2,opt,name=loginName,proto3" json:"loginName,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Phone     string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	Email     string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Password  string `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	OrgID     string `protobuf:"bytes,7,opt,name=orgID,proto3" json:"orgID,omitempty"`
	Enabled   bool   `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Locked    bool   `protobuf:"varint,9,opt,name=locked,proto3" json:"locked,omitempty"`
	Ldap      bool   `protobuf:"varint,10,opt,name=ldap,proto3" json:"ldap,omitempty"`
	Admin     bool   `protobuf:"varint,11,opt,name=admin,proto3" json:"admin,omitempty"`
	// contains filtered or unexported fields
}

CPlusUserFields 用户属性

func (*CPlusUserFields) Descriptor deprecated

func (*CPlusUserFields) Descriptor() ([]byte, []int)

Deprecated: Use CPlusUserFields.ProtoReflect.Descriptor instead.

func (*CPlusUserFields) GetAdmin

func (x *CPlusUserFields) GetAdmin() bool

func (*CPlusUserFields) GetEmail

func (x *CPlusUserFields) GetEmail() string

func (*CPlusUserFields) GetEnabled

func (x *CPlusUserFields) GetEnabled() bool

func (*CPlusUserFields) GetId

func (x *CPlusUserFields) GetId() string

func (*CPlusUserFields) GetLdap

func (x *CPlusUserFields) GetLdap() bool

func (*CPlusUserFields) GetLocked

func (x *CPlusUserFields) GetLocked() bool

func (*CPlusUserFields) GetLoginName

func (x *CPlusUserFields) GetLoginName() string

func (*CPlusUserFields) GetName

func (x *CPlusUserFields) GetName() string

func (*CPlusUserFields) GetOrgID

func (x *CPlusUserFields) GetOrgID() string

func (*CPlusUserFields) GetPassword

func (x *CPlusUserFields) GetPassword() string

func (*CPlusUserFields) GetPhone

func (x *CPlusUserFields) GetPhone() string

func (*CPlusUserFields) ProtoMessage

func (*CPlusUserFields) ProtoMessage()

func (*CPlusUserFields) ProtoReflect

func (x *CPlusUserFields) ProtoReflect() protoreflect.Message

func (*CPlusUserFields) Reset

func (x *CPlusUserFields) Reset()

func (*CPlusUserFields) String

func (x *CPlusUserFields) String() string

type CacheAllWeworkUserResp

type CacheAllWeworkUserResp struct {
	Code   uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

更新全部7v用户缓存

func (*CacheAllWeworkUserResp) Descriptor deprecated

func (*CacheAllWeworkUserResp) Descriptor() ([]byte, []int)

Deprecated: Use CacheAllWeworkUserResp.ProtoReflect.Descriptor instead.

func (*CacheAllWeworkUserResp) GetCode

func (x *CacheAllWeworkUserResp) GetCode() uint32

func (*CacheAllWeworkUserResp) GetErrMsg

func (x *CacheAllWeworkUserResp) GetErrMsg() string

func (*CacheAllWeworkUserResp) ProtoMessage

func (*CacheAllWeworkUserResp) ProtoMessage()

func (*CacheAllWeworkUserResp) ProtoReflect

func (x *CacheAllWeworkUserResp) ProtoReflect() protoreflect.Message

func (*CacheAllWeworkUserResp) Reset

func (x *CacheAllWeworkUserResp) Reset()

func (*CacheAllWeworkUserResp) String

func (x *CacheAllWeworkUserResp) String() string

type DelVolcUserReq

type DelVolcUserReq struct {
	UserName string `protobuf:"bytes,1,opt,name=UserName,proto3" json:"UserName,omitempty"`
	// contains filtered or unexported fields
}

func (*DelVolcUserReq) Descriptor deprecated

func (*DelVolcUserReq) Descriptor() ([]byte, []int)

Deprecated: Use DelVolcUserReq.ProtoReflect.Descriptor instead.

func (*DelVolcUserReq) GetUserName

func (x *DelVolcUserReq) GetUserName() string

func (*DelVolcUserReq) ProtoMessage

func (*DelVolcUserReq) ProtoMessage()

func (*DelVolcUserReq) ProtoReflect

func (x *DelVolcUserReq) ProtoReflect() protoreflect.Message

func (*DelVolcUserReq) Reset

func (x *DelVolcUserReq) Reset()

func (*DelVolcUserReq) String

func (x *DelVolcUserReq) String() string

type DelVolcUserResp

type DelVolcUserResp struct {
	Code   uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*DelVolcUserResp) Descriptor deprecated

func (*DelVolcUserResp) Descriptor() ([]byte, []int)

Deprecated: Use DelVolcUserResp.ProtoReflect.Descriptor instead.

func (*DelVolcUserResp) GetCode

func (x *DelVolcUserResp) GetCode() uint32

func (*DelVolcUserResp) GetErrMsg

func (x *DelVolcUserResp) GetErrMsg() string

func (*DelVolcUserResp) ProtoMessage

func (*DelVolcUserResp) ProtoMessage()

func (*DelVolcUserResp) ProtoReflect

func (x *DelVolcUserResp) ProtoReflect() protoreflect.Message

func (*DelVolcUserResp) Reset

func (x *DelVolcUserResp) Reset()

func (*DelVolcUserResp) String

func (x *DelVolcUserResp) String() string

type DelWeworkUserReq

type DelWeworkUserReq struct {
	Eid  string `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

删除用户

func (*DelWeworkUserReq) Descriptor deprecated

func (*DelWeworkUserReq) Descriptor() ([]byte, []int)

Deprecated: Use DelWeworkUserReq.ProtoReflect.Descriptor instead.

func (*DelWeworkUserReq) GetEid

func (x *DelWeworkUserReq) GetEid() string

func (*DelWeworkUserReq) GetName

func (x *DelWeworkUserReq) GetName() string

func (*DelWeworkUserReq) ProtoMessage

func (*DelWeworkUserReq) ProtoMessage()

func (*DelWeworkUserReq) ProtoReflect

func (x *DelWeworkUserReq) ProtoReflect() protoreflect.Message

func (*DelWeworkUserReq) Reset

func (x *DelWeworkUserReq) Reset()

func (*DelWeworkUserReq) String

func (x *DelWeworkUserReq) String() string

type DelWeworkUserResp

type DelWeworkUserResp struct {
	Code   uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*DelWeworkUserResp) Descriptor deprecated

func (*DelWeworkUserResp) Descriptor() ([]byte, []int)

Deprecated: Use DelWeworkUserResp.ProtoReflect.Descriptor instead.

func (*DelWeworkUserResp) GetCode

func (x *DelWeworkUserResp) GetCode() uint32

func (*DelWeworkUserResp) GetErrMsg

func (x *DelWeworkUserResp) GetErrMsg() string

func (*DelWeworkUserResp) ProtoMessage

func (*DelWeworkUserResp) ProtoMessage()

func (*DelWeworkUserResp) ProtoReflect

func (x *DelWeworkUserResp) ProtoReflect() protoreflect.Message

func (*DelWeworkUserResp) Reset

func (x *DelWeworkUserResp) Reset()

func (*DelWeworkUserResp) String

func (x *DelWeworkUserResp) String() string

type DisableWeworkUserReq

type DisableWeworkUserReq struct {
	Eid  string `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableWeworkUserReq) Descriptor deprecated

func (*DisableWeworkUserReq) Descriptor() ([]byte, []int)

Deprecated: Use DisableWeworkUserReq.ProtoReflect.Descriptor instead.

func (*DisableWeworkUserReq) GetEid

func (x *DisableWeworkUserReq) GetEid() string

func (*DisableWeworkUserReq) GetName

func (x *DisableWeworkUserReq) GetName() string

func (*DisableWeworkUserReq) ProtoMessage

func (*DisableWeworkUserReq) ProtoMessage()

func (*DisableWeworkUserReq) ProtoReflect

func (x *DisableWeworkUserReq) ProtoReflect() protoreflect.Message

func (*DisableWeworkUserReq) Reset

func (x *DisableWeworkUserReq) Reset()

func (*DisableWeworkUserReq) String

func (x *DisableWeworkUserReq) String() string

type DisableWeworkUserResp

type DisableWeworkUserResp struct {
	Code   uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableWeworkUserResp) Descriptor deprecated

func (*DisableWeworkUserResp) Descriptor() ([]byte, []int)

Deprecated: Use DisableWeworkUserResp.ProtoReflect.Descriptor instead.

func (*DisableWeworkUserResp) GetCode

func (x *DisableWeworkUserResp) GetCode() uint32

func (*DisableWeworkUserResp) GetErrMsg

func (x *DisableWeworkUserResp) GetErrMsg() string

func (*DisableWeworkUserResp) ProtoMessage

func (*DisableWeworkUserResp) ProtoMessage()

func (*DisableWeworkUserResp) ProtoReflect

func (x *DisableWeworkUserResp) ProtoReflect() protoreflect.Message

func (*DisableWeworkUserResp) Reset

func (x *DisableWeworkUserResp) Reset()

func (*DisableWeworkUserResp) String

func (x *DisableWeworkUserResp) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

全局空消息体

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GetCPlusProjectReq

type GetCPlusProjectReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetCPlusProjectReq 获取项目请求

func (*GetCPlusProjectReq) Descriptor deprecated

func (*GetCPlusProjectReq) Descriptor() ([]byte, []int)

Deprecated: Use GetCPlusProjectReq.ProtoReflect.Descriptor instead.

func (*GetCPlusProjectReq) GetName

func (x *GetCPlusProjectReq) GetName() string

func (*GetCPlusProjectReq) ProtoMessage

func (*GetCPlusProjectReq) ProtoMessage()

func (*GetCPlusProjectReq) ProtoReflect

func (x *GetCPlusProjectReq) ProtoReflect() protoreflect.Message

func (*GetCPlusProjectReq) Reset

func (x *GetCPlusProjectReq) Reset()

func (*GetCPlusProjectReq) String

func (x *GetCPlusProjectReq) String() string

type GetCPlusProjectResp

type GetCPlusProjectResp struct {
	CPlusProject *CPlusProjectField `protobuf:"bytes,1,opt,name=cPlusProject,proto3" json:"cPlusProject,omitempty"`
	// contains filtered or unexported fields
}

GetCPlusProjectResp 获取项目响应

func (*GetCPlusProjectResp) Descriptor deprecated

func (*GetCPlusProjectResp) Descriptor() ([]byte, []int)

Deprecated: Use GetCPlusProjectResp.ProtoReflect.Descriptor instead.

func (*GetCPlusProjectResp) GetCPlusProject

func (x *GetCPlusProjectResp) GetCPlusProject() *CPlusProjectField

func (*GetCPlusProjectResp) ProtoMessage

func (*GetCPlusProjectResp) ProtoMessage()

func (*GetCPlusProjectResp) ProtoReflect

func (x *GetCPlusProjectResp) ProtoReflect() protoreflect.Message

func (*GetCPlusProjectResp) Reset

func (x *GetCPlusProjectResp) Reset()

func (*GetCPlusProjectResp) String

func (x *GetCPlusProjectResp) String() string

type GetCPlusUserReq

type GetCPlusUserReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Eid  string `protobuf:"bytes,2,opt,name=eid,proto3" json:"eid,omitempty"`
	// contains filtered or unexported fields
}

GetCPlusUserReq 获取用户请求

func (*GetCPlusUserReq) Descriptor deprecated

func (*GetCPlusUserReq) Descriptor() ([]byte, []int)

Deprecated: Use GetCPlusUserReq.ProtoReflect.Descriptor instead.

func (*GetCPlusUserReq) GetEid

func (x *GetCPlusUserReq) GetEid() string

func (*GetCPlusUserReq) GetName

func (x *GetCPlusUserReq) GetName() string

func (*GetCPlusUserReq) ProtoMessage

func (*GetCPlusUserReq) ProtoMessage()

func (*GetCPlusUserReq) ProtoReflect

func (x *GetCPlusUserReq) ProtoReflect() protoreflect.Message

func (*GetCPlusUserReq) Reset

func (x *GetCPlusUserReq) Reset()

func (*GetCPlusUserReq) String

func (x *GetCPlusUserReq) String() string

type GetCPlusUserResp

type GetCPlusUserResp struct {
	CplusUser *CPlusUserFields `protobuf:"bytes,1,opt,name=cplusUser,proto3" json:"cplusUser,omitempty"`
	// contains filtered or unexported fields
}

GetCPlusUserResp 获取用户响应

func (*GetCPlusUserResp) Descriptor deprecated

func (*GetCPlusUserResp) Descriptor() ([]byte, []int)

Deprecated: Use GetCPlusUserResp.ProtoReflect.Descriptor instead.

func (*GetCPlusUserResp) GetCplusUser

func (x *GetCPlusUserResp) GetCplusUser() *CPlusUserFields

func (*GetCPlusUserResp) ProtoMessage

func (*GetCPlusUserResp) ProtoMessage()

func (*GetCPlusUserResp) ProtoReflect

func (x *GetCPlusUserResp) ProtoReflect() protoreflect.Message

func (*GetCPlusUserResp) Reset

func (x *GetCPlusUserResp) Reset()

func (*GetCPlusUserResp) String

func (x *GetCPlusUserResp) String() string

type GetVolcUserReq

type GetVolcUserReq struct {
	UserName string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVolcUserReq) Descriptor deprecated

func (*GetVolcUserReq) Descriptor() ([]byte, []int)

Deprecated: Use GetVolcUserReq.ProtoReflect.Descriptor instead.

func (*GetVolcUserReq) GetUserName

func (x *GetVolcUserReq) GetUserName() string

func (*GetVolcUserReq) ProtoMessage

func (*GetVolcUserReq) ProtoMessage()

func (*GetVolcUserReq) ProtoReflect

func (x *GetVolcUserReq) ProtoReflect() protoreflect.Message

func (*GetVolcUserReq) Reset

func (x *GetVolcUserReq) Reset()

func (*GetVolcUserReq) String

func (x *GetVolcUserReq) String() string

type GetVolcUserResp

type GetVolcUserResp struct {
	Code   uint32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string    `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	User   *VolcUser `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVolcUserResp) Descriptor deprecated

func (*GetVolcUserResp) Descriptor() ([]byte, []int)

Deprecated: Use GetVolcUserResp.ProtoReflect.Descriptor instead.

func (*GetVolcUserResp) GetCode

func (x *GetVolcUserResp) GetCode() uint32

func (*GetVolcUserResp) GetErrMsg

func (x *GetVolcUserResp) GetErrMsg() string

func (*GetVolcUserResp) GetUser

func (x *GetVolcUserResp) GetUser() *VolcUser

func (*GetVolcUserResp) ProtoMessage

func (*GetVolcUserResp) ProtoMessage()

func (*GetVolcUserResp) ProtoReflect

func (x *GetVolcUserResp) ProtoReflect() protoreflect.Message

func (*GetVolcUserResp) Reset

func (x *GetVolcUserResp) Reset()

func (*GetVolcUserResp) String

func (x *GetVolcUserResp) String() string

type GetWeworkUserReq

type GetWeworkUserReq struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Eid  string `protobuf:"bytes,2,opt,name=eid,proto3" json:"eid,omitempty"`
	// contains filtered or unexported fields
}

GetWeworkUserReq 获取用户请求

func (*GetWeworkUserReq) Descriptor deprecated

func (*GetWeworkUserReq) Descriptor() ([]byte, []int)

Deprecated: Use GetWeworkUserReq.ProtoReflect.Descriptor instead.

func (*GetWeworkUserReq) GetEid

func (x *GetWeworkUserReq) GetEid() string

func (*GetWeworkUserReq) GetName

func (x *GetWeworkUserReq) GetName() string

func (*GetWeworkUserReq) ProtoMessage

func (*GetWeworkUserReq) ProtoMessage()

func (*GetWeworkUserReq) ProtoReflect

func (x *GetWeworkUserReq) ProtoReflect() protoreflect.Message

func (*GetWeworkUserReq) Reset

func (x *GetWeworkUserReq) Reset()

func (*GetWeworkUserReq) String

func (x *GetWeworkUserReq) String() string

type GetWeworkUserResp

type GetWeworkUserResp struct {
	Code       uint32            `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg     string            `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	WeworkUser *WeworkUserFields `protobuf:"bytes,3,opt,name=weworkUser,proto3" json:"weworkUser,omitempty"`
	// contains filtered or unexported fields
}

GetWeworkUserResp 获取企业微信用户响应

func (*GetWeworkUserResp) Descriptor deprecated

func (*GetWeworkUserResp) Descriptor() ([]byte, []int)

Deprecated: Use GetWeworkUserResp.ProtoReflect.Descriptor instead.

func (*GetWeworkUserResp) GetCode

func (x *GetWeworkUserResp) GetCode() uint32

func (*GetWeworkUserResp) GetErrMsg

func (x *GetWeworkUserResp) GetErrMsg() string

func (*GetWeworkUserResp) GetWeworkUser

func (x *GetWeworkUserResp) GetWeworkUser() *WeworkUserFields

func (*GetWeworkUserResp) ProtoMessage

func (*GetWeworkUserResp) ProtoMessage()

func (*GetWeworkUserResp) ProtoReflect

func (x *GetWeworkUserResp) ProtoReflect() protoreflect.Message

func (*GetWeworkUserResp) Reset

func (x *GetWeworkUserResp) Reset()

func (*GetWeworkUserResp) String

func (x *GetWeworkUserResp) String() string

type MediaGetReq

type MediaGetReq struct {
	MediaId string `protobuf:"bytes,1,opt,name=mediaId,proto3" json:"mediaId,omitempty"`
	// contains filtered or unexported fields
}

MediaGetReq 获取文件请求

func (*MediaGetReq) Descriptor deprecated

func (*MediaGetReq) Descriptor() ([]byte, []int)

Deprecated: Use MediaGetReq.ProtoReflect.Descriptor instead.

func (*MediaGetReq) GetMediaId

func (x *MediaGetReq) GetMediaId() string

func (*MediaGetReq) ProtoMessage

func (*MediaGetReq) ProtoMessage()

func (*MediaGetReq) ProtoReflect

func (x *MediaGetReq) ProtoReflect() protoreflect.Message

func (*MediaGetReq) Reset

func (x *MediaGetReq) Reset()

func (*MediaGetReq) String

func (x *MediaGetReq) String() string

type MediaGetResp

type MediaGetResp struct {
	Code      uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg    string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	MediaData []byte `protobuf:"bytes,3,opt,name=mediaData,proto3" json:"mediaData,omitempty"`
	// contains filtered or unexported fields
}

MediaGetReq 获取文件响应

func (*MediaGetResp) Descriptor deprecated

func (*MediaGetResp) Descriptor() ([]byte, []int)

Deprecated: Use MediaGetResp.ProtoReflect.Descriptor instead.

func (*MediaGetResp) GetCode

func (x *MediaGetResp) GetCode() uint32

func (*MediaGetResp) GetErrMsg

func (x *MediaGetResp) GetErrMsg() string

func (*MediaGetResp) GetMediaData

func (x *MediaGetResp) GetMediaData() []byte

func (*MediaGetResp) ProtoMessage

func (*MediaGetResp) ProtoMessage()

func (*MediaGetResp) ProtoReflect

func (x *MediaGetResp) ProtoReflect() protoreflect.Message

func (*MediaGetResp) Reset

func (x *MediaGetResp) Reset()

func (*MediaGetResp) String

func (x *MediaGetResp) String() string

type PostC7NUserProjectRole

type PostC7NUserProjectRole struct {
	MemberId string   `protobuf:"bytes,1,opt,name=memberId,proto3" json:"memberId,omitempty"`
	RoleIds  []string `protobuf:"bytes,2,rep,name=roleIds,proto3" json:"roleIds,omitempty"`
	// contains filtered or unexported fields
}

func (*PostC7NUserProjectRole) Descriptor deprecated

func (*PostC7NUserProjectRole) Descriptor() ([]byte, []int)

Deprecated: Use PostC7NUserProjectRole.ProtoReflect.Descriptor instead.

func (*PostC7NUserProjectRole) GetMemberId

func (x *PostC7NUserProjectRole) GetMemberId() string

func (*PostC7NUserProjectRole) GetRoleIds

func (x *PostC7NUserProjectRole) GetRoleIds() []string

func (*PostC7NUserProjectRole) ProtoMessage

func (*PostC7NUserProjectRole) ProtoMessage()

func (*PostC7NUserProjectRole) ProtoReflect

func (x *PostC7NUserProjectRole) ProtoReflect() protoreflect.Message

func (*PostC7NUserProjectRole) Reset

func (x *PostC7NUserProjectRole) Reset()

func (*PostC7NUserProjectRole) String

func (x *PostC7NUserProjectRole) String() string

type RenewalWeworkUserReq

type RenewalWeworkUserReq struct {
	Eid  string `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Days int64  `protobuf:"varint,3,opt,name=days,proto3" json:"days,omitempty"`
	// contains filtered or unexported fields
}

RenewalWeworkUserReq 续期企微用户请求

func (*RenewalWeworkUserReq) Descriptor deprecated

func (*RenewalWeworkUserReq) Descriptor() ([]byte, []int)

Deprecated: Use RenewalWeworkUserReq.ProtoReflect.Descriptor instead.

func (*RenewalWeworkUserReq) GetDays

func (x *RenewalWeworkUserReq) GetDays() int64

func (*RenewalWeworkUserReq) GetEid

func (x *RenewalWeworkUserReq) GetEid() string

func (*RenewalWeworkUserReq) GetName

func (x *RenewalWeworkUserReq) GetName() string

func (*RenewalWeworkUserReq) ProtoMessage

func (*RenewalWeworkUserReq) ProtoMessage()

func (*RenewalWeworkUserReq) ProtoReflect

func (x *RenewalWeworkUserReq) ProtoReflect() protoreflect.Message

func (*RenewalWeworkUserReq) Reset

func (x *RenewalWeworkUserReq) Reset()

func (*RenewalWeworkUserReq) String

func (x *RenewalWeworkUserReq) String() string

type RenewalWeworkUserResp

type RenewalWeworkUserResp struct {
	Code   uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

RenewalWeworkUserResp 续期企微用户响应

func (*RenewalWeworkUserResp) Descriptor deprecated

func (*RenewalWeworkUserResp) Descriptor() ([]byte, []int)

Deprecated: Use RenewalWeworkUserResp.ProtoReflect.Descriptor instead.

func (*RenewalWeworkUserResp) GetCode

func (x *RenewalWeworkUserResp) GetCode() uint32

func (*RenewalWeworkUserResp) GetErrMsg

func (x *RenewalWeworkUserResp) GetErrMsg() string

func (*RenewalWeworkUserResp) ProtoMessage

func (*RenewalWeworkUserResp) ProtoMessage()

func (*RenewalWeworkUserResp) ProtoReflect

func (x *RenewalWeworkUserResp) ProtoReflect() protoreflect.Message

func (*RenewalWeworkUserResp) Reset

func (x *RenewalWeworkUserResp) Reset()

func (*RenewalWeworkUserResp) String

func (x *RenewalWeworkUserResp) String() string

type SingeProject

type SingeProject struct {
	ProjectName string   `protobuf:"bytes,3,opt,name=projectName,proto3" json:"projectName,omitempty"`
	ProjectRole []string `protobuf:"bytes,4,rep,name=projectRole,proto3" json:"projectRole,omitempty"`
	// contains filtered or unexported fields
}

SingeProject 单个项目角色

func (*SingeProject) Descriptor deprecated

func (*SingeProject) Descriptor() ([]byte, []int)

Deprecated: Use SingeProject.ProtoReflect.Descriptor instead.

func (*SingeProject) GetProjectName

func (x *SingeProject) GetProjectName() string

func (*SingeProject) GetProjectRole

func (x *SingeProject) GetProjectRole() []string

func (*SingeProject) ProtoMessage

func (*SingeProject) ProtoMessage()

func (*SingeProject) ProtoReflect

func (x *SingeProject) ProtoReflect() protoreflect.Message

func (*SingeProject) Reset

func (x *SingeProject) Reset()

func (*SingeProject) String

func (x *SingeProject) String() string

type UnimplementedCPlusClientServer

type UnimplementedCPlusClientServer struct {
}

UnimplementedCPlusClientServer must be embedded to have forward compatible implementations.

func (UnimplementedCPlusClientServer) AddVolcUser

func (UnimplementedCPlusClientServer) AddWeworkUser

func (UnimplementedCPlusClientServer) AddWeworkUserRollback

func (UnimplementedCPlusClientServer) BatchAddWeworkUser

func (UnimplementedCPlusClientServer) CacheAllWeworkUser

func (UnimplementedCPlusClientServer) DelVolcUser

func (UnimplementedCPlusClientServer) DelWeworkUser

func (UnimplementedCPlusClientServer) DisableWeworkUser

func (UnimplementedCPlusClientServer) GetCPlusProject

func (UnimplementedCPlusClientServer) GetCPlusUser

func (UnimplementedCPlusClientServer) GetVolcUser

func (UnimplementedCPlusClientServer) GetWeworkUser

func (UnimplementedCPlusClientServer) MediaGet

func (UnimplementedCPlusClientServer) RenewalWeworkUser

func (UnimplementedCPlusClientServer) UnlockCPlusUser

type UnlockCPlusUserReq

type UnlockCPlusUserReq struct {
	Eid  string `protobuf:"bytes,1,opt,name=eid,proto3" json:"eid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

UnlockCPlusUserReq 解锁c7n用户请求

func (*UnlockCPlusUserReq) Descriptor deprecated

func (*UnlockCPlusUserReq) Descriptor() ([]byte, []int)

Deprecated: Use UnlockCPlusUserReq.ProtoReflect.Descriptor instead.

func (*UnlockCPlusUserReq) GetEid

func (x *UnlockCPlusUserReq) GetEid() string

func (*UnlockCPlusUserReq) GetName

func (x *UnlockCPlusUserReq) GetName() string

func (*UnlockCPlusUserReq) ProtoMessage

func (*UnlockCPlusUserReq) ProtoMessage()

func (*UnlockCPlusUserReq) ProtoReflect

func (x *UnlockCPlusUserReq) ProtoReflect() protoreflect.Message

func (*UnlockCPlusUserReq) Reset

func (x *UnlockCPlusUserReq) Reset()

func (*UnlockCPlusUserReq) String

func (x *UnlockCPlusUserReq) String() string

type UnlockCPlusUserResp

type UnlockCPlusUserResp struct {
	Code   uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	ErrMsg string `protobuf:"bytes,2,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
	// contains filtered or unexported fields
}

UnlockCPlusUserResp 解锁c7n用户响应

func (*UnlockCPlusUserResp) Descriptor deprecated

func (*UnlockCPlusUserResp) Descriptor() ([]byte, []int)

Deprecated: Use UnlockCPlusUserResp.ProtoReflect.Descriptor instead.

func (*UnlockCPlusUserResp) GetCode

func (x *UnlockCPlusUserResp) GetCode() uint32

func (*UnlockCPlusUserResp) GetErrMsg

func (x *UnlockCPlusUserResp) GetErrMsg() string

func (*UnlockCPlusUserResp) ProtoMessage

func (*UnlockCPlusUserResp) ProtoMessage()

func (*UnlockCPlusUserResp) ProtoReflect

func (x *UnlockCPlusUserResp) ProtoReflect() protoreflect.Message

func (*UnlockCPlusUserResp) Reset

func (x *UnlockCPlusUserResp) Reset()

func (*UnlockCPlusUserResp) String

func (x *UnlockCPlusUserResp) String() string

type UnsafeCPlusClientServer

type UnsafeCPlusClientServer interface {
	// contains filtered or unexported methods
}

UnsafeCPlusClientServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CPlusClientServer will result in compilation errors.

type VolcUser

type VolcUser struct {
	UserName    string `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	MobilePhone string `protobuf:"bytes,3,opt,name=mobilePhone,proto3" json:"mobilePhone,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Status      string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	Id          uint64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*VolcUser) Descriptor deprecated

func (*VolcUser) Descriptor() ([]byte, []int)

Deprecated: Use VolcUser.ProtoReflect.Descriptor instead.

func (*VolcUser) GetDisplayName

func (x *VolcUser) GetDisplayName() string

func (*VolcUser) GetEmail

func (x *VolcUser) GetEmail() string

func (*VolcUser) GetId

func (x *VolcUser) GetId() uint64

func (*VolcUser) GetMobilePhone

func (x *VolcUser) GetMobilePhone() string

func (*VolcUser) GetStatus

func (x *VolcUser) GetStatus() string

func (*VolcUser) GetUserName

func (x *VolcUser) GetUserName() string

func (*VolcUser) ProtoMessage

func (*VolcUser) ProtoMessage()

func (*VolcUser) ProtoReflect

func (x *VolcUser) ProtoReflect() protoreflect.Message

func (*VolcUser) Reset

func (x *VolcUser) Reset()

func (*VolcUser) String

func (x *VolcUser) String() string

type WeworkUserFields

type WeworkUserFields struct {
	Uid        string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Eid        string `protobuf:"bytes,2,opt,name=eid,proto3" json:"eid,omitempty"`
	Name       string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Mobile     string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
	Email      string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	ExpireDate string `protobuf:"bytes,6,opt,name=expireDate,proto3" json:"expireDate,omitempty"` // 过期日期
	Status     int64  `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

WeworkUserFields 企业微信用户属性

func (*WeworkUserFields) Descriptor deprecated

func (*WeworkUserFields) Descriptor() ([]byte, []int)

Deprecated: Use WeworkUserFields.ProtoReflect.Descriptor instead.

func (*WeworkUserFields) GetEid

func (x *WeworkUserFields) GetEid() string

func (*WeworkUserFields) GetEmail

func (x *WeworkUserFields) GetEmail() string

func (*WeworkUserFields) GetExpireDate

func (x *WeworkUserFields) GetExpireDate() string

func (*WeworkUserFields) GetMobile

func (x *WeworkUserFields) GetMobile() string

func (*WeworkUserFields) GetName

func (x *WeworkUserFields) GetName() string

func (*WeworkUserFields) GetStatus

func (x *WeworkUserFields) GetStatus() int64

func (*WeworkUserFields) GetUid

func (x *WeworkUserFields) GetUid() string

func (*WeworkUserFields) ProtoMessage

func (*WeworkUserFields) ProtoMessage()

func (*WeworkUserFields) ProtoReflect

func (x *WeworkUserFields) ProtoReflect() protoreflect.Message

func (*WeworkUserFields) Reset

func (x *WeworkUserFields) Reset()

func (*WeworkUserFields) String

func (x *WeworkUserFields) String() string

Jump to

Keyboard shortcuts

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