CitraClient.Schemas.ManeuverUpdate (citra_client v0.3.0)

View Source

Schema for maneuver update operations

Fields

  • :cross_track_magnitudenumber() (API key: crossTrackMagnitude) — Cross-track component of maneuver
  • :in_track_magnitudenumber() (API key: inTrackMagnitude) — In-track component of maneuver
  • :magnitudenumber() — Total maneuver magnitude
  • :radial_magnitudenumber() (API key: radialMagnitude) — Radial component of maneuver
  • :statusManeuverStatus (see OpenAPI spec) — New status for the maneuver

Summary

Functions

Build this struct from a decoded JSON map received from the API. Unknown fields are ignored.

Convert this struct into a map with the API's camelCase keys, ready to be JSON-encoded. Fields whose value is nil are omitted.

Types

t()

@type t() :: %CitraClient.Schemas.ManeuverUpdate{
  cross_track_magnitude: number() | nil,
  in_track_magnitude: number() | nil,
  magnitude: number() | nil,
  radial_magnitude: number() | nil,
  status: map() | String.t() | nil
}

Functions

from_api(data)

Build this struct from a decoded JSON map received from the API. Unknown fields are ignored.

to_api(struct)

Convert this struct into a map with the API's camelCase keys, ready to be JSON-encoded. Fields whose value is nil are omitted.