func NewGetSupplyTotalDenominationInternalServerError() *GetSupplyTotalDenominationInternalServerError {
	return &GetSupplyTotalDenominationInternalServerError{}
}
NewGetSupplyTotalDenominationInternalServerError creates a GetSupplyTotalDenominationInternalServerError with default headers values
package supply
import (
	"fmt"
	"io"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type GetSupplyTotalDenominationReader struct {
	formats strfmt.Registry
}
func (o *GetSupplyTotalDenominationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewGetSupplyTotalDenominationOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewGetSupplyTotalDenominationBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewGetSupplyTotalDenominationInternalServerError()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	default:
		return nil, runtime.NewAPIError("response status code does not match any response statuses defined for this endpoint in the swagger spec", response, response.Code())
	}
}
func NewGetSupplyTotalDenominationOK() *GetSupplyTotalDenominationOK {
	return &GetSupplyTotalDenominationOK{}
}
type GetSupplyTotalDenominationOK struct {
	Payload *GetSupplyTotalDenominationOKBody
}
func (o *GetSupplyTotalDenominationOK) Error() string {
	return fmt.Sprintf("[GET /supply/total/{denomination}][%d] getSupplyTotalDenominationOK  %+v", 200, o.Payload)
}
func (o *GetSupplyTotalDenominationOK) GetPayload() *GetSupplyTotalDenominationOKBody {
	return o.Payload
}
func (o *GetSupplyTotalDenominationOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(GetSupplyTotalDenominationOKBody)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewGetSupplyTotalDenominationBadRequest() *GetSupplyTotalDenominationBadRequest {
	return &GetSupplyTotalDenominationBadRequest{}
}
type GetSupplyTotalDenominationBadRequest struct {
}
func (o *GetSupplyTotalDenominationBadRequest) Error() string {
	return fmt.Sprintf("[GET /supply/total/{denomination}][%d] getSupplyTotalDenominationBadRequest ", 400)
}
func (o *GetSupplyTotalDenominationBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}