96 lines
2.1 KiB
Go
96 lines
2.1 KiB
Go
|
// Code generated by go-swagger; DO NOT EDIT.
|
||
|
|
||
|
// All Code Copyright(c) 2018-2020 by Taxnexus, Inc.
|
||
|
// 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
|
||
|
}
|