lib/api/sfgate/sfgate_models/authority.go

139 lines
3.0 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 sfgate_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"
)
// 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
}
// ContextValidate validates this authority based on context it is used
func (m *Authority) ContextValidate(ctx context.Context, 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
}