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

// GetCharactersCharacterIDPortraitOKBody get_characters_character_id_portrait_ok
//
// 200 ok object
// swagger:model getCharactersCharacterIdPortraitOKBody

type GetCharactersCharacterIDPortraitOKBody struct {

	// get_characters_character_id_portrait_px128x128
	//
	// px128x128 string
	Px128x128 string `json:"px128x128,omitempty"`

	// get_characters_character_id_portrait_px256x256
	//
	// px256x256 string
	Px256x256 string `json:"px256x256,omitempty"`

	// get_characters_character_id_portrait_px512x512
	//
	// px512x512 string
	Px512x512 string `json:"px512x512,omitempty"`

	// get_characters_character_id_portrait_px64x64
	//
	// px64x64 string
	Px64x64 string `json:"px64x64,omitempty"`
}

/* polymorph getCharactersCharacterIdPortraitOKBody px128x128 false */

/* polymorph getCharactersCharacterIdPortraitOKBody px256x256 false */

/* polymorph getCharactersCharacterIdPortraitOKBody px512x512 false */

/* polymorph getCharactersCharacterIdPortraitOKBody px64x64 false */

// Validate validates this get characters character Id portrait o k body
func (m *GetCharactersCharacterIDPortraitOKBody) Validate(formats strfmt.Registry) error {
	var res []error

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

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

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