endpoints/systems
Types
pub type GetConstructionSiteResponse {
GetConstructionSiteResponse(
construction: construction.Construction,
)
}
Constructors
-
GetConstructionSiteResponse( construction: construction.Construction, )
pub type GetJumpGateResponse {
GetJumpGateResponse(jump_gate: jump_gate.JumpGate)
}
Constructors
-
GetJumpGateResponse(jump_gate: jump_gate.JumpGate)
pub type GetMarketResponse {
GetMarketResponse(market: market.Market)
}
Constructors
-
GetMarketResponse(market: market.Market)
pub type GetShipyardResponse {
GetShipyardResponse(shipyard: shipyard.Shipyard)
}
Constructors
-
GetShipyardResponse(shipyard: shipyard.Shipyard)
pub type GetSystemResponse {
GetSystemResponse(system: system.System)
}
Constructors
-
GetSystemResponse(system: system.System)
pub type GetWaypointResponse {
GetWaypointResponse(waypoint: waypoint.Waypoint)
}
Constructors
-
GetWaypointResponse(waypoint: waypoint.Waypoint)
pub type ListSystemWaypointsResponse {
ListSystemWaypointsResponse(waypoints: List(waypoint.Waypoint))
}
Constructors
-
ListSystemWaypointsResponse(waypoints: List(waypoint.Waypoint))
pub type ListSystemsResponse {
ListSystemsResponse(systems: List(system.System))
}
Constructors
-
ListSystemsResponse(systems: List(system.System))
pub type SupplyConstructionSiteResponse {
SupplyConstructionSiteResponse(
construction: construction.Construction,
cargo: ship_cargo.ShipCargo,
)
}
Constructors
-
SupplyConstructionSiteResponse( construction: construction.Construction, cargo: ship_cargo.ShipCargo, )
Values
pub fn get_construction_site(
token: auth.AgentToken,
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(GetConstructionSiteResponse, api.ApiError)
pub fn get_jump_gate(
token: auth.AgentToken,
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(GetJumpGateResponse, api.ApiError)
pub fn get_market(
token: auth.AgentToken,
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(GetMarketResponse, api.ApiError)
pub fn get_shipyard(
token: auth.AgentToken,
system_symbol: String,
waypoint_symbol: String,
) -> Result(GetShipyardResponse, api.ApiError)
pub fn get_system(
token: auth.AgentToken,
system_symbol: system_symbol.SystemSymbol,
) -> Result(GetSystemResponse, api.ApiError)
pub fn get_waypoint(
token: auth.AgentToken,
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
) -> Result(GetWaypointResponse, api.ApiError)
pub fn list_system_waypoints(
token: auth.AgentToken,
system_symbol: system_symbol.SystemSymbol,
page: option.Option(Int),
limit: option.Option(Int),
type_: option.Option(waypoint_type.WaypointType),
traits: List(waypoint_trait_symbol.WaypointTraitSymbol),
) -> Result(
api.PagedData(ListSystemWaypointsResponse),
api.ApiError,
)
pub fn list_systems(
token: auth.AgentToken,
page: option.Option(Int),
limit: option.Option(Int),
) -> Result(api.PagedData(ListSystemsResponse), api.ApiError)
pub fn supply_construction_site(
token: auth.AgentToken,
system_symbol: system_symbol.SystemSymbol,
waypoint_symbol: waypoint_symbol.WaypointSymbol,
ship_symbol: ship_symbol.ShipSymbol,
trade_symbol: trade_symbol.TradeSymbol,
units: Int,
) -> Result(SupplyConstructionSiteResponse, api.ApiError)