Mohamed Abukar | 3895a8c | 2020-02-10 09:48:59 +0200 | [diff] [blame] | 1 | // Code generated by go-swagger; DO NOT EDIT. |
| 2 | |
| 3 | package clientmodel |
| 4 | |
| 5 | // This file was generated by the swagger tool. |
| 6 | // Editing this file might prove futile when you re-run the swagger generate command |
| 7 | |
| 8 | import ( |
| 9 | strfmt "github.com/go-openapi/strfmt" |
| 10 | |
| 11 | "github.com/go-openapi/swag" |
| 12 | ) |
| 13 | |
| 14 | // ControlParams control params |
| 15 | // swagger:model ControlParams |
| 16 | type ControlParams struct { |
| 17 | |
| 18 | // requestor Id |
| 19 | RequestorID int64 `json:"RequestorId,omitempty"` |
| 20 | |
| 21 | // t b d |
| 22 | TBD string `json:"TBD,omitempty"` |
| 23 | } |
| 24 | |
| 25 | // Validate validates this control params |
| 26 | func (m *ControlParams) Validate(formats strfmt.Registry) error { |
| 27 | return nil |
| 28 | } |
| 29 | |
| 30 | // MarshalBinary interface implementation |
| 31 | func (m *ControlParams) MarshalBinary() ([]byte, error) { |
| 32 | if m == nil { |
| 33 | return nil, nil |
| 34 | } |
| 35 | return swag.WriteJSON(m) |
| 36 | } |
| 37 | |
| 38 | // UnmarshalBinary interface implementation |
| 39 | func (m *ControlParams) UnmarshalBinary(b []byte) error { |
| 40 | var res ControlParams |
| 41 | if err := swag.ReadJSON(b, &res); err != nil { |
| 42 | return err |
| 43 | } |
| 44 | *m = res |
| 45 | return nil |
| 46 | } |