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

	out := NewRole()
	if o.Authorizations != nil {
		out.Authorizations = *o.Authorizations
	}
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.Key != nil {
		out.Key = *o.Key
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Private != nil {
		out.Private = *o.Private
	}

	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 *SparseRole) ToPlain() elemental.PlainIdentifiable {
	out := NewRole()
	if o.Authorizations != nil {
		out.Authorizations = *o.Authorizations
	}
	if o.Description != nil {
		out.Description = *o.Description
	}
	if o.Key != nil {
		out.Key = *o.Key
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Private != nil {
		out.Private = *o.Private
	}
	return out
}
func ( o * SparseRole ) ToPlain ( ) elemental . PlainIdentifiable { out := NewRole ( ) if o . Authorizations != nil { out . Authorizations = * o . Authorizations } if o . Description != nil { out . Description = * o . Description } if o . Key != nil { out . Key = * o . Key } if o . Name != nil { out . Name = * o . Name } if o . Private != nil { out . Private = * o . Private } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .