Packages

REST API Generated with swagger-codegen using the OpsGenie OpenAPI Specification.

Current section

Files

Jump to
ops_genie_restapi lib ops_genie_restapi model connect_wise_callback.ex
Raw

lib/ops_genie_restapi/model/connect_wise_callback.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.ConnectWiseCallback do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:"alertFilter",
:"alertActions",
:"callback-type",
:"sendAlertActions",
:"bidirectional-callback-type",
:"awsLambdaUrl"
]
@type t :: %__MODULE__{
:"alertFilter" => AlertFilter,
:"alertActions" => [String.t],
:"callback-type" => String.t,
:"sendAlertActions" => boolean(),
:"bidirectional-callback-type" => String.t,
:"awsLambdaUrl" => String.t
}
end
defimpl Poison.Decoder, for: OpsGenieRESTAPI.Model.ConnectWiseCallback do
import OpsGenieRESTAPI.Deserializer
def decode(value, options) do
value
|> deserialize(:"alertFilter", :struct, OpsGenieRESTAPI.Model.AlertFilter, options)
end
end