github.com/antihax/goesi@v0.0.0-20240126031043-6c54d0cb7f95/esi/model_get_characters_character_id_contracts_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 GetCharactersCharacterIdContracts200Ok. */
    30  //easyjson:json
    31  type GetCharactersCharacterIdContracts200OkList []GetCharactersCharacterIdContracts200Ok
    32  
    33  /* 200 ok object */
    34  //easyjson:json
    35  type GetCharactersCharacterIdContracts200Ok struct {
    36  	AcceptorId          int32     `json:"acceptor_id,omitempty"`           /* Who will accept the contract */
    37  	AssigneeId          int32     `json:"assignee_id,omitempty"`           /* ID to whom the contract is assigned, can be alliance, corporation or character ID */
    38  	Availability        string    `json:"availability,omitempty"`          /* To whom the contract is available */
    39  	Buyout              float64   `json:"buyout,omitempty"`                /* Buyout price (for Auctions only) */
    40  	Collateral          float64   `json:"collateral,omitempty"`            /* Collateral price (for Couriers only) */
    41  	ContractId          int32     `json:"contract_id,omitempty"`           /* contract_id integer */
    42  	DateAccepted        time.Time `json:"date_accepted,omitempty"`         /* Date of confirmation of contract */
    43  	DateCompleted       time.Time `json:"date_completed,omitempty"`        /* Date of completed of contract */
    44  	DateExpired         time.Time `json:"date_expired,omitempty"`          /* Expiration date of the contract */
    45  	DateIssued          time.Time `json:"date_issued,omitempty"`           /* Сreation date of the contract */
    46  	DaysToComplete      int32     `json:"days_to_complete,omitempty"`      /* Number of days to perform the contract */
    47  	EndLocationId       int64     `json:"end_location_id,omitempty"`       /* End location ID (for Couriers contract) */
    48  	ForCorporation      bool      `json:"for_corporation,omitempty"`       /* true if the contract was issued on behalf of the issuer's corporation */
    49  	IssuerCorporationId int32     `json:"issuer_corporation_id,omitempty"` /* Character's corporation ID for the issuer */
    50  	IssuerId            int32     `json:"issuer_id,omitempty"`             /* Character ID for the issuer */
    51  	Price               float64   `json:"price,omitempty"`                 /* Price of contract (for ItemsExchange and Auctions) */
    52  	Reward              float64   `json:"reward,omitempty"`                /* Remuneration for contract (for Couriers only) */
    53  	StartLocationId     int64     `json:"start_location_id,omitempty"`     /* Start location ID (for Couriers contract) */
    54  	Status              string    `json:"status,omitempty"`                /* Status of the the contract */
    55  	Title               string    `json:"title,omitempty"`                 /* Title of the contract */
    56  	Type_               string    `json:"type,omitempty"`                  /* Type of the contract */
    57  	Volume              float64   `json:"volume,omitempty"`                /* Volume of items in the contract */
    58  }