Source: job-record-dto.js

/**
 *
 */
class JobRecordDTO {
  constructor (json) {
    this.json = json
  }

  /**
   * @type {Object<string, string>}
   */
  get values () {
    return this.json.values
  }

  /**
   * @type {string}
   */
  get id () {
    return this.json.id
  }

  /**
   * @param {string} fieldName
   * @returns {string | undefined}
   */
  fieldValue (fieldName) {
    return this.values[fieldName]
  }
}

export default JobRecordDTO