Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
Click to show internal directories.
Click to hide internal directories.