github.com/antihax/goesi@v0.0.0-20240126031043-6c54d0cb7f95/esi/model_get_sovereignty_structures_200_ok.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 import ( 26 "time" 27 ) 28 29 /* A list of GetSovereigntyStructures200Ok. */ 30 //easyjson:json 31 type GetSovereigntyStructures200OkList []GetSovereigntyStructures200Ok 32 33 /* 200 ok object */ 34 //easyjson:json 35 type GetSovereigntyStructures200Ok struct { 36 AllianceId int32 `json:"alliance_id,omitempty"` /* The alliance that owns the structure. */ 37 SolarSystemId int32 `json:"solar_system_id,omitempty"` /* Solar system in which the structure is located. */ 38 StructureId int64 `json:"structure_id,omitempty"` /* Unique item ID for this structure. */ 39 StructureTypeId int32 `json:"structure_type_id,omitempty"` /* A reference to the type of structure this is. */ 40 VulnerabilityOccupancyLevel float32 `json:"vulnerability_occupancy_level,omitempty"` /* The occupancy level for the next or current vulnerability window. This takes into account all development indexes and capital system bonuses. Also known as Activity Defense Multiplier from in the client. It increases the time that attackers must spend using their entosis links on the structure. */ 41 VulnerableEndTime time.Time `json:"vulnerable_end_time,omitempty"` /* The time at which the next or current vulnerability window ends. At the end of a vulnerability window the next window is recalculated and locked in along with the vulnerabilityOccupancyLevel. If the structure is not in 100% entosis control of the defender, it will go in to 'overtime' and stay vulnerable for as long as that situation persists. Only once the defenders have 100% entosis control and has the vulnerableEndTime passed does the vulnerability interval expire and a new one is calculated. */ 42 VulnerableStartTime time.Time `json:"vulnerable_start_time,omitempty"` /* The next time at which the structure will become vulnerable. Or the start time of the current window if current time is between this and vulnerableEndTime. */ 43 }