Packages

This package implements the full CloudAPI for managing Joyent Triton clusters

Current section

Files

Jump to
cloudapi lib firewall_rule.ex
Raw

lib/firewall_rule.ex

defmodule CloudAPI.FirewallRule do
@moduledoc """
This structure represents a CloudAPI Firewall Rule
"""
use Ecto.Schema
import Ecto.Changeset
@primary_key false
embedded_schema do
field :id, Ecto.UUID
field :enabled, :boolean
field :global, :boolean
field :rule, :string
field :description, :string
end
end