Assignment and Grade Services (AGS) endpoint claim.
Provides URLs for managing line items and scores. All fields are optional.
Examples
iex> Ltix.LaunchClaims.AgsEndpoint.from_json(%{"lineitems" => "https://example.com/lineitems"})
{:ok, %Ltix.LaunchClaims.AgsEndpoint{scope: nil, lineitems: "https://example.com/lineitems", lineitem: nil}}
Summary
Functions
Parse an AGS endpoint claim from a JSON map.
Types
Functions
@spec from_json(map()) :: {:ok, t()} | {:error, Exception.t()}
Parse an AGS endpoint claim from a JSON map.
Examples
iex> Ltix.LaunchClaims.AgsEndpoint.from_json(%{})
{:ok, %Ltix.LaunchClaims.AgsEndpoint{scope: nil, lineitems: nil, lineitem: nil}}