appcenter-cli
Version:
Command line tool for Visual Studio App Center
91 lines (86 loc) • 2.21 kB
JavaScript
/*
* 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.
*/
;
/**
* Class representing a DeviceSetConfiguration.
*/
class DeviceSetConfiguration {
/**
* Create a DeviceSetConfiguration.
* @property {uuid} [id] The unique id of the device configuration
* @property {object} [image]
* @property {string} [image.thumb]
* @property {object} [model]
* @property {string} [model.name]
* @property {string} [model.manufacturer]
* @property {string} [model.releaseDate]
* @property {string} [model.formFactor]
* @property {string} [os]
* @property {string} [osName]
*/
constructor() {
}
/**
* Defines the metadata of DeviceSetConfiguration
*
* @returns {object} metadata of DeviceSetConfiguration
*
*/
mapper() {
return {
required: false,
serializedName: 'DeviceSetConfiguration',
type: {
name: 'Composite',
className: 'DeviceSetConfiguration',
modelProperties: {
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
image: {
required: false,
serializedName: 'image',
type: {
name: 'Composite',
className: 'DeviceSetConfigurationImage'
}
},
model: {
required: false,
serializedName: 'model',
type: {
name: 'Composite',
className: 'DeviceSetModel'
}
},
os: {
required: false,
serializedName: 'os',
type: {
name: 'String'
}
},
osName: {
required: false,
serializedName: 'osName',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = DeviceSetConfiguration;