123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: organization.proto
- // package声明符,用来防止不同的消息类型有命名冲突
- package v1
- import (
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- math "math"
- )
- // 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.ProtoPackageIsVersion3 // please upgrade the proto package
- type InitOrganizationDbRequest struct {
- OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *InitOrganizationDbRequest) Reset() { *m = InitOrganizationDbRequest{} }
- func (m *InitOrganizationDbRequest) String() string { return proto.CompactTextString(m) }
- func (*InitOrganizationDbRequest) ProtoMessage() {}
- func (*InitOrganizationDbRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{0}
- }
- func (m *InitOrganizationDbRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_InitOrganizationDbRequest.Unmarshal(m, b)
- }
- func (m *InitOrganizationDbRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_InitOrganizationDbRequest.Marshal(b, m, deterministic)
- }
- func (m *InitOrganizationDbRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_InitOrganizationDbRequest.Merge(m, src)
- }
- func (m *InitOrganizationDbRequest) XXX_Size() int {
- return xxx_messageInfo_InitOrganizationDbRequest.Size(m)
- }
- func (m *InitOrganizationDbRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_InitOrganizationDbRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_InitOrganizationDbRequest proto.InternalMessageInfo
- func (m *InitOrganizationDbRequest) GetOrganizationCode() string {
- if m != nil {
- return m.OrganizationCode
- }
- return ""
- }
- type InitOrganizationDbReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *InitOrganizationDbReply) Reset() { *m = InitOrganizationDbReply{} }
- func (m *InitOrganizationDbReply) String() string { return proto.CompactTextString(m) }
- func (*InitOrganizationDbReply) ProtoMessage() {}
- func (*InitOrganizationDbReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{1}
- }
- func (m *InitOrganizationDbReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_InitOrganizationDbReply.Unmarshal(m, b)
- }
- func (m *InitOrganizationDbReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_InitOrganizationDbReply.Marshal(b, m, deterministic)
- }
- func (m *InitOrganizationDbReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_InitOrganizationDbReply.Merge(m, src)
- }
- func (m *InitOrganizationDbReply) XXX_Size() int {
- return xxx_messageInfo_InitOrganizationDbReply.Size(m)
- }
- func (m *InitOrganizationDbReply) XXX_DiscardUnknown() {
- xxx_messageInfo_InitOrganizationDbReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_InitOrganizationDbReply proto.InternalMessageInfo
- type RbacNode struct {
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
- Router string `protobuf:"bytes,3,opt,name=router,proto3" json:"router"`
- Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method"`
- Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource"`
- Object string `protobuf:"bytes,6,opt,name=object,proto3" json:"object"`
- Pid int64 `protobuf:"varint,7,opt,name=pid,proto3" json:"pid"`
- IsSuper bool `protobuf:"varint,8,opt,name=is_super,json=isSuper,proto3" json:"is_super"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *RbacNode) Reset() { *m = RbacNode{} }
- func (m *RbacNode) String() string { return proto.CompactTextString(m) }
- func (*RbacNode) ProtoMessage() {}
- func (*RbacNode) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{2}
- }
- func (m *RbacNode) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RbacNode.Unmarshal(m, b)
- }
- func (m *RbacNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RbacNode.Marshal(b, m, deterministic)
- }
- func (m *RbacNode) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RbacNode.Merge(m, src)
- }
- func (m *RbacNode) XXX_Size() int {
- return xxx_messageInfo_RbacNode.Size(m)
- }
- func (m *RbacNode) XXX_DiscardUnknown() {
- xxx_messageInfo_RbacNode.DiscardUnknown(m)
- }
- var xxx_messageInfo_RbacNode proto.InternalMessageInfo
- func (m *RbacNode) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *RbacNode) GetName() string {
- if m != nil {
- return m.Name
- }
- return ""
- }
- func (m *RbacNode) GetRouter() string {
- if m != nil {
- return m.Router
- }
- return ""
- }
- func (m *RbacNode) GetMethod() string {
- if m != nil {
- return m.Method
- }
- return ""
- }
- func (m *RbacNode) GetResource() string {
- if m != nil {
- return m.Resource
- }
- return ""
- }
- func (m *RbacNode) GetObject() string {
- if m != nil {
- return m.Object
- }
- return ""
- }
- func (m *RbacNode) GetPid() int64 {
- if m != nil {
- return m.Pid
- }
- return 0
- }
- func (m *RbacNode) GetIsSuper() bool {
- if m != nil {
- return m.IsSuper
- }
- return false
- }
- type CreateManagementUserRequest struct {
- OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username"`
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password"`
- Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"`
- Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email"`
- RbacNodeList []*RbacNode `protobuf:"bytes,6,rep,name=rbac_node_list,json=rbacNodeList,proto3" json:"rbac_node_list"`
- IsSupperUser bool `protobuf:"varint,7,opt,name=is_supper_user,json=isSupperUser,proto3" json:"is_supper_user"`
- GroupId int64 `protobuf:"varint,8,opt,name=group_id,json=groupId,proto3" json:"group_id"`
- Zones string `protobuf:"bytes,9,opt,name=zones,proto3" json:"zones"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CreateManagementUserRequest) Reset() { *m = CreateManagementUserRequest{} }
- func (m *CreateManagementUserRequest) String() string { return proto.CompactTextString(m) }
- func (*CreateManagementUserRequest) ProtoMessage() {}
- func (*CreateManagementUserRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{3}
- }
- func (m *CreateManagementUserRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateManagementUserRequest.Unmarshal(m, b)
- }
- func (m *CreateManagementUserRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateManagementUserRequest.Marshal(b, m, deterministic)
- }
- func (m *CreateManagementUserRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateManagementUserRequest.Merge(m, src)
- }
- func (m *CreateManagementUserRequest) XXX_Size() int {
- return xxx_messageInfo_CreateManagementUserRequest.Size(m)
- }
- func (m *CreateManagementUserRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateManagementUserRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_CreateManagementUserRequest proto.InternalMessageInfo
- func (m *CreateManagementUserRequest) GetOrganizationCode() string {
- if m != nil {
- return m.OrganizationCode
- }
- return ""
- }
- func (m *CreateManagementUserRequest) GetUsername() string {
- if m != nil {
- return m.Username
- }
- return ""
- }
- func (m *CreateManagementUserRequest) GetPassword() string {
- if m != nil {
- return m.Password
- }
- return ""
- }
- func (m *CreateManagementUserRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *CreateManagementUserRequest) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- func (m *CreateManagementUserRequest) GetRbacNodeList() []*RbacNode {
- if m != nil {
- return m.RbacNodeList
- }
- return nil
- }
- func (m *CreateManagementUserRequest) GetIsSupperUser() bool {
- if m != nil {
- return m.IsSupperUser
- }
- return false
- }
- func (m *CreateManagementUserRequest) GetGroupId() int64 {
- if m != nil {
- return m.GroupId
- }
- return 0
- }
- func (m *CreateManagementUserRequest) GetZones() string {
- if m != nil {
- return m.Zones
- }
- return ""
- }
- type CreateManagementUserReply struct {
- Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *CreateManagementUserReply) Reset() { *m = CreateManagementUserReply{} }
- func (m *CreateManagementUserReply) String() string { return proto.CompactTextString(m) }
- func (*CreateManagementUserReply) ProtoMessage() {}
- func (*CreateManagementUserReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{4}
- }
- func (m *CreateManagementUserReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateManagementUserReply.Unmarshal(m, b)
- }
- func (m *CreateManagementUserReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateManagementUserReply.Marshal(b, m, deterministic)
- }
- func (m *CreateManagementUserReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateManagementUserReply.Merge(m, src)
- }
- func (m *CreateManagementUserReply) XXX_Size() int {
- return xxx_messageInfo_CreateManagementUserReply.Size(m)
- }
- func (m *CreateManagementUserReply) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateManagementUserReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_CreateManagementUserReply proto.InternalMessageInfo
- func (m *CreateManagementUserReply) GetUid() int64 {
- if m != nil {
- return m.Uid
- }
- return 0
- }
- type ManagementSuperUserItem struct {
- OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username"`
- Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email"`
- Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
- CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ManagementSuperUserItem) Reset() { *m = ManagementSuperUserItem{} }
- func (m *ManagementSuperUserItem) String() string { return proto.CompactTextString(m) }
- func (*ManagementSuperUserItem) ProtoMessage() {}
- func (*ManagementSuperUserItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{5}
- }
- func (m *ManagementSuperUserItem) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ManagementSuperUserItem.Unmarshal(m, b)
- }
- func (m *ManagementSuperUserItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ManagementSuperUserItem.Marshal(b, m, deterministic)
- }
- func (m *ManagementSuperUserItem) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ManagementSuperUserItem.Merge(m, src)
- }
- func (m *ManagementSuperUserItem) XXX_Size() int {
- return xxx_messageInfo_ManagementSuperUserItem.Size(m)
- }
- func (m *ManagementSuperUserItem) XXX_DiscardUnknown() {
- xxx_messageInfo_ManagementSuperUserItem.DiscardUnknown(m)
- }
- var xxx_messageInfo_ManagementSuperUserItem proto.InternalMessageInfo
- func (m *ManagementSuperUserItem) GetOrganizationCode() string {
- if m != nil {
- return m.OrganizationCode
- }
- return ""
- }
- func (m *ManagementSuperUserItem) GetUsername() string {
- if m != nil {
- return m.Username
- }
- return ""
- }
- func (m *ManagementSuperUserItem) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *ManagementSuperUserItem) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- func (m *ManagementSuperUserItem) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *ManagementSuperUserItem) GetCreatedAt() string {
- if m != nil {
- return m.CreatedAt
- }
- return ""
- }
- // 供系统端调用
- type ManagementSuperUserListRequest struct {
- Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
- PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
- OrganizationCode string `protobuf:"bytes,3,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ManagementSuperUserListRequest) Reset() { *m = ManagementSuperUserListRequest{} }
- func (m *ManagementSuperUserListRequest) String() string { return proto.CompactTextString(m) }
- func (*ManagementSuperUserListRequest) ProtoMessage() {}
- func (*ManagementSuperUserListRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{6}
- }
- func (m *ManagementSuperUserListRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ManagementSuperUserListRequest.Unmarshal(m, b)
- }
- func (m *ManagementSuperUserListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ManagementSuperUserListRequest.Marshal(b, m, deterministic)
- }
- func (m *ManagementSuperUserListRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ManagementSuperUserListRequest.Merge(m, src)
- }
- func (m *ManagementSuperUserListRequest) XXX_Size() int {
- return xxx_messageInfo_ManagementSuperUserListRequest.Size(m)
- }
- func (m *ManagementSuperUserListRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ManagementSuperUserListRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_ManagementSuperUserListRequest proto.InternalMessageInfo
- func (m *ManagementSuperUserListRequest) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *ManagementSuperUserListRequest) GetPageSize() int64 {
- if m != nil {
- return m.PageSize
- }
- return 0
- }
- func (m *ManagementSuperUserListRequest) GetOrganizationCode() string {
- if m != nil {
- return m.OrganizationCode
- }
- return ""
- }
- type ManagementSuperUserListReply struct {
- Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
- Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
- List []*ManagementSuperUserItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ManagementSuperUserListReply) Reset() { *m = ManagementSuperUserListReply{} }
- func (m *ManagementSuperUserListReply) String() string { return proto.CompactTextString(m) }
- func (*ManagementSuperUserListReply) ProtoMessage() {}
- func (*ManagementSuperUserListReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{7}
- }
- func (m *ManagementSuperUserListReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ManagementSuperUserListReply.Unmarshal(m, b)
- }
- func (m *ManagementSuperUserListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ManagementSuperUserListReply.Marshal(b, m, deterministic)
- }
- func (m *ManagementSuperUserListReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ManagementSuperUserListReply.Merge(m, src)
- }
- func (m *ManagementSuperUserListReply) XXX_Size() int {
- return xxx_messageInfo_ManagementSuperUserListReply.Size(m)
- }
- func (m *ManagementSuperUserListReply) XXX_DiscardUnknown() {
- xxx_messageInfo_ManagementSuperUserListReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_ManagementSuperUserListReply proto.InternalMessageInfo
- func (m *ManagementSuperUserListReply) GetTotal() int64 {
- if m != nil {
- return m.Total
- }
- return 0
- }
- func (m *ManagementSuperUserListReply) GetPage() int64 {
- if m != nil {
- return m.Page
- }
- return 0
- }
- func (m *ManagementSuperUserListReply) GetList() []*ManagementSuperUserItem {
- if m != nil {
- return m.List
- }
- return nil
- }
- type ManagementSuperUserUpdateRequest struct {
- OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
- Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username"`
- Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"`
- Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email"`
- Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
- Password string `protobuf:"bytes,6,opt,name=password,proto3" json:"password"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ManagementSuperUserUpdateRequest) Reset() { *m = ManagementSuperUserUpdateRequest{} }
- func (m *ManagementSuperUserUpdateRequest) String() string { return proto.CompactTextString(m) }
- func (*ManagementSuperUserUpdateRequest) ProtoMessage() {}
- func (*ManagementSuperUserUpdateRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{8}
- }
- func (m *ManagementSuperUserUpdateRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ManagementSuperUserUpdateRequest.Unmarshal(m, b)
- }
- func (m *ManagementSuperUserUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ManagementSuperUserUpdateRequest.Marshal(b, m, deterministic)
- }
- func (m *ManagementSuperUserUpdateRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ManagementSuperUserUpdateRequest.Merge(m, src)
- }
- func (m *ManagementSuperUserUpdateRequest) XXX_Size() int {
- return xxx_messageInfo_ManagementSuperUserUpdateRequest.Size(m)
- }
- func (m *ManagementSuperUserUpdateRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ManagementSuperUserUpdateRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_ManagementSuperUserUpdateRequest proto.InternalMessageInfo
- func (m *ManagementSuperUserUpdateRequest) GetOrganizationCode() string {
- if m != nil {
- return m.OrganizationCode
- }
- return ""
- }
- func (m *ManagementSuperUserUpdateRequest) GetUsername() string {
- if m != nil {
- return m.Username
- }
- return ""
- }
- func (m *ManagementSuperUserUpdateRequest) GetPhone() string {
- if m != nil {
- return m.Phone
- }
- return ""
- }
- func (m *ManagementSuperUserUpdateRequest) GetEmail() string {
- if m != nil {
- return m.Email
- }
- return ""
- }
- func (m *ManagementSuperUserUpdateRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *ManagementSuperUserUpdateRequest) GetPassword() string {
- if m != nil {
- return m.Password
- }
- return ""
- }
- type ManagementSuperUserUpdateReply struct {
- Origin *ManagementSuperUserUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ManagementSuperUserUpdateReply) Reset() { *m = ManagementSuperUserUpdateReply{} }
- func (m *ManagementSuperUserUpdateReply) String() string { return proto.CompactTextString(m) }
- func (*ManagementSuperUserUpdateReply) ProtoMessage() {}
- func (*ManagementSuperUserUpdateReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{9}
- }
- func (m *ManagementSuperUserUpdateReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ManagementSuperUserUpdateReply.Unmarshal(m, b)
- }
- func (m *ManagementSuperUserUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ManagementSuperUserUpdateReply.Marshal(b, m, deterministic)
- }
- func (m *ManagementSuperUserUpdateReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ManagementSuperUserUpdateReply.Merge(m, src)
- }
- func (m *ManagementSuperUserUpdateReply) XXX_Size() int {
- return xxx_messageInfo_ManagementSuperUserUpdateReply.Size(m)
- }
- func (m *ManagementSuperUserUpdateReply) XXX_DiscardUnknown() {
- xxx_messageInfo_ManagementSuperUserUpdateReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_ManagementSuperUserUpdateReply proto.InternalMessageInfo
- func (m *ManagementSuperUserUpdateReply) GetOrigin() *ManagementSuperUserUpdateRequest {
- if m != nil {
- return m.Origin
- }
- return nil
- }
- type ManagementSuperUserResetPasswordRequest struct {
- OrganizationCode string `protobuf:"bytes,1,opt,name=organization_code,json=organizationCode,proto3" json:"organization_code"`
- Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
- Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ManagementSuperUserResetPasswordRequest) Reset() {
- *m = ManagementSuperUserResetPasswordRequest{}
- }
- func (m *ManagementSuperUserResetPasswordRequest) String() string { return proto.CompactTextString(m) }
- func (*ManagementSuperUserResetPasswordRequest) ProtoMessage() {}
- func (*ManagementSuperUserResetPasswordRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{10}
- }
- func (m *ManagementSuperUserResetPasswordRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Unmarshal(m, b)
- }
- func (m *ManagementSuperUserResetPasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Marshal(b, m, deterministic)
- }
- func (m *ManagementSuperUserResetPasswordRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Merge(m, src)
- }
- func (m *ManagementSuperUserResetPasswordRequest) XXX_Size() int {
- return xxx_messageInfo_ManagementSuperUserResetPasswordRequest.Size(m)
- }
- func (m *ManagementSuperUserResetPasswordRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ManagementSuperUserResetPasswordRequest.DiscardUnknown(m)
- }
- var xxx_messageInfo_ManagementSuperUserResetPasswordRequest proto.InternalMessageInfo
- func (m *ManagementSuperUserResetPasswordRequest) GetOrganizationCode() string {
- if m != nil {
- return m.OrganizationCode
- }
- return ""
- }
- func (m *ManagementSuperUserResetPasswordRequest) GetId() int64 {
- if m != nil {
- return m.Id
- }
- return 0
- }
- func (m *ManagementSuperUserResetPasswordRequest) GetPassword() string {
- if m != nil {
- return m.Password
- }
- return ""
- }
- type ManagementSuperUserResetPasswordReply struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- func (m *ManagementSuperUserResetPasswordReply) Reset() { *m = ManagementSuperUserResetPasswordReply{} }
- func (m *ManagementSuperUserResetPasswordReply) String() string { return proto.CompactTextString(m) }
- func (*ManagementSuperUserResetPasswordReply) ProtoMessage() {}
- func (*ManagementSuperUserResetPasswordReply) Descriptor() ([]byte, []int) {
- return fileDescriptor_8d10c68ef159b9ed, []int{11}
- }
- func (m *ManagementSuperUserResetPasswordReply) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ManagementSuperUserResetPasswordReply.Unmarshal(m, b)
- }
- func (m *ManagementSuperUserResetPasswordReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ManagementSuperUserResetPasswordReply.Marshal(b, m, deterministic)
- }
- func (m *ManagementSuperUserResetPasswordReply) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ManagementSuperUserResetPasswordReply.Merge(m, src)
- }
- func (m *ManagementSuperUserResetPasswordReply) XXX_Size() int {
- return xxx_messageInfo_ManagementSuperUserResetPasswordReply.Size(m)
- }
- func (m *ManagementSuperUserResetPasswordReply) XXX_DiscardUnknown() {
- xxx_messageInfo_ManagementSuperUserResetPasswordReply.DiscardUnknown(m)
- }
- var xxx_messageInfo_ManagementSuperUserResetPasswordReply proto.InternalMessageInfo
- func init() {
- proto.RegisterType((*InitOrganizationDbRequest)(nil), "pb_v1.InitOrganizationDbRequest")
- proto.RegisterType((*InitOrganizationDbReply)(nil), "pb_v1.InitOrganizationDbReply")
- proto.RegisterType((*RbacNode)(nil), "pb_v1.RbacNode")
- proto.RegisterType((*CreateManagementUserRequest)(nil), "pb_v1.CreateManagementUserRequest")
- proto.RegisterType((*CreateManagementUserReply)(nil), "pb_v1.CreateManagementUserReply")
- proto.RegisterType((*ManagementSuperUserItem)(nil), "pb_v1.ManagementSuperUserItem")
- proto.RegisterType((*ManagementSuperUserListRequest)(nil), "pb_v1.ManagementSuperUserListRequest")
- proto.RegisterType((*ManagementSuperUserListReply)(nil), "pb_v1.ManagementSuperUserListReply")
- proto.RegisterType((*ManagementSuperUserUpdateRequest)(nil), "pb_v1.ManagementSuperUserUpdateRequest")
- proto.RegisterType((*ManagementSuperUserUpdateReply)(nil), "pb_v1.ManagementSuperUserUpdateReply")
- proto.RegisterType((*ManagementSuperUserResetPasswordRequest)(nil), "pb_v1.ManagementSuperUserResetPasswordRequest")
- proto.RegisterType((*ManagementSuperUserResetPasswordReply)(nil), "pb_v1.ManagementSuperUserResetPasswordReply")
- }
- func init() {
- proto.RegisterFile("organization.proto", fileDescriptor_8d10c68ef159b9ed)
- }
- var fileDescriptor_8d10c68ef159b9ed = []byte{
- // 632 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x4f, 0x6b, 0xdb, 0x4e,
- 0x10, 0x45, 0x96, 0xed, 0xd8, 0x93, 0x90, 0x5f, 0x7e, 0x4b, 0x68, 0xe4, 0x24, 0x0d, 0x41, 0xb4,
- 0x24, 0x50, 0x92, 0x90, 0x94, 0x9e, 0x4b, 0x9b, 0x1e, 0x6a, 0xe8, 0x3f, 0x14, 0x72, 0xe9, 0x45,
- 0xac, 0xa4, 0xc1, 0xd9, 0x62, 0x69, 0xb7, 0xbb, 0xab, 0x14, 0x9b, 0xd2, 0x43, 0x3f, 0x57, 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