// Code generated by go-swagger; DO NOT EDIT. // All Code Copyright(c) 2018-2021 by Taxnexus, Inc. // All rights reserved worldwide. // Proprietary product; unlicensed use is not allowed package sys // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "fmt" "github.com/go-openapi/runtime" "github.com/go-openapi/strfmt" ) // GetMetricsReader is a Reader for the GetMetrics structure. type GetMetricsReader struct { formats strfmt.Registry } // ReadResponse reads a server response into the received o. func (o *GetMetricsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) { switch response.Code() { case 200: result := NewGetMetricsOK() if err := result.readResponse(response, consumer, o.formats); err != nil { return nil, err } return result, nil default: return nil, runtime.NewAPIError("unknown error", response, response.Code()) } } // NewGetMetricsOK creates a GetMetricsOK with default headers values func NewGetMetricsOK() *GetMetricsOK { return &GetMetricsOK{} } /*GetMetricsOK handles this case with default header values. OK */ type GetMetricsOK struct { } func (o *GetMetricsOK) Error() string { return fmt.Sprintf("[GET /metrics][%d] getMetricsOK ", 200) } func (o *GetMetricsOK) readResponse(response runtime.ClientResponse, consumer runtime.Consumer, formats strfmt.Registry) error { return nil }