model

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllGender = []Gender{
	GenderMale,
	GenderFemale,
}
View Source
var AllSpectralClass = []SpectralClass{
	SpectralClassK2V,
	SpectralClassK4V,
	SpectralClassG2V,
	SpectralClassG8V,
	SpectralClassM7V,
	SpectralClassK7V,
	SpectralClassM2V,
	SpectralClassK5V,
	SpectralClassM3V,
	SpectralClassG0V,
	SpectralClassG7V,
	SpectralClassG3V,
	SpectralClassF9V,
	SpectralClassG5V,
	SpectralClassF6V,
	SpectralClassK8V,
	SpectralClassK9V,
	SpectralClassK6V,
	SpectralClassG9V,
	SpectralClassG6V,
	SpectralClassG4Vi,
	SpectralClassG4V,
	SpectralClassF8V,
	SpectralClassF2V,
	SpectralClassF1V,
	SpectralClassK3V,
	SpectralClassF0Vi,
	SpectralClassG1Vi,
	SpectralClassG0Vi,
	SpectralClassK1V,
	SpectralClassM4V,
	SpectralClassM1V,
	SpectralClassM6V,
	SpectralClassM0V,
	SpectralClassK2Iv,
	SpectralClassG2Vi,
	SpectralClassK0V,
	SpectralClassK5Iv,
	SpectralClassF5Vi,
	SpectralClassG6Vi,
	SpectralClassF6Vi,
	SpectralClassF2Iv,
	SpectralClassG3Vi,
	SpectralClassM8V,
	SpectralClassF1Vi,
	SpectralClassK1Iv,
	SpectralClassF7V,
	SpectralClassG5Vi,
	SpectralClassM5V,
	SpectralClassG7Vi,
	SpectralClassF5V,
	SpectralClassF4Vi,
	SpectralClassF8Vi,
	SpectralClassK3Iv,
	SpectralClassF4Iv,
	SpectralClassF0V,
	SpectralClassG7Iv,
	SpectralClassG8Vi,
	SpectralClassF2Vi,
	SpectralClassF4V,
	SpectralClassF7Vi,
	SpectralClassF3V,
	SpectralClassG1V,
	SpectralClassG9Vi,
	SpectralClassF3Iv,
	SpectralClassF9Vi,
	SpectralClassM9V,
	SpectralClassK0Iv,
	SpectralClassF1Iv,
	SpectralClassG4Iv,
	SpectralClassF3Vi,
	SpectralClassK4Iv,
	SpectralClassG5Iv,
	SpectralClassG3Iv,
	SpectralClassG1Iv,
	SpectralClassK7Iv,
	SpectralClassG0Iv,
	SpectralClassK6Iv,
	SpectralClassK9Iv,
	SpectralClassG2Iv,
	SpectralClassF9Iv,
	SpectralClassF0Iv,
	SpectralClassK8Iv,
	SpectralClassG8Iv,
	SpectralClassF6Iv,
	SpectralClassF5Iv,
	SpectralClassA0,
	SpectralClassA0iv,
	SpectralClassA0iv2,
}

Functions

This section is empty.

Types

type Alliance

type Alliance struct {
	CreatorCorporationID  *int         `json:"creator_corporation_id"`
	CreatorCorporation    *Corporation `json:"creator_corporation"`
	CreatorID             *int         `json:"creator_id"`
	Creator               *Character   `json:"creator"`
	DateFounded           *string      `json:"date_founded"`
	ExecutorCorporationID *int         `json:"executor_corporation_id"`
	ExecutorCorporation   *Corporation `json:"executor_corporation"`
	FactionID             *int         `json:"faction_id"`
	Faction               *Faction     `json:"faction"`
	Name                  *string      `json:"name"`
	Ticker                *string      `json:"ticker"`
}

type Ancestry

type Ancestry struct {
	BloodlineID      *int       `json:"bloodline_id"`
	Bloodline        *Bloodline `json:"bloodline"`
	Description      *string    `json:"description"`
	IconID           *int       `json:"icon_id"`
	ID               *int       `json:"id"`
	Name             *string    `json:"name"`
	ShortDescription *string    `json:"short_description"`
}

type AsteroidBelt

type AsteroidBelt struct {
	Name     *string   `json:"name"`
	Position *Position `json:"position"`
	System   *System   `json:"system"`
	SystemID *int      `json:"system_id"`
}

type Bloodline

type Bloodline struct {
	BloodlineID   *int         `json:"bloodline_id"`
	Charisma      *int         `json:"charisma"`
	CorporationID *int         `json:"corporation_id"`
	Corporation   *Corporation `json:"corporation"`
	Description   *string      `json:"description"`
	Intelligence  *int         `json:"intelligence"`
	Memory        *int         `json:"memory"`
	Name          *string      `json:"name"`
	Perception    *int         `json:"perception"`
	RaceID        *int         `json:"race_id"`
	Race          *Race        `json:"race"`
	ShipTypeID    *int         `json:"ship_type_id"`
	ShipType      *ItemType    `json:"ship_type"`
	Willpower     *int         `json:"willpower"`
}

type Category

type Category struct {
	CategoryID     *int     `json:"category_id"`
	CategoryGroups []*Group `json:"category_groups"`
	Name           *string  `json:"name"`
	Published      *bool    `json:"published"`
}

type Character

type Character struct {
	AllianceID     *int         `json:"alliance_id"`
	Alliance       *Alliance    `json:"alliance"`
	AncestryID     *int         `json:"ancestry_id"`
	Ancestry       *Ancestry    `json:"ancestry"`
	Birthday       *string      `json:"birthday"`
	BloodlineID    *int         `json:"bloodline_id"`
	Bloodline      *Bloodline   `json:"bloodline"`
	CorporationID  *int         `json:"corporation_id"`
	Corporation    *Corporation `json:"corporation"`
	Description    *string      `json:"description"`
	FactionID      *int         `json:"faction_id"`
	Faction        *Faction     `json:"faction"`
	Gender         *Gender      `json:"gender"`
	Name           *string      `json:"name"`
	RaceID         *int         `json:"race_id"`
	Race           *Race        `json:"race"`
	SecurityStatus *float64     `json:"security_status"`
	Title          *string      `json:"title"`
}

type CharacterPortrait

type CharacterPortrait struct {
	Px128x128 *string `json:"px128x128"`
	Px256x256 *string `json:"px256x256"`
	Px512x512 *string `json:"px512x512"`
	Px64x64   *string `json:"px64x64"`
}

type Constellation

type Constellation struct {
	ConstellationID *int      `json:"constellation_id"`
	Name            *string   `json:"name"`
	Position        *Position `json:"position"`
	RegionID        *int      `json:"region_id"`
	Region          *Region   `json:"region"`
	Systems         []*int    `json:"systems"`
	SolarSystems    []*System `json:"solar_systems"`
}

type Corporation

type Corporation struct {
	Alliance      *Alliance  `json:"alliance"`
	AllianceID    *int       `json:"alliance_id"`
	Ceo           *Character `json:"ceo"`
	CeoID         *int       `json:"ceo_id"`
	Creator       *Character `json:"creator"`
	CreatorID     *int       `json:"creator_id"`
	DateFounded   *string    `json:"date_founded"`
	Description   *string    `json:"description"`
	Faction       *Faction   `json:"faction"`
	FactionID     *int       `json:"faction_id"`
	HomeStation   *Station   `json:"home_station"`
	HomeStationID *int       `json:"home_station_id"`
	MemberCount   *int       `json:"member_count"`
	Name          *string    `json:"name"`
	Shares        *int       `json:"shares"`
	TaxRate       *float64   `json:"tax_rate"`
	Ticker        *string    `json:"ticker"`
	URL           *string    `json:"url"`
	WarEligible   *bool      `json:"war_eligible"`
}

A PC or NPC Corporation in EVE

type CorporationHistory

type CorporationHistory struct {
	// unique id of the corporation
	CorporationID *int `json:"corporation_id"`
	// unique id of the employment of the character
	RecordID *int `json:"record_id"`
	// date the player started in RFC1123
	StartDate *string `json:"start_date"`
	// corporation the player was employed by
	Employer *Corporation `json:"employer"`
}

A single corporation that a player has been part of.

type DogmaAttribute

type DogmaAttribute struct {
	Attribute   *DogmaAttributeDetail `json:"attribute"`
	AttributeID *int                  `json:"attribute_id"`
	Value       *float64              `json:"value"`
}

type DogmaAttributeDetail

type DogmaAttributeDetail struct {
	AttributeID  *int     `json:"attribute_id"`
	DefaultValue *float64 `json:"default_value"`
	Description  *string  `json:"description"`
	DisplayName  *string  `json:"display_name"`
	HighIsGood   *bool    `json:"high_is_good"`
	Icon         *Icon    `json:"icon"`
	Name         *string  `json:"name"`
	Published    *bool    `json:"published"`
	Stackable    *bool    `json:"stackable"`
	Unit         *Unit    `json:"unit"`
}

type DogmaEffect

type DogmaEffect struct {
	EffectID  *int               `json:"effect_id"`
	Effect    *DogmaEffectDetail `json:"effect"`
	IsDefault *bool              `json:"is_default"`
}

type DogmaEffectDetail

type DogmaEffectDetail struct {
	Description              *string               `json:"description"`
	DisallowAutoRepeat       *bool                 `json:"disallow_auto_repeat"`
	DischargeAttributeID     *int                  `json:"discharge_attribute_id"`
	DischargeAttribute       *DogmaAttributeDetail `json:"discharge_attribute"`
	DisplayName              *string               `json:"display_name"`
	DurationAttributeID      *int                  `json:"duration_attribute_id"`
	DurationAttribute        *DogmaAttributeDetail `json:"duration_attribute"`
	EffectCategory           *int                  `json:"effect_category"`
	EffectID                 *int                  `json:"effect_id"`
	ElectronicChance         *bool                 `json:"electronic_chance"`
	FalloffAttributeID       *int                  `json:"falloff_attribute_id"`
	FalloffAttribute         *DogmaAttributeDetail `json:"falloff_attribute"`
	Icon                     *Icon                 `json:"icon"`
	IsAssistance             *bool                 `json:"is_assistance"`
	IsOffensive              *bool                 `json:"is_offensive"`
	IsWarpSafe               *bool                 `json:"is_warp_safe"`
	Modifiers                []*Modifier           `json:"modifiers"`
	Name                     *string               `json:"name"`
	PostExpression           *int                  `json:"post_expression"`
	PreExpression            *int                  `json:"pre_expression"`
	Published                *bool                 `json:"published"`
	RangeAttributeID         *int                  `json:"range_attribute_id"`
	RangeAttribute           *DogmaAttributeDetail `json:"range_attribute"`
	RangeChange              *bool                 `json:"range_change"`
	TrackingSpeedAttributeID *int                  `json:"tracking_speed_attribute_id"`
	TrackingSpeedAttribute   *DogmaAttributeDetail `json:"tracking_speed_attribute"`
}

type Faction

type Faction struct {
	CorporationID        *int         `json:"corporation_id"`
	Corporation          *Corporation `json:"corporation"`
	Description          *string      `json:"description"`
	FactionID            *int         `json:"faction_id"`
	IsUnique             *bool        `json:"is_unique"`
	MilitiaCorporationID *int         `json:"militia_corporation_id"`
	MilitiaCorporation   *Corporation `json:"militia_corporation"`
	Name                 *string      `json:"name"`
	SizeFactor           *float64     `json:"size_factor"`
	SolarSystemID        *int         `json:"solar_system_id"`
	SolarSystem          *System      `json:"solar_system"`
	StationCount         *int         `json:"station_count"`
	StationSystemCount   *int         `json:"station_system_count"`
}

type Gender

type Gender string
const (
	GenderMale   Gender = "male"
	GenderFemale Gender = "female"
)

func (Gender) IsValid

func (e Gender) IsValid() bool

func (Gender) MarshalGQL

func (e Gender) MarshalGQL(w io.Writer)

func (Gender) String

func (e Gender) String() string

func (*Gender) UnmarshalGQL

func (e *Gender) UnmarshalGQL(v interface{}) error

type Graphic

type Graphic struct {
	CollisionFile *string `json:"collision_file"`
	GraphicFile   *string `json:"graphic_file"`
	GraphicID     *int    `json:"graphic_id"`
	IconFolder    *string `json:"icon_folder"`
	SofDna        *string `json:"sof_dna"`
	SofFationName *string `json:"sof_fation_name"`
	SofHullName   *string `json:"sof_hull_name"`
	SofRaceName   *string `json:"sof_race_name"`
}

type Group

type Group struct {
	CategoryID *int        `json:"category_id"`
	Category   *Category   `json:"category"`
	GroupID    *int        `json:"group_id"`
	Name       *string     `json:"name"`
	Published  *bool       `json:"published"`
	Types      []*int      `json:"types"`
	ItemTypes  []*ItemType `json:"item_types"`
}

type Icon

type Icon struct {
	ID *int `json:"id"`
}

type ItemType

type ItemType struct {
	TypeID          *int              `json:"type_id"`
	Capacity        *float64          `json:"capacity"`
	Description     *string           `json:"description"`
	DogmaAttributes []*DogmaAttribute `json:"dogma_attributes"`
	DogmaEffects    []*DogmaEffect    `json:"dogma_effects"`
	GraphicID       *int              `json:"graphic_id"`
	Graphic         *Graphic          `json:"graphic"`
	GroupID         *int              `json:"group_id"`
	Group           *Group            `json:"group"`
	IconID          *int              `json:"icon_id"`
	MarketGroupID   *int              `json:"market_group_id"`
	MarketGroup     *MarketGroup      `json:"market_group"`
	Mass            *float64          `json:"mass"`
	Name            *string           `json:"name"`
	PackagedVolume  *float64          `json:"packaged_volume"`
	PortionSize     *int              `json:"portion_size"`
	Published       *bool             `json:"published"`
	Radius          *float64          `json:"radius"`
	Volume          *float64          `json:"volume"`
}

type MarketGroup

type MarketGroup struct {
	Description   *string     `json:"description"`
	ID            *int        `json:"id"`
	Name          *string     `json:"name"`
	ParentGroupID *int        `json:"parent_group_id"`
	ParentGroup   *Group      `json:"parent_group"`
	Types         []*int      `json:"types"`
	TypesDetails  []*ItemType `json:"types_details"`
}

type Modifier

type Modifier struct {
	Domain               *string               `json:"domain"`
	EffectID             *int                  `json:"effect_id"`
	Func                 *string               `json:"func"`
	ModifiedAttributeID  *int                  `json:"modified_attribute_id"`
	ModifiedAttribute    *DogmaAttributeDetail `json:"modified_attribute"`
	ModifyingAttributeID *int                  `json:"modifying_attribute_id"`
	ModifyingAttribute   *DogmaAttributeDetail `json:"modifying_attribute"`
	Operator             *int                  `json:"operator"`
}

type Moon

type Moon struct {
	MoonID   *int      `json:"moon_id"`
	Name     *string   `json:"name"`
	Position *Position `json:"position"`
	SystemID *int      `json:"system_id"`
	System   *System   `json:"system"`
}

type Order

type Order struct {
	// Duration of Order
	Duration *int `json:"duration"`
	// Is it a buy order
	IsBuyOrder *bool `json:"is_buy_order"`
	// Date the order was issued
	Issued *string `json:"issued"`
	// Station where the order is placed at
	Location *Station `json:"location"`
	// id of station where order is placed at
	LocationID *int `json:"location_id"`
	// Minimum volume of purchase
	MinVolume *int `json:"min_volume"`
	// unique id of the order
	OrderID int `json:"order_id"`
	// Price in isk of the order
	Price *float64 `json:"price"`
	// Range of Order Station/System/Region
	Range *Range `json:"range"`
	// System where the order is placed
	System *System `json:"system"`
	// id of the system where the order is placed
	SystemID *int `json:"system_id"`
	// EVE item type that is in the order
	ItemType *ItemType `json:"item_type"`
	// id of item type
	TypeID *int `json:"type_id"`
	// number of items remaining in the order
	VolumeRemain *int `json:"volume_remain"`
	// number of items initally placed in the order
	VolumeTotal *int `json:"volume_total"`
}

Object representing a market order

type OrderHistory

type OrderHistory struct {
	// average sales price
	Average *float64 `json:"average"`
	// date of the history
	Date *string `json:"date"`
	// highest price paid for item
	Highest *float64 `json:"highest"`
	// lowest price paid for item
	Lowest *float64 `json:"lowest"`
	// number of orders for item type in specified region
	OrderCount *int `json:"order_count"`
	// number of units of item in region that were moved
	Volume *int `json:"volume"`
}

History of sales of a type by region

type OrderWrapper

type OrderWrapper struct {
	Xpages *int     `json:"xpages"`
	List   []*Order `json:"list"`
}

type Ordertype

type Ordertype string
const (
	OrdertypeBuy  Ordertype = "buy"
	OrdertypeSell Ordertype = "sell"
	OrdertypeAll  Ordertype = "all"
)

func (Ordertype) IsValid

func (e Ordertype) IsValid() bool

func (Ordertype) MarshalGQL

func (e Ordertype) MarshalGQL(w io.Writer)

func (Ordertype) String

func (e Ordertype) String() string

func (*Ordertype) UnmarshalGQL

func (e *Ordertype) UnmarshalGQL(v interface{}) error

type Planet

type Planet struct {
	Name     *string   `json:"name"`
	PlanetID *int      `json:"planet_id"`
	Position *Position `json:"position"`
	System   *System   `json:"system"`
	SystemID *int      `json:"system_id"`
	ItemType *ItemType `json:"item_type"`
	TypeID   *int      `json:"type_id"`
}

type Position

type Position struct {
	X *float64 `json:"x"`
	Y *float64 `json:"y"`
	Z *float64 `json:"z"`
}

type Race

type Race struct {
	Alliance    *Alliance `json:"alliance"`
	Description *string   `json:"description"`
	Name        *string   `json:"name"`
	RaceID      *int      `json:"race_id"`
}

type Range

type Range string
const (
	RangeStation     Range = "station"
	RangeRegion      Range = "region"
	RangeSolarsystem Range = "solarsystem"
	RangeRange1      Range = "range_1"
	RangeRange2      Range = "range_2"
	RangeRange3      Range = "range_3"
	RangeRange4      Range = "range_4"
	RangeRange5      Range = "range_5"
	RangeRange10     Range = "range_10"
	RangeRange20     Range = "range_20"
	RangeRange30     Range = "range_30"
	RangeRange40     Range = "range_40"
)

func (Range) IsValid

func (e Range) IsValid() bool

func (Range) MarshalGQL

func (e Range) MarshalGQL(w io.Writer)

func (Range) String

func (e Range) String() string

func (*Range) UnmarshalGQL

func (e *Range) UnmarshalGQL(v interface{}) error

type Region

type Region struct {
	Constellations    []*int           `json:"constellations"`
	ConstellationList []*Constellation `json:"constellation_list"`
	Description       *string          `json:"description"`
	Name              *string          `json:"name"`
	RegionID          *int             `json:"region_id"`
}

type Services

type Services string
const (
	ServicesBountyMissions       Services = "bounty_missions"
	ServicesAssasinationMissions Services = "assasination_missions"
	ServicesCourierMissions      Services = "courier_missions"
	ServicesInterbus             Services = "interbus"
	ServicesReprocessingPlant    Services = "reprocessing_plant"
	ServicesRefinery             Services = "refinery"
	ServicesMarket               Services = "market"
	ServicesBlackMarket          Services = "black_market"
	ServicesStockExchange        Services = "stock_exchange"
	ServicesCloning              Services = "cloning"
	ServicesSurgery              Services = "surgery"
	ServicesDnaTherapy           Services = "dna_therapy"
	ServicesRepairFacilities     Services = "repair_facilities"
	ServicesFactory              Services = "factory"
	ServicesLabratory            Services = "labratory"
	ServicesGambling             Services = "gambling"
	ServicesFitting              Services = "fitting"
	ServicesPaintshop            Services = "paintshop"
	ServicesNews                 Services = "news"
	ServicesStorage              Services = "storage"
	ServicesInsurance            Services = "insurance"
	ServicesDocking              Services = "docking"
	ServicesOfficeRental         Services = "office_rental"
	ServicesJumpCloneFacility    Services = "jump_clone_facility"
	ServicesLoyaltyPointStore    Services = "loyalty_point_store"
	ServicesNavyOffices          Services = "navy_offices"
	ServicesSecurityOffices      Services = "security_offices"
)

func (Services) IsValid

func (e Services) IsValid() bool

func (Services) MarshalGQL

func (e Services) MarshalGQL(w io.Writer)

func (Services) String

func (e Services) String() string

func (*Services) UnmarshalGQL

func (e *Services) UnmarshalGQL(v interface{}) error

type SpectralClass

type SpectralClass string
const (
	SpectralClassK2V   SpectralClass = "K2_V"
	SpectralClassK4V   SpectralClass = "K4_V"
	SpectralClassG2V   SpectralClass = "G2_V"
	SpectralClassG8V   SpectralClass = "G8_V"
	SpectralClassM7V   SpectralClass = "M7_V"
	SpectralClassK7V   SpectralClass = "K7_V"
	SpectralClassM2V   SpectralClass = "M2_V"
	SpectralClassK5V   SpectralClass = "K5_V"
	SpectralClassM3V   SpectralClass = "M3_V"
	SpectralClassG0V   SpectralClass = "G0_V"
	SpectralClassG7V   SpectralClass = "G7_V"
	SpectralClassG3V   SpectralClass = "G3_V"
	SpectralClassF9V   SpectralClass = "F9_V"
	SpectralClassG5V   SpectralClass = "G5_V"
	SpectralClassF6V   SpectralClass = "F6_V"
	SpectralClassK8V   SpectralClass = "K8_V"
	SpectralClassK9V   SpectralClass = "K9_V"
	SpectralClassK6V   SpectralClass = "K6_V"
	SpectralClassG9V   SpectralClass = "G9_V"
	SpectralClassG6V   SpectralClass = "G6_V"
	SpectralClassG4Vi  SpectralClass = "G4_VI"
	SpectralClassG4V   SpectralClass = "G4_V"
	SpectralClassF8V   SpectralClass = "F8_V"
	SpectralClassF2V   SpectralClass = "F2_V"
	SpectralClassF1V   SpectralClass = "F1_V"
	SpectralClassK3V   SpectralClass = "K3_V"
	SpectralClassF0Vi  SpectralClass = "F0_VI"
	SpectralClassG1Vi  SpectralClass = "G1_VI"
	SpectralClassG0Vi  SpectralClass = "G0_VI"
	SpectralClassK1V   SpectralClass = "K1_V"
	SpectralClassM4V   SpectralClass = "M4_V"
	SpectralClassM1V   SpectralClass = "M1_V"
	SpectralClassM6V   SpectralClass = "M6_V"
	SpectralClassM0V   SpectralClass = "M0_V"
	SpectralClassK2Iv  SpectralClass = "K2_IV"
	SpectralClassG2Vi  SpectralClass = "G2_VI"
	SpectralClassK0V   SpectralClass = "K0_V"
	SpectralClassK5Iv  SpectralClass = "K5_IV"
	SpectralClassF5Vi  SpectralClass = "F5_VI"
	SpectralClassG6Vi  SpectralClass = "G6_VI"
	SpectralClassF6Vi  SpectralClass = "F6_VI"
	SpectralClassF2Iv  SpectralClass = "F2_IV"
	SpectralClassG3Vi  SpectralClass = "G3_VI"
	SpectralClassM8V   SpectralClass = "M8_V"
	SpectralClassF1Vi  SpectralClass = "F1_VI"
	SpectralClassK1Iv  SpectralClass = "K1_IV"
	SpectralClassF7V   SpectralClass = "F7_V"
	SpectralClassG5Vi  SpectralClass = "G5_VI"
	SpectralClassM5V   SpectralClass = "M5_V"
	SpectralClassG7Vi  SpectralClass = "G7_VI"
	SpectralClassF5V   SpectralClass = "F5_V"
	SpectralClassF4Vi  SpectralClass = "F4_VI"
	SpectralClassF8Vi  SpectralClass = "F8_VI"
	SpectralClassK3Iv  SpectralClass = "K3_IV"
	SpectralClassF4Iv  SpectralClass = "F4_IV"
	SpectralClassF0V   SpectralClass = "F0_V"
	SpectralClassG7Iv  SpectralClass = "G7_IV"
	SpectralClassG8Vi  SpectralClass = "G8_VI"
	SpectralClassF2Vi  SpectralClass = "F2_VI"
	SpectralClassF4V   SpectralClass = "F4_V"
	SpectralClassF7Vi  SpectralClass = "F7_VI"
	SpectralClassF3V   SpectralClass = "F3_V"
	SpectralClassG1V   SpectralClass = "G1_V"
	SpectralClassG9Vi  SpectralClass = "G9_VI"
	SpectralClassF3Iv  SpectralClass = "F3_IV"
	SpectralClassF9Vi  SpectralClass = "F9_VI"
	SpectralClassM9V   SpectralClass = "M9_V"
	SpectralClassK0Iv  SpectralClass = "K0_IV"
	SpectralClassF1Iv  SpectralClass = "F1_IV"
	SpectralClassG4Iv  SpectralClass = "G4_IV"
	SpectralClassF3Vi  SpectralClass = "F3_VI"
	SpectralClassK4Iv  SpectralClass = "K4_IV"
	SpectralClassG5Iv  SpectralClass = "G5_IV"
	SpectralClassG3Iv  SpectralClass = "G3_IV"
	SpectralClassG1Iv  SpectralClass = "G1_IV"
	SpectralClassK7Iv  SpectralClass = "K7_IV"
	SpectralClassG0Iv  SpectralClass = "G0_IV"
	SpectralClassK6Iv  SpectralClass = "K6_IV"
	SpectralClassK9Iv  SpectralClass = "K9_IV"
	SpectralClassG2Iv  SpectralClass = "G2_IV"
	SpectralClassF9Iv  SpectralClass = "F9_IV"
	SpectralClassF0Iv  SpectralClass = "F0_IV"
	SpectralClassK8Iv  SpectralClass = "K8_IV"
	SpectralClassG8Iv  SpectralClass = "G8_IV"
	SpectralClassF6Iv  SpectralClass = "F6_IV"
	SpectralClassF5Iv  SpectralClass = "F5_IV"
	SpectralClassA0    SpectralClass = "A0"
	SpectralClassA0iv  SpectralClass = "A0IV"
	SpectralClassA0iv2 SpectralClass = "A0IV2"
)

func (SpectralClass) IsValid

func (e SpectralClass) IsValid() bool

func (SpectralClass) MarshalGQL

func (e SpectralClass) MarshalGQL(w io.Writer)

func (SpectralClass) String

func (e SpectralClass) String() string

func (*SpectralClass) UnmarshalGQL

func (e *SpectralClass) UnmarshalGQL(v interface{}) error

type Star

type Star struct {
	Age           *int           `json:"age"`
	Luminosity    *float64       `json:"luminosity"`
	Name          *string        `json:"name"`
	Radius        *int           `json:"radius"`
	SolarSystemID *int           `json:"solar_system_id"`
	SolarSystem   *System        `json:"solar_system"`
	SpectralClass *SpectralClass `json:"spectral_class"`
	StarID        *int           `json:"star_id"`
	Temperature   *int           `json:"temperature"`
	TypeID        *int           `json:"type_id"`
	ItemType      *ItemType      `json:"item_type"`
}

type Stargate

type Stargate struct {
	Destination *StargateDestination `json:"destination"`
	Name        *string              `json:"name"`
	Position    *Position            `json:"position"`
	StargateID  *int                 `json:"stargate_id"`
	System      *System              `json:"system"`
	TypeID      *int                 `json:"type_id"`
	ItemType    *ItemType            `json:"item_type"`
}

type StargateDestination

type StargateDestination struct {
	StargateID *int      `json:"stargate_id"`
	Stargate   *Stargate `json:"stargate"`
	SystemID   *int      `json:"system_id"`
	System     *System   `json:"system"`
}

type Station

type Station struct {
	// Max ships that can be docked in the station
	MaxDockableShipVolume *float64 `json:"max_dockable_ship_volume"`
	// Name of the station
	Name *string `json:"name"`
	// Cost of renting an office for your Corporation
	OfficeRentalCost *float64 `json:"office_rental_cost"`
	// Owner ID of Corporation of station
	Owner *int `json:"owner"`
	// Complex object representing the Corporation that owns the station
	OwningCorporation *Corporation `json:"owning_corporation"`
	// x,y,z position of station in space
	Position *Position `json:"position"`
	// id of the race that the station is built by
	RaceID *int `json:"race_id"`
	// race that the station is built by
	Race *Race `json:"race"`
	// Floating point percentage of efficiency of the reprocessing facilities of this station
	ReprocessingEfficiency *float64 `json:"reprocessing_efficiency"`
	// floating point percent of take of materials in reprocessing
	ReprocessingStationsTake *float64 `json:"reprocessing_stations_take"`
	// Services provided by the station
	Services []*Services `json:"services"`
	// Unique ID of the station
	StationID *int `json:"station_id"`
	// Unique ID of the system that the station resides in
	SystemID *int `json:"system_id"`
	// System the station resides in
	System *System `json:"system"`
	// type id of station
	TypeID *int `json:"type_id"`
	// item type of the station
	StationType *ItemType `json:"station_type"`
}

Space station in EVE and information about it.

type System

type System struct {
	ConstellationID *int            `json:"constellation_id"`
	Constellation   *Constellation  `json:"constellation"`
	Name            *string         `json:"name"`
	Planets         []*SystemPlanet `json:"planets"`
	Position        *Position       `json:"position"`
	SecurityClass   *string         `json:"security_class"`
	StarID          *int            `json:"star_id"`
	Star            *Star           `json:"star"`
	Stargates       []*int          `json:"stargates"`
	StargateList    []*Stargate     `json:"stargate_list"`
	Stations        []*int          `json:"stations"`
	StationList     []*Station      `json:"station_list"`
	SystemID        *int            `json:"system_id"`
}

type SystemPlanet

type SystemPlanet struct {
	AsteroidBeltsProperties []*AsteroidBelt `json:"asteroid_belts_properties"`
	AsteroidBelts           []*int          `json:"asteroid_belts"`
	Moons                   []*int          `json:"moons"`
	MoonDetails             []*Moon         `json:"moon_details"`
	PlanetProperties        *Planet         `json:"planet_properties"`
	PlanetID                *int            `json:"planet_id"`
}

type Unit

type Unit struct {
	ID *int `json:"id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL