Files
export-xlsx/build/app/models/post_o_k_body.go
Nathan Coad 54093c9106
All checks were successful
continuous-integration/drone/push Build is passing
functionbuilder
2023-02-10 16:15:36 +11:00

51 lines
1.1 KiB
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 (
"context"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// PostOKBody post o k body
//
// swagger:model postOKBody
type PostOKBody struct {
// export excel
ExportExcel string `json:"export-excel,omitempty"`
}
// Validate validates this post o k body
func (m *PostOKBody) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this post o k body based on context it is used
func (m *PostOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *PostOKBody) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *PostOKBody) UnmarshalBinary(b []byte) error {
var res PostOKBody
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}