NcentralClient::customerListChildren()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 2
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
namespace Spinen\Ncentral;
4
5
use Phpro\SoapClient\Client;
6
use Phpro\SoapClient\Type\ResultInterface;
7
use Phpro\SoapClient\Exception\SoapException;
8
use Phpro\SoapClient\Type\RequestInterface;
9
use Spinen\Ncentral\Type\AccessGroupAdd;
10
use Spinen\Ncentral\Type\AccessGroupAddResponse;
11
use Spinen\Ncentral\Type\AccessGroupGet;
12
use Spinen\Ncentral\Type\AccessGroupGetResponse;
13
use Spinen\Ncentral\Type\AccessGroupList;
14
use Spinen\Ncentral\Type\AccessGroupListResponse;
15
use Spinen\Ncentral\Type\AcknowledgeNotification;
16
use Spinen\Ncentral\Type\AcknowledgeNotificationResponse;
17
use Spinen\Ncentral\Type\ActiveIssuesList;
18
use Spinen\Ncentral\Type\ActiveIssuesListResponse;
19
use Spinen\Ncentral\Type\CustomerAdd;
20
use Spinen\Ncentral\Type\CustomerAddResponse;
21
use Spinen\Ncentral\Type\CustomerDelete;
22
use Spinen\Ncentral\Type\CustomerDeleteResponse;
23
use Spinen\Ncentral\Type\CustomerList;
24
use Spinen\Ncentral\Type\CustomerListChildren;
25
use Spinen\Ncentral\Type\CustomerListChildrenResponse;
26
use Spinen\Ncentral\Type\CustomerListResponse;
27
use Spinen\Ncentral\Type\CustomerModify;
28
use Spinen\Ncentral\Type\CustomerModifyResponse;
29
use Spinen\Ncentral\Type\DeviceAssetInfoExportDevice;
30
use Spinen\Ncentral\Type\DeviceAssetInfoExportDeviceResponse;
31
use Spinen\Ncentral\Type\DeviceAssetInfoExportDeviceWithSettings;
32
use Spinen\Ncentral\Type\DeviceAssetInfoExportDeviceWithSettingsResponse;
33
use Spinen\Ncentral\Type\DeviceGet;
34
use Spinen\Ncentral\Type\DeviceGetResponse;
35
use Spinen\Ncentral\Type\DeviceGetStatus;
36
use Spinen\Ncentral\Type\DeviceGetStatusResponse;
37
use Spinen\Ncentral\Type\DeviceList;
38
use Spinen\Ncentral\Type\DeviceListResponse;
39
use Spinen\Ncentral\Type\DevicePropertyList;
40
use Spinen\Ncentral\Type\DevicePropertyListResponse;
41
use Spinen\Ncentral\Type\DevicePropertyModify;
42
use Spinen\Ncentral\Type\DevicePropertyModifyResponse;
43
use Spinen\Ncentral\Type\JobStatusList;
44
use Spinen\Ncentral\Type\JobStatusListResponse;
45
use Spinen\Ncentral\Type\LastExportReset;
46
use Spinen\Ncentral\Type\LastExportResetResponse;
47
use Spinen\Ncentral\Type\OrganizationPropertyList;
48
use Spinen\Ncentral\Type\OrganizationPropertyListResponse;
49
use Spinen\Ncentral\Type\OrganizationPropertyModify;
50
use Spinen\Ncentral\Type\OrganizationPropertyModifyResponse;
51
use Spinen\Ncentral\Type\PsaCreateCustomTicket;
52
use Spinen\Ncentral\Type\PsaCreateCustomTicketResponse;
53
use Spinen\Ncentral\Type\PsaCredentialsValidate;
54
use Spinen\Ncentral\Type\PsaCredentialsValidateResponse;
55
use Spinen\Ncentral\Type\PsaGetCustomTicket;
56
use Spinen\Ncentral\Type\PsaGetCustomTicketResponse;
57
use Spinen\Ncentral\Type\PsaReopenCustomTicket;
58
use Spinen\Ncentral\Type\PsaReopenCustomTicketResponse;
59
use Spinen\Ncentral\Type\PsaResolveCustomTicket;
60
use Spinen\Ncentral\Type\PsaResolveCustomTicketResponse;
61
use Spinen\Ncentral\Type\SOAdd;
62
use Spinen\Ncentral\Type\SOAddResponse;
63
use Spinen\Ncentral\Type\TaskPauseMonitoring;
64
use Spinen\Ncentral\Type\TaskPauseMonitoringResponse;
65
use Spinen\Ncentral\Type\TaskResumeMonitoring;
66
use Spinen\Ncentral\Type\TaskResumeMonitoringResponse;
67
use Spinen\Ncentral\Type\UserAdd;
68
use Spinen\Ncentral\Type\UserAddResponse;
69
use Spinen\Ncentral\Type\UserRoleAdd;
70
use Spinen\Ncentral\Type\UserRoleAddResponse;
71
use Spinen\Ncentral\Type\UserRoleGet;
72
use Spinen\Ncentral\Type\UserRoleGetResponse;
73
use Spinen\Ncentral\Type\UserRoleList;
74
use Spinen\Ncentral\Type\UserRoleListResponse;
75
use Spinen\Ncentral\Type\VersionInfoGet;
76
use Spinen\Ncentral\Type\VersionInfoGetResponse;
77
78
class NcentralClient extends Client
79
{
80
81
    /**
82
     * @param RequestInterface|ActiveIssuesList $parameters
83
     *
84
     * @return ResultInterface|ActiveIssuesListResponse
85
     * @throws SoapException
86
     */
87
    public function activeIssuesList(ActiveIssuesList $parameters) : ActiveIssuesListResponse
88
    {
89
        return $this->call('activeIssuesList', $parameters);
90
    }
91
92
    /**
93
     * @param RequestInterface|CustomerAdd $parameters
94
     *
95
     * @return ResultInterface|CustomerAddResponse
96
     * @throws SoapException
97
     */
98
    public function customerAdd(CustomerAdd $parameters): CustomerAddResponse
99
    {
100
        return $this->call('customerAdd', $parameters);
101
    }
102
103
    /**
104
     * @param RequestInterface|OrganizationPropertyList $parameters
105
     *
106
     * @return ResultInterface|OrganizationPropertyListResponse
107
     * @throws SoapException
108
     */
109
    public function organizationPropertyList(OrganizationPropertyList $parameters) : OrganizationPropertyListResponse
110
    {
111
        return $this->call('organizationPropertyList', $parameters);
112
    }
113
114
    /**
115
     * @param RequestInterface|AccessGroupAdd $parameters
116
     *
117
     * @return ResultInterface|AccessGroupAddResponse
118
     * @throws SoapException
119
     */
120
    public function accessGroupAdd(AccessGroupAdd $parameters) : AccessGroupAddResponse
121
    {
122
        return $this->call('accessGroupAdd', $parameters);
123
    }
124
125
    /**
126
     * @param RequestInterface|LastExportReset $parameters
127
     *
128
     * @return ResultInterface|LastExportResetResponse
129
     * @throws SoapException
130
     */
131
    public function lastExportReset(LastExportReset $parameters) : LastExportResetResponse
132
    {
133
        return $this->call('lastExportReset', $parameters);
134
    }
135
136
    /**
137
     * @param RequestInterface|UserRoleList $parameters
138
     *
139
     * @return ResultInterface|UserRoleListResponse
140
     * @throws SoapException
141
     */
142
    public function userRoleList(UserRoleList $parameters) : UserRoleListResponse
143
    {
144
        return $this->call('userRoleList', $parameters);
145
    }
146
147
    /**
148
     * @param RequestInterface|DeviceGetStatus $parameters
149
     *
150
     * @return ResultInterface|DeviceGetStatusResponse
151
     * @throws SoapException
152
     */
153
    public function deviceGetStatus(DeviceGetStatus $parameters) : DeviceGetStatusResponse
154
    {
155
        return $this->call('deviceGetStatus', $parameters);
156
    }
157
158
    /**
159
     * @param RequestInterface|PsaCreateCustomTicket $parameters
160
     *
161
     * @return ResultInterface|PsaCreateCustomTicketResponse
162
     * @throws SoapException
163
     */
164
    public function psaCreateCustomTicket(PsaCreateCustomTicket $parameters) : PsaCreateCustomTicketResponse
165
    {
166
        return $this->call('psaCreateCustomTicket', $parameters);
167
    }
168
169
    /**
170
     * @param RequestInterface|AccessGroupList $parameters
171
     *
172
     * @return ResultInterface|AccessGroupListResponse
173
     * @throws SoapException
174
     */
175
    public function accessGroupList(AccessGroupList $parameters) : AccessGroupListResponse
176
    {
177
        return $this->call('accessGroupList', $parameters);
178
    }
179
180
    /**
181
     * @param RequestInterface|SOAdd $parameters
182
     *
183
     * @return ResultInterface|SOAddResponse
184
     * @throws SoapException
185
     */
186
    public function sOAdd(SOAdd $parameters) : SOAddResponse
187
    {
188
        return $this->call('SOAdd', $parameters);
189
    }
190
191
    /**
192
     * @param RequestInterface|UserRoleAdd $parameters
193
     *
194
     * @return ResultInterface|UserRoleAddResponse
195
     * @throws SoapException
196
     */
197
    public function userRoleAdd(UserRoleAdd $parameters) : UserRoleAddResponse
198
    {
199
        return $this->call('userRoleAdd', $parameters);
200
    }
201
202
    /**
203
     * @param RequestInterface|CustomerDelete $parameters
204
     *
205
     * @return ResultInterface|CustomerDeleteResponse
206
     * @throws SoapException
207
     */
208
    public function customerDelete(CustomerDelete $parameters) : CustomerDeleteResponse
209
    {
210
        return $this->call('customerDelete', $parameters);
211
    }
212
213
    /**
214
     * @param RequestInterface|OrganizationPropertyModify $parameters
215
     *
216
     * @return ResultInterface|OrganizationPropertyModifyResponse
217
     * @throws SoapException
218
     */
219
    public function organizationPropertyModify(OrganizationPropertyModify $parameters) : OrganizationPropertyModifyResponse
220
    {
221
        return $this->call('organizationPropertyModify', $parameters);
222
    }
223
224
    /**
225
     * @param RequestInterface|DeviceList $parameters
226
     *
227
     * @return ResultInterface|DeviceListResponse
228
     * @throws SoapException
229
     */
230
    public function deviceList(DeviceList $parameters) : DeviceListResponse
231
    {
232
        return $this->call('deviceList', $parameters);
233
    }
234
235
    /**
236
     * @param RequestInterface|JobStatusList $parameters
237
     *
238
     * @return ResultInterface|JobStatusListResponse
239
     * @throws SoapException
240
     */
241
    public function jobStatusList(JobStatusList $parameters) : JobStatusListResponse
242
    {
243
        return $this->call('jobStatusList', $parameters);
244
    }
245
246
    /**
247
     * @param RequestInterface|CustomerModify $parameters
248
     *
249
     * @return ResultInterface|CustomerModifyResponse
250
     * @throws SoapException
251
     */
252
    public function customerModify(CustomerModify $parameters) : CustomerModifyResponse
253
    {
254
        return $this->call('customerModify', $parameters);
255
    }
256
257
    /**
258
     * @param RequestInterface|DeviceAssetInfoExportDevice $parameters
259
     *
260
     * @return ResultInterface|DeviceAssetInfoExportDeviceResponse
261
     * @throws SoapException
262
     */
263
    public function deviceAssetInfoExportDevice(DeviceAssetInfoExportDevice $parameters) : DeviceAssetInfoExportDeviceResponse
264
    {
265
        return $this->call('deviceAssetInfoExportDevice', $parameters);
266
    }
267
268
    /**
269
     * @param RequestInterface|UserRoleGet $parameters
270
     *
271
     * @return ResultInterface|UserRoleGetResponse
272
     * @throws SoapException
273
     */
274
    public function userRoleGet(UserRoleGet $parameters) : UserRoleGetResponse
275
    {
276
        return $this->call('userRoleGet', $parameters);
277
    }
278
279
    /**
280
     * @param RequestInterface|TaskPauseMonitoring $parameters
281
     *
282
     * @return ResultInterface|TaskPauseMonitoringResponse
283
     * @throws SoapException
284
     */
285
    public function taskPauseMonitoring(TaskPauseMonitoring $parameters) : TaskPauseMonitoringResponse
286
    {
287
        return $this->call('taskPauseMonitoring', $parameters);
288
    }
289
290
    /**
291
     * @param RequestInterface|PsaCredentialsValidate $parameters
292
     *
293
     * @return ResultInterface|PsaCredentialsValidateResponse
294
     * @throws SoapException
295
     */
296
    public function psaCredentialsValidate(PsaCredentialsValidate $parameters) : PsaCredentialsValidateResponse
297
    {
298
        return $this->call('psaCredentialsValidate', $parameters);
299
    }
300
301
    /**
302
     * @param RequestInterface|DeviceGet $parameters
303
     *
304
     * @return ResultInterface|DeviceGetResponse
305
     * @throws SoapException
306
     */
307
    public function deviceGet(DeviceGet $parameters) : DeviceGetResponse
308
    {
309
        return $this->call('deviceGet', $parameters);
310
    }
311
312
    /**
313
     * @param RequestInterface|PsaGetCustomTicket $parameters
314
     *
315
     * @return ResultInterface|PsaGetCustomTicketResponse
316
     * @throws SoapException
317
     */
318
    public function psaGetCustomTicket(PsaGetCustomTicket $parameters) : PsaGetCustomTicketResponse
319
    {
320
        return $this->call('psaGetCustomTicket', $parameters);
321
    }
322
323
    /**
324
     * @param RequestInterface|VersionInfoGet $parameters
325
     *
326
     * @return ResultInterface|VersionInfoGetResponse
327
     * @throws SoapException
328
     */
329
    public function versionInfoGet(VersionInfoGet $parameters) : VersionInfoGetResponse
330
    {
331
        return $this->call('versionInfoGet', $parameters);
332
    }
333
334
    /**
335
     * @param RequestInterface|AcknowledgeNotification $parameters
336
     *
337
     * @return ResultInterface|AcknowledgeNotificationResponse
338
     * @throws SoapException
339
     */
340
    public function acknowledgeNotification(AcknowledgeNotification $parameters) : AcknowledgeNotificationResponse
341
    {
342
        return $this->call('acknowledgeNotification', $parameters);
343
    }
344
345
    /**
346
     * @param RequestInterface|UserAdd $parameters
347
     *
348
     * @return ResultInterface|UserAddResponse
349
     * @throws SoapException
350
     */
351
    public function userAdd(UserAdd $parameters) : UserAddResponse
352
    {
353
        return $this->call('userAdd', $parameters);
354
    }
355
356
    /**
357
     * @param RequestInterface|DevicePropertyModify $parameters
358
     *
359
     * @return ResultInterface|DevicePropertyModifyResponse
360
     * @throws SoapException
361
     */
362
    public function devicePropertyModify(DevicePropertyModify $parameters) : DevicePropertyModifyResponse
363
    {
364
        return $this->call('devicePropertyModify', $parameters);
365
    }
366
367
    /**
368
     * @param RequestInterface|PsaReopenCustomTicket $parameters
369
     *
370
     * @return ResultInterface|PsaReopenCustomTicketResponse
371
     * @throws SoapException
372
     */
373
    public function psaReopenCustomTicket(PsaReopenCustomTicket $parameters) : PsaReopenCustomTicketResponse
374
    {
375
        return $this->call('psaReopenCustomTicket', $parameters);
376
    }
377
378
    /**
379
     * @param RequestInterface|TaskResumeMonitoring $parameters
380
     *
381
     * @return ResultInterface|TaskResumeMonitoringResponse
382
     * @throws SoapException
383
     */
384
    public function taskResumeMonitoring(TaskResumeMonitoring $parameters) : TaskResumeMonitoringResponse
385
    {
386
        return $this->call('taskResumeMonitoring', $parameters);
387
    }
388
389
    /**
390
     * @param RequestInterface|CustomerListChildren $parameters
391
     *
392
     * @return ResultInterface|CustomerListChildrenResponse
393
     * @throws SoapException
394
     */
395
    public function customerListChildren(CustomerListChildren $parameters) : CustomerListChildrenResponse
396
    {
397
        return $this->call('customerListChildren', $parameters);
398
    }
399
400
    /**
401
     * @param RequestInterface|AccessGroupGet $parameters
402
     *
403
     * @return ResultInterface|AccessGroupGetResponse
404
     * @throws SoapException
405
     */
406
    public function accessGroupGet(AccessGroupGet $parameters) : AccessGroupGetResponse
407
    {
408
        return $this->call('accessGroupGet', $parameters);
409
    }
410
411
    /**
412
     * @param RequestInterface|DeviceAssetInfoExportDeviceWithSettings $parameters
413
     *
414
     * @return ResultInterface|DeviceAssetInfoExportDeviceWithSettingsResponse
415
     * @throws SoapException
416
     */
417
    public function deviceAssetInfoExportDeviceWithSettings(DeviceAssetInfoExportDeviceWithSettings $parameters) : DeviceAssetInfoExportDeviceWithSettingsResponse
418
    {
419
        return $this->call('deviceAssetInfoExportDeviceWithSettings', $parameters);
420
    }
421
422
    /**
423
     * @param RequestInterface|DevicePropertyList $parameters
424
     *
425
     * @return ResultInterface|DevicePropertyListResponse
426
     * @throws SoapException
427
     */
428
    public function devicePropertyList(DevicePropertyList $parameters) : DevicePropertyListResponse
429
    {
430
        return $this->call('devicePropertyList', $parameters);
431
    }
432
433
    /**
434
     * @param RequestInterface|CustomerList $parameters
435
     *
436
     * @return ResultInterface|CustomerListResponse
437
     * @throws SoapException
438
     */
439
    public function customerList(CustomerList $parameters) : CustomerListResponse
440
    {
441
        return $this->call('customerList', $parameters);
442
    }
443
444
    /**
445
     * @param RequestInterface|PsaResolveCustomTicket $parameters
446
     *
447
     * @return ResultInterface|PsaResolveCustomTicketResponse
448
     * @throws SoapException
449
     */
450
    public function psaResolveCustomTicket(PsaResolveCustomTicket $parameters) : PsaResolveCustomTicketResponse
451
    {
452
        return $this->call('psaResolveCustomTicket', $parameters);
453
    }
454
}
455