/
model_method_descriptor.go
24 lines (23 loc) · 1.21 KB
/
model_method_descriptor.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
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub # Authentication <!-- ReDoc-Inject: <security-definitions> -->
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
type MethodDescriptor struct {
Index int32 `json:"index,omitempty"`
Proto *MethodDescriptorProto `json:"proto,omitempty"`
FullName string `json:"fullName,omitempty"`
File *FileDescriptor `json:"file,omitempty"`
Service *ServiceDescriptor `json:"service,omitempty"`
InputType *Descriptor `json:"inputType,omitempty"`
OutputType *Descriptor `json:"outputType,omitempty"`
Options *MethodOptions `json:"options,omitempty"`
ClientStreaming bool `json:"clientStreaming,omitempty"`
ServerStreaming bool `json:"serverStreaming,omitempty"`
Name string `json:"name,omitempty"`
}