From 33c08296ea4fcc3a4593556e1d8391afa47c3056 Mon Sep 17 00:00:00 2001 From: Sharad Agarwal Date: Tue, 14 Jun 2016 10:38:32 -0700 Subject: [PATCH] added missing files --- models/deleteTopicNameRequest.js | 48 +++++++++++++++++++++++ models/getTopicNameResponse.js | 46 ++++++++++++++++++++++ models/postTopicNameRequest.js | 66 ++++++++++++++++++++++++++++++++ models/putTopicNameRequest.js | 57 +++++++++++++++++++++++++++ 4 files changed, 217 insertions(+) create mode 100644 models/deleteTopicNameRequest.js create mode 100644 models/getTopicNameResponse.js create mode 100644 models/postTopicNameRequest.js create mode 100644 models/putTopicNameRequest.js diff --git a/models/deleteTopicNameRequest.js b/models/deleteTopicNameRequest.js new file mode 100644 index 0000000..2ea470d --- /dev/null +++ b/models/deleteTopicNameRequest.js @@ -0,0 +1,48 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under + * the MIT License. See LICENSE in the project root for license information. + * This file was generated using AutoRest. + */ + +'use strict'; + +/** + * @class + * Initializes a new instance of the DeleteTopicNameRequest class. + * @constructor + * Request to delete a topic name + * @member {string} publisherType Gets or sets publisher type. Possible values + * include: 'User', 'App' + * + */ +function DeleteTopicNameRequest() { +} + +/** + * Defines the metadata of DeleteTopicNameRequest + * + * @returns {object} metadata of DeleteTopicNameRequest + * + */ +DeleteTopicNameRequest.prototype.mapper = function () { + return { + required: false, + serializedName: 'DeleteTopicNameRequest', + type: { + name: 'Composite', + className: 'DeleteTopicNameRequest', + modelProperties: { + publisherType: { + required: true, + serializedName: 'publisherType', + type: { + name: 'Enum', + allowedValues: [ 'User', 'App' ] + } + } + } + } + }; +}; + +module.exports = DeleteTopicNameRequest; diff --git a/models/getTopicNameResponse.js b/models/getTopicNameResponse.js new file mode 100644 index 0000000..b62f03f --- /dev/null +++ b/models/getTopicNameResponse.js @@ -0,0 +1,46 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under + * the MIT License. See LICENSE in the project root for license information. + * This file was generated using AutoRest. + */ + +'use strict'; + +/** + * @class + * Initializes a new instance of the GetTopicNameResponse class. + * @constructor + * Response from get topic name + * @member {string} topicHandle Gets or sets topic handle of the response + * + */ +function GetTopicNameResponse() { +} + +/** + * Defines the metadata of GetTopicNameResponse + * + * @returns {object} metadata of GetTopicNameResponse + * + */ +GetTopicNameResponse.prototype.mapper = function () { + return { + required: false, + serializedName: 'GetTopicNameResponse', + type: { + name: 'Composite', + className: 'GetTopicNameResponse', + modelProperties: { + topicHandle: { + required: true, + serializedName: 'topicHandle', + type: { + name: 'String' + } + } + } + } + }; +}; + +module.exports = GetTopicNameResponse; diff --git a/models/postTopicNameRequest.js b/models/postTopicNameRequest.js new file mode 100644 index 0000000..763c5ca --- /dev/null +++ b/models/postTopicNameRequest.js @@ -0,0 +1,66 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under + * the MIT License. See LICENSE in the project root for license information. + * This file was generated using AutoRest. + */ + +'use strict'; + +/** + * @class + * Initializes a new instance of the PostTopicNameRequest class. + * @constructor + * Post topic name request + * @member {string} publisherType Gets or sets publisher type. Possible values + * include: 'User', 'App' + * + * @member {string} topicName Gets or sets topic name + * + * @member {string} topicHandle Gets or sets topic handle + * + */ +function PostTopicNameRequest() { +} + +/** + * Defines the metadata of PostTopicNameRequest + * + * @returns {object} metadata of PostTopicNameRequest + * + */ +PostTopicNameRequest.prototype.mapper = function () { + return { + required: false, + serializedName: 'PostTopicNameRequest', + type: { + name: 'Composite', + className: 'PostTopicNameRequest', + modelProperties: { + publisherType: { + required: true, + serializedName: 'publisherType', + type: { + name: 'Enum', + allowedValues: [ 'User', 'App' ] + } + }, + topicName: { + required: true, + serializedName: 'topicName', + type: { + name: 'String' + } + }, + topicHandle: { + required: true, + serializedName: 'topicHandle', + type: { + name: 'String' + } + } + } + } + }; +}; + +module.exports = PostTopicNameRequest; diff --git a/models/putTopicNameRequest.js b/models/putTopicNameRequest.js new file mode 100644 index 0000000..c4ac2e5 --- /dev/null +++ b/models/putTopicNameRequest.js @@ -0,0 +1,57 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under + * the MIT License. See LICENSE in the project root for license information. + * This file was generated using AutoRest. + */ + +'use strict'; + +/** + * @class + * Initializes a new instance of the PutTopicNameRequest class. + * @constructor + * Request to put (update) a topic name + * @member {string} publisherType Gets or sets publisher type. Possible values + * include: 'User', 'App' + * + * @member {string} topicHandle Gets or sets topic handle + * + */ +function PutTopicNameRequest() { +} + +/** + * Defines the metadata of PutTopicNameRequest + * + * @returns {object} metadata of PutTopicNameRequest + * + */ +PutTopicNameRequest.prototype.mapper = function () { + return { + required: false, + serializedName: 'PutTopicNameRequest', + type: { + name: 'Composite', + className: 'PutTopicNameRequest', + modelProperties: { + publisherType: { + required: true, + serializedName: 'publisherType', + type: { + name: 'Enum', + allowedValues: [ 'User', 'App' ] + } + }, + topicHandle: { + required: true, + serializedName: 'topicHandle', + type: { + name: 'String' + } + } + } + } + }; +}; + +module.exports = PutTopicNameRequest;