appcenter-cli
Version:
Command line tool for Visual Studio App Center
145 lines (139 loc) • 3.97 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 DistributionGroupDetailsResponse.
* @extends models['DistributionGroupResponse']
*/
class DistributionGroupDetailsResponse extends models['DistributionGroupResponse'] {
/**
* Create a DistributionGroupDetailsResponse.
* @property {boolean} isShared Whether the distribution group is shared
* group or not
* @property {number} totalAppsCount The count of apps associated with this
* distribution group
* @property {number} totalUserCount The count of users in the distribution
* group
* @property {number} notifiedUserCount The count of non-pending users in the
* distribution group who will be notified by new releases
* @property {string} [groupType] Type of group (Default, HockeyAppDefault or
* MicrosoftDogfooding). Possible values include: 'Default',
* 'HockeyAppDefault', 'MicrosoftDogfooding'
* @property {array} users The distribution group users
*/
constructor() {
super();
}
/**
* Defines the metadata of DistributionGroupDetailsResponse
*
* @returns {object} metadata of DistributionGroupDetailsResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'DistributionGroupDetailsResponse',
type: {
name: 'Composite',
className: 'DistributionGroupDetailsResponse',
modelProperties: {
id: {
required: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: true,
serializedName: 'name',
type: {
name: 'String'
}
},
displayName: {
required: false,
serializedName: 'display_name',
type: {
name: 'String'
}
},
origin: {
required: true,
serializedName: 'origin',
type: {
name: 'String'
}
},
isPublic: {
required: true,
serializedName: 'is_public',
type: {
name: 'Boolean'
}
},
isShared: {
required: true,
serializedName: 'is_shared',
type: {
name: 'Boolean'
}
},
totalAppsCount: {
required: true,
serializedName: 'total_apps_count',
type: {
name: 'Number'
}
},
totalUserCount: {
required: true,
serializedName: 'total_user_count',
type: {
name: 'Number'
}
},
notifiedUserCount: {
required: true,
serializedName: 'notified_user_count',
type: {
name: 'Number'
}
},
groupType: {
required: false,
serializedName: 'group_type',
type: {
name: 'String'
}
},
users: {
required: true,
serializedName: 'users',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DistributionGroupUserGetResponseElementType',
type: {
name: 'Composite',
className: 'DistributionGroupUserGetResponse'
}
}
}
}
}
}
};
}
}
module.exports = DistributionGroupDetailsResponse;