text: /**
   * The Jira Cloud platform REST API
   * Jira Cloud platform REST API documentation
   *
   * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
   * Contact: ecosystem@atlassian.com
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   *
   */
  
  import ApiClient from '../ApiClient';
  
  /**
   * The HistoryMetadataParticipant model module.
   * @module model/HistoryMetadataParticipant
   * @version 1.4.0
   */
  class HistoryMetadataParticipant {
      /**
       * Constructs a new <code>HistoryMetadataParticipant</code>.
       * Details of user or system associated with a issue history metadata item.
       * @alias module:model/HistoryMetadataParticipant
       */
      constructor() { 
          
          HistoryMetadataParticipant.initialize(this);
      }
  
      /**
       * Initializes the fields of this object.
       * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
       * Only for internal use.
       */
      static initialize(obj) { 
      }
  
      /**
       * Constructs a <code>HistoryMetadataParticipant</code> from a plain JavaScript object, optionally creating a new instance.
       * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
       * @param {Object} data The plain JavaScript object bearing properties of interest.
       * @param {module:model/HistoryMetadataParticipant} obj Optional instance to populate.
       * @return {module:model/HistoryMetadataParticipant} The populated <code>HistoryMetadataParticipant</code> instance.
       */
      static constructFromObject(data, obj) {
          if (data) {
              obj = obj || new HistoryMetadataParticipant();
  
              if (data.hasOwnProperty('avatarUrl')) {
                  obj['avatarUrl'] = ApiClient.convertToType(data['avatarUrl'], 'String');
              }
              if (data.hasOwnProperty('displayName')) {
                  obj['displayName'] = ApiClient.convertToType(data['displayName'], 'String');
              }
              if (data.hasOwnProperty('displayNameKey')) {
                  obj['displayNameKey'] = ApiClient.convertToType(data['displayNameKey'], 'String');
              }
              if (data.hasOwnProperty('id')) {
                  obj['id'] = ApiClient.convertToType(data['id'], 'String');
              }
              if (data.hasOwnProperty('type')) {
                  obj['type'] = ApiClient.convertToType(data['type'], 'String');
              }
              if (data.hasOwnProperty('url')) {
                  obj['url'] = ApiClient.convertToType(data['url'], 'String');
              }
          }
          return obj;
      }
  
  
  }
  
  /**
   * The URL to an avatar for the user or system associated with a history record.
   * @member {String} avatarUrl
   */
  HistoryMetadataParticipant.prototype['avatarUrl'] = undefined;
  
  /**
   * The display name of the user or system associated with a history record.
   * @member {String} displayName
   */
  HistoryMetadataParticipant.prototype['displayName'] = undefined;
  
  /**
   * The key of the display name of the user or system associated with a history record.
   * @member {String} displayNameKey
   */
  HistoryMetadataParticipant.prototype['displayNameKey'] = undefined;
  
  /**
   * The ID of the user or system associated with a history record.
   * @member {String} id
   */
  HistoryMetadataParticipant.prototype['id'] = undefined;
  
  /**
   * The type of the user or system associated with a history record.
   * @member {String} type
   */
  HistoryMetadataParticipant.prototype['type'] = undefined;
  
  /**
   * The URL of the user or system associated with a history record.
   * @member {String} url
   */
  HistoryMetadataParticipant.prototype['url'] = undefined;
  
  
  
  
  
  
  export default HistoryMetadataParticipant;
  
  