...

Source file src/github.com/grpc-ecosystem/grpc-gateway/v2/examples/internal/clients/abe/model_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 Book struct {
    19  	// Output only. The book's ID.
    20  	Id string `json:"id,omitempty"`
    21  	// Output only. Creation time of the book.
    22  	CreateTime time.Time `json:"createTime,omitempty"`
    23  }
    24  

View as plain text