github.com/antihax/goesi@v0.0.0-20240126031043-6c54d0cb7f95/esi/model_get_wars_war_id_defender.go (about) 1 /* 2 * EVE Swagger Interface 3 * 4 * An OpenAPI for EVE Online 5 * 6 * OpenAPI spec version: 1.21 7 * 8 * Generated by: https://github.com/swagger-api/swagger-codegen.git 9 * 10 * Licensed under the Apache License, Version 2.0 (the "License"); 11 * you may not use this file except in compliance with the License. 12 * You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, software 17 * distributed under the License is distributed on an "AS IS" BASIS, 18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 * See the License for the specific language governing permissions and 20 * limitations under the License. 21 */ 22 23 package esi 24 25 /* A list of GetWarsWarIdDefender. */ 26 //easyjson:json 27 type GetWarsWarIdDefenderList []GetWarsWarIdDefender 28 29 /* The defending corporation or alliance that declared this war, only contains either corporation_id or alliance_id */ 30 //easyjson:json 31 type GetWarsWarIdDefender struct { 32 AllianceId int32 `json:"alliance_id,omitempty"` /* Alliance ID if and only if the defender is an alliance */ 33 CorporationId int32 `json:"corporation_id,omitempty"` /* Corporation ID if and only if the defender is a corporation */ 34 IskDestroyed float32 `json:"isk_destroyed,omitempty"` /* ISK value of ships the defender has killed */ 35 ShipsKilled int32 `json:"ships_killed,omitempty"` /* The number of ships the defender has killed */ 36 }