CitraClient.Schemas.GEOSatellitePlotData (citra_client v0.3.0)

View Source

Struct generated from the GEOSatellitePlotData schema.

Fields

  • :altitudes — list of number() — List of altitudes in kilometers
  • :epochs — list of String.t() — List of epochs in ISO 8601 format
  • :geo_altitudes — list of number() (API key: geoAltitudes) — List of altitudes with respect to GEO in kilometers
  • :latitudes — list of number() — List of latitudes in degrees
  • :longitudes — list of number() — List of longitudes in degrees
  • :nameString.t() — Name of the satellite
  • :satellite_id — UUID String.t() (API key: satelliteId) — Unique identifier of the satellite

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.GEOSatellitePlotData{
  altitudes: [number() | nil],
  epochs: [String.t() | nil],
  geo_altitudes: [number() | nil],
  latitudes: [number() | nil],
  longitudes: [number() | nil],
  name: String.t() | nil,
  satellite_id: 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.