View Source Onvif.Devices.Schemas.SystemDateAndTime (Onvif v0.5.0)

Summary

Functions

changeset(module, attrs)

parse(doc)

to_json(schema)

@spec to_json(%Onvif.Devices.Schemas.SystemDateAndTime{
  current_diff: term(),
  date_time_type: term(),
  datetime: term(),
  daylight_savings: term(),
  local_date_time: term(),
  time_zone: term(),
  utc_date_time: term()
}) ::
  {:error,
   %{
     :__exception__ => any(),
     :__struct__ => Jason.EncodeError | Protocol.UndefinedError,
     optional(atom()) => any()
   }}
  | {:ok, binary()}

to_struct(parsed)