package
4.0.0-dev.22
Repository: https://github.com/edgexfoundry/go-mod-core-contracts.git
Documentation: pkg.go.dev

# Functions

AddDeviceReqToDeviceModels transforms the AddDeviceRequest DTO array to the Device model array.
AddDeviceServiceReqToDeviceServiceModels transforms the AddDeviceServiceRequest DTO array to the DeviceService model array.
AddEventReqToEventModel transforms the AddEventRequest DTO to the Event model.
AddNotificationReqToNotificationModels transforms the AddNotificationRequest DTO array to the AddNotificationRequest model array.
AddProvisionWatcherReqToProvisionWatcherModels transforms the AddProvisionWatcherRequest DTO array to the ProvisionWatcher model array.
AddSubscriptionReqToSubscriptionModels transforms the AddSubscriptionRequest DTO array to the AddSubscriptionRequest model array.
DeviceProfileReqToDeviceProfileModel transforms the DeviceProfileRequest DTO to the DeviceProfile model.
DeviceProfileReqToDeviceProfileModels transforms the DeviceProfileRequest DTO array to the DeviceProfile model array.
No description provided by the author
No description provided by the author
NewAddEventRequest creates, initializes and returns an AddEventRequests.
No description provided by the author
No description provided by the author
NewAddScheduleJobRequest creates, initializes and returns an AddScheduleJobRequest.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplaceDeviceCommandModelFieldsWithDTO replace existing DeviceCommand's fields with DTO patch.
ReplaceDeviceModelFieldsWithDTO replace existing Device's fields with DTO patch.
ReplaceDeviceProfileModelBasicInfoFieldsWithDTO replace existing DeviceProfile's basic info fields with DTO patch.
ReplaceDeviceResourceModelFieldsWithDTO replace existing DeviceResource's fields with DTO patch.
ReplaceDeviceServiceModelFieldsWithDTO replace existing DeviceService's fields with DTO patch.
ReplaceProvisionWatcherModelFieldsWithDTO replace existing ProvisionWatcher's fields with DTO patch.
ReplaceScheduleJobModelFieldsWithDTO replace existing ScheduleJob's fields with DTO patch.
ReplaceSubscriptionModelFieldsWithDTO replace existing Subscription's fields with DTO patch.
UpdateKeysReqToKVModels transforms the UpdateKeysRequest DTO to the KV model.

# Structs

AddDeviceCommandRequest defines the Request Content for POST DeviceCommand DTO.
AddDeviceRequest defines the Request Content for POST Device DTO.
AddDeviceResourceRequest defines the Request Content for POST DeviceResource DTO.
AddDeviceServiceRequest defines the Request Content for POST DeviceService DTO.
AddEventRequest defines the Request Content for POST event DTO.
AddKeyDataRequest defines the Request Content for POST Key DTO.
AddNotificationRequest defines the Request Content for POST Notification DTO.
AddProvisionWatcherRequest defines the Request Content for POST ProvisionWatcher DTO.
AddRegistrationRequest defines the Request Content for POST Registration DTO.
AddScheduleJobRequest defines the Request Content for POST ScheduleJob DTO.
AddSubscriptionRequest defines the Request Content for POST Subscription DTO.
DeviceProfileBasicInfoRequest defines the Request Content for PATCH UpdateDeviceProfileBasicInfo DTO.
DeviceProfileRequest defines the Request Content for POST DeviceProfile DTO.
GetNotificationRequest defines the Request Content for GET Notification DTO.
No description provided by the author
ProfileScanRequest is the struct for requesting a profile for a specified device.
UpdateDeviceCommandRequest defines the Request Content for PATCH DeviceCommand DTO.
UpdateDeviceRequest defines the Request Content for PUT event as pushed DTO.
UpdateDeviceResourceRequest defines the Request Content for PATCH DeviceResource DTO.
UpdateDeviceServiceRequest defines the Request Content for PUT event as pushed DTO.
UpdateKeysRequest defines the Request Content for PUT Key DTO.
UpdateProvisionWatcherRequest defines the Request Content for PUT event as pushed DTO.
UpdateScheduleJobRequest defines the Request Content for PUT event as pushed DTO.
UpdateSubscriptionRequest defines the Request Content for PUT event as pushed DTO.