CitraClient.Schemas.GroundTrackPoint (citra_client v0.3.0)

View Source

A single point in a satellite's ground track.

Fields

  • :altitudenumber() — Altitude above Earth's surface in kilometers
  • :epochString.t() — Time of this position in ISO 8601 format
  • :latitudenumber() — Geodetic latitude in degrees (-90 to 90)
  • :longitudenumber() — Geodetic longitude in degrees (0 to 360)

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.GroundTrackPoint{
  altitude: number() | nil,
  epoch: String.t() | nil,
  latitude: number() | nil,
  longitude: number() | 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.