View Source GoogleApi.LibraryAgent.V1.Model.GoogleExampleLibraryagentV1Book (google_api_library_agent v0.7.0)

A single book in the library.

Attributes

  • author (type: String.t, default: nil) - The name of the book author.
  • name (type: String.t, default: nil) - The resource name of the book. Book names have the form shelves/{shelf_id}/books/{book_id}. The name is ignored when creating a book.
  • read (type: boolean(), default: nil) - Value indicating whether the book has been read.
  • title (type: String.t, default: nil) - The title of the book.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.LibraryAgent.V1.Model.GoogleExampleLibraryagentV1Book{
  author: String.t() | nil,
  name: String.t() | nil,
  read: boolean() | nil,
  title: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.