Merge pull request #8 from Microsoft/sharad/bugfix

added missing files
This commit is contained in:
Sharad Agarwal 2016-06-14 10:39:08 -07:00 коммит произвёл GitHub
Родитель 3c0c08b593 33c08296ea
Коммит f336395ae2
4 изменённых файлов: 217 добавлений и 0 удалений

Просмотреть файл

@ -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.
* <autogenerated> This file was generated using AutoRest. </autogenerated>
*/
'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;

Просмотреть файл

@ -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.
* <autogenerated> This file was generated using AutoRest. </autogenerated>
*/
'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;

Просмотреть файл

@ -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.
* <autogenerated> This file was generated using AutoRest. </autogenerated>
*/
'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;

Просмотреть файл

@ -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.
* <autogenerated> This file was generated using AutoRest. </autogenerated>
*/
'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;