lib/api/sf-gate/sf_gate_models/authority.go

132 lines
2.9 KiB
Go
Raw Permalink Normal View History

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"
)
// Authority authority
//
// swagger:model Authority
type Authority struct {
// Account
Accountid string `json:"accountid,omitempty"`
// Address Line 1
Addressline1 string `json:"addressline1,omitempty"`
// Address Line 2
Addressline2 string `json:"addressline2,omitempty"`
// Billing Telephone Number
Btn string `json:"btn,omitempty"`
// City
City string `json:"city,omitempty"`
// Contact ID
Contactid string `json:"contactid,omitempty"`
// country
Country string `json:"country,omitempty"`
// Created By User ID
Createdbyid string `json:"createdbyid,omitempty"`
// Created Date
Createddate string `json:"createddate,omitempty"`
// date
Date string `json:"date,omitempty"`
// Date Approved
Dateapproved string `json:"dateapproved,omitempty"`
// Taxnexus Record Identifier
ID string `json:"id,omitempty"`
// Last Modified By User ID
Lastmodifiedbyid string `json:"lastmodifiedbyid,omitempty"`
// Last Modified Date
Lastmodifieddate string `json:"lastmodifieddate,omitempty"`
// Losing Carrier
Losingcarrier string `json:"losingcarrier,omitempty"`
// Authority Number
Name string `json:"name,omitempty"`
// Name Line 1
Nameline1 string `json:"nameline1,omitempty"`
// Name Line 2
Nameline2 string `json:"nameline2,omitempty"`
// Opportunity ID
Opportunityid string `json:"opportunityid,omitempty"`
// Order ID
Orderid string `json:"orderid,omitempty"`
// UUID Reference the master record that owns this item
Parentfk string `json:"parentfk,omitempty"`
// Zip Code
Postalcode string `json:"postalcode,omitempty"`
// Quote ID
Quoteid string `json:"quoteid,omitempty"`
// Source System identifier for this record, if any
Ref string `json:"ref,omitempty"`
// State
State string `json:"state,omitempty"`
// Status
Status string `json:"status,omitempty"`
// tenant identifier
Tenantid string `json:"tenantid,omitempty"`
// Transfer Date
Transferdate string `json:"transferdate,omitempty"`
// Authority Type
Type string `json:"type,omitempty"`
}
// Validate validates this authority
func (m *Authority) Validate(formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *Authority) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *Authority) UnmarshalBinary(b []byte) error {
var res Authority
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}