package migrationAPI import ( "github.rackspace.com/DCM/migration/pkg/collection" "github.rackspace.com/DCM/migration/pkg/collection/dcx" "github.rackspace.com/DCM/migration/pkg/tools/journal" ) type ( // BasicResponse defines a standard response from the migration API BasicResponse struct { Data *string `json:"data"` Error *string `json:"error"` } // AuditResponse defines a response from the migration API audit endpoints AuditResponse struct { Data []journal.Changes `json:"data"` Error *string `json:"error"` } // CollectResponse defines a response from the migration API collection endpoints CollectResponse struct { Data collection.UpdateResponse `json:"data"` Error *string `json:"error"` } // DeallocateIPsResponse defines a response from the deallocate_ips method DeallocateIPsResponse struct { Data *dcx.DeallocatedIPList `json:"data"` Error *string `json:"error"` } // MigrateVlansResponse defines a response from the migrate_vlans method MigrateVlansResponse struct { Data *MigratedVlans `json:"data"` Error *string `json:"error"` } )