package configuration
import "github.com/edgexfoundry/go-mod-core-contracts/responses/configuration"
Index ¶
Types ¶
type SetConfigResponse ¶
type SetConfigResponse struct { Success bool `json:"success"` // Success or failure of request itself. Description string `json:"description,omitempty"` // Info allied with the preceding result. // contains filtered or unexported fields }
SetConfigResponse is for SMA to use when responding to an incoming request to PUT (i.e. UPDATE) a resource.
func (SetConfigResponse) MarshalJSON ¶
func (sc SetConfigResponse) MarshalJSON() ([]byte, error)
Custom marshalling to make empty strings null
func (SetConfigResponse) String ¶
func (sc SetConfigResponse) String() string
The toString function for SetConfigResponse struct
func (*SetConfigResponse) UnmarshalJSON ¶
func (sc *SetConfigResponse) UnmarshalJSON(data []byte) error
Implements unmarshaling of JSON string to SetConfigResponse type instance
func (SetConfigResponse) Validate ¶
func (sc SetConfigResponse) Validate() (bool, error)
Validate satisfies the Validator interface
Source Files ¶
- Version
- v0.1.149 (latest)
- Published
- Jan 19, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 5 days ago –
Tools for package owners.