MDMappingQuery
public struct MDMappingQuery : Encodable
Structure representing a query for the API to convert legacy IDs into new IDs
-
The type of object mapped
Declaration
Swift
public let type: MDObjectType
-
The list of legacy object IDs
Declaration
Swift
public let ids: [Int]
-
Convenience init to ask for a mapping
Declaration
Swift
public init(objectType: MDObjectType, legacyIds: [Int])