appcenter-cli
Version:
Command line tool for Visual Studio App Center
68 lines (63 loc) • 1.61 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 IntuneSecretDetails.
*/
class IntuneSecretDetails {
/**
* Create a IntuneSecretDetails.
* @property {string} [idToken] the id token of user
* @property {string} [refreshToken] the refresh token for user
* @property {string} [refreshTokenExpiry] the expiry of refresh token
*/
constructor() {
}
/**
* Defines the metadata of IntuneSecretDetails
*
* @returns {object} metadata of IntuneSecretDetails
*
*/
mapper() {
return {
required: false,
serializedName: 'IntuneSecretDetails',
type: {
name: 'Composite',
className: 'IntuneSecretDetails',
modelProperties: {
idToken: {
required: false,
serializedName: 'id_token',
type: {
name: 'String'
}
},
refreshToken: {
required: false,
serializedName: 'refresh_token',
type: {
name: 'String'
}
},
refreshTokenExpiry: {
required: false,
serializedName: 'refresh_token_expiry',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = IntuneSecretDetails;