mirror of https://github.com/vernonkeenan/lib
88 lines
2.1 KiB
Go
88 lines
2.1 KiB
Go
|
// 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 research_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"
|
||
|
)
|
||
|
|
||
|
// Industry An industry that is being researched
|
||
|
//
|
||
|
// swagger:model Industry
|
||
|
type Industry struct {
|
||
|
|
||
|
// Created By User ID
|
||
|
CreatedByID string `json:"CreatedByID,omitempty"`
|
||
|
|
||
|
// Created Date
|
||
|
CreatedDate string `json:"CreatedDate,omitempty"`
|
||
|
|
||
|
// Industry Description
|
||
|
Description string `json:"Description,omitempty"`
|
||
|
|
||
|
// Taxnexus Record Id
|
||
|
ID string `json:"ID,omitempty"`
|
||
|
|
||
|
// Last Modified By User ID
|
||
|
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
|
||
|
|
||
|
// Last Modified Date
|
||
|
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
|
||
|
|
||
|
// The hierarchical level of this Industry
|
||
|
Level string `json:"Level,omitempty"`
|
||
|
|
||
|
// Industry Name
|
||
|
Name string `json:"Name,omitempty"`
|
||
|
|
||
|
// The ID of the Parent Industry
|
||
|
ParentIndustryID string `json:"ParentIndustryID,omitempty"`
|
||
|
|
||
|
// The full path of this industry, including Parent
|
||
|
Path string `json:"Path,omitempty"`
|
||
|
|
||
|
// The URL of the corresponding page on the CMS
|
||
|
SiteURL string `json:"SiteURL,omitempty"`
|
||
|
|
||
|
// The CMS Slug for this Industry
|
||
|
Slug string `json:"Slug,omitempty"`
|
||
|
}
|
||
|
|
||
|
// Validate validates this industry
|
||
|
func (m *Industry) Validate(formats strfmt.Registry) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// ContextValidate validates this industry based on context it is used
|
||
|
func (m *Industry) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
// MarshalBinary interface implementation
|
||
|
func (m *Industry) MarshalBinary() ([]byte, error) {
|
||
|
if m == nil {
|
||
|
return nil, nil
|
||
|
}
|
||
|
return swag.WriteJSON(m)
|
||
|
}
|
||
|
|
||
|
// UnmarshalBinary interface implementation
|
||
|
func (m *Industry) UnmarshalBinary(b []byte) error {
|
||
|
var res Industry
|
||
|
if err := swag.ReadJSON(b, &res); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
*m = res
|
||
|
return nil
|
||
|
}
|