View Source Onvif.Devices.Schemas.Service (Onvif v0.6.0)

Service schema that outlines namespaces and versions

Summary

Types

t()

@type t() :: %Onvif.Devices.Schemas.Service{
  namespace: term(),
  version: term(),
  xaddr: term()
}

Functions

changeset(module, attrs)

parse(doc)

to_json(schema)

@spec to_json(t()) ::
  {:error,
   %{
     :__exception__ => any(),
     :__struct__ => Jason.EncodeError | Protocol.UndefinedError,
     optional(atom()) => any()
   }}
  | {:ok, binary()}

to_struct(parsed)