UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

86 lines (81 loc) 2.31 kB
/* * 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. */ 'use strict'; /** * Class representing a IntuneStoreRequest. */ class IntuneStoreRequest { /** * Create a IntuneStoreRequest. * @property {object} [secretJson] * @property {string} [secretJson.idToken] the id token of user * @property {string} [secretJson.refreshToken] the refresh token for user * @property {string} [secretJson.refreshTokenExpiry] the expiry of refresh * token * @property {object} [targetAudience] * @property {string} [targetAudience.name] display name for the target * audience/group * @property {object} [appCategory] * @property {string} [appCategory.name] display name for the app category * @property {string} [tenantId] tenant id of the intune store */ constructor() { } /** * Defines the metadata of IntuneStoreRequest * * @returns {object} metadata of IntuneStoreRequest * */ mapper() { return { required: false, serializedName: 'IntuneStoreRequest', type: { name: 'Composite', className: 'IntuneStoreRequest', modelProperties: { secretJson: { required: false, serializedName: 'secret_json', type: { name: 'Composite', className: 'IntuneSecretDetails' } }, targetAudience: { required: false, serializedName: 'target_audience', type: { name: 'Composite', className: 'IntuneTargetAudience' } }, appCategory: { required: false, serializedName: 'app_category', type: { name: 'Composite', className: 'IntuneAppCategory' } }, tenantId: { required: false, serializedName: 'tenant_id', type: { name: 'String' } } } } }; } } module.exports = IntuneStoreRequest;