Documentation ¶
Index ¶
- type DeviceConfigurationResponse
- func (m *DeviceConfigurationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeviceConfigurationResponse) MarshalBinary() ([]byte, error)
- func (m *DeviceConfigurationResponse) UnmarshalBinary(b []byte) error
- func (m *DeviceConfigurationResponse) Validate(formats strfmt.Registry) error
- type DeviceRegistrationStatusResponse
- func (m *DeviceRegistrationStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeviceRegistrationStatusResponse) MarshalBinary() ([]byte, error)
- func (m *DeviceRegistrationStatusResponse) UnmarshalBinary(b []byte) error
- func (m *DeviceRegistrationStatusResponse) Validate(formats strfmt.Registry) error
- type Error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceConfigurationResponse ¶
type DeviceConfigurationResponse struct { // device configuration DeviceConfiguration commonmodel.DeviceConfigurationMessage `json:"device-configuration,omitempty"` // Exposes the error message generated at the backend when there is an error (example HTTP code 500). Message string `json:"message,omitempty"` }
DeviceConfigurationResponse device configuration response
swagger:model device-configuration-response
func (*DeviceConfigurationResponse) ContextValidate ¶
func (m *DeviceConfigurationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this device configuration response based on context it is used
func (*DeviceConfigurationResponse) MarshalBinary ¶
func (m *DeviceConfigurationResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceConfigurationResponse) UnmarshalBinary ¶
func (m *DeviceConfigurationResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeviceRegistrationStatusResponse ¶
type DeviceRegistrationStatusResponse struct { // Exposes the error message generated at the backend when there is an error (example HTTP code 500). Message string `json:"message,omitempty"` // Namespace the device should be or was finally placed during registration. Namespace string `json:"namespace,omitempty"` // Returns the device registration status, which can be one of the following {registered, unregistered, unknown}. Status string `json:"status,omitempty"` }
DeviceRegistrationStatusResponse device registration status response
swagger:model device-registration-status-response
func (*DeviceRegistrationStatusResponse) ContextValidate ¶
func (m *DeviceRegistrationStatusResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this device registration status response based on context it is used
func (*DeviceRegistrationStatusResponse) MarshalBinary ¶
func (m *DeviceRegistrationStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeviceRegistrationStatusResponse) UnmarshalBinary ¶
func (m *DeviceRegistrationStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // Exposes the error message generated at the backend when there is an error (example HTTP code 500). // Required: true Message *string `json:"message"` }
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation