PROTOCOL

DataMapper

public protocol DataMapper

Interface for a DataMapper instance that provides mappings from IdsvrHaapiSdk models to IdsvrHaapiUIKit models.

Methods

mapClientOperationStepToOperation(clientOperation:)

func mapClientOperationStepToOperation(clientOperation: ClientOperationStep) throws -> UIOperationModel?

Maps a ClientOperationStep to an optional UIOperationModel.

mapHaapiRepresentationToInteraction(haapiRepresentation:)

func mapHaapiRepresentationToInteraction(haapiRepresentation: HaapiRepresentation) throws -> UIInteractionModel?

Maps a HaapiRepresentation to an optional UIInteractionModel.

mapHaapiRepresentationToOperation(haapiRepresentation:)

func mapHaapiRepresentationToOperation(haapiRepresentation: HaapiRepresentation) throws -> UIOperationModel?

Maps a HaapiRepresentation to an optional UIOperationModel.

mapHaapiResultToUIModel(haapiResult:)

func mapHaapiResultToUIModel(haapiResult: HaapiResult) throws -> UIModel?

Maps a HaapiResult to an optional UIModel.

mapProblemRepresentationToProblem(problemRepresentation:)

func mapProblemRepresentationToProblem(problemRepresentation: ProblemRepresentation) throws -> UIProblemModel?

Maps a ProblemRepresentation to an optional UIProblemModel.

mapRepresentationActionModelToUIInteractionModel(representationActionModel:)

func mapRepresentationActionModelToUIInteractionModel(representationActionModel: any RepresentationActionModel) throws -> UIInteractionModel?

Maps a RepresentationActionModel to an optional UIInteractionModel.