appcenter-cli
Version:
Command line tool for Visual Studio App Center
64 lines (59 loc) • 1.52 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 CommitDetailsCommit.
*/
class CommitDetailsCommit {
/**
* Create a CommitDetailsCommit.
* @property {string} [message] Commit message
* @property {object} [author]
* @property {string} [author.date] Date and time of the commit
* @property {string} [author.name] Author name
* @property {string} [author.email] Author's email
*/
constructor() {
}
/**
* Defines the metadata of CommitDetailsCommit
*
* @returns {object} metadata of CommitDetailsCommit
*
*/
mapper() {
return {
required: false,
serializedName: 'CommitDetails_commit',
type: {
name: 'Composite',
className: 'CommitDetailsCommit',
modelProperties: {
message: {
required: false,
serializedName: 'message',
type: {
name: 'String'
}
},
author: {
required: false,
serializedName: 'author',
type: {
name: 'Composite',
className: 'CommitDetailsCommitAuthor'
}
}
}
}
};
}
}
module.exports = CommitDetailsCommit;