lib/ex_vcom/model/o_auth_token_refresh.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 ExVcom.Model.OAuthTokenRefresh do
@moduledoc """
Post body to get a new access token by refresh token grant
"""
@derive [Poison.Encoder]
defstruct [
:grant_type,
:refresh_token
]
@type t :: %__MODULE__{
:grant_type => String.t(),
:refresh_token => String.t()
}
end
defimpl Poison.Decoder, for: ExVcom.Model.OAuthTokenRefresh do
def decode(value, _options) do
value
end
end