lib/vr_chat/model/license_group.ex

# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.

defmodule VRChat.Model.LicenseGroup do
  @moduledoc """
  
  """

  @derive [Poison.Encoder]
  defstruct [
    :id,
    :name,
    :description,
    :licenses
  ]

  @type t :: %__MODULE__{
    :id => String.t,
    :name => String.t,
    :description => String.t,
    :licenses => [VRChat.Model.License.t]
  }
end

defimpl Poison.Decoder, for: VRChat.Model.LicenseGroup do
  import VRChat.Deserializer
  def decode(value, options) do
    value
    |> deserialize(:licenses, :list, VRChat.Model.License, options)
  end
end