View Source Onvif.Devices.SystemDateAndTime (Onvif v0.3.4)

Link to this section Summary

Link to this section Functions

Link to this function

changeset(module, attrs)

View Source
@spec to_json(%Onvif.Devices.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()}