UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

108 lines (103 loc) 2.47 kB
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ 'use strict'; /** * Class representing a CrashAttachment. */ class CrashAttachment { /** * Create a CrashAttachment. * @property {string} appId * @property {string} attachmentId * @property {string} crashId * @property {string} blobLocation * @property {string} contentType * @property {string} fileName * @property {date} createdTime * @property {number} size */ constructor() { } /** * Defines the metadata of CrashAttachment * * @returns {object} metadata of CrashAttachment * */ mapper() { return { required: false, serializedName: 'CrashAttachment', type: { name: 'Composite', className: 'CrashAttachment', modelProperties: { appId: { required: true, serializedName: 'app_id', type: { name: 'String' } }, attachmentId: { required: true, serializedName: 'attachment_id', type: { name: 'String' } }, crashId: { required: true, serializedName: 'crash_id', type: { name: 'String' } }, blobLocation: { required: true, serializedName: 'blob_location', type: { name: 'String' } }, contentType: { required: true, serializedName: 'content_type', type: { name: 'String' } }, fileName: { required: true, serializedName: 'file_name', type: { name: 'String' } }, createdTime: { required: true, serializedName: 'created_time', type: { name: 'DateTime' } }, size: { required: true, serializedName: 'size', type: { name: 'Number' } } } } }; } } module.exports = CrashAttachment;