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

	out := NewPollAccount()
	if o.AccountID != nil {
		out.AccountID = *o.AccountID
	}
	if o.AuthorizationRegion != nil {
		out.AuthorizationRegion = *o.AuthorizationRegion
	}
	if o.CloudType != nil {
		out.CloudType = *o.CloudType
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Role != nil {
		out.Role = *o.Role
	}
	if o.TargetRegions != nil {
		out.TargetRegions = *o.TargetRegions
	}

	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 *SparsePollAccount) ToPlain() elemental.PlainIdentifiable {
	out := NewPollAccount()
	if o.AccountID != nil {
		out.AccountID = *o.AccountID
	}
	if o.AuthorizationRegion != nil {
		out.AuthorizationRegion = *o.AuthorizationRegion
	}
	if o.CloudType != nil {
		out.CloudType = *o.CloudType
	}
	if o.Name != nil {
		out.Name = *o.Name
	}
	if o.Role != nil {
		out.Role = *o.Role
	}
	if o.TargetRegions != nil {
		out.TargetRegions = *o.TargetRegions
	}
	return out
}
func ( o * SparsePollAccount ) ToPlain ( ) elemental . PlainIdentifiable { out := NewPollAccount ( ) if o . AccountID != nil { out . AccountID = * o . AccountID } if o . AuthorizationRegion != nil { out . AuthorizationRegion = * o . AuthorizationRegion } if o . CloudType != nil { out . CloudType = * o . CloudType } if o . Name != nil { out . Name = * o . Name } if o . Role != nil { out . Role = * o . Role } if o . TargetRegions != nil { out . TargetRegions = * o . TargetRegions } return out }
ToPlain returns the plain version of the sparse model.
ToPlain returns the plain version of the sparse model .