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 PostFollowingTopicRequest class.
12+ * @constructor
13+ * Request to follow a topic
14+ * @member {string} topicHandle Gets or sets topic handle
15+ *
16+ */
17+ function PostFollowingTopicRequest ( ) {
18+ }
19+
20+ /**
21+ * Defines the metadata of PostFollowingTopicRequest
22+ *
23+ * @returns {object } metadata of PostFollowingTopicRequest
24+ *
25+ */
26+ PostFollowingTopicRequest . prototype . mapper = function ( ) {
27+ return {
28+ required : false ,
29+ serializedName : 'PostFollowingTopicRequest' ,
30+ type : {
31+ name : 'Composite' ,
32+ className : 'PostFollowingTopicRequest' ,
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 = PostFollowingTopicRequest ;
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 PostFollowingUserRequest class.
12+ * @constructor
13+ * Request to follow a user
14+ * @member {string} userHandle Gets or sets user handle
15+ *
16+ */
17+ function PostFollowingUserRequest ( ) {
18+ }
19+
20+ /**
21+ * Defines the metadata of PostFollowingUserRequest
22+ *
23+ * @returns {object } metadata of PostFollowingUserRequest
24+ *
25+ */
26+ PostFollowingUserRequest . prototype . mapper = function ( ) {
27+ return {
28+ required : false ,
29+ serializedName : 'PostFollowingUserRequest' ,
30+ type : {
31+ name : 'Composite' ,
32+ className : 'PostFollowingUserRequest' ,
33+ modelProperties : {
34+ userHandle : {
35+ required : true ,
36+ serializedName : 'userHandle' ,
37+ type : {
38+ name : 'String'
39+ }
40+ }
41+ }
42+ }
43+ } ;
44+ } ;
45+
46+ module . exports = PostFollowingUserRequest ;
You can’t perform that action at this time.
0 commit comments