functionbuilder
This commit is contained in:
50
build/app/models/post_o_k_body.go
Normal file
50
build/app/models/post_o_k_body.go
Normal file
@@ -0,0 +1,50 @@
|
||||
// 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
|
||||
}
|
Reference in New Issue
Block a user