appcenter-cli
Version:
Command line tool for Visual Studio App Center
79 lines (74 loc) • 1.71 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.
*/
;
/**
* @summary Device Set Owner
*
* The owner of a device set
*
*/
class DeviceSetOwner {
/**
* Create a DeviceSetOwner.
* @property {string} type Type of account
* @property {string} id Account ID
* @property {string} [displayName] Display name of the account
* @property {string} name Name of the account
*/
constructor() {
}
/**
* Defines the metadata of DeviceSetOwner
*
* @returns {object} metadata of DeviceSetOwner
*
*/
mapper() {
return {
required: false,
serializedName: 'DeviceSetOwner',
type: {
name: 'Composite',
className: 'DeviceSetOwner',
modelProperties: {
type: {
required: true,
serializedName: 'type',
type: {
name: 'String'
}
},
id: {
required: true,
serializedName: 'id',
type: {
name: 'String'
}
},
displayName: {
required: false,
serializedName: 'displayName',
type: {
name: 'String'
}
},
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = DeviceSetOwner;