appcenter-cli
Version:
Command line tool for Visual Studio App Center
68 lines (63 loc) • 1.6 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 FeaturePatchRequest.
*/
class FeaturePatchRequest {
/**
* Create a FeaturePatchRequest.
* @property {string} [description] The friendly name of the feature
* @property {string} [displayName] The full (friendly) name of the feature.
* @property {number} [state] The state of the feature
*/
constructor() {
}
/**
* Defines the metadata of FeaturePatchRequest
*
* @returns {object} metadata of FeaturePatchRequest
*
*/
mapper() {
return {
required: false,
serializedName: 'FeaturePatchRequest',
type: {
name: 'Composite',
className: 'FeaturePatchRequest',
modelProperties: {
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
displayName: {
required: false,
serializedName: 'display_name',
type: {
name: 'String'
}
},
state: {
required: false,
serializedName: 'state',
type: {
name: 'Number'
}
}
}
}
};
}
}
module.exports = FeaturePatchRequest;