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

	out := NewX509Certificate()
	if o.CSR != nil {
		out.CSR = *o.CSR
	}
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Certificate != nil {
		out.Certificate = *o.Certificate
	}
	if o.ExpirationDate != nil {
		out.ExpirationDate = *o.ExpirationDate
	}
	if o.Extensions != nil {
		out.Extensions = *o.Extensions
	}
	if o.Signer != nil {
		out.Signer = *o.Signer
	}
	if o.SubjectOverride != nil {
		out.SubjectOverride = o.SubjectOverride
	}
	if o.Unrevocable != nil {
		out.Unrevocable = *o.Unrevocable
	}
	if o.Usage != nil {
		out.Usage = *o.Usage
	}

	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 *SparseX509Certificate) ToPlain() elemental.PlainIdentifiable {
	out := NewX509Certificate()
	if o.CSR != nil {
		out.CSR = *o.CSR
	}
	if o.ID != nil {
		out.ID = *o.ID
	}
	if o.Certificate != nil {
		out.Certificate = *o.Certificate
	}
	if o.ExpirationDate != nil {
		out.ExpirationDate = *o.ExpirationDate
	}
	if o.Extensions != nil {
		out.Extensions = *o.Extensions
	}
	if o.Signer != nil {
		out.Signer = *o.Signer
	}
	if o.SubjectOverride != nil {
		out.SubjectOverride = o.SubjectOverride
	}
	if o.Unrevocable != nil {
		out.Unrevocable = *o.Unrevocable
	}
	if o.Usage != nil {
		out.Usage = *o.Usage
	}
	return out
}
func ( o * SparseX509Certificate ) ToPlain ( ) elemental . PlainIdentifiable { out := NewX509Certificate ( ) if o . CSR != nil { out . CSR = * o . CSR } if o . ID != nil { out . ID = * o . ID } if o . Certificate != nil { out . Certificate = * o . Certificate } if o . ExpirationDate != nil { out . ExpirationDate = * o . ExpirationDate } if o . Extensions != nil { out . Extensions = * o . Extensions } if o . Signer != nil { out . Signer = * o . Signer } if o . SubjectOverride != nil { out . SubjectOverride = o . SubjectOverride } if o . Unrevocable != nil { out . Unrevocable = * o . Unrevocable } if o . Usage != nil { out . Usage = * o . Usage } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .