2021-01-08 17:40:28 +00:00
|
|
|
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
|
2021-01-19 16:58:40 +00:00
|
|
|
// All Code Copyright(c) 2018-2021 by Taxnexus, Inc.
|
2021-01-08 17:40:28 +00:00
|
|
|
// All rights reserved worldwide.
|
|
|
|
// Proprietary product; unlicensed use is not allowed
|
|
|
|
|
|
|
|
package sf_gate_models
|
|
|
|
|
|
|
|
// This file was generated by the swagger tool.
|
|
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/go-openapi/strfmt"
|
|
|
|
"github.com/go-openapi/swag"
|
|
|
|
)
|
|
|
|
|
|
|
|
// License license
|
|
|
|
//
|
|
|
|
// swagger:model License
|
|
|
|
type License struct {
|
|
|
|
|
|
|
|
// accountid
|
|
|
|
Accountid string `json:"accountid,omitempty"`
|
|
|
|
|
|
|
|
// backendid
|
|
|
|
Backendid string `json:"backendid,omitempty"`
|
|
|
|
|
|
|
|
// contactid
|
|
|
|
Contactid string `json:"contactid,omitempty"`
|
|
|
|
|
|
|
|
// createdbyid
|
|
|
|
Createdbyid string `json:"createdbyid,omitempty"`
|
|
|
|
|
|
|
|
// createddate
|
|
|
|
Createddate string `json:"createddate,omitempty"`
|
|
|
|
|
|
|
|
// Date
|
|
|
|
Dateissued string `json:"dateissued,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"`
|
|
|
|
|
|
|
|
// lastmodifiedbyid
|
|
|
|
Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"`
|
|
|
|
|
|
|
|
// lastmodifieddate
|
|
|
|
Lastmodifieddate string `json:"lastmodifieddate,omitempty"`
|
|
|
|
|
|
|
|
// License Number
|
|
|
|
Licensenumber string `json:"licensenumber,omitempty"`
|
|
|
|
|
|
|
|
// License Type Number
|
|
|
|
Licensetypeid string `json:"licensetypeid,omitempty"`
|
|
|
|
|
|
|
|
// Source System identifier for this record, if any
|
|
|
|
Ref string `json:"ref,omitempty"`
|
|
|
|
|
|
|
|
// Status
|
|
|
|
Status string `json:"status,omitempty"`
|
|
|
|
|
|
|
|
// tenant identifier
|
|
|
|
Tenantid string `json:"tenantid,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// Validate validates this license
|
|
|
|
func (m *License) Validate(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
|
|
|
|
}
|