lib/api/metrc-gw/metrc_gw_models/transfer.go

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