112 lines
2.6 KiB
Go
112 lines
2.6 KiB
Go
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
|
|
// All rights reserved worldwide.
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
package regs_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"
|
|
)
|
|
|
|
// License license
|
|
//
|
|
// swagger:model License
|
|
type License struct {
|
|
|
|
// Account ID
|
|
AccountID string `json:"AccountID,omitempty"`
|
|
|
|
// Backend ID for external access
|
|
BackendID string `json:"BackendID,omitempty"`
|
|
|
|
// Contact ID
|
|
ContactID string `json:"ContactID,omitempty"`
|
|
|
|
// Created By User ID
|
|
CreatedByID string `json:"CreatedByID,omitempty"`
|
|
|
|
// Created Date
|
|
CreatedDate string `json:"CreatedDate,omitempty"`
|
|
|
|
// Date
|
|
DateIssued string `json:"DateIssued,omitempty"`
|
|
|
|
// The designation
|
|
Designation string `json:"Designation,omitempty"`
|
|
|
|
// Expiration Date
|
|
ExpirationDate string `json:"ExpirationDate,omitempty"`
|
|
|
|
// Taxnexus Record Id Only; not used in POST
|
|
ID string `json:"ID,omitempty"`
|
|
|
|
// Is Canceled?
|
|
IsCanceled bool `json:"IsCanceled,omitempty"`
|
|
|
|
// Is Revoked?
|
|
IsRevoked bool `json:"IsRevoked,omitempty"`
|
|
|
|
// Last Modified By User ID
|
|
LastModifiedByID string `json:"LastModifiedByID,omitempty"`
|
|
|
|
// Last Modified Date
|
|
LastModifiedDate string `json:"LastModifiedDate,omitempty"`
|
|
|
|
// License Type ID
|
|
LicenseTypeID string `json:"LicenseTypeID,omitempty"`
|
|
|
|
// License Number
|
|
Name string `json:"Name,omitempty"`
|
|
|
|
// Owner of the object instance
|
|
OwnerID string `json:"OwnerID,omitempty"`
|
|
|
|
// UUID Reference the master record that owns this item
|
|
ParentFK string `json:"ParentFK,omitempty"`
|
|
|
|
// Source System identifier for this record, if any
|
|
Ref string `json:"Ref,omitempty"`
|
|
|
|
// Status
|
|
Status string `json:"Status,omitempty"`
|
|
|
|
// Tenant that owns this object instance
|
|
TenantID string `json:"TenantID,omitempty"`
|
|
}
|
|
|
|
// Validate validates this license
|
|
func (m *License) Validate(formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// ContextValidate validates this license based on context it is used
|
|
func (m *License) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// MarshalBinary interface implementation
|
|
func (m *License) MarshalBinary() ([]byte, error) {
|
|
if m == nil {
|
|
return nil, nil
|
|
}
|
|
return swag.WriteJSON(m)
|
|
}
|
|
|
|
// UnmarshalBinary interface implementation
|
|
func (m *License) UnmarshalBinary(b []byte) error {
|
|
var res License
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
return err
|
|
}
|
|
*m = res
|
|
return nil
|
|
}
|