appcenter-cli
Version:
Command line tool for Visual Studio App Center
90 lines (84 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.
*/
;
const models = require('./index');
/**
* Class representing a DistributionStore.
* @extends models['DestinationId']
*/
class DistributionStore extends models['DestinationId'] {
/**
* Create a DistributionStore.
* @property {boolean} [isLatest] Is the containing release the latest one in
* this distribution store.
* @property {string} [type] type of the distribution store currently stores
* type can be intune, googleplay or windows. Possible values include:
* 'intune', 'googleplay', 'windows'
* @property {string} [publishingStatus] publishing status of the release in
* the store.
*/
constructor() {
super();
}
/**
* Defines the metadata of DistributionStore
*
* @returns {object} metadata of DistributionStore
*
*/
mapper() {
return {
required: false,
serializedName: 'DistributionStore',
type: {
name: 'Composite',
className: 'DistributionStore',
modelProperties: {
name: {
required: false,
serializedName: 'name',
type: {
name: 'String'
}
},
id: {
required: false,
serializedName: 'id',
type: {
name: 'String'
}
},
isLatest: {
required: false,
serializedName: 'is_latest',
type: {
name: 'Boolean'
}
},
type: {
required: false,
serializedName: 'type',
type: {
name: 'String'
}
},
publishingStatus: {
required: false,
serializedName: 'publishing_status',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = DistributionStore;