// Code generated by go-swagger; DO NOT EDIT.

package model

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"context"

	"github.com/go-openapi/strfmt"
	"github.com/go-openapi/swag"
)

// V1beta1ClusterEncryptionConfig Message for encryption settings for a cluster.
//
// swagger:model v1beta1ClusterEncryptionConfig
type V1beta1ClusterEncryptionConfig struct {

	// Optional. Whether enhanced encryption for cluster data is enabled.
	EnhancedEncryptionEnabled bool `json:"enhancedEncryptionEnabled,omitempty"`
}

// Validate validates this v1beta1 cluster encryption config
func (m *V1beta1ClusterEncryptionConfig) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this v1beta1 cluster encryption config based on context it is used
func (m *V1beta1ClusterEncryptionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

// MarshalBinary interface implementation
func (m *V1beta1ClusterEncryptionConfig) MarshalBinary() ([]byte, error) {
	if m == nil {
		return nil, nil
	}
	return swag.WriteJSON(m)
}

// UnmarshalBinary interface implementation
func (m *V1beta1ClusterEncryptionConfig) UnmarshalBinary(b []byte) error {
	var res V1beta1ClusterEncryptionConfig
	if err := swag.ReadJSON(b, &res); err != nil {
		return err
	}
	*m = res
	return nil
}
