Inttegro.Schedules.LookupRequest (inttegro v0.2.0)

Copy Markdown View Source

Parameters for Lookup Request in the Schedules API.

Build this struct with new!/1 and pass it to the corresponding function on Inttegro.Schedules. Required keys are enforced immediately; optional values left as nil are omitted from the request sent to Inttegro.

Reads and cancels scheduled work created through Inttegro APIs.

A schedule records when a supported operation should run and whether it is still actionable. Cancellation affects future execution; it does not reverse work that has already completed.

Summary

Types

t()

A validated lookup request request.

Functions

Builds a Inttegro.Schedules.LookupRequest and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Schedules.LookupRequest{schedule_id: String.t()}

A validated lookup request request.

Functions

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

Builds a Inttegro.Schedules.LookupRequest and raises KeyError when a required field is missing.