func (this *PlainAuth) MarshalJSON() ([]byte, error) {
	str, err := RedisdestinationMarshaler.MarshalToString(this)
	return []byte(str), err
}
MarshalJSON is a custom marshaler for PlainAuth
package v1alpha1
import (
	bytes "bytes"
	fmt "fmt"
	github_com_gogo_protobuf_jsonpb "github.com/gogo/protobuf/jsonpb"
	proto "github.com/gogo/protobuf/proto"
	_ "github.com/gogo/protobuf/types"
	_ "istio.io/api/networking/v1alpha3"
	_ "istio.io/gogo-genproto/googleapis/google/api"
	math "math"
)
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
func (this *RedisDestination) MarshalJSON() ([]byte, error) {
	str, err := RedisdestinationMarshaler.MarshalToString(this)
	return []byte(str), err
}
func (this *RedisDestination) UnmarshalJSON(b []byte) error {
	return RedisdestinationUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
func (this *ConnectionPoolSettings) MarshalJSON() ([]byte, error) {
	str, err := RedisdestinationMarshaler.MarshalToString(this)
	return []byte(str), err
}
func (this *ConnectionPoolSettings) UnmarshalJSON(b []byte) error {
	return RedisdestinationUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
func (this *Auth) MarshalJSON() ([]byte, error) {
	str, err := RedisdestinationMarshaler.MarshalToString(this)
	return []byte(str), err
}
func (this *Auth) UnmarshalJSON(b []byte) error {
	return RedisdestinationUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}
func (this *SecretReference) MarshalJSON() ([]byte, error) {
	str, err := RedisdestinationMarshaler.MarshalToString(this)
	return []byte(str), err
}
func (this *SecretReference) UnmarshalJSON(b []byte) error {
	return RedisdestinationUnmarshaler.Unmarshal(bytes.NewReader(b), this)
}