Skip to main content

Class XperiflowJobMetadataMapper

Provides mapping functionality between job-related DTOs and domain objects. This mapper handles the transformation of job response data from the API into domain-specific objects for use within the Xperiflow orchestration system.

Namespace: Workspace.XBR.Xperiflow.Conduit.Job

Assembly: Xperiflow.dll

Declaration
public static class XperiflowJobMetadataMapper

Methods​

MapDtoToDomain(JobResponseContext)​

Transforms a JobResponseContext DTO into a XperiflowJobMetadata domain object. This method maps the job response data from the API into a structured domain object that can be used throughout the application for job management and monitoring.

Declaration
public static XperiflowJobMetadata MapDtoToDomain(JobResponseContext dto)
Remarks​

This method performs a direct mapping from the API response structure to the domain model, ensuring that all essential job metadata is properly transferred and validated.

Mapping Details:

Returns​

Workspace.XBR.Xperiflow.Conduit.Job.XperiflowJobMetadata

A XperiflowJobMetadata domain object representing the job information

Parameters​
TypeNameDescription
Workspace.XBR.Xperiflow.Core.RestApi.Conduit.JobResponseContextdtoThe JobResponseContext DTO containing the job data from the API response
Exceptions​

System.ArgumentNullException Thrown when the provided DTO is null System.ArgumentException Thrown when required job data is missing or invalid

Inherited Members​

  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.ToString

Was this page helpful?