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

	out := NewAutomationTemplate()
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.Entitlements != nil {
		out.Entitlements = *o.Entitlements
	}
	if o.Function != nil {
		out.Function = *o.Function
	}
	if o.Key != nil {
		out.Key = *o.Key
	}
	if o.Kind != nil {
		out.Kind = *o.Kind
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Parameters != nil {
		out.Parameters = *o.Parameters
	}
	if o.Steps != nil {
		out.Steps = *o.Steps
	}

	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 *SparseAutomationTemplate) ToPlain() elemental.PlainIdentifiable {
	out := NewAutomationTemplate()
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.Entitlements != nil {
		out.Entitlements = *o.Entitlements
	}
	if o.Function != nil {
		out.Function = *o.Function
	}
	if o.Key != nil {
		out.Key = *o.Key
	}
	if o.Kind != nil {
		out.Kind = *o.Kind
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Parameters != nil {
		out.Parameters = *o.Parameters
	}
	if o.Steps != nil {
		out.Steps = *o.Steps
	}
	return out
}
func ( o * SparseAutomationTemplate ) ToPlain ( ) elemental . PlainIdentifiable { out := NewAutomationTemplate ( ) if o . Description != nil { out . Description = * o . Description } if o . Entitlements != nil { out . Entitlements = * o . Entitlements } if o . Function != nil { out . Function = * o . Function } if o . Key != nil { out . Key = * o . Key } if o . Kind != nil { out . Kind = * o . Kind } if o . Name != nil { out . Name = * o . Name } if o . Parameters != nil { out . Parameters = * o . Parameters } if o . Steps != nil { out . Steps = * o . Steps } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .