...

Source file src/github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/clients/echo/model_examplepb_simple_message.go

Documentation: github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/clients/echo

     1  /*
     2   * Echo Service
     3   *
     4   * Echo Service API consists of a single service which returns a message.
     5   *
     6   * API version: version not set
     7   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     8   */
     9  
    10  package echo
    11  
    12  // SimpleMessage represents a simple message sent to the Echo service.
    13  type ExamplepbSimpleMessage struct {
    14  	// Id represents the message identifier.
    15  	Id string `json:"id,omitempty"`
    16  	Num string `json:"num,omitempty"`
    17  	LineNum string `json:"lineNum,omitempty"`
    18  	Lang string `json:"lang,omitempty"`
    19  	Status *ExamplepbEmbedded `json:"status,omitempty"`
    20  	En string `json:"en,omitempty"`
    21  	No *ExamplepbEmbedded `json:"no,omitempty"`
    22  	ResourceId string `json:"resourceId,omitempty"`
    23  	NId *ExamplepbNestedMessage `json:"nId,omitempty"`
    24  }
    25  

View as plain text