File: model_examplepb_unannotated_simple_message.go

package info (click to toggle)
golang-github-grpc-ecosystem-grpc-gateway 2.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,236 kB
  • sloc: javascript: 357; makefile: 147; sh: 26
file content (27 lines) | stat: -rw-r--r-- 1,041 bytes parent folder | download
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
/*
 * Unannotated Echo
 *
 * Unannotated Echo Service Similar to echo_service.proto but without annotations. See unannotated_echo_service.yaml for the equivalent of the annotations in gRPC API configuration format.  Echo Service API consists of a single service which returns a message.
 *
 * API version: 1.0
 * Contact: none@example.com
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */

package unannotatedecho

// A simple message with many types
type ExamplepbUnannotatedSimpleMessage struct {
	// Id represents the message identifier.
	Id string `json:"id"`
	// Int value field
	Num string `json:"num"`
	Duration string `json:"duration,omitempty"`
	LineNum string `json:"lineNum,omitempty"`
	Lang string `json:"lang,omitempty"`
	Status *ExamplepbUnannotatedEmbedded `json:"status,omitempty"`
	En string `json:"en,omitempty"`
	No *ExamplepbUnannotatedEmbedded `json:"no,omitempty"`
	ResourceId string `json:"resourceId,omitempty"`
	NId *ExamplepbUnannotatedNestedMessage `json:"nId,omitempty"`
}