func (r Status) MarshalJSON() ([]byte, error) {
	buffer := bytes.NewBufferString(`"`)
	value, ok := reportStatusPendingToString()[r]
	if !ok {
		return nil, fmt.Errorf("%d is an invalid enum for Status", r)
	}
	buffer.WriteString(value)
	buffer.WriteString(`"`)
	return buffer.Bytes(), nil
}
// MarshalJSON - marshals the enum as a quoted json string
marshals the enum as a quoted json string
// MarshalJSON - marshals the enum as a quoted json string
func (r Status) MarshalJSON() ([]byte, error) {
	buffer := bytes.NewBufferString(`"`)
	value, ok := reportStatusPendingToString()[r]
	if !ok {
		return nil, fmt.Errorf("%d is an invalid enum for Status", r)
	}
	buffer.WriteString(value)
	buffer.WriteString(`"`)
	return buffer.Bytes(), nil
}
func ( r Status ) MarshalJSON ( ) ( [ ] byte , error ) { buffer := bytes . NewBufferString ( `"` ) value , ok := reportStatusPendingToString ( ) [ r ] if ! ok { return nil , fmt . Errorf ( " " , r ) } buffer . WriteString ( value ) buffer . WriteString ( `"` ) return buffer . Bytes ( ) , nil }
marshals the enum as a quoted json string
marshals the enum as a quoted json string