Packages
REST API Generated with swagger-codegen using the OpsGenie OpenAPI Specification.
Current section
Files
Jump to
Current section
Files
lib/ops_genie_restapi/model/custom_user_role.ex
# NOTE: This class is auto generated by the swagger code generator program.
# https://github.com/swagger-api/swagger-codegen.git
# Do not edit the class manually.
defmodule OpsGenieRESTAPI.Model.CustomUserRole do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"id",
:"name",
:"extendedRole",
:"grantedRights",
:"disallowedRights"
]
@type t :: %__MODULE__{
:"id" => String.t,
:"name" => String.t,
:"extendedRole" => String.t,
:"grantedRights" => [String.t],
:"disallowedRights" => [String.t]
}
end
defimpl Poison.Decoder, for: OpsGenieRESTAPI.Model.CustomUserRole do
def decode(value, _options) do
value
end
end