// 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" ) // PlantBatch plant batch // // swagger:model PlantBatch type PlantBatch struct { // count // Example: 80 Count float64 `json:"Count,omitempty"` // destroyed count // Example: 40 DestroyedCount float64 `json:"DestroyedCount,omitempty"` // harvested count // Example: 0 HarvestedCount float64 `json:"HarvestedCount,omitempty"` // Id // Example: 5 ID float64 `json:"Id,omitempty"` // last modified // Example: 0001-01-01T00:00:00+00:00 LastModified string `json:"LastModified,omitempty"` // live count // Example: 10 LiveCount float64 `json:"LiveCount,omitempty"` // name // Example: Demo Plant Batch 1 Name string `json:"Name,omitempty"` // packaged count // Example: 0 PackagedCount float64 `json:"PackagedCount,omitempty"` // patient license number // Example: _string_ PatientLicenseNumber string `json:"PatientLicenseNumber,omitempty"` // planted date // Example: 2014-10-10 PlantedDate string `json:"PlantedDate,omitempty"` // room Id // Example: _string_ RoomID string `json:"RoomId,omitempty"` // room name // Example: _string_ RoomName string `json:"RoomName,omitempty"` // source package Id // Example: 0 SourcePackageID float64 `json:"SourcePackageId,omitempty"` // source package label // Example: _string_ SourcePackageLabel string `json:"SourcePackageLabel,omitempty"` // source plant Id // Example: 0 SourcePlantID float64 `json:"SourcePlantId,omitempty"` // source plant label // Example: _string_ SourcePlantLabel string `json:"SourcePlantLabel,omitempty"` // strain Id // Example: 1 StrainID float64 `json:"StrainId,omitempty"` // strain name // Example: Spring Hill Kush StrainName string `json:"StrainName,omitempty"` // tracked count // Example: 10 TrackedCount float64 `json:"TrackedCount,omitempty"` // type // Example: Seed Type string `json:"Type,omitempty"` // untracked count // Example: 80 UntrackedCount float64 `json:"UntrackedCount,omitempty"` } // Validate validates this plant batch func (m *PlantBatch) Validate(formats strfmt.Registry) error { return nil } // ContextValidate validates this plant batch based on context it is used func (m *PlantBatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error { return nil } // MarshalBinary interface implementation func (m *PlantBatch) MarshalBinary() ([]byte, error) { if m == nil { return nil, nil } return swag.WriteJSON(m) } // UnmarshalBinary interface implementation func (m *PlantBatch) UnmarshalBinary(b []byte) error { var res PlantBatch if err := swag.ReadJSON(b, &res); err != nil { return err } *m = res return nil }