package configuration
import "github.com/edgexfoundry/go-mod-core-contracts/requests/configuration"
Index ¶
Types ¶
type Key ¶
type Key string
type SetConfigRequest ¶
type SetConfigRequest struct { Key string `bson:"key" json:"key,omitempty"` //incoming key requested by client Value string `bson:"value" json:"value,omitempty"` //incoming value requested by client // contains filtered or unexported fields }
SetConfigRequest is for SMA processing of incoming (PUT) requests to Set Config.
func (SetConfigRequest) String ¶
func (sc SetConfigRequest) String() string
* To String function for SetConfigRequest struct
func (*SetConfigRequest) UnmarshalJSON ¶
func (sc *SetConfigRequest) UnmarshalJSON(data []byte) error
Implements unmarshaling of JSON string to SetConfigRequest type instance
func (SetConfigRequest) Validate ¶
func (sc SetConfigRequest) 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.