UNPKG

appcenter-cli

Version:

Command line tool for Visual Studio App Center

68 lines (63 loc) 1.56 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 CommitDetailsCommitAuthor. */ class CommitDetailsCommitAuthor { /** * Create a CommitDetailsCommitAuthor. * @property {string} [date] Date and time of the commit * @property {string} [name] Author name * @property {string} [email] Author's email */ constructor() { } /** * Defines the metadata of CommitDetailsCommitAuthor * * @returns {object} metadata of CommitDetailsCommitAuthor * */ mapper() { return { required: false, serializedName: 'CommitDetails_commit_author', type: { name: 'Composite', className: 'CommitDetailsCommitAuthor', modelProperties: { date: { required: false, serializedName: 'date', type: { name: 'String' } }, name: { required: false, serializedName: 'name', type: { name: 'String' } }, email: { required: false, serializedName: 'email', type: { name: 'String' } } } } }; } } module.exports = CommitDetailsCommitAuthor;