func (si *ServiceInstanceDetails) SetOtherDetails(toSet interface{}) error {
	out, err := json.Marshal(toSet)
	if err != nil {
		return err
	}
	si.OtherDetails = string(out)
	return nil
}
SetOtherDetails marshals the value passed in into a JSON string and sets
OtherDetails to it if marshalling was successful.
package models
import (
	"encoding/json"
)
const (
	ProvisionOperationType   = "provision"
	DeprovisionOperationType = "deprovision"
	UpdateOperationType      = "update"
	ClearOperationType       = ""
)
type ServiceBindingCredentials ServiceBindingCredentialsV1
type ServiceInstanceDetails ServiceInstanceDetailsV2