Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Generated from 78c1d019bfd4816ca21ad4f3cbebe6b9aed3175d
Browse files Browse the repository at this point in the history
  • Loading branch information
AutorestCI committed Apr 20, 2018
1 parent a401e62 commit 6744cc4
Show file tree
Hide file tree
Showing 12 changed files with 4,324 additions and 568 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
* 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';

/**
* Column definition
*
*/
class DataTableResponseColumn {
/**
* Create a DataTableResponseColumn.
* @member {string} [columnName] Name of the column
* @member {string} [dataType] Data type which looks like 'String' or
* 'Int32'.
* @member {string} [columnType] Column Type
*/
constructor() {
}

/**
* Defines the metadata of DataTableResponseColumn
*
* @returns {object} metadata of DataTableResponseColumn
*
*/
mapper() {
return {
required: false,
serializedName: 'DataTableResponseColumn',
type: {
name: 'Composite',
className: 'DataTableResponseColumn',
modelProperties: {
columnName: {
required: false,
serializedName: 'columnName',
type: {
name: 'String'
}
},
dataType: {
required: false,
serializedName: 'dataType',
type: {
name: 'String'
}
},
columnType: {
required: false,
serializedName: 'columnType',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = DataTableResponseColumn;
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*
* 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';

const models = require('./index');

/**
* Data Table which defines columns and raw row values
*
*/
class DataTableResponseObject {
/**
* Create a DataTableResponseObject.
* @member {string} [tableName] Name of the table
* @member {array} [columns] List of columns with data types
* @member {array} [rows] Raw row values
*/
constructor() {
}

/**
* Defines the metadata of DataTableResponseObject
*
* @returns {object} metadata of DataTableResponseObject
*
*/
mapper() {
return {
required: false,
serializedName: 'DataTableResponseObject',
type: {
name: 'Composite',
className: 'DataTableResponseObject',
modelProperties: {
tableName: {
required: false,
serializedName: 'tableName',
type: {
name: 'String'
}
},
columns: {
required: false,
serializedName: 'columns',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DataTableResponseColumnElementType',
type: {
name: 'Composite',
className: 'DataTableResponseColumn'
}
}
}
},
rows: {
required: false,
serializedName: 'rows',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ArrayElementType',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
}
}
};
}
}

module.exports = DataTableResponseObject;
81 changes: 81 additions & 0 deletions lib/services/websiteManagement2/lib/models/detectorInfo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/*
* 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';

/**
* Definition of Detector
*
*/
class DetectorInfo {
/**
* Create a DetectorInfo.
* @member {string} [description] Short description of the detector and its
* purpose
* @member {string} [category] Support Category
* @member {string} [subCategory] Support Sub Category
* @member {string} [supportTopicId] Support Topic Id
*/
constructor() {
}

/**
* Defines the metadata of DetectorInfo
*
* @returns {object} metadata of DetectorInfo
*
*/
mapper() {
return {
required: false,
serializedName: 'DetectorInfo',
type: {
name: 'Composite',
className: 'DetectorInfo',
modelProperties: {
description: {
required: false,
readOnly: true,
serializedName: 'description',
type: {
name: 'String'
}
},
category: {
required: false,
readOnly: true,
serializedName: 'category',
type: {
name: 'String'
}
},
subCategory: {
required: false,
readOnly: true,
serializedName: 'subCategory',
type: {
name: 'String'
}
},
supportTopicId: {
required: false,
readOnly: true,
serializedName: 'supportTopicId',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = DetectorInfo;
109 changes: 109 additions & 0 deletions lib/services/websiteManagement2/lib/models/detectorResponse.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
/*
* 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';

const models = require('./index');

/**
* Class representing Response from Detector
*
* @extends models['ProxyOnlyResource']
*/
class DetectorResponse extends models['ProxyOnlyResource'] {
/**
* Create a DetectorResponse.
* @member {object} [metadata] metadata for the detector
* @member {string} [metadata.description] Short description of the detector
* and its purpose
* @member {string} [metadata.category] Support Category
* @member {string} [metadata.subCategory] Support Sub Category
* @member {string} [metadata.supportTopicId] Support Topic Id
* @member {array} [dataset] Data Set
*/
constructor() {
super();
}

/**
* Defines the metadata of DetectorResponse
*
* @returns {object} metadata of DetectorResponse
*
*/
mapper() {
return {
required: false,
serializedName: 'DetectorResponse',
type: {
name: 'Composite',
className: 'DetectorResponse',
modelProperties: {
id: {
required: false,
readOnly: true,
serializedName: 'id',
type: {
name: 'String'
}
},
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
kind: {
required: false,
serializedName: 'kind',
type: {
name: 'String'
}
},
type: {
required: false,
readOnly: true,
serializedName: 'type',
type: {
name: 'String'
}
},
metadata: {
required: false,
serializedName: 'properties.metadata',
type: {
name: 'Composite',
className: 'DetectorInfo'
}
},
dataset: {
required: false,
serializedName: 'properties.dataset',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'DiagnosticDataElementType',
type: {
name: 'Composite',
className: 'DiagnosticData'
}
}
}
}
}
}
};
}
}

module.exports = DetectorResponse;
Loading

0 comments on commit 6744cc4

Please sign in to comment.