func NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsInternalServerError() *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsInternalServerError {
	return &PostStakingDelegatorsDelegatorAddrUnbondingDelegationsInternalServerError{}
}
NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsInternalServerError creates a PostStakingDelegatorsDelegatorAddrUnbondingDelegationsInternalServerError with default headers values
package staking
import (
	"fmt"
	"io"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
	"github.com/terra-project/mantle-sdk/lcd/models"
)
type PostStakingDelegatorsDelegatorAddrUnbondingDelegationsReader struct {
	formats strfmt.Registry
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 400:
		result := NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 401:
		result := NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return nil, result
	case 500:
		result := NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsInternalServerError()
		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 NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK() *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK {
	return &PostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK{}
}
type PostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK struct {
	Payload *models.BroadcastTxCommitResult
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK) Error() string {
	return fmt.Sprintf("[POST /staking/delegators/{delegatorAddr}/unbonding_delegations][%d] postStakingDelegatorsDelegatorAddrUnbondingDelegationsOK  %+v", 200, o.Payload)
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK) GetPayload() *models.BroadcastTxCommitResult {
	return o.Payload
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(models.BroadcastTxCommitResult)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest() *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest {
	return &PostStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest{}
}
type PostStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest struct {
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest) Error() string {
	return fmt.Sprintf("[POST /staking/delegators/{delegatorAddr}/unbonding_delegations][%d] postStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest ", 400)
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsBadRequest) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}
func NewPostStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized() *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized {
	return &PostStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized{}
}
type PostStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized struct {
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized) Error() string {
	return fmt.Sprintf("[POST /staking/delegators/{delegatorAddr}/unbonding_delegations][%d] postStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized ", 401)
}
func (o *PostStakingDelegatorsDelegatorAddrUnbondingDelegationsUnauthorized) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}