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

package models

// 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"
)

// AlertRuleNotificationSettingsExport AlertRuleNotificationSettingsExport is the provisioned export of models.NotificationSettings.
//
// swagger:model AlertRuleNotificationSettingsExport
type AlertRuleNotificationSettingsExport struct {

	// group by
	GroupBy []string `json:"group_by"`

	// group interval
	GroupInterval string `json:"group_interval,omitempty"`

	// group wait
	GroupWait string `json:"group_wait,omitempty"`

	// mute time intervals
	MuteTimeIntervals []string `json:"mute_time_intervals"`

	// receiver
	Receiver string `json:"receiver,omitempty"`

	// repeat interval
	RepeatInterval string `json:"repeat_interval,omitempty"`
}

// Validate validates this alert rule notification settings export
func (m *AlertRuleNotificationSettingsExport) Validate(formats strfmt.Registry) error {
	return nil
}

// ContextValidate validates this alert rule notification settings export based on context it is used
func (m *AlertRuleNotificationSettingsExport) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
	return nil
}

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

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