appcenter-cli
Version:
Command line tool for Visual Studio App Center
53 lines (48 loc) • 1.11 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.
*/
;
/**
* A user's setting
*
*/
class UserSettingResponse {
/**
* Create a UserSettingResponse.
* @property {string} [marketingOptIn] The marketing opt-in setting
*/
constructor() {
}
/**
* Defines the metadata of UserSettingResponse
*
* @returns {object} metadata of UserSettingResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'UserSettingResponse',
type: {
name: 'Composite',
className: 'UserSettingResponse',
modelProperties: {
marketingOptIn: {
required: false,
serializedName: 'marketing_opt_in',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = UserSettingResponse;