azure-cli
Version:
Microsoft Azure Cross Platform Command Line tool
69 lines (64 loc) • 1.59 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.
*/
;
/**
* The List Snapshots operation response.
*/
class SnapshotList extends Array {
/**
* Create a SnapshotList.
* @member {string} [nextLink] The uri to fetch the next page of snapshots.
* Call ListNext() with this to fetch the next page of snapshots.
*/
constructor() {
super();
}
/**
* Defines the metadata of SnapshotList
*
* @returns {object} metadata of SnapshotList
*
*/
mapper() {
return {
required: false,
serializedName: 'SnapshotList',
type: {
name: 'Composite',
className: 'SnapshotList',
modelProperties: {
value: {
required: true,
serializedName: '',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'SnapshotElementType',
type: {
name: 'Composite',
className: 'Snapshot'
}
}
}
},
nextLink: {
required: false,
serializedName: 'nextLink',
type: {
name: 'String'
}
}
}
}
};
}
}
module.exports = SnapshotList;