-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsocialPlusClient.js
More file actions
88 lines (78 loc) · 3.37 KB
/
socialPlusClient.js
File metadata and controls
88 lines (78 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/*
* 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>
*/
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
'use strict';
var util = require('util');
var msRest = require('ms-rest');
var ServiceClient = msRest.ServiceClient;
var models = require('./models');
var operations = require('./operations');
/**
* @class
* Initializes a new instance of the SocialPlusClient class.
* @constructor
*
* @param {string} [baseUri] - The base URI of the service.
*
* @param {object} [options] - The parameter options
*
* @param {Array} [options.filters] - Filters to be added to the request pipeline
*
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
*/
function SocialPlusClient(baseUri, options) {
if (!options) options = {};
SocialPlusClient['super_'].call(this, null, options);
this.baseUri = baseUri;
if (!this.baseUri) {
this.baseUri = 'https://api.embeddedsocial.microsoft.com';
}
this.blobs = new operations.Blobs(this);
this.builds = new operations.Builds(this);
this.comments = new operations.Comments(this);
this.topicComments = new operations.TopicComments(this);
this.hashtags = new operations.Hashtags(this);
this.images = new operations.Images(this);
this.topicLikes = new operations.TopicLikes(this);
this.replyLikes = new operations.ReplyLikes(this);
this.commentLikes = new operations.CommentLikes(this);
this.myNotifications = new operations.MyNotifications(this);
this.myPins = new operations.MyPins(this);
this.myPushRegistrations = new operations.MyPushRegistrations(this);
this.replies = new operations.Replies(this);
this.commentReplies = new operations.CommentReplies(this);
this.userReports = new operations.UserReports(this);
this.topicReports = new operations.TopicReports(this);
this.replyReports = new operations.ReplyReports(this);
this.commentReports = new operations.CommentReports(this);
this.search = new operations.Search(this);
this.sessions = new operations.Sessions(this);
this.requestTokens = new operations.RequestTokens(this);
this.userFollowers = new operations.UserFollowers(this);
this.myPendingUsers = new operations.MyPendingUsers(this);
this.myFollowers = new operations.MyFollowers(this);
this.myFollowing = new operations.MyFollowing(this);
this.myBlockedUsers = new operations.MyBlockedUsers(this);
this.userFollowing = new operations.UserFollowing(this);
this.topics = new operations.Topics(this);
this.myTopics = new operations.MyTopics(this);
this.myAppFollowing = new operations.MyAppFollowing(this);
this.myApps = new operations.MyApps(this);
this.myLikes = new operations.MyLikes(this);
this.myLinkedAccounts = new operations.MyLinkedAccounts(this);
this.users = new operations.Users(this);
this.userTopics = new operations.UserTopics(this);
this.models = models;
msRest.addSerializationMixin(this);
}
util.inherits(SocialPlusClient, ServiceClient);
module.exports = SocialPlusClient;