summaryrefslogtreecommitdiff
path: root/lib/azure_ex/model/public_ip_address/create_or_update.ex
blob: 959db34fbe8d9f23710007806029cca32898adcb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
defmodule AzureEx.Model.PublicIPAddress.CreateOrUpdate do
  @moduledoc false

  use TypedStruct

  alias __MODULE__.{Properties}

  typedstruct module: Properties do
    @derive Jason.Encoder

    field :publicIPAddressVersion, String.t()
  end

  typedstruct do
    @derive Jason.Encoder

    field :id, String.t()
    field :location, String.t()
    field :properties, Properties.t(), default: %Properties{}
  end
end