func NewPostOracleVotersValidatorAggregateVoteInternalServerError() *PostOracleVotersValidatorAggregateVoteInternalServerError {
	return &PostOracleVotersValidatorAggregateVoteInternalServerError{}
}
NewPostOracleVotersValidatorAggregateVoteInternalServerError creates a PostOracleVotersValidatorAggregateVoteInternalServerError with default headers values
package oracle
import (
	"fmt"
	"io"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/terra-project/mantle-sdk/lcd/models"
)
type PostOracleVotersValidatorAggregateVoteReader struct {
	formats strfmt.Registry
}
func (o *PostOracleVotersValidatorAggregateVoteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewPostOracleVotersValidatorAggregateVoteOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewPostOracleVotersValidatorAggregateVoteBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewPostOracleVotersValidatorAggregateVoteInternalServerError()
		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 NewPostOracleVotersValidatorAggregateVoteOK() *PostOracleVotersValidatorAggregateVoteOK {
	return &PostOracleVotersValidatorAggregateVoteOK{}
}
type PostOracleVotersValidatorAggregateVoteOK struct {
	Payload *models.StdTx
}
func (o *PostOracleVotersValidatorAggregateVoteOK) Error() string {
	return fmt.Sprintf("[POST /oracle/voters/{validator}/aggregate_vote][%d] postOracleVotersValidatorAggregateVoteOK  %+v", 200, o.Payload)
}
func (o *PostOracleVotersValidatorAggregateVoteOK) GetPayload() *models.StdTx {
	return o.Payload
}
func (o *PostOracleVotersValidatorAggregateVoteOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.StdTx)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewPostOracleVotersValidatorAggregateVoteBadRequest() *PostOracleVotersValidatorAggregateVoteBadRequest {
	return &PostOracleVotersValidatorAggregateVoteBadRequest{}
}
type PostOracleVotersValidatorAggregateVoteBadRequest struct {
}
func (o *PostOracleVotersValidatorAggregateVoteBadRequest) Error() string {
	return fmt.Sprintf("[POST /oracle/voters/{validator}/aggregate_vote][%d] postOracleVotersValidatorAggregateVoteBadRequest ", 400)
}
func (o *PostOracleVotersValidatorAggregateVoteBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}