// 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 (
	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// EvalHTTPContext input context for ExpectHTTP mock
//
// swagger:model EvalHTTPContext
type EvalHTTPContext struct {

	// body
	Body string `json:"body,omitempty"`

	// headers
	Headers interface{} `json:"headers,omitempty"`

	// method
	Method string `json:"method,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// query string
	QueryString string `json:"query_string,omitempty"`
}

// Validate validates this eval HTTP context
func (m *EvalHTTPContext) Validate(formats strfmt.Registry) error {
	return nil
}

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

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