//go:build !ignore_autogenerated
// +build !ignore_autogenerated

/*
This file is part of the KubeVirt project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Copyright The KubeVirt Authors.
*/

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

package v1alpha1

import (
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	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 *BackupCheckpoint) DeepCopyInto(out *BackupCheckpoint) {
	*out = *in
	if in.CreationTime != nil {
		in, out := &in.CreationTime, &out.CreationTime
		*out = (*in).DeepCopy()
	}
	if in.Volumes != nil {
		in, out := &in.Volumes, &out.Volumes
		*out = make([]BackupVolumeInfo, len(*in))
		copy(*out, *in)
	}
	return
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupOptions) DeepCopyInto(out *BackupOptions) {
	*out = *in
	if in.BackupStartTime != nil {
		in, out := &in.BackupStartTime, &out.BackupStartTime
		*out = (*in).DeepCopy()
	}
	if in.Incremental != nil {
		in, out := &in.Incremental, &out.Incremental
		*out = new(string)
		**out = **in
	}
	if in.TargetPath != nil {
		in, out := &in.TargetPath, &out.TargetPath
		*out = new(string)
		**out = **in
	}
	if in.ExportServerAddr != nil {
		in, out := &in.ExportServerAddr, &out.ExportServerAddr
		*out = new(string)
		**out = **in
	}
	if in.ExportServerName != nil {
		in, out := &in.ExportServerName, &out.ExportServerName
		*out = new(string)
		**out = **in
	}
	if in.BackupKey != nil {
		in, out := &in.BackupKey, &out.BackupKey
		*out = new(string)
		**out = **in
	}
	if in.BackupCert != nil {
		in, out := &in.BackupCert, &out.BackupCert
		*out = new(string)
		**out = **in
	}
	if in.CACert != nil {
		in, out := &in.CACert, &out.CACert
		*out = new(string)
		**out = **in
	}
	return
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackupVolumeInfo) DeepCopyInto(out *BackupVolumeInfo) {
	*out = *in
	return
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Condition) DeepCopyInto(out *Condition) {
	*out = *in
	in.LastProbeTime.DeepCopyInto(&out.LastProbeTime)
	in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
	return
}

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

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

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VirtualMachineBackup) 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 *VirtualMachineBackupList) DeepCopyInto(out *VirtualMachineBackupList) {
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
		*out = make([]VirtualMachineBackup, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
	return
}

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VirtualMachineBackupList) 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 *VirtualMachineBackupSpec) DeepCopyInto(out *VirtualMachineBackupSpec) {
	*out = *in
	in.Source.DeepCopyInto(&out.Source)
	if in.Mode != nil {
		in, out := &in.Mode, &out.Mode
		*out = new(BackupMode)
		**out = **in
	}
	if in.PvcName != nil {
		in, out := &in.PvcName, &out.PvcName
		*out = new(string)
		**out = **in
	}
	if in.TTLDuration != nil {
		in, out := &in.TTLDuration, &out.TTLDuration
		*out = new(v1.Duration)
		**out = **in
	}
	return
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachineBackupStatus) DeepCopyInto(out *VirtualMachineBackupStatus) {
	*out = *in
	if in.Conditions != nil {
		in, out := &in.Conditions, &out.Conditions
		*out = make([]Condition, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
	if in.CheckpointName != nil {
		in, out := &in.CheckpointName, &out.CheckpointName
		*out = new(string)
		**out = **in
	}
	if in.EndpointCert != nil {
		in, out := &in.EndpointCert, &out.EndpointCert
		*out = new(string)
		**out = **in
	}
	if in.IncludedVolumes != nil {
		in, out := &in.IncludedVolumes, &out.IncludedVolumes
		*out = make([]BackupVolumeInfo, len(*in))
		copy(*out, *in)
	}
	return
}

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

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

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VirtualMachineBackupTracker) 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 *VirtualMachineBackupTrackerList) DeepCopyInto(out *VirtualMachineBackupTrackerList) {
	*out = *in
	out.TypeMeta = in.TypeMeta
	in.ListMeta.DeepCopyInto(&out.ListMeta)
	if in.Items != nil {
		in, out := &in.Items, &out.Items
		*out = make([]VirtualMachineBackupTracker, len(*in))
		for i := range *in {
			(*in)[i].DeepCopyInto(&(*out)[i])
		}
	}
	return
}

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

// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *VirtualMachineBackupTrackerList) 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 *VirtualMachineBackupTrackerSpec) DeepCopyInto(out *VirtualMachineBackupTrackerSpec) {
	*out = *in
	in.Source.DeepCopyInto(&out.Source)
	return
}

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

// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VirtualMachineBackupTrackerStatus) DeepCopyInto(out *VirtualMachineBackupTrackerStatus) {
	*out = *in
	if in.LatestCheckpoint != nil {
		in, out := &in.LatestCheckpoint, &out.LatestCheckpoint
		*out = new(BackupCheckpoint)
		(*in).DeepCopyInto(*out)
	}
	if in.CheckpointRedefinitionRequired != nil {
		in, out := &in.CheckpointRedefinitionRequired, &out.CheckpointRedefinitionRequired
		*out = new(bool)
		**out = **in
	}
	return
}

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