appcenter-cli
Version:
Command line tool for Visual Studio App Center
71 lines (65 loc) • 1.79 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.
*/
;
const models = require('./index');
/**
* Class representing a ReleaseWithDistributionGroupAndUserId.
* @extends models['ReleaseWithDistributionGroup']
*/
class ReleaseWithDistributionGroupAndUserId extends models['ReleaseWithDistributionGroup'] {
/**
* Create a ReleaseWithDistributionGroupAndUserId.
* @property {uuid} [userId] Unique user Id. Will generate a new user Id if
* not provided.
*/
constructor() {
super();
}
/**
* Defines the metadata of ReleaseWithDistributionGroupAndUserId
*
* @returns {object} metadata of ReleaseWithDistributionGroupAndUserId
*
*/
mapper() {
return {
required: false,
serializedName: 'ReleaseWithDistributionGroupAndUserId',
type: {
name: 'Composite',
className: 'ReleaseWithDistributionGroupAndUserId',
modelProperties: {
release: {
required: true,
serializedName: 'release',
type: {
name: 'String'
}
},
distributionGroup: {
required: false,
serializedName: 'distribution_group',
type: {
name: 'String'
}
},
userId: {
required: false,
serializedName: 'user_id',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = ReleaseWithDistributionGroupAndUserId;