func (p *dnsimpleProvider) ApplyChanges(changes *plan.Changes) error {
	combinedChanges := make([]*dnsimpleChange, 0, len(changes.Create)+len(changes.UpdateNew)+len(changes.Delete))

	combinedChanges = append(combinedChanges, newDnsimpleChanges(dnsimpleCreate, changes.Create)...)
	combinedChanges = append(combinedChanges, newDnsimpleChanges(dnsimpleUpdate, changes.UpdateNew)...)
	combinedChanges = append(combinedChanges, newDnsimpleChanges(dnsimpleDelete, changes.Delete)...)

	return p.submitChanges(combinedChanges)
}
func (p *dnsimpleProvider) ApplyChanges(changes *plan.Changes) error {
	combinedChanges := make([]*dnsimpleChange, 0, len(changes.Create)+len(changes.UpdateNew)+len(changes.Delete))

	combinedChanges = append(combinedChanges, newDnsimpleChanges(dnsimpleCreate, changes.Create)...)
	combinedChanges = append(combinedChanges, newDnsimpleChanges(dnsimpleUpdate, changes.UpdateNew)...)
	combinedChanges = append(combinedChanges, newDnsimpleChanges(dnsimpleDelete, changes.Delete)...)

	return p.submitChanges(combinedChanges)
}
func ( p * dnsimpleProvider ) ApplyChanges ( changes * plan . Changes ) error { combinedChanges := make ( [ ] * dnsimpleChange , 0 , len ( changes . Create ) + len ( changes . UpdateNew ) + len ( changes . Delete ) ) combinedChanges = append ( combinedChanges , newDnsimpleChanges ( dnsimpleCreate , changes . Create ) ... ) combinedChanges = append ( combinedChanges , newDnsimpleChanges ( dnsimpleUpdate , changes . UpdateNew ) ... ) combinedChanges = append ( combinedChanges , newDnsimpleChanges ( dnsimpleDelete , changes . Delete ) ... ) return p . submitChanges ( combinedChanges ) }
// ApplyChanges applies a given set of changes
ApplyChanges applies a given set of changes