-
Notifications
You must be signed in to change notification settings - Fork 1
/
create_org.pb.go
317 lines (285 loc) · 10.4 KB
/
create_org.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: create_org.proto
package organization
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//CreateOrg请求
type CreateOrgRequest struct {
//
//org
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id"`
//
//过期日期
ExpiredDays int32 `protobuf:"varint,2,opt,name=expired_days,json=expiredDays,proto3" json:"expired_days" form:"expired_days"`
//
//名称
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name" form:"name"`
//
//备注
Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo" form:"memo"`
//
//版本类型
Edition string `protobuf:"bytes,5,opt,name=edition,proto3" json:"edition" form:"edition"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOrgRequest) Reset() { *m = CreateOrgRequest{} }
func (m *CreateOrgRequest) String() string { return proto.CompactTextString(m) }
func (*CreateOrgRequest) ProtoMessage() {}
func (*CreateOrgRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_57863ae8e244ad8f, []int{0}
}
func (m *CreateOrgRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOrgRequest.Unmarshal(m, b)
}
func (m *CreateOrgRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOrgRequest.Marshal(b, m, deterministic)
}
func (m *CreateOrgRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOrgRequest.Merge(m, src)
}
func (m *CreateOrgRequest) XXX_Size() int {
return xxx_messageInfo_CreateOrgRequest.Size(m)
}
func (m *CreateOrgRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOrgRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOrgRequest proto.InternalMessageInfo
func (m *CreateOrgRequest) GetId() int32 {
if m != nil {
return m.Id
}
return 0
}
func (m *CreateOrgRequest) GetExpiredDays() int32 {
if m != nil {
return m.ExpiredDays
}
return 0
}
func (m *CreateOrgRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateOrgRequest) GetMemo() string {
if m != nil {
return m.Memo
}
return ""
}
func (m *CreateOrgRequest) GetEdition() string {
if m != nil {
return m.Edition
}
return ""
}
//
//CreateOrg返回
type CreateOrgResponse struct {
//
//org
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id" form:"id"`
//
//过期时间戳
Expires int32 `protobuf:"varint,2,opt,name=expires,proto3" json:"expires" form:"expires"`
//
//创建日期
CreateAt string `protobuf:"bytes,3,opt,name=createAt,proto3" json:"createAt" form:"createAt"`
//
//是否可用
Valid bool `protobuf:"varint,4,opt,name=valid,proto3" json:"valid" form:"valid"`
//
//更新事件戳
Ts int32 `protobuf:"varint,5,opt,name=ts,proto3" json:"ts" form:"ts"`
//
//名称
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name" form:"name"`
//
//备注
Memo string `protobuf:"bytes,7,opt,name=memo,proto3" json:"memo" form:"memo"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOrgResponse) Reset() { *m = CreateOrgResponse{} }
func (m *CreateOrgResponse) String() string { return proto.CompactTextString(m) }
func (*CreateOrgResponse) ProtoMessage() {}
func (*CreateOrgResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_57863ae8e244ad8f, []int{1}
}
func (m *CreateOrgResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOrgResponse.Unmarshal(m, b)
}
func (m *CreateOrgResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOrgResponse.Marshal(b, m, deterministic)
}
func (m *CreateOrgResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOrgResponse.Merge(m, src)
}
func (m *CreateOrgResponse) XXX_Size() int {
return xxx_messageInfo_CreateOrgResponse.Size(m)
}
func (m *CreateOrgResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOrgResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOrgResponse proto.InternalMessageInfo
func (m *CreateOrgResponse) GetId() int32 {
if m != nil {
return m.Id
}
return 0
}
func (m *CreateOrgResponse) GetExpires() int32 {
if m != nil {
return m.Expires
}
return 0
}
func (m *CreateOrgResponse) GetCreateAt() string {
if m != nil {
return m.CreateAt
}
return ""
}
func (m *CreateOrgResponse) GetValid() bool {
if m != nil {
return m.Valid
}
return false
}
func (m *CreateOrgResponse) GetTs() int32 {
if m != nil {
return m.Ts
}
return 0
}
func (m *CreateOrgResponse) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateOrgResponse) GetMemo() string {
if m != nil {
return m.Memo
}
return ""
}
//
//CreateOrgApi返回
type CreateOrgResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *CreateOrgResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOrgResponseWrapper) Reset() { *m = CreateOrgResponseWrapper{} }
func (m *CreateOrgResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*CreateOrgResponseWrapper) ProtoMessage() {}
func (*CreateOrgResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_57863ae8e244ad8f, []int{2}
}
func (m *CreateOrgResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateOrgResponseWrapper.Unmarshal(m, b)
}
func (m *CreateOrgResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateOrgResponseWrapper.Marshal(b, m, deterministic)
}
func (m *CreateOrgResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOrgResponseWrapper.Merge(m, src)
}
func (m *CreateOrgResponseWrapper) XXX_Size() int {
return xxx_messageInfo_CreateOrgResponseWrapper.Size(m)
}
func (m *CreateOrgResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOrgResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOrgResponseWrapper proto.InternalMessageInfo
func (m *CreateOrgResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *CreateOrgResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *CreateOrgResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *CreateOrgResponseWrapper) GetData() *CreateOrgResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*CreateOrgRequest)(nil), "organization.CreateOrgRequest")
proto.RegisterType((*CreateOrgResponse)(nil), "organization.CreateOrgResponse")
proto.RegisterType((*CreateOrgResponseWrapper)(nil), "organization.CreateOrgResponseWrapper")
}
func init() { proto.RegisterFile("create_org.proto", fileDescriptor_57863ae8e244ad8f) }
var fileDescriptor_57863ae8e244ad8f = []byte{
// 430 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x6f, 0xd3, 0x30,
0x14, 0xc7, 0x95, 0xd0, 0x6e, 0xab, 0x53, 0x58, 0xf1, 0x24, 0x88, 0x90, 0x90, 0xa7, 0x87, 0x84,
0x76, 0x80, 0x54, 0x82, 0x0b, 0xda, 0x8d, 0x30, 0xce, 0x48, 0xbe, 0x70, 0x9c, 0xdc, 0xda, 0x0b,
0x96, 0x96, 0x38, 0x38, 0x2e, 0x5a, 0xf9, 0x38, 0x7c, 0xb0, 0xdc, 0x10, 0xf7, 0x7c, 0x02, 0xe4,
0xe7, 0x94, 0x1a, 0x2a, 0x01, 0xa7, 0xd8, 0xef, 0xff, 0x7b, 0xf6, 0xfb, 0xff, 0x63, 0xb2, 0x58,
0x5b, 0x25, 0x9c, 0xba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