Documentation ¶
Index ¶
- type GetAllDeviceDefinitionQuery
- type GetAllDeviceDefinitionQueryHandler
- type GetAllDeviceDefinitionQueryResult
- type GetAllIntegrationQuery
- type GetAllIntegrationQueryHandler
- type GetAllIntegrationQueryResult
- type GetDeviceDefinitionByIDQuery
- type GetDeviceDefinitionByIDQueryHandler
- type GetDeviceDefinitionByIdsQuery
- type GetDeviceDefinitionByIdsQueryHandler
- type GetDeviceDefinitionByMakeModelYearQuery
- type GetDeviceDefinitionByMakeModelYearQueryHandler
- type GetDeviceDefinitionWithRelsQuery
- type GetDeviceDefinitionWithRelsQueryHandler
- type GetDeviceDefinitionWithRelsQueryResult
- type GetDeviceModelYear
- type GetDeviceModels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAllDeviceDefinitionQuery ¶
type GetAllDeviceDefinitionQuery struct { }
func (*GetAllDeviceDefinitionQuery) Key ¶
func (*GetAllDeviceDefinitionQuery) Key() string
type GetAllDeviceDefinitionQueryHandler ¶
type GetAllDeviceDefinitionQueryHandler struct { Repository repositories.DeviceDefinitionRepository MakeRepository repositories.DeviceMakeRepository }
func NewGetAllDeviceDefinitionQueryHandler ¶
func NewGetAllDeviceDefinitionQueryHandler(repository repositories.DeviceDefinitionRepository, makeRepository repositories.DeviceMakeRepository) GetAllDeviceDefinitionQueryHandler
type GetAllDeviceDefinitionQueryResult ¶
type GetAllDeviceDefinitionQueryResult struct { Make string `json:"make"` Models []GetDeviceModels `json:"models"` }
type GetAllIntegrationQuery ¶
type GetAllIntegrationQuery struct { }
func (*GetAllIntegrationQuery) Key ¶
func (*GetAllIntegrationQuery) Key() string
type GetAllIntegrationQueryHandler ¶
type GetAllIntegrationQueryHandler struct {
DBS func() *db.ReaderWriter
}
func NewGetAllIntegrationQueryHandler ¶
func NewGetAllIntegrationQueryHandler(dbs func() *db.ReaderWriter) GetAllIntegrationQueryHandler
type GetDeviceDefinitionByIDQuery ¶ added in v0.1.2
type GetDeviceDefinitionByIDQuery struct {
DeviceDefinitionID string `json:"deviceDefinitionId" validate:"required"`
}
func (*GetDeviceDefinitionByIDQuery) Key ¶ added in v0.1.2
func (*GetDeviceDefinitionByIDQuery) Key() string
type GetDeviceDefinitionByIDQueryHandler ¶ added in v0.1.2
type GetDeviceDefinitionByIDQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionByIDQueryHandler ¶ added in v0.1.2
func NewGetDeviceDefinitionByIDQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionByIDQueryHandler
type GetDeviceDefinitionByIdsQuery ¶ added in v0.1.2
type GetDeviceDefinitionByIdsQuery struct {
DeviceDefinitionID []string `json:"deviceDefinitionId" validate:"required"`
}
func (*GetDeviceDefinitionByIdsQuery) Key ¶ added in v0.1.2
func (*GetDeviceDefinitionByIdsQuery) Key() string
type GetDeviceDefinitionByIdsQueryHandler ¶ added in v0.1.2
type GetDeviceDefinitionByIdsQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionByIdsQueryHandler ¶ added in v0.1.2
func NewGetDeviceDefinitionByIdsQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionByIdsQueryHandler
type GetDeviceDefinitionByMakeModelYearQuery ¶
type GetDeviceDefinitionByMakeModelYearQuery struct { Make string `json:"make" validate:"required"` Model string `json:"model" validate:"required"` Year int `json:"year" validate:"required"` }
func (*GetDeviceDefinitionByMakeModelYearQuery) Key ¶
func (*GetDeviceDefinitionByMakeModelYearQuery) Key() string
type GetDeviceDefinitionByMakeModelYearQueryHandler ¶
type GetDeviceDefinitionByMakeModelYearQueryHandler struct {
DDCache services.DeviceDefinitionCacheService
}
func NewGetDeviceDefinitionByMakeModelYearQueryHandler ¶
func NewGetDeviceDefinitionByMakeModelYearQueryHandler(cache services.DeviceDefinitionCacheService) GetDeviceDefinitionByMakeModelYearQueryHandler
type GetDeviceDefinitionWithRelsQuery ¶
type GetDeviceDefinitionWithRelsQuery struct {
DeviceDefinitionID string `json:"deviceDefinitionId" validate:"required"`
}
func (*GetDeviceDefinitionWithRelsQuery) Key ¶
func (*GetDeviceDefinitionWithRelsQuery) Key() string
type GetDeviceDefinitionWithRelsQueryHandler ¶
type GetDeviceDefinitionWithRelsQueryHandler struct {
Repository repositories.DeviceDefinitionRepository
}
func NewGetDeviceDefinitionWithRelsQueryHandler ¶
func NewGetDeviceDefinitionWithRelsQueryHandler(repository repositories.DeviceDefinitionRepository) GetDeviceDefinitionWithRelsQueryHandler
type GetDeviceModelYear ¶
type GetDeviceModels ¶
type GetDeviceModels struct { Model string `json:"model"` Years []GetDeviceModelYear `json:"years"` }
Click to show internal directories.
Click to hide internal directories.