Skip to content

Commit f336395

Browse files
Merge pull request #8 from Microsoft/sharad/bugfix
added missing files
2 parents 3c0c08b + 33c0829 commit f336395

4 files changed

Lines changed: 217 additions & 0 deletions

File tree

models/deleteTopicNameRequest.js

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under
3+
* the MIT License. See LICENSE in the project root for license information.
4+
* <autogenerated> This file was generated using AutoRest. </autogenerated>
5+
*/
6+
7+
'use strict';
8+
9+
/**
10+
* @class
11+
* Initializes a new instance of the DeleteTopicNameRequest class.
12+
* @constructor
13+
* Request to delete a topic name
14+
* @member {string} publisherType Gets or sets publisher type. Possible values
15+
* include: 'User', 'App'
16+
*
17+
*/
18+
function DeleteTopicNameRequest() {
19+
}
20+
21+
/**
22+
* Defines the metadata of DeleteTopicNameRequest
23+
*
24+
* @returns {object} metadata of DeleteTopicNameRequest
25+
*
26+
*/
27+
DeleteTopicNameRequest.prototype.mapper = function () {
28+
return {
29+
required: false,
30+
serializedName: 'DeleteTopicNameRequest',
31+
type: {
32+
name: 'Composite',
33+
className: 'DeleteTopicNameRequest',
34+
modelProperties: {
35+
publisherType: {
36+
required: true,
37+
serializedName: 'publisherType',
38+
type: {
39+
name: 'Enum',
40+
allowedValues: [ 'User', 'App' ]
41+
}
42+
}
43+
}
44+
}
45+
};
46+
};
47+
48+
module.exports = DeleteTopicNameRequest;

models/getTopicNameResponse.js

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under
3+
* the MIT License. See LICENSE in the project root for license information.
4+
* <autogenerated> This file was generated using AutoRest. </autogenerated>
5+
*/
6+
7+
'use strict';
8+
9+
/**
10+
* @class
11+
* Initializes a new instance of the GetTopicNameResponse class.
12+
* @constructor
13+
* Response from get topic name
14+
* @member {string} topicHandle Gets or sets topic handle of the response
15+
*
16+
*/
17+
function GetTopicNameResponse() {
18+
}
19+
20+
/**
21+
* Defines the metadata of GetTopicNameResponse
22+
*
23+
* @returns {object} metadata of GetTopicNameResponse
24+
*
25+
*/
26+
GetTopicNameResponse.prototype.mapper = function () {
27+
return {
28+
required: false,
29+
serializedName: 'GetTopicNameResponse',
30+
type: {
31+
name: 'Composite',
32+
className: 'GetTopicNameResponse',
33+
modelProperties: {
34+
topicHandle: {
35+
required: true,
36+
serializedName: 'topicHandle',
37+
type: {
38+
name: 'String'
39+
}
40+
}
41+
}
42+
}
43+
};
44+
};
45+
46+
module.exports = GetTopicNameResponse;

models/postTopicNameRequest.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under
3+
* the MIT License. See LICENSE in the project root for license information.
4+
* <autogenerated> This file was generated using AutoRest. </autogenerated>
5+
*/
6+
7+
'use strict';
8+
9+
/**
10+
* @class
11+
* Initializes a new instance of the PostTopicNameRequest class.
12+
* @constructor
13+
* Post topic name request
14+
* @member {string} publisherType Gets or sets publisher type. Possible values
15+
* include: 'User', 'App'
16+
*
17+
* @member {string} topicName Gets or sets topic name
18+
*
19+
* @member {string} topicHandle Gets or sets topic handle
20+
*
21+
*/
22+
function PostTopicNameRequest() {
23+
}
24+
25+
/**
26+
* Defines the metadata of PostTopicNameRequest
27+
*
28+
* @returns {object} metadata of PostTopicNameRequest
29+
*
30+
*/
31+
PostTopicNameRequest.prototype.mapper = function () {
32+
return {
33+
required: false,
34+
serializedName: 'PostTopicNameRequest',
35+
type: {
36+
name: 'Composite',
37+
className: 'PostTopicNameRequest',
38+
modelProperties: {
39+
publisherType: {
40+
required: true,
41+
serializedName: 'publisherType',
42+
type: {
43+
name: 'Enum',
44+
allowedValues: [ 'User', 'App' ]
45+
}
46+
},
47+
topicName: {
48+
required: true,
49+
serializedName: 'topicName',
50+
type: {
51+
name: 'String'
52+
}
53+
},
54+
topicHandle: {
55+
required: true,
56+
serializedName: 'topicHandle',
57+
type: {
58+
name: 'String'
59+
}
60+
}
61+
}
62+
}
63+
};
64+
};
65+
66+
module.exports = PostTopicNameRequest;

models/putTopicNameRequest.js

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under
3+
* the MIT License. See LICENSE in the project root for license information.
4+
* <autogenerated> This file was generated using AutoRest. </autogenerated>
5+
*/
6+
7+
'use strict';
8+
9+
/**
10+
* @class
11+
* Initializes a new instance of the PutTopicNameRequest class.
12+
* @constructor
13+
* Request to put (update) a topic name
14+
* @member {string} publisherType Gets or sets publisher type. Possible values
15+
* include: 'User', 'App'
16+
*
17+
* @member {string} topicHandle Gets or sets topic handle
18+
*
19+
*/
20+
function PutTopicNameRequest() {
21+
}
22+
23+
/**
24+
* Defines the metadata of PutTopicNameRequest
25+
*
26+
* @returns {object} metadata of PutTopicNameRequest
27+
*
28+
*/
29+
PutTopicNameRequest.prototype.mapper = function () {
30+
return {
31+
required: false,
32+
serializedName: 'PutTopicNameRequest',
33+
type: {
34+
name: 'Composite',
35+
className: 'PutTopicNameRequest',
36+
modelProperties: {
37+
publisherType: {
38+
required: true,
39+
serializedName: 'publisherType',
40+
type: {
41+
name: 'Enum',
42+
allowedValues: [ 'User', 'App' ]
43+
}
44+
},
45+
topicHandle: {
46+
required: true,
47+
serializedName: 'topicHandle',
48+
type: {
49+
name: 'String'
50+
}
51+
}
52+
}
53+
}
54+
};
55+
};
56+
57+
module.exports = PutTopicNameRequest;

0 commit comments

Comments
 (0)