//go:build !ignore_autogenerated

/*
Copyright (c) Microsoft Corporation.
Licensed under the MIT license.
*/

// Code generated by controller-gen. DO NOT EDIT.

package v1api20171001

import (
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
	"github.com/Azure/azure-service-operator/v2/pkg/genruntime/core"
	runtime "k8s.io/apimachinery/pkg/runtime"
)

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PricingPlan) DeepCopyInto(out *PricingPlan) {
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
	in.Spec.DeepCopyInto(&out.Spec)
	in.Status.DeepCopyInto(&out.Status)
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PricingPlan.
func (in *PricingPlan) DeepCopy() *PricingPlan {
	if in == nil {
		return nil
	}
	out := new(PricingPlan)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PricingPlan) DeepCopyObject() runtime.Object {
	if c := in.DeepCopy(); c != nil {
		return c
	}
	return nil
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PricingPlanList) DeepCopyInto(out *PricingPlanList) {
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
		*out = make([]PricingPlan, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PricingPlanList.
func (in *PricingPlanList) DeepCopy() *PricingPlanList {
	if in == nil {
		return nil
	}
	out := new(PricingPlanList)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *PricingPlanList) DeepCopyObject() runtime.Object {
	if c := in.DeepCopy(); c != nil {
		return c
	}
	return nil
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PricingPlanOperatorSpec) DeepCopyInto(out *PricingPlanOperatorSpec) {
	*out = *in
	if in.ConfigMapExpressions != nil {
		in, out := &in.ConfigMapExpressions, &out.ConfigMapExpressions
		*out = make([]*core.DestinationExpression, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(core.DestinationExpression)
				**out = **in
			}
		}
	}
	if in.SecretExpressions != nil {
		in, out := &in.SecretExpressions, &out.SecretExpressions
		*out = make([]*core.DestinationExpression, len(*in))
		for i := range *in {
			if (*in)[i] != nil {
				in, out := &(*in)[i], &(*out)[i]
				*out = new(core.DestinationExpression)
				**out = **in
			}
		}
	}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PricingPlanOperatorSpec.
func (in *PricingPlanOperatorSpec) DeepCopy() *PricingPlanOperatorSpec {
	if in == nil {
		return nil
	}
	out := new(PricingPlanOperatorSpec)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PricingPlan_STATUS) DeepCopyInto(out *PricingPlan_STATUS) {
	*out = *in
	if in.Cap != nil {
		in, out := &in.Cap, &out.Cap
		*out = new(float64)
		**out = **in
	}
	if in.Conditions != nil {
		in, out := &in.Conditions, &out.Conditions
		*out = make([]conditions.Condition, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
	if in.Id != nil {
		in, out := &in.Id, &out.Id
		*out = new(string)
		**out = **in
	}
	if in.MaxHistoryCap != nil {
		in, out := &in.MaxHistoryCap, &out.MaxHistoryCap
		*out = new(float64)
		**out = **in
	}
	if in.Name != nil {
		in, out := &in.Name, &out.Name
		*out = new(string)
		**out = **in
	}
	if in.PlanType != nil {
		in, out := &in.PlanType, &out.PlanType
		*out = new(string)
		**out = **in
	}
	if in.ResetHour != nil {
		in, out := &in.ResetHour, &out.ResetHour
		*out = new(int)
		**out = **in
	}
	if in.StopSendNotificationWhenHitCap != nil {
		in, out := &in.StopSendNotificationWhenHitCap, &out.StopSendNotificationWhenHitCap
		*out = new(bool)
		**out = **in
	}
	if in.StopSendNotificationWhenHitThreshold != nil {
		in, out := &in.StopSendNotificationWhenHitThreshold, &out.StopSendNotificationWhenHitThreshold
		*out = new(bool)
		**out = **in
	}
	if in.Type != nil {
		in, out := &in.Type, &out.Type
		*out = new(string)
		**out = **in
	}
	if in.WarningThreshold != nil {
		in, out := &in.WarningThreshold, &out.WarningThreshold
		*out = new(int)
		**out = **in
	}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PricingPlan_STATUS.
func (in *PricingPlan_STATUS) DeepCopy() *PricingPlan_STATUS {
	if in == nil {
		return nil
	}
	out := new(PricingPlan_STATUS)
	in.DeepCopyInto(out)
	return out
}

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PricingPlan_Spec) DeepCopyInto(out *PricingPlan_Spec) {
	*out = *in
	if in.Cap != nil {
		in, out := &in.Cap, &out.Cap
		*out = new(float64)
		**out = **in
	}
	if in.OperatorSpec != nil {
		in, out := &in.OperatorSpec, &out.OperatorSpec
		*out = new(PricingPlanOperatorSpec)
		(*in).DeepCopyInto(*out)
	}
	if in.Owner != nil {
		in, out := &in.Owner, &out.Owner
		*out = new(genruntime.KnownResourceReference)
		**out = **in
	}
	if in.PlanType != nil {
		in, out := &in.PlanType, &out.PlanType
		*out = new(string)
		**out = **in
	}
	if in.StopSendNotificationWhenHitCap != nil {
		in, out := &in.StopSendNotificationWhenHitCap, &out.StopSendNotificationWhenHitCap
		*out = new(bool)
		**out = **in
	}
	if in.StopSendNotificationWhenHitThreshold != nil {
		in, out := &in.StopSendNotificationWhenHitThreshold, &out.StopSendNotificationWhenHitThreshold
		*out = new(bool)
		**out = **in
	}
	if in.WarningThreshold != nil {
		in, out := &in.WarningThreshold, &out.WarningThreshold
		*out = new(int)
		**out = **in
	}
}

// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PricingPlan_Spec.
func (in *PricingPlan_Spec) DeepCopy() *PricingPlan_Spec {
	if in == nil {
		return nil
	}
	out := new(PricingPlan_Spec)
	in.DeepCopyInto(out)
	return out
}
