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

// GetFwLeaderboardsCorporationsOKBodyKillsYesterdayItems get_fw_leaderboards_corporations_yesterday
//
// yesterday object
// swagger:model getFwLeaderboardsCorporationsOKBodyKillsYesterdayItems

type GetFwLeaderboardsCorporationsOKBodyKillsYesterdayItems struct {

	// get_fw_leaderboards_corporations_amount
	//
	// Amount of kills
	Amount int32 `json:"amount,omitempty"`

	// get_fw_leaderboards_corporations_corporation_id
	//
	// corporation_id integer
	CorporationID int32 `json:"corporation_id,omitempty"`
}

/* polymorph getFwLeaderboardsCorporationsOKBodyKillsYesterdayItems amount false */

/* polymorph getFwLeaderboardsCorporationsOKBodyKillsYesterdayItems corporation_id false */

// Validate validates this get fw leaderboards corporations o k body kills yesterday items
func (m *GetFwLeaderboardsCorporationsOKBodyKillsYesterdayItems) Validate(formats strfmt.Registry) error {
	var res []error

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

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

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