Current section

Files

Jump to
opencode_sdk lib opencode generated permission_saved_info.ex
Raw

lib/opencode/generated/permission_saved_info.ex

defmodule OpenCode.Generated.PermissionSavedInfo do
@moduledoc """
Provides struct and type for a PermissionSavedInfo
"""
@type t :: %__MODULE__{
action: String.t(),
id: String.t(),
project_id: String.t(),
resource: String.t()
}
defstruct [:action, :id, :project_id, :resource]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[action: :string, id: :string, project_id: :string, resource: :string]
end
end