appcenter-cli
Version:
Command line tool for Visual Studio App Center
71 lines (66 loc) • 1.84 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.
*/
;
/**
* Apple Certificate Secret Details
*
*/
class AppleCertificateNonSecretDetails {
/**
* Create a AppleCertificateNonSecretDetails.
* @property {string} displayName The display name (CN) of the certificate
* @property {string} certificateValidityStartDate The date-time from which
* the certificate is valid
* @property {string} certificateValidityEndDate The date-time till which the
* certificate is valid
*/
constructor() {
}
/**
* Defines the metadata of AppleCertificateNonSecretDetails
*
* @returns {object} metadata of AppleCertificateNonSecretDetails
*
*/
mapper() {
return {
required: false,
serializedName: 'AppleCertificateNonSecretDetails',
type: {
name: 'Composite',
className: 'AppleCertificateNonSecretDetails',
modelProperties: {
displayName: {
required: true,
serializedName: 'displayName',
type: {
name: 'String'
}
},
certificateValidityStartDate: {
required: true,
serializedName: 'certificateValidityStartDate',
type: {
name: 'String'
}
},
certificateValidityEndDate: {
required: true,
serializedName: 'certificateValidityEndDate',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = AppleCertificateNonSecretDetails;