appcenter-cli
Version:
Command line tool for Visual Studio App Center
68 lines (63 loc) • 1.62 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 ServiceBusStatusResponse.
*/
class ServiceBusStatusResponse {
/**
* Create a ServiceBusStatusResponse.
* @property {string} status
* @property {array} [subscriptions]
*/
constructor() {
}
/**
* Defines the metadata of ServiceBusStatusResponse
*
* @returns {object} metadata of ServiceBusStatusResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'ServiceBusStatusResponse',
type: {
name: 'Composite',
className: 'ServiceBusStatusResponse',
modelProperties: {
status: {
required: true,
serializedName: 'status',
type: {
name: 'String'
}
},
subscriptions: {
required: false,
serializedName: 'subscriptions',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SubscriptionMetricsElementType',
type: {
name: 'Composite',
className: 'SubscriptionMetrics'
}
}
}
}
}
}
};
}
}
module.exports = ServiceBusStatusResponse;