CitraClient.Schemas.FilterOptions (citra_client v0.3.0)

View Source

Distinct values for satellite text-field filters.

Fields

  • :bus — list of String.t()
  • :manufacturer — list of String.t()
  • :mission — list of String.t()
  • :owner — list of String.t()
  • :secondary_mission — list of String.t() (API key: secondaryMission)
  • :sector — list of String.t()
  • :shape — list of String.t()

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.FilterOptions{
  bus: [String.t() | nil],
  manufacturer: [String.t() | nil],
  mission: [String.t() | nil],
  owner: [String.t() | nil],
  secondary_mission: [String.t() | nil],
  sector: [String.t() | nil],
  shape: [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.