// 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" ) // List List represents a user-created list of accounts that the user follows. // // swagger:model List type List struct { // The ID of the list. ID string `json:"id,omitempty"` // RepliesPolicy for this list. // followed = Show replies to any followed user // list = Show replies to members of the list // none = Show replies to no one RepliesPolicy string `json:"replies_policy,omitempty"` // The user-defined title of the list. Title string `json:"title,omitempty"` } // Validate validates this list func (m *List) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this list based on context it is used func (m *List) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *List) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *List) UnmarshalBinary(b []byte) error { var res List if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }