Current section

Files

Jump to
mollie_api lib mollie_api model url_nullable.ex
Raw

lib/mollie_api/model/url_nullable.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.17.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule MollieAPI.Model.UrlNullable do
@moduledoc """
In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
"""
@derive JSON.Encoder
defstruct [
:href,
:type
]
@type t :: %__MODULE__{
:href => String.t | nil,
:type => String.t | nil
}
def decode(value) do
value
end
end