CitraClient.Schemas.ElsetHistoryPoint (citra_client v0.3.0)

View Source

A single point in the elset history timeline.

Fields

  • :argument_of_perigeenumber() (API key: argumentOfPerigee) — Argument of perigee in degrees
  • :b_starnumber() (API key: bStar) — BSTAR drag term
  • :ballistic_coefficientnumber() (API key: ballisticCoefficient) — Ballistic coefficient
  • :creation_epochDateTime.t() (API key: creationEpoch) — When the elset was created
  • :eccentricitynumber() — Eccentricity (dimensionless)
  • :epochDateTime.t() — Epoch time of the elset
  • :id — UUID String.t() — Unique identifier for the elset
  • :inclinationnumber() — Inclination in degrees
  • :mean_anomalynumber() (API key: meanAnomaly) — Mean anomaly in degrees
  • :mean_motion_dotnumber() (API key: meanMotionDot) — First derivative of mean motion
  • :mean_motion_dot_dotnumber() (API key: meanMotionDotDot) — Second derivative of mean motion
  • :raannumber() — Right ascension of ascending node in degrees
  • :satellite_id — UUID String.t() (API key: satelliteId) — Satellite this elset belongs to
  • :semi_major_axisnumber() (API key: semiMajorAxis) — Semi-major axis in km
  • :srp_coefficientnumber() (API key: srpCoefficient) — Solar radiation pressure coefficient
  • :typeString.t() — Elset type (e.g., TLE, SP)
  • :user_group_nameString.t() (API key: userGroupName) — Group name if elset from a group
  • :usernameString.t() — Username of elset creator

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.ElsetHistoryPoint{
  argument_of_perigee: number() | nil,
  b_star: number() | nil,
  ballistic_coefficient: number() | nil,
  creation_epoch: DateTime.t() | nil,
  eccentricity: number() | nil,
  epoch: DateTime.t() | nil,
  id: String.t() | nil,
  inclination: number() | nil,
  mean_anomaly: number() | nil,
  mean_motion_dot: number() | nil,
  mean_motion_dot_dot: number() | nil,
  raan: number() | nil,
  satellite_id: String.t() | nil,
  semi_major_axis: number() | nil,
  srp_coefficient: number() | nil,
  type: String.t() | nil,
  user_group_name: String.t() | nil,
  username: 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.