File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 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 ;
You can’t perform that action at this time.
0 commit comments