...

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

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

     1  /*
     2   * A Bit of Everything
     3   *
     4   * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
     5   *
     6   * API version: 1.0
     7   * Contact: none@example.com
     8   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     9   */
    10  
    11  package abe
    12  
    13  import (
    14  	"time"
    15  )
    16  
    17  // An example resource type from AIP-123 used to test the behavior described in the CreateBookRequest message.  See: https://google.aip.dev/123
    18  type ExamplepbBook struct {
    19  	// The resource name of the book.  Format: `publishers/{publisher}/books/{book}`  Example: `publishers/1257894000000000000/books/my-book`
    20  	Name string `json:"name,omitempty"`
    21  	// Output only. The book's ID.
    22  	Id string `json:"id,omitempty"`
    23  	// Output only. Creation time of the book.
    24  	CreateTime time.Time `json:"createTime,omitempty"`
    25  }
    26  

View as plain text