func (o *SparseQuotaCheck) ToPlain() elemental.PlainIdentifiable {

	out := NewQuotaCheck()
	if o.Quota != nil {
		out.Quota = *o.Quota
	}
	if o.Remaining != nil {
		out.Remaining = *o.Remaining
	}
	if o.TargetIdentity != nil {
		out.TargetIdentity = *o.TargetIdentity
	}
	if o.TargetNamespace != nil {
		out.TargetNamespace = *o.TargetNamespace
	}

	return out
}
// ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model.
// ToPlain returns the plain version of the sparse model .
func (o *SparseQuotaCheck) ToPlain() elemental.PlainIdentifiable {
	out := NewQuotaCheck()
	if o.Quota != nil {
		out.Quota = *o.Quota
	}
	if o.Remaining != nil {
		out.Remaining = *o.Remaining
	}
	if o.TargetIdentity != nil {
		out.TargetIdentity = *o.TargetIdentity
	}
	if o.TargetNamespace != nil {
		out.TargetNamespace = *o.TargetNamespace
	}
	return out
}
func ( o * SparseQuotaCheck ) ToPlain ( ) elemental . PlainIdentifiable { out := NewQuotaCheck ( ) if o . Quota != nil { out . Quota = * o . Quota } if o . Remaining != nil { out . Remaining = * o . Remaining } if o . TargetIdentity != nil { out . TargetIdentity = * o . TargetIdentity } if o . TargetNamespace != nil { out . TargetNamespace = * o . TargetNamespace } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .