github.com/antihax/goesi@v0.0.0-20240126031043-6c54d0cb7f95/esi/model_get_characters_character_id_mail_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 GetCharactersCharacterIdMail200Ok. */
    30  //easyjson:json
    31  type GetCharactersCharacterIdMail200OkList []GetCharactersCharacterIdMail200Ok
    32  
    33  /* 200 ok object */
    34  //easyjson:json
    35  type GetCharactersCharacterIdMail200Ok struct {
    36  	From       int32                                   `json:"from,omitempty"`       /* From whom the mail was sent */
    37  	IsRead     bool                                    `json:"is_read,omitempty"`    /* is_read boolean */
    38  	Labels     []int32                                 `json:"labels,omitempty"`     /* labels array */
    39  	MailId     int32                                   `json:"mail_id,omitempty"`    /* mail_id integer */
    40  	Recipients []GetCharactersCharacterIdMailRecipient `json:"recipients,omitempty"` /* Recipients of the mail */
    41  	Subject    string                                  `json:"subject,omitempty"`    /* Mail subject */
    42  	Timestamp  time.Time                               `json:"timestamp,omitempty"`  /* When the mail was sent */
    43  }