GoogleApi.Gax.ModelBase (google_gax v0.4.1) View Source
This module helps you quickly and concisely define API models.
Example:
defmodule Pet do
use GoogleApi.Gax.ModelBase
field(:id)
field(:category, as: Category)
field(:tags, as: Tag, type: :list)
end
Link to this section Summary
Link to this section Functions
Specs
Helper to decode model fields
Specs
Helper to encode model into JSON