/
model_get_wars_war_id_ok.go
46 lines (42 loc) · 2.03 KB
/
model_get_wars_war_id_ok.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* EVE Swagger Interface
*
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 1.21
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package esi
import (
"time"
)
/* A list of GetWarsWarIdOk. */
//easyjson:json
type GetWarsWarIdOkList []GetWarsWarIdOk
/* 200 ok object */
//easyjson:json
type GetWarsWarIdOk struct {
Aggressor GetWarsWarIdAggressor `json:"aggressor,omitempty"`
Allies []GetWarsWarIdAlly `json:"allies,omitempty"` /* allied corporations or alliances, each object contains either corporation_id or alliance_id */
Declared time.Time `json:"declared,omitempty"` /* Time that the war was declared */
Defender GetWarsWarIdDefender `json:"defender,omitempty"`
Finished time.Time `json:"finished,omitempty"` /* Time the war ended and shooting was no longer allowed */
Id int32 `json:"id,omitempty"` /* ID of the specified war */
Mutual bool `json:"mutual,omitempty"` /* Was the war declared mutual by both parties */
OpenForAllies bool `json:"open_for_allies,omitempty"` /* Is the war currently open for allies or not */
Retracted time.Time `json:"retracted,omitempty"` /* Time the war was retracted but both sides could still shoot each other */
Started time.Time `json:"started,omitempty"` /* Time when the war started and both sides could shoot each other */
}