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

// GetFwLeaderboardsOKBodyKillsActiveTotalItems get_fw_leaderboards_active_total
//
// active_total object
// swagger:model getFwLeaderboardsOKBodyKillsActiveTotalItems

type GetFwLeaderboardsOKBodyKillsActiveTotalItems struct {

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

	// get_fw_leaderboards_faction_id
	//
	// faction_id integer
	FactionID int32 `json:"faction_id,omitempty"`
}

/* polymorph getFwLeaderboardsOKBodyKillsActiveTotalItems amount false */

/* polymorph getFwLeaderboardsOKBodyKillsActiveTotalItems faction_id false */

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

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

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

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