1 // Code generated by go-swagger; DO NOT EDIT.
5 // This file was generated by the swagger tool.
6 // Editing this file might prove futile when you re-run the swagger generate command
9 strfmt "github.com/go-openapi/strfmt"
11 "github.com/go-openapi/swag"
14 // PolicyParams policy params
15 // swagger:model PolicyParams
16 type PolicyParams struct {
19 RequestorID int64 `json:"RequestorId,omitempty"`
22 TBD string `json:"TBD,omitempty"`
25 // Validate validates this policy params
26 func (m *PolicyParams) Validate(formats strfmt.Registry) error {
30 // MarshalBinary interface implementation
31 func (m *PolicyParams) MarshalBinary() ([]byte, error) {
35 return swag.WriteJSON(m)
38 // UnmarshalBinary interface implementation
39 func (m *PolicyParams) UnmarshalBinary(b []byte) error {
41 if err := swag.ReadJSON(b, &res); err != nil {