70 lines
1.9 KiB
Go
70 lines
1.9 KiB
Go
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
package models
|
|
|
|
// This file was generated by the swagger tool.
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
import (
|
|
strfmt "github.com/go-openapi/strfmt"
|
|
|
|
"github.com/go-openapi/errors"
|
|
"github.com/go-openapi/swag"
|
|
)
|
|
|
|
// GetCharactersCharacterIDFatigueOKBody get_characters_character_id_fatigue_ok
|
|
//
|
|
// 200 ok object
|
|
// swagger:model getCharactersCharacterIdFatigueOKBody
|
|
|
|
type GetCharactersCharacterIDFatigueOKBody struct {
|
|
|
|
// get_characters_character_id_fatigue_jump_fatigue_expire_date
|
|
//
|
|
// Character's jump fatigue expiry
|
|
JumpFatigueExpireDate strfmt.DateTime `json:"jump_fatigue_expire_date,omitempty"`
|
|
|
|
// get_characters_character_id_fatigue_last_jump_date
|
|
//
|
|
// Character's last jump activation
|
|
LastJumpDate strfmt.DateTime `json:"last_jump_date,omitempty"`
|
|
|
|
// get_characters_character_id_fatigue_last_update_date
|
|
//
|
|
// Character's last jump update
|
|
LastUpdateDate strfmt.DateTime `json:"last_update_date,omitempty"`
|
|
}
|
|
|
|
/* polymorph getCharactersCharacterIdFatigueOKBody jump_fatigue_expire_date false */
|
|
|
|
/* polymorph getCharactersCharacterIdFatigueOKBody last_jump_date false */
|
|
|
|
/* polymorph getCharactersCharacterIdFatigueOKBody last_update_date false */
|
|
|
|
// Validate validates this get characters character Id fatigue o k body
|
|
func (m *GetCharactersCharacterIDFatigueOKBody) Validate(formats strfmt.Registry) error {
|
|
var res []error
|
|
|
|
if len(res) > 0 {
|
|
return errors.CompositeValidationError(res...)
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MarshalBinary interface implementation
|
|
func (m *GetCharactersCharacterIDFatigueOKBody) MarshalBinary() ([]byte, error) {
|
|
if m == nil {
|
|
return nil, nil
|
|
}
|
|
return swag.WriteJSON(m)
|
|
}
|
|
|
|
// UnmarshalBinary interface implementation
|
|
func (m *GetCharactersCharacterIDFatigueOKBody) UnmarshalBinary(b []byte) error {
|
|
var res GetCharactersCharacterIDFatigueOKBody
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
return err
|
|
}
|
|
*m = res
|
|
return nil
|
|
}
|