{"size": 2890, "ext": "js", "max_stars_repo_path": "src/util/apis/generated/models/parkedCrash.js", "max_stars_repo_name": "sapieneptus/appcenter-cli", "max_stars_repo_stars_event_min_datetime": "2017-12-13T06:12:18.000Z", "max_stars_repo_stars_event_max_datetime": "2017-12-13T06:12:18.000Z", "max_issues_repo_path": "src/util/apis/generated/models/parkedCrash.js", "max_issues_repo_name": "sapieneptus/appcenter-cli", "max_issues_repo_issues_event_min_datetime": "2017-12-25T07:55:19.000Z", "max_issues_repo_issues_event_max_datetime": "2021-08-03T05:24:46.000Z", "max_forks_repo_path": "src/util/apis/generated/models/parkedCrash.js", "max_forks_repo_name": "sapieneptus/appcenter-cli", "max_forks_repo_forks_event_min_datetime": "2018-12-27T06:41:34.000Z", "max_forks_repo_forks_event_max_datetime": "2018-12-27T06:41:34.000Z"}
{"max_stars_count": 1, "max_issues_count": 832, "max_forks_count": 1, "avg_line_length": 22.2307692308, "max_line_length": 72, "alphanum_fraction": 0.5173010381}
/*
 * Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

var models = require('./index');

var util = require('util');

/**
 * @class
 * Initializes a new instance of the ParkedCrash class.
 * @constructor
 * parked crash
 *
 * @member {string} appId application id
 * 
 * @member {string} appVer application version
 * 
 * @member {string} appBuild application build
 * 
 * @member {array} missingSymbols list of missing symbols
 * 
 * @member {string} crashId id of the crash
 * 
 * @member {string} sdkPlatform platform of the sdk that sent crash
 * 
 * @member {string} [sdkWrapper] name of the sdk wrapper that sent crash
 * 
 * @member {object} location crash location
 * 
 * @member {string} [location.account] azure account
 * 
 * @member {string} [location.container] blob container
 * 
 * @member {string} [location.blob] blob name
 * 
 */
function ParkedCrash() {
}

/**
 * Defines the metadata of ParkedCrash
 *
 * @returns {object} metadata of ParkedCrash
 *
 */
ParkedCrash.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'ParkedCrash',
    type: {
      name: 'Composite',
      className: 'ParkedCrash',
      modelProperties: {
        appId: {
          required: true,
          serializedName: 'app_id',
          type: {
            name: 'String'
          }
        },
        appVer: {
          required: true,
          serializedName: 'app_ver',
          type: {
            name: 'String'
          }
        },
        appBuild: {
          required: true,
          serializedName: 'app_build',
          type: {
            name: 'String'
          }
        },
        missingSymbols: {
          required: true,
          serializedName: 'missing_symbols',
          type: {
            name: 'Sequence',
            element: {
                required: false,
                serializedName: 'MissingSymbolElementType',
                type: {
                  name: 'Composite',
                  className: 'MissingSymbol'
                }
            }
          }
        },
        crashId: {
          required: true,
          serializedName: 'crash_id',
          type: {
            name: 'String'
          }
        },
        sdkPlatform: {
          required: true,
          serializedName: 'sdk_platform',
          type: {
            name: 'String'
          }
        },
        sdkWrapper: {
          required: false,
          serializedName: 'sdk_wrapper',
          type: {
            name: 'String'
          }
        },
        location: {
          required: true,
          serializedName: 'location',
          type: {
            name: 'Composite',
            className: 'CrashLocation'
          }
        }
      }
    }
  };
};

module.exports = ParkedCrash;
