2023-12-12 05:13:20 +00:00
|
|
|
// Code generated by protoc-json-shim. DO NOT EDIT.
|
2024-02-08 16:05:06 +00:00
|
|
|
package multiclusterv2beta1
|
2023-12-12 05:13:20 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
protojson "google.golang.org/protobuf/encoding/protojson"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MarshalJSON is a custom marshaler for SamenessGroup
|
|
|
|
func (this *SamenessGroup) MarshalJSON() ([]byte, error) {
|
|
|
|
str, err := SamenessGroupMarshaler.Marshal(this)
|
|
|
|
return []byte(str), err
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalJSON is a custom unmarshaler for SamenessGroup
|
|
|
|
func (this *SamenessGroup) UnmarshalJSON(b []byte) error {
|
|
|
|
return SamenessGroupUnmarshaler.Unmarshal(b, this)
|
|
|
|
}
|
|
|
|
|
|
|
|
// MarshalJSON is a custom marshaler for SamenessGroupMember
|
|
|
|
func (this *SamenessGroupMember) MarshalJSON() ([]byte, error) {
|
|
|
|
str, err := SamenessGroupMarshaler.Marshal(this)
|
|
|
|
return []byte(str), err
|
|
|
|
}
|
|
|
|
|
|
|
|
// UnmarshalJSON is a custom unmarshaler for SamenessGroupMember
|
|
|
|
func (this *SamenessGroupMember) UnmarshalJSON(b []byte) error {
|
|
|
|
return SamenessGroupUnmarshaler.Unmarshal(b, this)
|
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
SamenessGroupMarshaler = &protojson.MarshalOptions{}
|
|
|
|
SamenessGroupUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false}
|
|
|
|
)
|