204 lines
5.6 KiB
Go
204 lines
5.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 metrc_gw_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"
|
|
)
|
|
|
|
// Transfer transfer
|
|
//
|
|
// swagger:model Transfer
|
|
type Transfer struct {
|
|
|
|
// actual arrival date time
|
|
// Example: _string_
|
|
ActualArrivalDateTime string `json:"ActualArrivalDateTime,omitempty"`
|
|
|
|
// actual departure date time
|
|
// Example: _string_
|
|
ActualDepartureDateTime string `json:"ActualDepartureDateTime,omitempty"`
|
|
|
|
// contains plant package
|
|
// Example: false
|
|
ContainsPlantPackage bool `json:"ContainsPlantPackage,omitempty"`
|
|
|
|
// contains product package
|
|
// Example: false
|
|
ContainsProductPackage bool `json:"ContainsProductPackage,omitempty"`
|
|
|
|
// contains product requires remediation
|
|
// Example: false
|
|
ContainsProductRequiresRemediation bool `json:"ContainsProductRequiresRemediation,omitempty"`
|
|
|
|
// contains remediated product package
|
|
// Example: false
|
|
ContainsRemediatedProductPackage bool `json:"ContainsRemediatedProductPackage,omitempty"`
|
|
|
|
// contains testing sample
|
|
// Example: false
|
|
ContainsTestingSample bool `json:"ContainsTestingSample,omitempty"`
|
|
|
|
// created by user name
|
|
// Example: _string_
|
|
CreatedByUserName string `json:"CreatedByUserName,omitempty"`
|
|
|
|
// created date time
|
|
// Example: 2016-10-10T08:20:45-07:00
|
|
CreatedDateTime string `json:"CreatedDateTime,omitempty"`
|
|
|
|
// delivery count
|
|
// Example: 0
|
|
DeliveryCount float64 `json:"DeliveryCount,omitempty"`
|
|
|
|
// delivery Id
|
|
// Example: 1
|
|
DeliveryID float64 `json:"DeliveryId,omitempty"`
|
|
|
|
// delivery package count
|
|
// Example: 7
|
|
DeliveryPackageCount float64 `json:"DeliveryPackageCount,omitempty"`
|
|
|
|
// delivery received package count
|
|
// Example: 0
|
|
DeliveryReceivedPackageCount float64 `json:"DeliveryReceivedPackageCount,omitempty"`
|
|
|
|
// driver name
|
|
// Example: _string_
|
|
DriverName string `json:"DriverName,omitempty"`
|
|
|
|
// driver occupational license number
|
|
// Example: _string_
|
|
DriverOccupationalLicenseNumber string `json:"DriverOccupationalLicenseNumber,omitempty"`
|
|
|
|
// driver vehicle license number
|
|
// Example: _string_
|
|
DriverVehicleLicenseNumber string `json:"DriverVehicleLicenseNumber,omitempty"`
|
|
|
|
// estimated arrival date time
|
|
// Example: 2016-10-11T16:50:00.000
|
|
EstimatedArrivalDateTime string `json:"EstimatedArrivalDateTime,omitempty"`
|
|
|
|
// estimated departure date time
|
|
// Example: 2016-10-11T14:48:30.000
|
|
EstimatedDepartureDateTime string `json:"EstimatedDepartureDateTime,omitempty"`
|
|
|
|
// Id
|
|
// Example: 1
|
|
ID float64 `json:"Id,omitempty"`
|
|
|
|
// last modified
|
|
// Example: 0001-01-01T00:00:00+00:00
|
|
LastModified string `json:"LastModified,omitempty"`
|
|
|
|
// manifest number
|
|
// Example: 0000000001
|
|
ManifestNumber string `json:"ManifestNumber,omitempty"`
|
|
|
|
// name
|
|
// Example: _string_
|
|
Name string `json:"Name,omitempty"`
|
|
|
|
// package count
|
|
// Example: 7
|
|
PackageCount float64 `json:"PackageCount,omitempty"`
|
|
|
|
// received date time
|
|
// Example: 2016-10-11T16:42:19-07:00
|
|
ReceivedDateTime string `json:"ReceivedDateTime,omitempty"`
|
|
|
|
// received delivery count
|
|
// Example: 0
|
|
ReceivedDeliveryCount float64 `json:"ReceivedDeliveryCount,omitempty"`
|
|
|
|
// received package count
|
|
// Example: 0
|
|
ReceivedPackageCount float64 `json:"ReceivedPackageCount,omitempty"`
|
|
|
|
// recipient facility license number
|
|
// Example: 123-ABC
|
|
RecipientFacilityLicenseNumber string `json:"RecipientFacilityLicenseNumber,omitempty"`
|
|
|
|
// recipient facility name
|
|
// Example: Lofty Med-Cultivation A
|
|
RecipientFacilityName string `json:"RecipientFacilityName,omitempty"`
|
|
|
|
// shipment license type
|
|
// Example: 0
|
|
ShipmentLicenseType float64 `json:"ShipmentLicenseType,omitempty"`
|
|
|
|
// shipment transaction type
|
|
// Example: Standard
|
|
ShipmentTransactionType string `json:"ShipmentTransactionType,omitempty"`
|
|
|
|
// shipment type name
|
|
// Example: Transfer
|
|
ShipmentTypeName string `json:"ShipmentTypeName,omitempty"`
|
|
|
|
// shipper facility license number
|
|
// Example: 123-ABC
|
|
ShipperFacilityLicenseNumber string `json:"ShipperFacilityLicenseNumber,omitempty"`
|
|
|
|
// shipper facility name
|
|
// Example: Lofty Med-Cultivation B
|
|
ShipperFacilityName string `json:"ShipperFacilityName,omitempty"`
|
|
|
|
// transporter facility license number
|
|
// Example: 123-BCD
|
|
TransporterFacilityLicenseNumber string `json:"TransporterFacilityLicenseNumber,omitempty"`
|
|
|
|
// transporter facility name
|
|
// Example: Lofty Med-Dispensary
|
|
TransporterFacilityName string `json:"TransporterFacilityName,omitempty"`
|
|
|
|
// vehicle license plate number
|
|
// Example: _string_
|
|
VehicleLicensePlateNumber string `json:"VehicleLicensePlateNumber,omitempty"`
|
|
|
|
// vehicle make
|
|
// Example: _string_
|
|
VehicleMake string `json:"VehicleMake,omitempty"`
|
|
|
|
// vehicle model
|
|
// Example: _string_
|
|
VehicleModel string `json:"VehicleModel,omitempty"`
|
|
}
|
|
|
|
// Validate validates this transfer
|
|
func (m *Transfer) Validate(formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// ContextValidate validates this transfer based on context it is used
|
|
func (m *Transfer) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
|
|
return nil
|
|
}
|
|
|
|
// MarshalBinary interface implementation
|
|
func (m *Transfer) MarshalBinary() ([]byte, error) {
|
|
if m == nil {
|
|
return nil, nil
|
|
}
|
|
return swag.WriteJSON(m)
|
|
}
|
|
|
|
// UnmarshalBinary interface implementation
|
|
func (m *Transfer) UnmarshalBinary(b []byte) error {
|
|
var res Transfer
|
|
if err := swag.ReadJSON(b, &res); err != nil {
|
|
return err
|
|
}
|
|
*m = res
|
|
return nil
|
|
}
|