SpaceTradersisanopen-universegameandlearningplatformthatoffersasetofHTTPendpointstocontrolafleetofshipsandexploreamultiplayeruniverse.TheAPIisdocumentedusing[OpenAPI](https://github.com/SpaceTradersAPI/api-docs). You can send your first request right here in your browser to check the status of the game server. ```json http { \"method\": \"GET\", \"url\": \"https://api.spacetraders.io/v2\", } ``` Unlike a traditional game, SpaceTraders does not have a first-party client or app to play the game. Instead, you can use the API to build your own client, write a script to automate your ships, or try an app built by the community. We have a [Discord channel](https://discord.com/invite/jh6zurdWk5) where you can share your projects, ask questions, and get help from other players.
APIversion:2.0.0
Contact:joel@spacetraders.io
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
// checks if the ShipCrew type satisfies the MappedNullable interface at compile time
var_MappedNullable=&ShipCrew{}
// ShipCrew The ship's crew service and maintain the ship's systems and equipment.
typeShipCrewstruct{
// The current number of crew members on the ship.
Currentint32`json:"current"`
// The minimum number of crew members required to maintain the ship.
Requiredint32`json:"required"`
// The maximum number of crew members the ship can support.
Capacityint32`json:"capacity"`
// The rotation of crew shifts. A stricter shift improves the ship's performance. A more relaxed shift improves the crew's morale.
Rotationstring`json:"rotation"`
// A rough measure of the crew's morale. A higher morale means the crew is happier and more productive. A lower morale means the ship is more prone to accidents.
Moraleint32`json:"morale"`
// The amount of credits per crew member paid per hour. Wages are paid when a ship docks at a civilized waypoint.
Wagesint32`json:"wages"`
AdditionalPropertiesmap[string]interface{}
}
type_ShipCrewShipCrew
// NewShipCrew instantiates a new ShipCrew object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed