func (o *GetSlashingParametersOKBodyResult) Validate(formats strfmt.Registry) error {
	return nil
}
Validate validates this get slashing parameters o k body result
package slashing
import (
	"fmt"
	"io"
	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)
type GetSlashingParametersReader struct {
	formats strfmt.Registry
}
func (o *GetSlashingParametersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) {
	switch response.Code() {
	case 200:
		result := NewGetSlashingParametersOK()
		if err := result.readResponse(response, consumer, o.formats); err != nil {
			return nil, err
		}
		return result, nil
	case 500:
		result := NewGetSlashingParametersInternalServerError()
		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 NewGetSlashingParametersOK() *GetSlashingParametersOK {
	return &GetSlashingParametersOK{}
}
type GetSlashingParametersOK struct {
	Payload *GetSlashingParametersOKBody
}
func (o *GetSlashingParametersOK) Error() string {
	return fmt.Sprintf("[GET /slashing/parameters][%d] getSlashingParametersOK  %+v", 200, o.Payload)
}
func (o *GetSlashingParametersOK) GetPayload() *GetSlashingParametersOKBody {
	return o.Payload
}
func (o *GetSlashingParametersOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	o.Payload = new(GetSlashingParametersOKBody)
	if err := consumer.Consume(response.Body(), o.Payload); err != nil && err != io.EOF {
		return err
	}
	return nil
}
func NewGetSlashingParametersInternalServerError() *GetSlashingParametersInternalServerError {
	return &GetSlashingParametersInternalServerError{}
}
type GetSlashingParametersInternalServerError struct {
}
func (o *GetSlashingParametersInternalServerError) Error() string {
	return fmt.Sprintf("[GET /slashing/parameters][%d] getSlashingParametersInternalServerError ", 500)
}
func (o *GetSlashingParametersInternalServerError) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error {
	return nil
}
type GetSlashingParametersOKBody struct {
	Height string `json:"height,omitempty"`
	Result *GetSlashingParametersOKBodyResult `json:"result,omitempty"`
}
func (o *GetSlashingParametersOKBody) Validate(formats strfmt.Registry) error {
	var res []error
	if err := o.validateResult(formats); err != nil {
		res = append(res, err)
	}
	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}
func (o *GetSlashingParametersOKBody) validateResult(formats strfmt.Registry) error {
	if swag.IsZero(o.Result) {  
		return nil
	}
	if o.Result != nil {
		if err := o.Result.Validate(formats); err != nil {
			if ve, ok := err.(*errors.Validation); ok {
				return ve.ValidateName("getSlashingParametersOK" + "." + "result")
			}
			return err
		}
	}
	return nil
}
func (o *GetSlashingParametersOKBody) MarshalBinary() ([]byte, error) {
	if o == nil {
		return nil, nil
	}
	return swag.WriteJSON(o)
}
func (o *GetSlashingParametersOKBody) UnmarshalBinary(b []byte) error {
	var res GetSlashingParametersOKBody
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*o = res
	return nil
}
type GetSlashingParametersOKBodyResult struct {
	DowntimeJailDuration string `json:"downtime_jail_duration,omitempty"`
	MaxEvidenceAge string `json:"max_evidence_age,omitempty"`
	MinSignedPerWindow string `json:"min_signed_per_window,omitempty"`
	SignedBlocksWindow string `json:"signed_blocks_window,omitempty"`
	SlashFractionDoubleSign string `json:"slash_fraction_double_sign,omitempty"`
	SlashFractionDowntime string `json:"slash_fraction_downtime,omitempty"`
}