Documentation
¶
Index ¶
- Constants
- Variables
- func AddDefinitionTransactionHook(hookPoint boil.HookPoint, definitionTransactionHook DefinitionTransactionHook)
- func AddDeviceIntegrationHook(hookPoint boil.HookPoint, deviceIntegrationHook DeviceIntegrationHook)
- func AddDeviceStyleHook(hookPoint boil.HookPoint, deviceStyleHook DeviceStyleHook)
- func AddDeviceTypeHook(hookPoint boil.HookPoint, deviceTypeHook DeviceTypeHook)
- func AddFailedVinDecodeHook(hookPoint boil.HookPoint, failedVinDecodeHook FailedVinDecodeHook)
- func AddImageHook(hookPoint boil.HookPoint, imageHook ImageHook)
- func AddIntegrationFeatureHook(hookPoint boil.HookPoint, integrationFeatureHook IntegrationFeatureHook)
- func AddIntegrationHook(hookPoint boil.HookPoint, integrationHook IntegrationHook)
- func AddVinNumberHook(hookPoint boil.HookPoint, vinNumberHook VinNumberHook)
- func AddWmiHook(hookPoint boil.HookPoint, wmiHook WmiHook)
- func AllIntegrationStyle() []string
- func AllIntegrationType() []string
- func AllPowertrain() []string
- func DefinitionTransactionExists(ctx context.Context, exec boil.ContextExecutor, transactionHash string) (bool, error)
- func DefinitionTransactions(mods ...qm.QueryMod) definitionTransactionQuery
- func DeviceIntegrationExists(ctx context.Context, exec boil.ContextExecutor, deviceDefinitionID string, ...) (bool, error)
- func DeviceIntegrations(mods ...qm.QueryMod) deviceIntegrationQuery
- func DeviceStyleExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func DeviceStyles(mods ...qm.QueryMod) deviceStyleQuery
- func DeviceTypeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func DeviceTypes(mods ...qm.QueryMod) deviceTypeQuery
- func FailedVinDecodeExists(ctx context.Context, exec boil.ContextExecutor, vin string) (bool, error)
- func FailedVinDecodes(mods ...qm.QueryMod) failedVinDecodeQuery
- func ImageExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func Images(mods ...qm.QueryMod) imageQuery
- func IntegrationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func IntegrationFeatureExists(ctx context.Context, exec boil.ContextExecutor, featureKey string) (bool, error)
- func IntegrationFeatures(mods ...qm.QueryMod) integrationFeatureQuery
- func Integrations(mods ...qm.QueryMod) integrationQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func VinNumberExists(ctx context.Context, exec boil.ContextExecutor, vin string) (bool, error)
- func VinNumbers(mods ...qm.QueryMod) vinNumberQuery
- func WmiExists(ctx context.Context, exec boil.ContextExecutor, wmi string, ...) (bool, error)
- func Wmis(mods ...qm.QueryMod) wmiQuery
- type DefinitionTransaction
- func (o *DefinitionTransaction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DefinitionTransaction) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *DefinitionTransaction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DefinitionTransaction) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DefinitionTransaction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DefinitionTransaction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type DefinitionTransactionHook
- type DefinitionTransactionSlice
- func (o DefinitionTransactionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DefinitionTransactionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DefinitionTransactionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DeviceIntegration
- func (o *DeviceIntegration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DeviceIntegration) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *DeviceIntegration) GetIntegration() *Integration
- func (o *DeviceIntegration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DeviceIntegration) Integration(mods ...qm.QueryMod) integrationQuery
- func (o *DeviceIntegration) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DeviceIntegration) SetIntegration(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DeviceIntegration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DeviceIntegration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type DeviceIntegrationHook
- type DeviceIntegrationSlice
- func (o DeviceIntegrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DeviceIntegrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o DeviceIntegrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type DeviceStyle
- func (o *DeviceStyle) AddStyleVinNumbers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DeviceStyle) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DeviceStyle) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *DeviceStyle) GetStyleVinNumbers() VinNumberSlice
- func (o *DeviceStyle) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DeviceStyle) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DeviceStyle) RemoveStyleVinNumbers(ctx context.Context, exec boil.ContextExecutor, related ...*VinNumber) error
- func (o *DeviceStyle) SetStyleVinNumbers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *DeviceStyle) StyleVinNumbers(mods ...qm.QueryMod) vinNumberQuery
- func (o *DeviceStyle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DeviceStyle) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type DeviceStyleHook
- type DeviceStyleSlice
- type DeviceType
- func (o *DeviceType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *DeviceType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *DeviceType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *DeviceType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DeviceType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *DeviceType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type DeviceTypeHook
- type DeviceTypeSlice
- type FailedVinDecode
- func (o *FailedVinDecode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *FailedVinDecode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *FailedVinDecode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *FailedVinDecode) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *FailedVinDecode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *FailedVinDecode) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type FailedVinDecodeHook
- type FailedVinDecodeSlice
- func (o FailedVinDecodeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *FailedVinDecodeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o FailedVinDecodeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Image
- func (o *Image) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Image) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Image) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Image) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Image) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Image) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type ImageHook
- type ImageSlice
- type Integration
- func (o *Integration) AddDeviceIntegrations(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Integration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Integration) DeviceIntegrations(mods ...qm.QueryMod) deviceIntegrationQuery
- func (o *Integration) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Integration) GetDeviceIntegrations() DeviceIntegrationSlice
- func (o *Integration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Integration) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Integration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Integration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type IntegrationFeature
- func (o *IntegrationFeature) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *IntegrationFeature) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *IntegrationFeature) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *IntegrationFeature) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *IntegrationFeature) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *IntegrationFeature) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type IntegrationFeatureHook
- type IntegrationFeatureSlice
- func (o IntegrationFeatureSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *IntegrationFeatureSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o IntegrationFeatureSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type IntegrationHook
- type IntegrationSlice
- type M
- type UpsertOptionFunc
- type UpsertOptions
- type VinNumber
- func (o *VinNumber) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *VinNumber) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *VinNumber) GetStyle() *DeviceStyle
- func (o *VinNumber) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *VinNumber) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *VinNumber) RemoveStyle(ctx context.Context, exec boil.ContextExecutor, related *DeviceStyle) error
- func (o *VinNumber) SetStyle(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *VinNumber) Style(mods ...qm.QueryMod) deviceStyleQuery
- func (o *VinNumber) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *VinNumber) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type VinNumberHook
- type VinNumberSlice
- type Wmi
- func (o *Wmi) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Wmi) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Wmi) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Wmi) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Wmi) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Wmi) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type WmiHook
- type WmiSlice
Constants ¶
const ( PowertrainALL string = "ALL" PowertrainHybridsAndICE string = "HybridsAndICE" PowertrainICE string = "ICE" PowertrainHEV string = "HEV" PowertrainPHEV string = "PHEV" PowertrainBEV string = "BEV" PowertrainFCEV string = "FCEV" )
Enum values for Powertrain
const ( IntegrationTypeHardware string = "Hardware" IntegrationTypeAPI string = "API" )
Enum values for IntegrationType
const ( IntegrationStyleAddon string = "Addon" IntegrationStyleOEM string = "OEM" IntegrationStyleWebhook string = "Webhook" )
Enum values for IntegrationStyle
Variables ¶
var DefinitionTransactionColumns = struct { TransactionHash string DefinitionID string CreatedAt string ManufacturerID string }{ TransactionHash: "transaction_hash", DefinitionID: "definition_id", CreatedAt: "created_at", ManufacturerID: "manufacturer_id", }
var DefinitionTransactionRels = struct {
}{}
DefinitionTransactionRels is where relationship names are stored.
var DefinitionTransactionTableColumns = struct { TransactionHash string DefinitionID string CreatedAt string ManufacturerID string }{ TransactionHash: "definition_transactions.transaction_hash", DefinitionID: "definition_transactions.definition_id", CreatedAt: "definition_transactions.created_at", ManufacturerID: "definition_transactions.manufacturer_id", }
var DefinitionTransactionWhere = struct { TransactionHash whereHelperstring DefinitionID whereHelperstring CreatedAt whereHelpertime_Time ManufacturerID whereHelperint64 }{ TransactionHash: whereHelperstring{/* contains filtered or unexported fields */}, DefinitionID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, ManufacturerID: whereHelperint64{/* contains filtered or unexported fields */}, }
var DeviceIntegrationColumns = struct { DeviceDefinitionID string IntegrationID string CreatedAt string UpdatedAt string Region string Features string }{ DeviceDefinitionID: "device_definition_id", IntegrationID: "integration_id", CreatedAt: "created_at", UpdatedAt: "updated_at", Region: "region", Features: "features", }
var DeviceIntegrationRels = struct { Integration string }{ Integration: "Integration", }
DeviceIntegrationRels is where relationship names are stored.
var DeviceIntegrationTableColumns = struct { DeviceDefinitionID string IntegrationID string CreatedAt string UpdatedAt string Region string Features string }{ DeviceDefinitionID: "device_integrations.device_definition_id", IntegrationID: "device_integrations.integration_id", CreatedAt: "device_integrations.created_at", UpdatedAt: "device_integrations.updated_at", Region: "device_integrations.region", Features: "device_integrations.features", }
var DeviceIntegrationWhere = struct { DeviceDefinitionID whereHelperstring IntegrationID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time Region whereHelperstring Features whereHelpernull_JSON }{ DeviceDefinitionID: whereHelperstring{/* contains filtered or unexported fields */}, IntegrationID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Region: whereHelperstring{/* contains filtered or unexported fields */}, Features: whereHelpernull_JSON{/* contains filtered or unexported fields */}, }
var DeviceStyleColumns = struct { ID string Name string ExternalStyleID string Source string CreatedAt string UpdatedAt string SubModel string HardwareTemplateID string Metadata string DefinitionID string }{ ID: "id", Name: "name", ExternalStyleID: "external_style_id", Source: "source", CreatedAt: "created_at", UpdatedAt: "updated_at", SubModel: "sub_model", HardwareTemplateID: "hardware_template_id", Metadata: "metadata", DefinitionID: "definition_id", }
var DeviceStyleRels = struct { StyleVinNumbers string }{ StyleVinNumbers: "StyleVinNumbers", }
DeviceStyleRels is where relationship names are stored.
var DeviceStyleTableColumns = struct { ID string Name string ExternalStyleID string Source string CreatedAt string UpdatedAt string SubModel string HardwareTemplateID string Metadata string DefinitionID string }{ ID: "device_styles.id", Name: "device_styles.name", ExternalStyleID: "device_styles.external_style_id", Source: "device_styles.source", CreatedAt: "device_styles.created_at", UpdatedAt: "device_styles.updated_at", SubModel: "device_styles.sub_model", HardwareTemplateID: "device_styles.hardware_template_id", Metadata: "device_styles.metadata", DefinitionID: "device_styles.definition_id", }
var DeviceStyleWhere = struct { ID whereHelperstring Name whereHelperstring ExternalStyleID whereHelperstring Source whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time SubModel whereHelperstring HardwareTemplateID whereHelpernull_String Metadata whereHelpernull_JSON DefinitionID whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, ExternalStyleID: whereHelperstring{/* contains filtered or unexported fields */}, Source: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, SubModel: whereHelperstring{/* contains filtered or unexported fields */}, HardwareTemplateID: whereHelpernull_String{/* contains filtered or unexported fields */}, Metadata: whereHelpernull_JSON{/* contains filtered or unexported fields */}, DefinitionID: whereHelperstring{/* contains filtered or unexported fields */}, }
var DeviceTypeColumns = struct { ID string CreatedAt string UpdatedAt string Name string Metadatakey string Properties string }{ ID: "id", CreatedAt: "created_at", UpdatedAt: "updated_at", Name: "name", Metadatakey: "metadatakey", Properties: "properties", }
var DeviceTypeRels = struct {
}{}
DeviceTypeRels is where relationship names are stored.
var DeviceTypeTableColumns = struct { ID string CreatedAt string UpdatedAt string Name string Metadatakey string Properties string }{ ID: "device_types.id", CreatedAt: "device_types.created_at", UpdatedAt: "device_types.updated_at", Name: "device_types.name", Metadatakey: "device_types.metadatakey", Properties: "device_types.properties", }
var DeviceTypeWhere = struct { ID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time Name whereHelperstring Metadatakey whereHelperstring Properties whereHelpernull_JSON }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Metadatakey: whereHelperstring{/* contains filtered or unexported fields */}, Properties: whereHelpernull_JSON{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var FailedVinDecodeColumns = struct { Vin string VendorsTried string VincarioData string DrivlyData string AutoisoData string DatgroupData string Vin17Data string ManufacturerName string CountryCode string CreatedAt string }{ Vin: "vin", VendorsTried: "vendors_tried", VincarioData: "vincario_data", DrivlyData: "drivly_data", AutoisoData: "autoiso_data", DatgroupData: "datgroup_data", Vin17Data: "vin17_data", ManufacturerName: "manufacturer_name", CountryCode: "country_code", CreatedAt: "created_at", }
var FailedVinDecodeRels = struct {
}{}
FailedVinDecodeRels is where relationship names are stored.
var FailedVinDecodeTableColumns = struct { Vin string VendorsTried string VincarioData string DrivlyData string AutoisoData string DatgroupData string Vin17Data string ManufacturerName string CountryCode string CreatedAt string }{ Vin: "failed_vin_decodes.vin", VendorsTried: "failed_vin_decodes.vendors_tried", VincarioData: "failed_vin_decodes.vincario_data", DrivlyData: "failed_vin_decodes.drivly_data", AutoisoData: "failed_vin_decodes.autoiso_data", DatgroupData: "failed_vin_decodes.datgroup_data", Vin17Data: "failed_vin_decodes.vin17_data", ManufacturerName: "failed_vin_decodes.manufacturer_name", CountryCode: "failed_vin_decodes.country_code", CreatedAt: "failed_vin_decodes.created_at", }
var FailedVinDecodeWhere = struct { Vin whereHelperstring VendorsTried whereHelpertypes_StringArray VincarioData whereHelpernull_JSON DrivlyData whereHelpernull_JSON AutoisoData whereHelpernull_JSON DatgroupData whereHelpernull_JSON Vin17Data whereHelpernull_JSON ManufacturerName whereHelpernull_String CountryCode whereHelpernull_String CreatedAt whereHelpertime_Time }{ Vin: whereHelperstring{/* contains filtered or unexported fields */}, VendorsTried: whereHelpertypes_StringArray{/* contains filtered or unexported fields */}, VincarioData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, DrivlyData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, AutoisoData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, DatgroupData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, Vin17Data: whereHelpernull_JSON{/* contains filtered or unexported fields */}, ManufacturerName: whereHelpernull_String{/* contains filtered or unexported fields */}, CountryCode: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var ImageColumns = struct { ID string FuelAPIID string Width string Height string SourceURL string DimoS3URL string Color string NotExactImage string CreatedAt string UpdatedAt string DefinitionID string }{ ID: "id", FuelAPIID: "fuel_api_id", Width: "width", Height: "height", SourceURL: "source_url", DimoS3URL: "dimo_s3_url", Color: "color", NotExactImage: "not_exact_image", CreatedAt: "created_at", UpdatedAt: "updated_at", DefinitionID: "definition_id", }
var ImageRels = struct {
}{}
ImageRels is where relationship names are stored.
var ImageTableColumns = struct { ID string FuelAPIID string Width string Height string SourceURL string DimoS3URL string Color string NotExactImage string CreatedAt string UpdatedAt string DefinitionID string }{ ID: "images.id", FuelAPIID: "images.fuel_api_id", Width: "images.width", Height: "images.height", SourceURL: "images.source_url", DimoS3URL: "images.dimo_s3_url", Color: "images.color", NotExactImage: "images.not_exact_image", CreatedAt: "images.created_at", UpdatedAt: "images.updated_at", DefinitionID: "images.definition_id", }
var ImageWhere = struct { ID whereHelperstring FuelAPIID whereHelpernull_String Width whereHelpernull_Int Height whereHelpernull_Int SourceURL whereHelperstring DimoS3URL whereHelpernull_String Color whereHelperstring NotExactImage whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DefinitionID whereHelperstring }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, FuelAPIID: whereHelpernull_String{/* contains filtered or unexported fields */}, Width: whereHelpernull_Int{/* contains filtered or unexported fields */}, Height: whereHelpernull_Int{/* contains filtered or unexported fields */}, SourceURL: whereHelperstring{/* contains filtered or unexported fields */}, DimoS3URL: whereHelpernull_String{/* contains filtered or unexported fields */}, Color: whereHelperstring{/* contains filtered or unexported fields */}, NotExactImage: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DefinitionID: whereHelperstring{/* contains filtered or unexported fields */}, }
var IntegrationColumns = struct { ID string Type string Style string Vendor string CreatedAt string UpdatedAt string RefreshLimitSecs string Metadata string TokenID string Points string ManufacturerTokenID string }{ ID: "id", Type: "type", Style: "style", Vendor: "vendor", CreatedAt: "created_at", UpdatedAt: "updated_at", RefreshLimitSecs: "refresh_limit_secs", Metadata: "metadata", TokenID: "token_id", Points: "points", ManufacturerTokenID: "manufacturer_token_id", }
var IntegrationFeatureColumns = struct { FeatureKey string ElasticProperty string DisplayName string CSSIcon string CreatedAt string UpdatedAt string FeatureWeight string PowertrainType string }{ FeatureKey: "feature_key", ElasticProperty: "elastic_property", DisplayName: "display_name", CSSIcon: "css_icon", CreatedAt: "created_at", UpdatedAt: "updated_at", FeatureWeight: "feature_weight", PowertrainType: "powertrain_type", }
var IntegrationFeatureRels = struct {
}{}
IntegrationFeatureRels is where relationship names are stored.
var IntegrationFeatureTableColumns = struct { FeatureKey string ElasticProperty string DisplayName string CSSIcon string CreatedAt string UpdatedAt string FeatureWeight string PowertrainType string }{ FeatureKey: "integration_features.feature_key", ElasticProperty: "integration_features.elastic_property", DisplayName: "integration_features.display_name", CSSIcon: "integration_features.css_icon", CreatedAt: "integration_features.created_at", UpdatedAt: "integration_features.updated_at", FeatureWeight: "integration_features.feature_weight", PowertrainType: "integration_features.powertrain_type", }
var IntegrationFeatureWhere = struct { FeatureKey whereHelperstring ElasticProperty whereHelperstring DisplayName whereHelperstring CSSIcon whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time FeatureWeight whereHelpernull_Float64 PowertrainType whereHelperstring }{ FeatureKey: whereHelperstring{/* contains filtered or unexported fields */}, ElasticProperty: whereHelperstring{/* contains filtered or unexported fields */}, DisplayName: whereHelperstring{/* contains filtered or unexported fields */}, CSSIcon: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, FeatureWeight: whereHelpernull_Float64{/* contains filtered or unexported fields */}, PowertrainType: whereHelperstring{/* contains filtered or unexported fields */}, }
var IntegrationRels = struct { DeviceIntegrations string }{ DeviceIntegrations: "DeviceIntegrations", }
IntegrationRels is where relationship names are stored.
var IntegrationTableColumns = struct { ID string Type string Style string Vendor string CreatedAt string UpdatedAt string RefreshLimitSecs string Metadata string TokenID string Points string ManufacturerTokenID string }{ ID: "integrations.id", Type: "integrations.type", Style: "integrations.style", Vendor: "integrations.vendor", CreatedAt: "integrations.created_at", UpdatedAt: "integrations.updated_at", RefreshLimitSecs: "integrations.refresh_limit_secs", Metadata: "integrations.metadata", TokenID: "integrations.token_id", Points: "integrations.points", ManufacturerTokenID: "integrations.manufacturer_token_id", }
var IntegrationWhere = struct { ID whereHelperstring Type whereHelperstring Style whereHelperstring Vendor whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time RefreshLimitSecs whereHelperint Metadata whereHelpernull_JSON TokenID whereHelpernull_Int Points whereHelperint ManufacturerTokenID whereHelpernull_Int }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Type: whereHelperstring{/* contains filtered or unexported fields */}, Style: whereHelperstring{/* contains filtered or unexported fields */}, Vendor: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, RefreshLimitSecs: whereHelperint{/* contains filtered or unexported fields */}, Metadata: whereHelpernull_JSON{/* contains filtered or unexported fields */}, TokenID: whereHelpernull_Int{/* contains filtered or unexported fields */}, Points: whereHelperint{/* contains filtered or unexported fields */}, ManufacturerTokenID: whereHelpernull_Int{/* contains filtered or unexported fields */}, }
var TableNames = struct { DefinitionTransactions string DeviceIntegrations string DeviceStyles string DeviceTypes string FailedVinDecodes string Images string IntegrationFeatures string Integrations string VinNumbers string Wmis string }{ DefinitionTransactions: "definition_transactions", DeviceIntegrations: "device_integrations", DeviceStyles: "device_styles", DeviceTypes: "device_types", FailedVinDecodes: "failed_vin_decodes", Images: "images", IntegrationFeatures: "integration_features", Integrations: "integrations", VinNumbers: "vin_numbers", Wmis: "wmis", }
var ViewNames = struct {
}{}
var VinNumberColumns = struct { Vin string Wmi string VDS string CheckDigit string SerialNumber string Vis string CreatedAt string UpdatedAt string StyleID string DecodeProvider string Year string VincarioData string DrivlyData string AutoisoData string DatgroupData string DefinitionID string ManufacturerName string Vin17Data string PowertrainType string }{ Vin: "vin", Wmi: "wmi", VDS: "vds", CheckDigit: "check_digit", SerialNumber: "serial_number", Vis: "vis", CreatedAt: "created_at", UpdatedAt: "updated_at", StyleID: "style_id", DecodeProvider: "decode_provider", Year: "year", VincarioData: "vincario_data", DrivlyData: "drivly_data", AutoisoData: "autoiso_data", DatgroupData: "datgroup_data", DefinitionID: "definition_id", ManufacturerName: "manufacturer_name", Vin17Data: "vin17_data", PowertrainType: "powertrain_type", }
var VinNumberRels = struct { Style string }{ Style: "Style", }
VinNumberRels is where relationship names are stored.
var VinNumberTableColumns = struct { Vin string Wmi string VDS string CheckDigit string SerialNumber string Vis string CreatedAt string UpdatedAt string StyleID string DecodeProvider string Year string VincarioData string DrivlyData string AutoisoData string DatgroupData string DefinitionID string ManufacturerName string Vin17Data string PowertrainType string }{ Vin: "vin_numbers.vin", Wmi: "vin_numbers.wmi", VDS: "vin_numbers.vds", CheckDigit: "vin_numbers.check_digit", SerialNumber: "vin_numbers.serial_number", Vis: "vin_numbers.vis", CreatedAt: "vin_numbers.created_at", UpdatedAt: "vin_numbers.updated_at", StyleID: "vin_numbers.style_id", DecodeProvider: "vin_numbers.decode_provider", Year: "vin_numbers.year", VincarioData: "vin_numbers.vincario_data", DrivlyData: "vin_numbers.drivly_data", AutoisoData: "vin_numbers.autoiso_data", DatgroupData: "vin_numbers.datgroup_data", DefinitionID: "vin_numbers.definition_id", ManufacturerName: "vin_numbers.manufacturer_name", Vin17Data: "vin_numbers.vin17_data", PowertrainType: "vin_numbers.powertrain_type", }
var VinNumberWhere = struct { Vin whereHelperstring Wmi whereHelpernull_String VDS whereHelpernull_String CheckDigit whereHelpernull_String SerialNumber whereHelperstring Vis whereHelpernull_String CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time StyleID whereHelpernull_String DecodeProvider whereHelpernull_String Year whereHelperint VincarioData whereHelpernull_JSON DrivlyData whereHelpernull_JSON AutoisoData whereHelpernull_JSON DatgroupData whereHelpernull_JSON DefinitionID whereHelperstring ManufacturerName whereHelperstring Vin17Data whereHelpernull_JSON PowertrainType whereHelpernull_String }{ Vin: whereHelperstring{/* contains filtered or unexported fields */}, Wmi: whereHelpernull_String{/* contains filtered or unexported fields */}, VDS: whereHelpernull_String{/* contains filtered or unexported fields */}, CheckDigit: whereHelpernull_String{/* contains filtered or unexported fields */}, SerialNumber: whereHelperstring{/* contains filtered or unexported fields */}, Vis: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, StyleID: whereHelpernull_String{/* contains filtered or unexported fields */}, DecodeProvider: whereHelpernull_String{/* contains filtered or unexported fields */}, Year: whereHelperint{/* contains filtered or unexported fields */}, VincarioData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, DrivlyData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, AutoisoData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, DatgroupData: whereHelpernull_JSON{/* contains filtered or unexported fields */}, DefinitionID: whereHelperstring{/* contains filtered or unexported fields */}, ManufacturerName: whereHelperstring{/* contains filtered or unexported fields */}, Vin17Data: whereHelpernull_JSON{/* contains filtered or unexported fields */}, PowertrainType: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var WmiColumns = struct { Wmi string CreatedAt string UpdatedAt string ManufacturerName string }{ Wmi: "wmi", CreatedAt: "created_at", UpdatedAt: "updated_at", ManufacturerName: "manufacturer_name", }
var WmiRels = struct {
}{}
WmiRels is where relationship names are stored.
var WmiTableColumns = struct { Wmi string CreatedAt string UpdatedAt string ManufacturerName string }{ Wmi: "wmis.wmi", CreatedAt: "wmis.created_at", UpdatedAt: "wmis.updated_at", ManufacturerName: "wmis.manufacturer_name", }
var WmiWhere = struct { Wmi whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time ManufacturerName whereHelperstring }{ Wmi: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, ManufacturerName: whereHelperstring{/* contains filtered or unexported fields */}, }
Functions ¶
func AddDefinitionTransactionHook ¶ added in v1.2.95
func AddDefinitionTransactionHook(hookPoint boil.HookPoint, definitionTransactionHook DefinitionTransactionHook)
AddDefinitionTransactionHook registers your hook function for all future operations.
func AddDeviceIntegrationHook ¶
func AddDeviceIntegrationHook(hookPoint boil.HookPoint, deviceIntegrationHook DeviceIntegrationHook)
AddDeviceIntegrationHook registers your hook function for all future operations.
func AddDeviceStyleHook ¶
func AddDeviceStyleHook(hookPoint boil.HookPoint, deviceStyleHook DeviceStyleHook)
AddDeviceStyleHook registers your hook function for all future operations.
func AddDeviceTypeHook ¶ added in v0.2.0
func AddDeviceTypeHook(hookPoint boil.HookPoint, deviceTypeHook DeviceTypeHook)
AddDeviceTypeHook registers your hook function for all future operations.
func AddFailedVinDecodeHook ¶ added in v1.5.5
func AddFailedVinDecodeHook(hookPoint boil.HookPoint, failedVinDecodeHook FailedVinDecodeHook)
AddFailedVinDecodeHook registers your hook function for all future operations.
func AddImageHook ¶ added in v0.2.4
AddImageHook registers your hook function for all future operations.
func AddIntegrationFeatureHook ¶ added in v0.1.28
func AddIntegrationFeatureHook(hookPoint boil.HookPoint, integrationFeatureHook IntegrationFeatureHook)
AddIntegrationFeatureHook registers your hook function for all future operations.
func AddIntegrationHook ¶
func AddIntegrationHook(hookPoint boil.HookPoint, integrationHook IntegrationHook)
AddIntegrationHook registers your hook function for all future operations.
func AddVinNumberHook ¶ added in v0.7.9
func AddVinNumberHook(hookPoint boil.HookPoint, vinNumberHook VinNumberHook)
AddVinNumberHook registers your hook function for all future operations.
func AddWmiHook ¶ added in v0.6.8
AddWmiHook registers your hook function for all future operations.
func AllIntegrationStyle ¶
func AllIntegrationStyle() []string
func AllIntegrationType ¶
func AllIntegrationType() []string
func AllPowertrain ¶ added in v0.5.0
func AllPowertrain() []string
func DefinitionTransactionExists ¶ added in v1.2.95
func DefinitionTransactionExists(ctx context.Context, exec boil.ContextExecutor, transactionHash string) (bool, error)
DefinitionTransactionExists checks if the DefinitionTransaction row exists.
func DefinitionTransactions ¶ added in v1.2.95
DefinitionTransactions retrieves all the records using an executor.
func DeviceIntegrationExists ¶
func DeviceIntegrationExists(ctx context.Context, exec boil.ContextExecutor, deviceDefinitionID string, integrationID string, region string) (bool, error)
DeviceIntegrationExists checks if the DeviceIntegration row exists.
func DeviceIntegrations ¶
DeviceIntegrations retrieves all the records using an executor.
func DeviceStyleExists ¶
DeviceStyleExists checks if the DeviceStyle row exists.
func DeviceStyles ¶
DeviceStyles retrieves all the records using an executor.
func DeviceTypeExists ¶ added in v0.2.0
DeviceTypeExists checks if the DeviceType row exists.
func DeviceTypes ¶ added in v0.2.0
DeviceTypes retrieves all the records using an executor.
func FailedVinDecodeExists ¶ added in v1.5.5
func FailedVinDecodeExists(ctx context.Context, exec boil.ContextExecutor, vin string) (bool, error)
FailedVinDecodeExists checks if the FailedVinDecode row exists.
func FailedVinDecodes ¶ added in v1.5.5
FailedVinDecodes retrieves all the records using an executor.
func ImageExists ¶ added in v0.2.4
ImageExists checks if the Image row exists.
func IntegrationExists ¶
IntegrationExists checks if the Integration row exists.
func IntegrationFeatureExists ¶ added in v0.1.28
func IntegrationFeatureExists(ctx context.Context, exec boil.ContextExecutor, featureKey string) (bool, error)
IntegrationFeatureExists checks if the IntegrationFeature row exists.
func IntegrationFeatures ¶ added in v0.1.28
IntegrationFeatures retrieves all the records using an executor.
func Integrations ¶
Integrations retrieves all the records using an executor.
func VinNumberExists ¶ added in v0.7.9
VinNumberExists checks if the VinNumber row exists.
func VinNumbers ¶ added in v0.7.9
VinNumbers retrieves all the records using an executor.
Types ¶
type DefinitionTransaction ¶ added in v1.2.95
type DefinitionTransaction struct { TransactionHash string `boil:"transaction_hash" json:"transaction_hash" toml:"transaction_hash" yaml:"transaction_hash"` DefinitionID string `boil:"definition_id" json:"definition_id" toml:"definition_id" yaml:"definition_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` ManufacturerID int64 `boil:"manufacturer_id" json:"manufacturer_id" toml:"manufacturer_id" yaml:"manufacturer_id"` R *definitionTransactionR `boil:"-" json:"-" toml:"-" yaml:"-"` L definitionTransactionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DefinitionTransaction is an object representing the database table.
func FindDefinitionTransaction ¶ added in v1.2.95
func FindDefinitionTransaction(ctx context.Context, exec boil.ContextExecutor, transactionHash string, selectCols ...string) (*DefinitionTransaction, error)
FindDefinitionTransaction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DefinitionTransaction) Delete ¶ added in v1.2.95
func (o *DefinitionTransaction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DefinitionTransaction record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DefinitionTransaction) Exists ¶ added in v1.2.95
func (o *DefinitionTransaction) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the DefinitionTransaction row exists.
func (*DefinitionTransaction) Insert ¶ added in v1.2.95
func (o *DefinitionTransaction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DefinitionTransaction) Reload ¶ added in v1.2.95
func (o *DefinitionTransaction) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DefinitionTransaction) Update ¶ added in v1.2.95
func (o *DefinitionTransaction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DefinitionTransaction. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DefinitionTransaction) Upsert ¶ added in v1.2.95
func (o *DefinitionTransaction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DefinitionTransactionHook ¶ added in v1.2.95
type DefinitionTransactionHook func(context.Context, boil.ContextExecutor, *DefinitionTransaction) error
DefinitionTransactionHook is the signature for custom DefinitionTransaction hook methods
type DefinitionTransactionSlice ¶ added in v1.2.95
type DefinitionTransactionSlice []*DefinitionTransaction
DefinitionTransactionSlice is an alias for a slice of pointers to DefinitionTransaction. This should almost always be used instead of []DefinitionTransaction.
func (DefinitionTransactionSlice) DeleteAll ¶ added in v1.2.95
func (o DefinitionTransactionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DefinitionTransactionSlice) ReloadAll ¶ added in v1.2.95
func (o *DefinitionTransactionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DefinitionTransactionSlice) UpdateAll ¶ added in v1.2.95
func (o DefinitionTransactionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DeviceIntegration ¶
type DeviceIntegration struct { DeviceDefinitionID string `boil:"device_definition_id" json:"device_definition_id" toml:"device_definition_id" yaml:"device_definition_id"` IntegrationID string `boil:"integration_id" json:"integration_id" toml:"integration_id" yaml:"integration_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` Region string `boil:"region" json:"region" toml:"region" yaml:"region"` Features null.JSON `boil:"features" json:"features,omitempty" toml:"features" yaml:"features,omitempty"` R *deviceIntegrationR `boil:"-" json:"-" toml:"-" yaml:"-"` L deviceIntegrationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DeviceIntegration is an object representing the database table.
func FindDeviceIntegration ¶
func FindDeviceIntegration(ctx context.Context, exec boil.ContextExecutor, deviceDefinitionID string, integrationID string, region string, selectCols ...string) (*DeviceIntegration, error)
FindDeviceIntegration retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DeviceIntegration) Delete ¶
func (o *DeviceIntegration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DeviceIntegration record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DeviceIntegration) Exists ¶ added in v0.9.8
func (o *DeviceIntegration) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the DeviceIntegration row exists.
func (*DeviceIntegration) GetIntegration ¶ added in v1.5.5
func (o *DeviceIntegration) GetIntegration() *Integration
func (*DeviceIntegration) Insert ¶
func (o *DeviceIntegration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DeviceIntegration) Integration ¶
func (o *DeviceIntegration) Integration(mods ...qm.QueryMod) integrationQuery
Integration pointed to by the foreign key.
func (*DeviceIntegration) Reload ¶
func (o *DeviceIntegration) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DeviceIntegration) SetIntegration ¶
func (o *DeviceIntegration) SetIntegration(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Integration) error
SetIntegration of the deviceIntegration to the related item. Sets o.R.Integration to related. Adds o to related.R.DeviceIntegrations.
func (*DeviceIntegration) Update ¶
func (o *DeviceIntegration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DeviceIntegration. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DeviceIntegration) Upsert ¶
func (o *DeviceIntegration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DeviceIntegrationHook ¶
type DeviceIntegrationHook func(context.Context, boil.ContextExecutor, *DeviceIntegration) error
DeviceIntegrationHook is the signature for custom DeviceIntegration hook methods
type DeviceIntegrationSlice ¶
type DeviceIntegrationSlice []*DeviceIntegration
DeviceIntegrationSlice is an alias for a slice of pointers to DeviceIntegration. This should almost always be used instead of []DeviceIntegration.
func (DeviceIntegrationSlice) DeleteAll ¶
func (o DeviceIntegrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DeviceIntegrationSlice) ReloadAll ¶
func (o *DeviceIntegrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DeviceIntegrationSlice) UpdateAll ¶
func (o DeviceIntegrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DeviceStyle ¶
type DeviceStyle struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` ExternalStyleID string `boil:"external_style_id" json:"external_style_id" toml:"external_style_id" yaml:"external_style_id"` Source string `boil:"source" json:"source" toml:"source" yaml:"source"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` SubModel string `boil:"sub_model" json:"sub_model" toml:"sub_model" yaml:"sub_model"` HardwareTemplateID null.String `` /* 131-byte string literal not displayed */ Metadata null.JSON `boil:"metadata" json:"metadata,omitempty" toml:"metadata" yaml:"metadata,omitempty"` DefinitionID string `boil:"definition_id" json:"definition_id" toml:"definition_id" yaml:"definition_id"` R *deviceStyleR `boil:"-" json:"-" toml:"-" yaml:"-"` L deviceStyleL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DeviceStyle is an object representing the database table.
func FindDeviceStyle ¶
func FindDeviceStyle(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*DeviceStyle, error)
FindDeviceStyle retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DeviceStyle) AddStyleVinNumbers ¶ added in v0.7.9
func (o *DeviceStyle) AddStyleVinNumbers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VinNumber) error
AddStyleVinNumbers adds the given related objects to the existing relationships of the device_style, optionally inserting them as new records. Appends related to o.R.StyleVinNumbers. Sets related.R.Style appropriately.
func (*DeviceStyle) Delete ¶
func (o *DeviceStyle) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DeviceStyle record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DeviceStyle) Exists ¶ added in v0.9.8
func (o *DeviceStyle) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the DeviceStyle row exists.
func (*DeviceStyle) GetStyleVinNumbers ¶ added in v1.5.5
func (o *DeviceStyle) GetStyleVinNumbers() VinNumberSlice
func (*DeviceStyle) Insert ¶
func (o *DeviceStyle) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DeviceStyle) Reload ¶
func (o *DeviceStyle) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DeviceStyle) RemoveStyleVinNumbers ¶ added in v0.7.9
func (o *DeviceStyle) RemoveStyleVinNumbers(ctx context.Context, exec boil.ContextExecutor, related ...*VinNumber) error
RemoveStyleVinNumbers relationships from objects passed in. Removes related items from R.StyleVinNumbers (uses pointer comparison, removal does not keep order) Sets related.R.Style.
func (*DeviceStyle) SetStyleVinNumbers ¶ added in v0.7.9
func (o *DeviceStyle) SetStyleVinNumbers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*VinNumber) error
SetStyleVinNumbers removes all previously related items of the device_style replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Style's StyleVinNumbers accordingly. Replaces o.R.StyleVinNumbers with related. Sets related.R.Style's StyleVinNumbers accordingly.
func (*DeviceStyle) StyleVinNumbers ¶ added in v0.7.9
func (o *DeviceStyle) StyleVinNumbers(mods ...qm.QueryMod) vinNumberQuery
StyleVinNumbers retrieves all the vin_number's VinNumbers with an executor via style_id column.
func (*DeviceStyle) Update ¶
func (o *DeviceStyle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DeviceStyle. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DeviceStyle) Upsert ¶
func (o *DeviceStyle) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DeviceStyleHook ¶
type DeviceStyleHook func(context.Context, boil.ContextExecutor, *DeviceStyle) error
DeviceStyleHook is the signature for custom DeviceStyle hook methods
type DeviceStyleSlice ¶
type DeviceStyleSlice []*DeviceStyle
DeviceStyleSlice is an alias for a slice of pointers to DeviceStyle. This should almost always be used instead of []DeviceStyle.
func (DeviceStyleSlice) DeleteAll ¶
func (o DeviceStyleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DeviceStyleSlice) ReloadAll ¶
func (o *DeviceStyleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DeviceStyleSlice) UpdateAll ¶
func (o DeviceStyleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type DeviceType ¶ added in v0.2.0
type DeviceType struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Metadatakey string `boil:"metadatakey" json:"metadatakey" toml:"metadatakey" yaml:"metadatakey"` Properties null.JSON `boil:"properties" json:"properties,omitempty" toml:"properties" yaml:"properties,omitempty"` R *deviceTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L deviceTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
DeviceType is an object representing the database table.
func FindDeviceType ¶ added in v0.2.0
func FindDeviceType(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*DeviceType, error)
FindDeviceType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*DeviceType) Delete ¶ added in v0.2.0
func (o *DeviceType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single DeviceType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*DeviceType) Exists ¶ added in v0.9.8
func (o *DeviceType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the DeviceType row exists.
func (*DeviceType) Insert ¶ added in v0.2.0
func (o *DeviceType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*DeviceType) Reload ¶ added in v0.2.0
func (o *DeviceType) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*DeviceType) Update ¶ added in v0.2.0
func (o *DeviceType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the DeviceType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*DeviceType) Upsert ¶ added in v0.2.0
func (o *DeviceType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DeviceTypeHook ¶ added in v0.2.0
type DeviceTypeHook func(context.Context, boil.ContextExecutor, *DeviceType) error
DeviceTypeHook is the signature for custom DeviceType hook methods
type DeviceTypeSlice ¶ added in v0.2.0
type DeviceTypeSlice []*DeviceType
DeviceTypeSlice is an alias for a slice of pointers to DeviceType. This should almost always be used instead of []DeviceType.
func (DeviceTypeSlice) DeleteAll ¶ added in v0.2.0
func (o DeviceTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*DeviceTypeSlice) ReloadAll ¶ added in v0.2.0
func (o *DeviceTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DeviceTypeSlice) UpdateAll ¶ added in v0.2.0
func (o DeviceTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type FailedVinDecode ¶ added in v1.5.5
type FailedVinDecode struct { Vin string `boil:"vin" json:"vin" toml:"vin" yaml:"vin"` VendorsTried types.StringArray `boil:"vendors_tried" json:"vendors_tried,omitempty" toml:"vendors_tried" yaml:"vendors_tried,omitempty"` VincarioData null.JSON `boil:"vincario_data" json:"vincario_data,omitempty" toml:"vincario_data" yaml:"vincario_data,omitempty"` DrivlyData null.JSON `boil:"drivly_data" json:"drivly_data,omitempty" toml:"drivly_data" yaml:"drivly_data,omitempty"` AutoisoData null.JSON `boil:"autoiso_data" json:"autoiso_data,omitempty" toml:"autoiso_data" yaml:"autoiso_data,omitempty"` DatgroupData null.JSON `boil:"datgroup_data" json:"datgroup_data,omitempty" toml:"datgroup_data" yaml:"datgroup_data,omitempty"` Vin17Data null.JSON `boil:"vin17_data" json:"vin17_data,omitempty" toml:"vin17_data" yaml:"vin17_data,omitempty"` ManufacturerName null.String `boil:"manufacturer_name" json:"manufacturer_name,omitempty" toml:"manufacturer_name" yaml:"manufacturer_name,omitempty"` CountryCode null.String `boil:"country_code" json:"country_code,omitempty" toml:"country_code" yaml:"country_code,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *failedVinDecodeR `boil:"-" json:"-" toml:"-" yaml:"-"` L failedVinDecodeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
FailedVinDecode is an object representing the database table.
func FindFailedVinDecode ¶ added in v1.5.5
func FindFailedVinDecode(ctx context.Context, exec boil.ContextExecutor, vin string, selectCols ...string) (*FailedVinDecode, error)
FindFailedVinDecode retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*FailedVinDecode) Delete ¶ added in v1.5.5
func (o *FailedVinDecode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single FailedVinDecode record with an executor. Delete will match against the primary key column to find the record to delete.
func (*FailedVinDecode) Exists ¶ added in v1.5.5
func (o *FailedVinDecode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the FailedVinDecode row exists.
func (*FailedVinDecode) Insert ¶ added in v1.5.5
func (o *FailedVinDecode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*FailedVinDecode) Reload ¶ added in v1.5.5
func (o *FailedVinDecode) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*FailedVinDecode) Update ¶ added in v1.5.5
func (o *FailedVinDecode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the FailedVinDecode. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*FailedVinDecode) Upsert ¶ added in v1.5.5
func (o *FailedVinDecode) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type FailedVinDecodeHook ¶ added in v1.5.5
type FailedVinDecodeHook func(context.Context, boil.ContextExecutor, *FailedVinDecode) error
FailedVinDecodeHook is the signature for custom FailedVinDecode hook methods
type FailedVinDecodeSlice ¶ added in v1.5.5
type FailedVinDecodeSlice []*FailedVinDecode
FailedVinDecodeSlice is an alias for a slice of pointers to FailedVinDecode. This should almost always be used instead of []FailedVinDecode.
func (FailedVinDecodeSlice) DeleteAll ¶ added in v1.5.5
func (o FailedVinDecodeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*FailedVinDecodeSlice) ReloadAll ¶ added in v1.5.5
func (o *FailedVinDecodeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (FailedVinDecodeSlice) UpdateAll ¶ added in v1.5.5
func (o FailedVinDecodeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Image ¶ added in v0.2.4
type Image struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` FuelAPIID null.String `boil:"fuel_api_id" json:"fuel_api_id,omitempty" toml:"fuel_api_id" yaml:"fuel_api_id,omitempty"` Width null.Int `boil:"width" json:"width,omitempty" toml:"width" yaml:"width,omitempty"` Height null.Int `boil:"height" json:"height,omitempty" toml:"height" yaml:"height,omitempty"` SourceURL string `boil:"source_url" json:"source_url" toml:"source_url" yaml:"source_url"` DimoS3URL null.String `boil:"dimo_s3_url" json:"dimo_s3_url,omitempty" toml:"dimo_s3_url" yaml:"dimo_s3_url,omitempty"` Color string `boil:"color" json:"color" toml:"color" yaml:"color"` NotExactImage bool `boil:"not_exact_image" json:"not_exact_image" toml:"not_exact_image" yaml:"not_exact_image"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` DefinitionID string `boil:"definition_id" json:"definition_id" toml:"definition_id" yaml:"definition_id"` R *imageR `boil:"-" json:"-" toml:"-" yaml:"-"` L imageL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Image is an object representing the database table.
func FindImage ¶ added in v0.2.4
func FindImage(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Image, error)
FindImage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Image) Delete ¶ added in v0.2.4
Delete deletes a single Image record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Image) Insert ¶ added in v0.2.4
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Image) Reload ¶ added in v0.2.4
Reload refetches the object from the database using the primary keys with an executor.
func (*Image) Update ¶ added in v0.2.4
func (o *Image) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Image. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Image) Upsert ¶ added in v0.2.4
func (o *Image) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type ImageSlice ¶ added in v0.2.4
type ImageSlice []*Image
ImageSlice is an alias for a slice of pointers to Image. This should almost always be used instead of []Image.
func (ImageSlice) DeleteAll ¶ added in v0.2.4
func (o ImageSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ImageSlice) ReloadAll ¶ added in v0.2.4
func (o *ImageSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ImageSlice) UpdateAll ¶ added in v0.2.4
func (o ImageSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Integration ¶
type Integration struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Type string `boil:"type" json:"type" toml:"type" yaml:"type"` Style string `boil:"style" json:"style" toml:"style" yaml:"style"` Vendor string `boil:"vendor" json:"vendor" toml:"vendor" yaml:"vendor"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` // How often can integration be called in seconds RefreshLimitSecs int `boil:"refresh_limit_secs" json:"refresh_limit_secs" toml:"refresh_limit_secs" yaml:"refresh_limit_secs"` Metadata null.JSON `boil:"metadata" json:"metadata,omitempty" toml:"metadata" yaml:"metadata,omitempty"` TokenID null.Int `boil:"token_id" json:"token_id,omitempty" toml:"token_id" yaml:"token_id,omitempty"` Points int `boil:"points" json:"points" toml:"points" yaml:"points"` ManufacturerTokenID null.Int `` /* 135-byte string literal not displayed */ R *integrationR `boil:"-" json:"-" toml:"-" yaml:"-"` L integrationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Integration is an object representing the database table.
func FindIntegration ¶
func FindIntegration(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Integration, error)
FindIntegration retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Integration) AddDeviceIntegrations ¶
func (o *Integration) AddDeviceIntegrations(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*DeviceIntegration) error
AddDeviceIntegrations adds the given related objects to the existing relationships of the integration, optionally inserting them as new records. Appends related to o.R.DeviceIntegrations. Sets related.R.Integration appropriately.
func (*Integration) Delete ¶
func (o *Integration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single Integration record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Integration) DeviceIntegrations ¶
func (o *Integration) DeviceIntegrations(mods ...qm.QueryMod) deviceIntegrationQuery
DeviceIntegrations retrieves all the device_integration's DeviceIntegrations with an executor.
func (*Integration) Exists ¶ added in v0.9.8
func (o *Integration) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the Integration row exists.
func (*Integration) GetDeviceIntegrations ¶ added in v1.5.5
func (o *Integration) GetDeviceIntegrations() DeviceIntegrationSlice
func (*Integration) Insert ¶
func (o *Integration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Integration) Reload ¶
func (o *Integration) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Integration) Update ¶
func (o *Integration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Integration. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Integration) Upsert ¶
func (o *Integration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type IntegrationFeature ¶ added in v0.1.28
type IntegrationFeature struct { FeatureKey string `boil:"feature_key" json:"feature_key" toml:"feature_key" yaml:"feature_key"` ElasticProperty string `boil:"elastic_property" json:"elastic_property" toml:"elastic_property" yaml:"elastic_property"` DisplayName string `boil:"display_name" json:"display_name" toml:"display_name" yaml:"display_name"` CSSIcon null.String `boil:"css_icon" json:"css_icon,omitempty" toml:"css_icon" yaml:"css_icon,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` FeatureWeight null.Float64 `boil:"feature_weight" json:"feature_weight,omitempty" toml:"feature_weight" yaml:"feature_weight,omitempty"` PowertrainType string `boil:"powertrain_type" json:"powertrain_type" toml:"powertrain_type" yaml:"powertrain_type"` R *integrationFeatureR `boil:"-" json:"-" toml:"-" yaml:"-"` L integrationFeatureL `boil:"-" json:"-" toml:"-" yaml:"-"` }
IntegrationFeature is an object representing the database table.
func FindIntegrationFeature ¶ added in v0.1.28
func FindIntegrationFeature(ctx context.Context, exec boil.ContextExecutor, featureKey string, selectCols ...string) (*IntegrationFeature, error)
FindIntegrationFeature retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*IntegrationFeature) Delete ¶ added in v0.1.28
func (o *IntegrationFeature) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single IntegrationFeature record with an executor. Delete will match against the primary key column to find the record to delete.
func (*IntegrationFeature) Exists ¶ added in v0.9.8
func (o *IntegrationFeature) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the IntegrationFeature row exists.
func (*IntegrationFeature) Insert ¶ added in v0.1.28
func (o *IntegrationFeature) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*IntegrationFeature) Reload ¶ added in v0.1.28
func (o *IntegrationFeature) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*IntegrationFeature) Update ¶ added in v0.1.28
func (o *IntegrationFeature) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the IntegrationFeature. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*IntegrationFeature) Upsert ¶ added in v0.1.28
func (o *IntegrationFeature) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type IntegrationFeatureHook ¶ added in v0.1.28
type IntegrationFeatureHook func(context.Context, boil.ContextExecutor, *IntegrationFeature) error
IntegrationFeatureHook is the signature for custom IntegrationFeature hook methods
type IntegrationFeatureSlice ¶ added in v0.1.28
type IntegrationFeatureSlice []*IntegrationFeature
IntegrationFeatureSlice is an alias for a slice of pointers to IntegrationFeature. This should almost always be used instead of []IntegrationFeature.
func (IntegrationFeatureSlice) DeleteAll ¶ added in v0.1.28
func (o IntegrationFeatureSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*IntegrationFeatureSlice) ReloadAll ¶ added in v0.1.28
func (o *IntegrationFeatureSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (IntegrationFeatureSlice) UpdateAll ¶ added in v0.1.28
func (o IntegrationFeatureSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type IntegrationHook ¶
type IntegrationHook func(context.Context, boil.ContextExecutor, *Integration) error
IntegrationHook is the signature for custom Integration hook methods
type IntegrationSlice ¶
type IntegrationSlice []*Integration
IntegrationSlice is an alias for a slice of pointers to Integration. This should almost always be used instead of []Integration.
func (IntegrationSlice) DeleteAll ¶
func (o IntegrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*IntegrationSlice) ReloadAll ¶
func (o *IntegrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (IntegrationSlice) UpdateAll ¶
func (o IntegrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type UpsertOptionFunc ¶ added in v1.1.1
type UpsertOptionFunc func(o *UpsertOptions)
func UpsertConflictTarget ¶ added in v1.1.1
func UpsertConflictTarget(conflictTarget string) UpsertOptionFunc
func UpsertUpdateSet ¶ added in v1.1.1
func UpsertUpdateSet(updateSet string) UpsertOptionFunc
type UpsertOptions ¶ added in v1.1.1
type UpsertOptions struct {
// contains filtered or unexported fields
}
type VinNumber ¶ added in v0.7.9
type VinNumber struct { Vin string `boil:"vin" json:"vin" toml:"vin" yaml:"vin"` Wmi null.String `boil:"wmi" json:"wmi,omitempty" toml:"wmi" yaml:"wmi,omitempty"` VDS null.String `boil:"vds" json:"vds,omitempty" toml:"vds" yaml:"vds,omitempty"` CheckDigit null.String `boil:"check_digit" json:"check_digit,omitempty" toml:"check_digit" yaml:"check_digit,omitempty"` SerialNumber string `boil:"serial_number" json:"serial_number" toml:"serial_number" yaml:"serial_number"` Vis null.String `boil:"vis" json:"vis,omitempty" toml:"vis" yaml:"vis,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` StyleID null.String `boil:"style_id" json:"style_id,omitempty" toml:"style_id" yaml:"style_id,omitempty"` DecodeProvider null.String `boil:"decode_provider" json:"decode_provider,omitempty" toml:"decode_provider" yaml:"decode_provider,omitempty"` Year int `boil:"year" json:"year" toml:"year" yaml:"year"` VincarioData null.JSON `boil:"vincario_data" json:"vincario_data,omitempty" toml:"vincario_data" yaml:"vincario_data,omitempty"` DrivlyData null.JSON `boil:"drivly_data" json:"drivly_data,omitempty" toml:"drivly_data" yaml:"drivly_data,omitempty"` AutoisoData null.JSON `boil:"autoiso_data" json:"autoiso_data,omitempty" toml:"autoiso_data" yaml:"autoiso_data,omitempty"` DatgroupData null.JSON `boil:"datgroup_data" json:"datgroup_data,omitempty" toml:"datgroup_data" yaml:"datgroup_data,omitempty"` DefinitionID string `boil:"definition_id" json:"definition_id" toml:"definition_id" yaml:"definition_id"` ManufacturerName string `boil:"manufacturer_name" json:"manufacturer_name" toml:"manufacturer_name" yaml:"manufacturer_name"` Vin17Data null.JSON `boil:"vin17_data" json:"vin17_data,omitempty" toml:"vin17_data" yaml:"vin17_data,omitempty"` PowertrainType null.String `boil:"powertrain_type" json:"powertrain_type,omitempty" toml:"powertrain_type" yaml:"powertrain_type,omitempty"` R *vinNumberR `boil:"-" json:"-" toml:"-" yaml:"-"` L vinNumberL `boil:"-" json:"-" toml:"-" yaml:"-"` }
VinNumber is an object representing the database table.
func FindVinNumber ¶ added in v0.7.9
func FindVinNumber(ctx context.Context, exec boil.ContextExecutor, vin string, selectCols ...string) (*VinNumber, error)
FindVinNumber retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*VinNumber) Delete ¶ added in v0.7.9
Delete deletes a single VinNumber record with an executor. Delete will match against the primary key column to find the record to delete.
func (*VinNumber) GetStyle ¶ added in v1.5.5
func (o *VinNumber) GetStyle() *DeviceStyle
func (*VinNumber) Insert ¶ added in v0.7.9
func (o *VinNumber) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*VinNumber) Reload ¶ added in v0.7.9
Reload refetches the object from the database using the primary keys with an executor.
func (*VinNumber) RemoveStyle ¶ added in v0.7.9
func (o *VinNumber) RemoveStyle(ctx context.Context, exec boil.ContextExecutor, related *DeviceStyle) error
RemoveStyle relationship. Sets o.R.Style to nil. Removes o from all passed in related items' relationships struct.
func (*VinNumber) SetStyle ¶ added in v0.7.9
func (o *VinNumber) SetStyle(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DeviceStyle) error
SetStyle of the vinNumber to the related item. Sets o.R.Style to related. Adds o to related.R.StyleVinNumbers.
func (*VinNumber) Update ¶ added in v0.7.9
func (o *VinNumber) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the VinNumber. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*VinNumber) Upsert ¶ added in v0.7.9
func (o *VinNumber) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type VinNumberHook ¶ added in v0.7.9
VinNumberHook is the signature for custom VinNumber hook methods
type VinNumberSlice ¶ added in v0.7.9
type VinNumberSlice []*VinNumber
VinNumberSlice is an alias for a slice of pointers to VinNumber. This should almost always be used instead of []VinNumber.
func (VinNumberSlice) DeleteAll ¶ added in v0.7.9
func (o VinNumberSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*VinNumberSlice) ReloadAll ¶ added in v0.7.9
func (o *VinNumberSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (VinNumberSlice) UpdateAll ¶ added in v0.7.9
func (o VinNumberSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Wmi ¶ added in v0.6.8
type Wmi struct { Wmi string `boil:"wmi" json:"wmi" toml:"wmi" yaml:"wmi"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` ManufacturerName string `boil:"manufacturer_name" json:"manufacturer_name" toml:"manufacturer_name" yaml:"manufacturer_name"` R *wmiR `boil:"-" json:"-" toml:"-" yaml:"-"` L wmiL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Wmi is an object representing the database table.
func FindWmi ¶ added in v0.6.8
func FindWmi(ctx context.Context, exec boil.ContextExecutor, wmi string, manufacturerName string, selectCols ...string) (*Wmi, error)
FindWmi retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Wmi) Delete ¶ added in v0.6.8
Delete deletes a single Wmi record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Wmi) Insert ¶ added in v0.6.8
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Wmi) Reload ¶ added in v0.6.8
Reload refetches the object from the database using the primary keys with an executor.
func (*Wmi) Update ¶ added in v0.6.8
func (o *Wmi) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Wmi. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Wmi) Upsert ¶ added in v0.6.8
func (o *Wmi) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type WmiSlice ¶ added in v0.6.8
type WmiSlice []*Wmi
WmiSlice is an alias for a slice of pointers to Wmi. This should almost always be used instead of []Wmi.
func (WmiSlice) DeleteAll ¶ added in v0.6.8
DeleteAll deletes all rows in the slice, using an executor.