UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

92 lines (86 loc) 2.15 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'; const models = require('./index'); /** * Required explicit begin session log (a marker event for analytics service). * * @extends models['LogFlowLog'] */ class LogFlowStartSessionLog extends models['LogFlowLog'] { /** * Create a LogFlowStartSessionLog. * @property {uuid} sessionId Session ID. */ constructor() { super(); } /** * Defines the metadata of LogFlowStartSessionLog * * @returns {object} metadata of LogFlowStartSessionLog * */ mapper() { return { required: false, serializedName: 'start_session', type: { name: 'Composite', polymorphicDiscriminator: { serializedName: 'type', clientName: 'type' }, uberParent: 'LogFlowLog', className: 'LogFlowStartSessionLog', modelProperties: { timestamp: { required: true, serializedName: 'timestamp', type: { name: 'DateTime' } }, installId: { required: true, serializedName: 'install_id', type: { name: 'String' } }, device: { required: true, serializedName: 'device', type: { name: 'Composite', className: 'LogFlowDevice' } }, type: { required: true, serializedName: 'type', isPolymorphicDiscriminator: true, type: { name: 'String' } }, sessionId: { required: true, serializedName: 'session_id', type: { name: 'String' } } } } }; } } module.exports = LogFlowStartSessionLog;