// 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"
)

// GetCorporationsCorporationIDWalletsDivisionJournalOKBodyItemsExtraInfo get_corporations_corporation_id_wallets_division_journal_extra_info
//
// Extra information for different type of transaction
// swagger:model getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo

type GetCorporationsCorporationIDWalletsDivisionJournalOKBodyItemsExtraInfo struct {

	// get_corporations_corporation_id_wallets_division_journal_alliance_id
	//
	// alliance_id integer
	AllianceID int32 `json:"alliance_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_character_id
	//
	// character_id integer
	CharacterID int32 `json:"character_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_contract_id
	//
	// contract_id integer
	ContractID int32 `json:"contract_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_corporation_id
	//
	// corporation_id integer
	CorporationID int32 `json:"corporation_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_destroyed_ship_type_id
	//
	// destroyed_ship_type_id integer
	DestroyedShipTypeID int32 `json:"destroyed_ship_type_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_job_id
	//
	// job_id integer
	JobID int32 `json:"job_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_location_id
	//
	// location_id integer
	LocationID int64 `json:"location_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_npc_id
	//
	// npc_id integer
	NpcID int32 `json:"npc_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_npc_name
	//
	// npc_name string
	NpcName string `json:"npc_name,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_planet_id
	//
	// planet_id integer
	PlanetID int32 `json:"planet_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_system_id
	//
	// system_id integer
	SystemID int32 `json:"system_id,omitempty"`

	// get_corporations_corporation_id_wallets_division_journal_transaction_id
	//
	// transaction_id integer
	TransactionID int64 `json:"transaction_id,omitempty"`
}

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo alliance_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo character_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo contract_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo corporation_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo destroyed_ship_type_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo job_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo location_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo npc_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo npc_name false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo planet_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo system_id false */

/* polymorph getCorporationsCorporationIdWalletsDivisionJournalOKBodyItemsExtraInfo transaction_id false */

// Validate validates this get corporations corporation Id wallets division journal o k body items extra info
func (m *GetCorporationsCorporationIDWalletsDivisionJournalOKBodyItemsExtraInfo) Validate(formats strfmt.Registry) error {
	var res []error

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}

// MarshalBinary interface implementation
func (m *GetCorporationsCorporationIDWalletsDivisionJournalOKBodyItemsExtraInfo) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *GetCorporationsCorporationIDWalletsDivisionJournalOKBodyItemsExtraInfo) UnmarshalBinary(b []byte) error {
	var res GetCorporationsCorporationIDWalletsDivisionJournalOKBodyItemsExtraInfo
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
