Files
goldpinger/pkg/models/call_stats.go
Ivan Kalita 1e324f78b9 Remove license header from autogenerated files
According to #32.

Signed-off-by: Ivan Kalita <kaduev13@gmail.com>
2018-12-21 14:28:44 +01:00

50 lines
993 B
Go

// 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 (
strfmt "github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// CallStats call stats
// swagger:model CallStats
type CallStats struct {
// check
Check int64 `json:"check,omitempty"`
// check all
CheckAll int64 `json:"check_all,omitempty"`
// ping
Ping int64 `json:"ping,omitempty"`
}
// Validate validates this call stats
func (m *CallStats) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *CallStats) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *CallStats) UnmarshalBinary(b []byte) error {
var res CallStats
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}