// Code generated by go-swagger; DO NOT EDIT. // (c) 2012-2020 by Taxnexus, Inc. // All rights reserved worldwide. // Proprietary product; unlicensed use is not allowed package plex_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" ) // Category Junction object between Industry and Company // // swagger:model Category type Category struct { // ID of the Company that owns this Category CompanyID *string `json:"CompanyID,omitempty"` // Name of the Company CompanyName *string `json:"CompanyName,omitempty"` // Slug of the Company CompanySlug *string `json:"CompanySlug,omitempty"` // TagLine of the Company CompanyTagLine *string `json:"CompanyTagLine,omitempty"` // Created Date CreatedByDate *string `json:"CreatedByDate,omitempty"` // Created By User ID CreatedByID *string `json:"CreatedByID,omitempty"` // Record Id ID string `json:"ID,omitempty"` // ID of the Industry that owns this Category IndustryID *string `json:"IndustryID,omitempty"` // Name of the Industry IndustryName *string `json:"IndustryName,omitempty"` // Slug of the Industry IndustrySlug *string `json:"IndustrySlug,omitempty"` // TagLine of the Industry IndustryTagLine *string `json:"IndustryTagLine,omitempty"` // The full path of this category, including Parent Path *string `json:"Path,omitempty"` } // Validate validates this category func (m *Category) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this category based on context it is used func (m *Category) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *Category) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *Category) UnmarshalBinary(b []byte) error { var res Category if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }