| 1 |
|
| 2 |
|
| 3 |
package amimodels |
| 4 |
|
| 5 |
|
| 6 |
type SKINNYdevicesAction struct { |
| 7 |
|
| 8 |
ActionID string |
| 9 |
} |
| 10 |
|
| 11 |
func (SKINNYdevicesAction) ActionTypeName() string { |
| 12 |
return "SKINNYdevices" |
| 13 |
} |
| 14 |
func (a SKINNYdevicesAction) GetActionID() string { |
| 15 |
return a.ActionID |
| 16 |
} |
| 17 |
func (a *SKINNYdevicesAction) SetActionID(actionID string) { |
| 18 |
a.ActionID = actionID |
| 19 |
} |
| 20 |
func (cli *Client) SKINNYdevices(opts ...RequestOption) (res *Response, err error) { |
| 21 |
req := &SKINNYdevicesAction{} |
| 22 |
res = &Response{} |
| 23 |
return res, cli.Action(req, res, opts...) |
| 24 |
} |
| 25 |
|
| 26 |
|
| 27 |
type SKINNYshowdeviceAction struct { |
| 28 |
|
| 29 |
ActionID string |
| 30 |
|
| 31 |
Device string |
| 32 |
} |
| 33 |
|
| 34 |
func (SKINNYshowdeviceAction) ActionTypeName() string { |
| 35 |
return "SKINNYshowdevice" |
| 36 |
} |
| 37 |
func (a SKINNYshowdeviceAction) GetActionID() string { |
| 38 |
return a.ActionID |
| 39 |
} |
| 40 |
func (a *SKINNYshowdeviceAction) SetActionID(actionID string) { |
| 41 |
a.ActionID = actionID |
| 42 |
} |
| 43 |
func (cli *Client) SKINNYshowdevice(device string, opts ...RequestOption) (res *Response, err error) { |
| 44 |
req := &SKINNYshowdeviceAction{ |
| 45 |
Device: device, |
| 46 |
} |
| 47 |
res = &Response{} |
| 48 |
return res, cli.Action(req, res, opts...) |
| 49 |
} |
| 50 |
|
| 51 |
|
| 52 |
type SKINNYlinesAction struct { |
| 53 |
|
| 54 |
ActionID string |
| 55 |
} |
| 56 |
|
| 57 |
func (SKINNYlinesAction) ActionTypeName() string { |
| 58 |
return "SKINNYlines" |
| 59 |
} |
| 60 |
func (a SKINNYlinesAction) GetActionID() string { |
| 61 |
return a.ActionID |
| 62 |
} |
| 63 |
func (a *SKINNYlinesAction) SetActionID(actionID string) { |
| 64 |
a.ActionID = actionID |
| 65 |
} |
| 66 |
func (cli *Client) SKINNYlines(opts ...RequestOption) (res *Response, err error) { |
| 67 |
req := &SKINNYlinesAction{} |
| 68 |
res = &Response{} |
| 69 |
return res, cli.Action(req, res, opts...) |
| 70 |
} |
| 71 |
|
| 72 |
|
| 73 |
type SKINNYshowlineAction struct { |
| 74 |
|
| 75 |
ActionID string |
| 76 |
|
| 77 |
Line string |
| 78 |
} |
| 79 |
|
| 80 |
func (SKINNYshowlineAction) ActionTypeName() string { |
| 81 |
return "SKINNYshowline" |
| 82 |
} |
| 83 |
func (a SKINNYshowlineAction) GetActionID() string { |
| 84 |
return a.ActionID |
| 85 |
} |
| 86 |
func (a *SKINNYshowlineAction) SetActionID(actionID string) { |
| 87 |
a.ActionID = actionID |
| 88 |
} |
| 89 |
func (cli *Client) SKINNYshowline(line string, opts ...RequestOption) (res *Response, err error) { |
| 90 |
req := &SKINNYshowlineAction{ |
| 91 |
Line: line, |
| 92 |
} |
| 93 |
res = &Response{} |
| 94 |
return res, cli.Action(req, res, opts...) |
| 95 |
} |
| 96 |
|
| 97 |
|
| 98 |
type IAXpeersAction struct { |
| 99 |
|
| 100 |
ActionID string |
| 101 |
} |
| 102 |
|
| 103 |
func (IAXpeersAction) ActionTypeName() string { |
| 104 |
return "IAXpeers" |
| 105 |
} |
| 106 |
func (a IAXpeersAction) GetActionID() string { |
| 107 |
return a.ActionID |
| 108 |
} |
| 109 |
func (a *IAXpeersAction) SetActionID(actionID string) { |
| 110 |
a.ActionID = actionID |
| 111 |
} |
| 112 |
func (cli *Client) IAXpeers(opts ...RequestOption) (res *Response, err error) { |
| 113 |
req := &IAXpeersAction{} |
| 114 |
res = &Response{} |
| 115 |
return res, cli.Action(req, res, opts...) |
| 116 |
} |
| 117 |
|
| 118 |
|
| 119 |
type IAXpeerlistAction struct { |
| 120 |
|
| 121 |
ActionID string |
| 122 |
} |
| 123 |
|
| 124 |
func (IAXpeerlistAction) ActionTypeName() string { |
| 125 |
return "IAXpeerlist" |
| 126 |
} |
| 127 |
func (a IAXpeerlistAction) GetActionID() string { |
| 128 |
return a.ActionID |
| 129 |
} |
| 130 |
func (a *IAXpeerlistAction) SetActionID(actionID string) { |
| 131 |
a.ActionID = actionID |
| 132 |
} |
| 133 |
func (cli *Client) IAXpeerlist(opts ...RequestOption) (res *Response, err error) { |
| 134 |
req := &IAXpeerlistAction{} |
| 135 |
res = &Response{} |
| 136 |
return res, cli.Action(req, res, opts...) |
| 137 |
} |
| 138 |
|
| 139 |
|
| 140 |
type IAXnetstatsAction struct { |
| 141 |
|
| 142 |
ActionID string |
| 143 |
} |
| 144 |
|
| 145 |
func (IAXnetstatsAction) ActionTypeName() string { |
| 146 |
return "IAXnetstats" |
| 147 |
} |
| 148 |
func (a IAXnetstatsAction) GetActionID() string { |
| 149 |
return a.ActionID |
| 150 |
} |
| 151 |
func (a *IAXnetstatsAction) SetActionID(actionID string) { |
| 152 |
a.ActionID = actionID |
| 153 |
} |
| 154 |
func (cli *Client) IAXnetstats(opts ...RequestOption) (res *Response, err error) { |
| 155 |
req := &IAXnetstatsAction{} |
| 156 |
res = &Response{} |
| 157 |
return res, cli.Action(req, res, opts...) |
| 158 |
} |
| 159 |
|
| 160 |
|
| 161 |
type IAXregistryAction struct { |
| 162 |
|
| 163 |
ActionID string |
| 164 |
} |
| 165 |
|
| 166 |
func (IAXregistryAction) ActionTypeName() string { |
| 167 |
return "IAXregistry" |
| 168 |
} |
| 169 |
func (a IAXregistryAction) GetActionID() string { |
| 170 |
return a.ActionID |
| 171 |
} |
| 172 |
func (a *IAXregistryAction) SetActionID(actionID string) { |
| 173 |
a.ActionID = actionID |
| 174 |
} |
| 175 |
func (cli *Client) IAXregistry(opts ...RequestOption) (res *Response, err error) { |
| 176 |
req := &IAXregistryAction{} |
| 177 |
res = &Response{} |
| 178 |
return res, cli.Action(req, res, opts...) |
| 179 |
} |
| 180 |
|
| 181 |
|
| 182 |
type DAHDITransferAction struct { |
| 183 |
|
| 184 |
ActionID string |
| 185 |
|
| 186 |
DAHDIChannel string |
| 187 |
} |
| 188 |
|
| 189 |
func (DAHDITransferAction) ActionTypeName() string { |
| 190 |
return "DAHDITransfer" |
| 191 |
} |
| 192 |
func (a DAHDITransferAction) GetActionID() string { |
| 193 |
return a.ActionID |
| 194 |
} |
| 195 |
func (a *DAHDITransferAction) SetActionID(actionID string) { |
| 196 |
a.ActionID = actionID |
| 197 |
} |
| 198 |
func (cli *Client) DAHDITransfer(dAHDIChannel string, opts ...RequestOption) (res *Response, err error) { |
| 199 |
req := &DAHDITransferAction{ |
| 200 |
DAHDIChannel: dAHDIChannel, |
| 201 |
} |
| 202 |
res = &Response{} |
| 203 |
return res, cli.Action(req, res, opts...) |
| 204 |
} |
| 205 |
|
| 206 |
|
| 207 |
type DAHDIHangupAction struct { |
| 208 |
|
| 209 |
ActionID string |
| 210 |
|
| 211 |
DAHDIChannel string |
| 212 |
} |
| 213 |
|
| 214 |
func (DAHDIHangupAction) ActionTypeName() string { |
| 215 |
return "DAHDIHangup" |
| 216 |
} |
| 217 |
func (a DAHDIHangupAction) GetActionID() string { |
| 218 |
return a.ActionID |
| 219 |
} |
| 220 |
func (a *DAHDIHangupAction) SetActionID(actionID string) { |
| 221 |
a.ActionID = actionID |
| 222 |
} |
| 223 |
func (cli *Client) DAHDIHangup(dAHDIChannel string, opts ...RequestOption) (res *Response, err error) { |
| 224 |
req := &DAHDIHangupAction{ |
| 225 |
DAHDIChannel: dAHDIChannel, |
| 226 |
} |
| 227 |
res = &Response{} |
| 228 |
return res, cli.Action(req, res, opts...) |
| 229 |
} |
| 230 |
|
| 231 |
|
| 232 |
type DAHDIDialOffhookAction struct { |
| 233 |
|
| 234 |
ActionID string |
| 235 |
|
| 236 |
DAHDIChannel string |
| 237 |
|
| 238 |
Number string |
| 239 |
} |
| 240 |
|
| 241 |
func (DAHDIDialOffhookAction) ActionTypeName() string { |
| 242 |
return "DAHDIDialOffhook" |
| 243 |
} |
| 244 |
func (a DAHDIDialOffhookAction) GetActionID() string { |
| 245 |
return a.ActionID |
| 246 |
} |
| 247 |
func (a *DAHDIDialOffhookAction) SetActionID(actionID string) { |
| 248 |
a.ActionID = actionID |
| 249 |
} |
| 250 |
func (cli *Client) DAHDIDialOffhook(dAHDIChannel string, number string, opts ...RequestOption) (res *Response, err error) { |
| 251 |
req := &DAHDIDialOffhookAction{ |
| 252 |
DAHDIChannel: dAHDIChannel, |
| 253 |
Number: number, |
| 254 |
} |
| 255 |
res = &Response{} |
| 256 |
return res, cli.Action(req, res, opts...) |
| 257 |
} |
| 258 |
|
| 259 |
|
| 260 |
type DAHDIDNDonAction struct { |
| 261 |
|
| 262 |
ActionID string |
| 263 |
|
| 264 |
DAHDIChannel string |
| 265 |
} |
| 266 |
|
| 267 |
func (DAHDIDNDonAction) ActionTypeName() string { |
| 268 |
return "DAHDIDNDon" |
| 269 |
} |
| 270 |
func (a DAHDIDNDonAction) GetActionID() string { |
| 271 |
return a.ActionID |
| 272 |
} |
| 273 |
func (a *DAHDIDNDonAction) SetActionID(actionID string) { |
| 274 |
a.ActionID = actionID |
| 275 |
} |
| 276 |
func (cli *Client) DAHDIDNDon(dAHDIChannel string, opts ...RequestOption) (res *Response, err error) { |
| 277 |
req := &DAHDIDNDonAction{ |
| 278 |
DAHDIChannel: dAHDIChannel, |
| 279 |
} |
| 280 |
res = &Response{} |
| 281 |
return res, cli.Action(req, res, opts...) |
| 282 |
} |
| 283 |
|
| 284 |
|
| 285 |
type DAHDIDNDoffAction struct { |
| 286 |
|
| 287 |
ActionID string |
| 288 |
|
| 289 |
DAHDIChannel string |
| 290 |
} |
| 291 |
|
| 292 |
func (DAHDIDNDoffAction) ActionTypeName() string { |
| 293 |
return "DAHDIDNDoff" |
| 294 |
} |
| 295 |
func (a DAHDIDNDoffAction) GetActionID() string { |
| 296 |
return a.ActionID |
| 297 |
} |
| 298 |
func (a *DAHDIDNDoffAction) SetActionID(actionID string) { |
| 299 |
a.ActionID = actionID |
| 300 |
} |
| 301 |
func (cli *Client) DAHDIDNDoff(dAHDIChannel string, opts ...RequestOption) (res *Response, err error) { |
| 302 |
req := &DAHDIDNDoffAction{ |
| 303 |
DAHDIChannel: dAHDIChannel, |
| 304 |
} |
| 305 |
res = &Response{} |
| 306 |
return res, cli.Action(req, res, opts...) |
| 307 |
} |
| 308 |
|
| 309 |
|
| 310 |
type DAHDIShowChannelsAction struct { |
| 311 |
|
| 312 |
ActionID string |
| 313 |
|
| 314 |
DAHDIChannel string |
| 315 |
} |
| 316 |
|
| 317 |
func (DAHDIShowChannelsAction) ActionTypeName() string { |
| 318 |
return "DAHDIShowChannels" |
| 319 |
} |
| 320 |
func (a DAHDIShowChannelsAction) GetActionID() string { |
| 321 |
return a.ActionID |
| 322 |
} |
| 323 |
func (a *DAHDIShowChannelsAction) SetActionID(actionID string) { |
| 324 |
a.ActionID = actionID |
| 325 |
} |
| 326 |
func (cli *Client) DAHDIShowChannels(opts ...RequestOption) (res *Response, err error) { |
| 327 |
req := &DAHDIShowChannelsAction{} |
| 328 |
res = &Response{} |
| 329 |
return res, cli.Action(req, res, opts...) |
| 330 |
} |
| 331 |
|
| 332 |
|
| 333 |
type DAHDIRestartAction struct { |
| 334 |
|
| 335 |
ActionID string |
| 336 |
} |
| 337 |
|
| 338 |
func (DAHDIRestartAction) ActionTypeName() string { |
| 339 |
return "DAHDIRestart" |
| 340 |
} |
| 341 |
func (a DAHDIRestartAction) GetActionID() string { |
| 342 |
return a.ActionID |
| 343 |
} |
| 344 |
func (a *DAHDIRestartAction) SetActionID(actionID string) { |
| 345 |
a.ActionID = actionID |
| 346 |
} |
| 347 |
func (cli *Client) DAHDIRestart(opts ...RequestOption) (res *Response, err error) { |
| 348 |
req := &DAHDIRestartAction{} |
| 349 |
res = &Response{} |
| 350 |
return res, cli.Action(req, res, opts...) |
| 351 |
} |
| 352 |
|
| 353 |
|
| 354 |
type PRIShowSpansAction struct { |
| 355 |
|
| 356 |
ActionID string |
| 357 |
|
| 358 |
Span string |
| 359 |
} |
| 360 |
|
| 361 |
func (PRIShowSpansAction) ActionTypeName() string { |
| 362 |
return "PRIShowSpans" |
| 363 |
} |
| 364 |
func (a PRIShowSpansAction) GetActionID() string { |
| 365 |
return a.ActionID |
| 366 |
} |
| 367 |
func (a *PRIShowSpansAction) SetActionID(actionID string) { |
| 368 |
a.ActionID = actionID |
| 369 |
} |
| 370 |
func (cli *Client) PRIShowSpans(opts ...RequestOption) (res *Response, err error) { |
| 371 |
req := &PRIShowSpansAction{} |
| 372 |
res = &Response{} |
| 373 |
return res, cli.Action(req, res, opts...) |
| 374 |
} |
| 375 |
|
| 376 |
|
| 377 |
type PRIDebugSetAction struct { |
| 378 |
|
| 379 |
ActionID string |
| 380 |
|
| 381 |
Span string |
| 382 |
|
| 383 |
Level string |
| 384 |
} |
| 385 |
|
| 386 |
func (PRIDebugSetAction) ActionTypeName() string { |
| 387 |
return "PRIDebugSet" |
| 388 |
} |
| 389 |
func (a PRIDebugSetAction) GetActionID() string { |
| 390 |
return a.ActionID |
| 391 |
} |
| 392 |
func (a *PRIDebugSetAction) SetActionID(actionID string) { |
| 393 |
a.ActionID = actionID |
| 394 |
} |
| 395 |
func (cli *Client) PRIDebugSet(span string, level string, opts ...RequestOption) (res *Response, err error) { |
| 396 |
req := &PRIDebugSetAction{ |
| 397 |
Span: span, |
| 398 |
Level: level, |
| 399 |
} |
| 400 |
res = &Response{} |
| 401 |
return res, cli.Action(req, res, opts...) |
| 402 |
} |
| 403 |
|
| 404 |
|
| 405 |
type PRIDebugFileSetAction struct { |
| 406 |
|
| 407 |
ActionID string |
| 408 |
|
| 409 |
File string |
| 410 |
} |
| 411 |
|
| 412 |
func (PRIDebugFileSetAction) ActionTypeName() string { |
| 413 |
return "PRIDebugFileSet" |
| 414 |
} |
| 415 |
func (a PRIDebugFileSetAction) GetActionID() string { |
| 416 |
return a.ActionID |
| 417 |
} |
| 418 |
func (a *PRIDebugFileSetAction) SetActionID(actionID string) { |
| 419 |
a.ActionID = actionID |
| 420 |
} |
| 421 |
func (cli *Client) PRIDebugFileSet(file string, opts ...RequestOption) (res *Response, err error) { |
| 422 |
req := &PRIDebugFileSetAction{ |
| 423 |
File: file, |
| 424 |
} |
| 425 |
res = &Response{} |
| 426 |
return res, cli.Action(req, res, opts...) |
| 427 |
} |
| 428 |
|
| 429 |
|
| 430 |
type PRIDebugFileUnsetAction struct { |
| 431 |
|
| 432 |
ActionID string |
| 433 |
} |
| 434 |
|
| 435 |
func (PRIDebugFileUnsetAction) ActionTypeName() string { |
| 436 |
return "PRIDebugFileUnset" |
| 437 |
} |
| 438 |
func (a PRIDebugFileUnsetAction) GetActionID() string { |
| 439 |
return a.ActionID |
| 440 |
} |
| 441 |
func (a *PRIDebugFileUnsetAction) SetActionID(actionID string) { |
| 442 |
a.ActionID = actionID |
| 443 |
} |
| 444 |
func (cli *Client) PRIDebugFileUnset(opts ...RequestOption) (res *Response, err error) { |
| 445 |
req := &PRIDebugFileUnsetAction{} |
| 446 |
res = &Response{} |
| 447 |
return res, cli.Action(req, res, opts...) |
| 448 |
} |
| 449 |
|
| 450 |
|
| 451 |
type SIPpeersAction struct { |
| 452 |
|
| 453 |
ActionID string |
| 454 |
} |
| 455 |
|
| 456 |
func (SIPpeersAction) ActionTypeName() string { |
| 457 |
return "SIPpeers" |
| 458 |
} |
| 459 |
func (a SIPpeersAction) GetActionID() string { |
| 460 |
return a.ActionID |
| 461 |
} |
| 462 |
func (a *SIPpeersAction) SetActionID(actionID string) { |
| 463 |
a.ActionID = actionID |
| 464 |
} |
| 465 |
func (cli *Client) SIPpeers(opts ...RequestOption) (res *Response, err error) { |
| 466 |
req := &SIPpeersAction{} |
| 467 |
res = &Response{} |
| 468 |
return res, cli.Action(req, res, opts...) |
| 469 |
} |
| 470 |
|
| 471 |
|
| 472 |
type SIPshowpeerAction struct { |
| 473 |
|
| 474 |
ActionID string |
| 475 |
|
| 476 |
Peer string |
| 477 |
} |
| 478 |
|
| 479 |
func (SIPshowpeerAction) ActionTypeName() string { |
| 480 |
return "SIPshowpeer" |
| 481 |
} |
| 482 |
func (a SIPshowpeerAction) GetActionID() string { |
| 483 |
return a.ActionID |
| 484 |
} |
| 485 |
func (a *SIPshowpeerAction) SetActionID(actionID string) { |
| 486 |
a.ActionID = actionID |
| 487 |
} |
| 488 |
func (cli *Client) SIPshowpeer(peer string, opts ...RequestOption) (res *Response, err error) { |
| 489 |
req := &SIPshowpeerAction{ |
| 490 |
Peer: peer, |
| 491 |
} |
| 492 |
res = &Response{} |
| 493 |
return res, cli.Action(req, res, opts...) |
| 494 |
} |
| 495 |
|
| 496 |
|
| 497 |
type SIPqualifypeerAction struct { |
| 498 |
|
| 499 |
ActionID string |
| 500 |
|
| 501 |
Peer string |
| 502 |
} |
| 503 |
|
| 504 |
func (SIPqualifypeerAction) ActionTypeName() string { |
| 505 |
return "SIPqualifypeer" |
| 506 |
} |
| 507 |
func (a SIPqualifypeerAction) GetActionID() string { |
| 508 |
return a.ActionID |
| 509 |
} |
| 510 |
func (a *SIPqualifypeerAction) SetActionID(actionID string) { |
| 511 |
a.ActionID = actionID |
| 512 |
} |
| 513 |
func (cli *Client) SIPqualifypeer(peer string, opts ...RequestOption) (res *Response, err error) { |
| 514 |
req := &SIPqualifypeerAction{ |
| 515 |
Peer: peer, |
| 516 |
} |
| 517 |
res = &Response{} |
| 518 |
return res, cli.Action(req, res, opts...) |
| 519 |
} |
| 520 |
|
| 521 |
|
| 522 |
type SIPshowregistryAction struct { |
| 523 |
|
| 524 |
ActionID string |
| 525 |
} |
| 526 |
|
| 527 |
func (SIPshowregistryAction) ActionTypeName() string { |
| 528 |
return "SIPshowregistry" |
| 529 |
} |
| 530 |
func (a SIPshowregistryAction) GetActionID() string { |
| 531 |
return a.ActionID |
| 532 |
} |
| 533 |
func (a *SIPshowregistryAction) SetActionID(actionID string) { |
| 534 |
a.ActionID = actionID |
| 535 |
} |
| 536 |
func (cli *Client) SIPshowregistry(opts ...RequestOption) (res *Response, err error) { |
| 537 |
req := &SIPshowregistryAction{} |
| 538 |
res = &Response{} |
| 539 |
return res, cli.Action(req, res, opts...) |
| 540 |
} |
| 541 |
|
| 542 |
|
| 543 |
type SIPnotifyAction struct { |
| 544 |
|
| 545 |
ActionID string |
| 546 |
|
| 547 |
Channel string |
| 548 |
|
| 549 |
Variable string |
| 550 |
|
| 551 |
CallID string |
| 552 |
} |
| 553 |
|
| 554 |
func (SIPnotifyAction) ActionTypeName() string { |
| 555 |
return "SIPnotify" |
| 556 |
} |
| 557 |
func (a SIPnotifyAction) GetActionID() string { |
| 558 |
return a.ActionID |
| 559 |
} |
| 560 |
func (a *SIPnotifyAction) SetActionID(actionID string) { |
| 561 |
a.ActionID = actionID |
| 562 |
} |
| 563 |
func (cli *Client) SIPnotify(channel string, variable string, opts ...RequestOption) (res *Response, err error) { |
| 564 |
req := &SIPnotifyAction{ |
| 565 |
Channel: channel, |
| 566 |
Variable: variable, |
| 567 |
} |
| 568 |
res = &Response{} |
| 569 |
return res, cli.Action(req, res, opts...) |
| 570 |
} |
| 571 |
|
| 572 |
|
| 573 |
type SIPpeerstatusAction struct { |
| 574 |
|
| 575 |
ActionID string |
| 576 |
|
| 577 |
Peer string |
| 578 |
} |
| 579 |
|
| 580 |
func (SIPpeerstatusAction) ActionTypeName() string { |
| 581 |
return "SIPpeerstatus" |
| 582 |
} |
| 583 |
func (a SIPpeerstatusAction) GetActionID() string { |
| 584 |
return a.ActionID |
| 585 |
} |
| 586 |
func (a *SIPpeerstatusAction) SetActionID(actionID string) { |
| 587 |
a.ActionID = actionID |
| 588 |
} |
| 589 |
func (cli *Client) SIPpeerstatus(opts ...RequestOption) (res *Response, err error) { |
| 590 |
req := &SIPpeerstatusAction{} |
| 591 |
res = &Response{} |
| 592 |
return res, cli.Action(req, res, opts...) |
| 593 |
} |
| 594 |
|
| 595 |
|
| 596 |
type DialplanExtensionAddAction struct { |
| 597 |
|
| 598 |
ActionID string |
| 599 |
|
| 600 |
Context string |
| 601 |
|
| 602 |
Extension string |
| 603 |
|
| 604 |
Priority int |
| 605 |
|
| 606 |
Application string |
| 607 |
|
| 608 |
ApplicationData string |
| 609 |
|
| 610 |
Replace string |
| 611 |
} |
| 612 |
|
| 613 |
func (DialplanExtensionAddAction) ActionTypeName() string { |
| 614 |
return "DialplanExtensionAdd" |
| 615 |
} |
| 616 |
func (a DialplanExtensionAddAction) GetActionID() string { |
| 617 |
return a.ActionID |
| 618 |
} |
| 619 |
func (a *DialplanExtensionAddAction) SetActionID(actionID string) { |
| 620 |
a.ActionID = actionID |
| 621 |
} |
| 622 |
func (cli *Client) DialplanExtensionAdd(context string, extension string, priority int, application string, opts ...RequestOption) (res *Response, err error) { |
| 623 |
req := &DialplanExtensionAddAction{ |
| 624 |
Context: context, |
| 625 |
Extension: extension, |
| 626 |
Priority: priority, |
| 627 |
Application: application, |
| 628 |
} |
| 629 |
res = &Response{} |
| 630 |
return res, cli.Action(req, res, opts...) |
| 631 |
} |
| 632 |
|
| 633 |
|
| 634 |
type DialplanExtensionRemoveAction struct { |
| 635 |
|
| 636 |
ActionID string |
| 637 |
|
| 638 |
Context string |
| 639 |
|
| 640 |
Extension string |
| 641 |
|
| 642 |
Priority int |
| 643 |
} |
| 644 |
|
| 645 |
func (DialplanExtensionRemoveAction) ActionTypeName() string { |
| 646 |
return "DialplanExtensionRemove" |
| 647 |
} |
| 648 |
func (a DialplanExtensionRemoveAction) GetActionID() string { |
| 649 |
return a.ActionID |
| 650 |
} |
| 651 |
func (a *DialplanExtensionRemoveAction) SetActionID(actionID string) { |
| 652 |
a.ActionID = actionID |
| 653 |
} |
| 654 |
func (cli *Client) DialplanExtensionRemove(context string, extension string, opts ...RequestOption) (res *Response, err error) { |
| 655 |
req := &DialplanExtensionRemoveAction{ |
| 656 |
Context: context, |
| 657 |
Extension: extension, |
| 658 |
} |
| 659 |
res = &Response{} |
| 660 |
return res, cli.Action(req, res, opts...) |
| 661 |
} |
| 662 |
|
| 663 |
|
| 664 |
type VoicemailUsersListAction struct { |
| 665 |
|
| 666 |
ActionID string |
| 667 |
} |
| 668 |
|
| 669 |
func (VoicemailUsersListAction) ActionTypeName() string { |
| 670 |
return "VoicemailUsersList" |
| 671 |
} |
| 672 |
func (a VoicemailUsersListAction) GetActionID() string { |
| 673 |
return a.ActionID |
| 674 |
} |
| 675 |
func (a *VoicemailUsersListAction) SetActionID(actionID string) { |
| 676 |
a.ActionID = actionID |
| 677 |
} |
| 678 |
func (cli *Client) VoicemailUsersList(opts ...RequestOption) (res *Response, err error) { |
| 679 |
req := &VoicemailUsersListAction{} |
| 680 |
res = &Response{} |
| 681 |
return res, cli.Action(req, res, opts...) |
| 682 |
} |
| 683 |
|
| 684 |
|
| 685 |
type VoicemailUserStatusAction struct { |
| 686 |
|
| 687 |
ActionID string |
| 688 |
|
| 689 |
Context string |
| 690 |
|
| 691 |
Mailbox string |
| 692 |
} |
| 693 |
|
| 694 |
func (VoicemailUserStatusAction) ActionTypeName() string { |
| 695 |
return "VoicemailUserStatus" |
| 696 |
} |
| 697 |
func (a VoicemailUserStatusAction) GetActionID() string { |
| 698 |
return a.ActionID |
| 699 |
} |
| 700 |
func (a *VoicemailUserStatusAction) SetActionID(actionID string) { |
| 701 |
a.ActionID = actionID |
| 702 |
} |
| 703 |
func (cli *Client) VoicemailUserStatus(context string, mailbox string, opts ...RequestOption) (res *Response, err error) { |
| 704 |
req := &VoicemailUserStatusAction{ |
| 705 |
Context: context, |
| 706 |
Mailbox: mailbox, |
| 707 |
} |
| 708 |
res = &Response{} |
| 709 |
return res, cli.Action(req, res, opts...) |
| 710 |
} |
| 711 |
|
| 712 |
|
| 713 |
type VoicemailRefreshAction struct { |
| 714 |
|
| 715 |
ActionID string |
| 716 |
Context string |
| 717 |
Mailbox string |
| 718 |
} |
| 719 |
|
| 720 |
func (VoicemailRefreshAction) ActionTypeName() string { |
| 721 |
return "VoicemailRefresh" |
| 722 |
} |
| 723 |
func (a VoicemailRefreshAction) GetActionID() string { |
| 724 |
return a.ActionID |
| 725 |
} |
| 726 |
func (a *VoicemailRefreshAction) SetActionID(actionID string) { |
| 727 |
a.ActionID = actionID |
| 728 |
} |
| 729 |
func (cli *Client) VoicemailRefresh(opts ...RequestOption) (res *Response, err error) { |
| 730 |
req := &VoicemailRefreshAction{} |
| 731 |
res = &Response{} |
| 732 |
return res, cli.Action(req, res, opts...) |
| 733 |
} |
| 734 |
|
| 735 |
|
| 736 |
type AgentsAction struct { |
| 737 |
|
| 738 |
ActionID string |
| 739 |
} |
| 740 |
|
| 741 |
func (AgentsAction) ActionTypeName() string { |
| 742 |
return "Agents" |
| 743 |
} |
| 744 |
func (a AgentsAction) GetActionID() string { |
| 745 |
return a.ActionID |
| 746 |
} |
| 747 |
func (a *AgentsAction) SetActionID(actionID string) { |
| 748 |
a.ActionID = actionID |
| 749 |
} |
| 750 |
func (cli *Client) Agents(opts ...RequestOption) (res *Response, err error) { |
| 751 |
req := &AgentsAction{} |
| 752 |
res = &Response{} |
| 753 |
return res, cli.Action(req, res, opts...) |
| 754 |
} |
| 755 |
|
| 756 |
|
| 757 |
type AgentLogoffAction struct { |
| 758 |
|
| 759 |
ActionID string |
| 760 |
|
| 761 |
Agent string |
| 762 |
|
| 763 |
Soft string |
| 764 |
} |
| 765 |
|
| 766 |
func (AgentLogoffAction) ActionTypeName() string { |
| 767 |
return "AgentLogoff" |
| 768 |
} |
| 769 |
func (a AgentLogoffAction) GetActionID() string { |
| 770 |
return a.ActionID |
| 771 |
} |
| 772 |
func (a *AgentLogoffAction) SetActionID(actionID string) { |
| 773 |
a.ActionID = actionID |
| 774 |
} |
| 775 |
func (cli *Client) AgentLogoff(agent string, opts ...RequestOption) (res *Response, err error) { |
| 776 |
req := &AgentLogoffAction{ |
| 777 |
Agent: agent, |
| 778 |
} |
| 779 |
res = &Response{} |
| 780 |
return res, cli.Action(req, res, opts...) |
| 781 |
} |
| 782 |
|
| 783 |
|
| 784 |
type ControlPlaybackAction struct { |
| 785 |
|
| 786 |
ActionID string |
| 787 |
|
| 788 |
Channel string |
| 789 |
Control string |
| 790 |
} |
| 791 |
|
| 792 |
func (ControlPlaybackAction) ActionTypeName() string { |
| 793 |
return "ControlPlayback" |
| 794 |
} |
| 795 |
func (a ControlPlaybackAction) GetActionID() string { |
| 796 |
return a.ActionID |
| 797 |
} |
| 798 |
func (a *ControlPlaybackAction) SetActionID(actionID string) { |
| 799 |
a.ActionID = actionID |
| 800 |
} |
| 801 |
func (cli *Client) ControlPlayback(channel string, control string, opts ...RequestOption) (res *Response, err error) { |
| 802 |
req := &ControlPlaybackAction{ |
| 803 |
Channel: channel, |
| 804 |
Control: control, |
| 805 |
} |
| 806 |
res = &Response{} |
| 807 |
return res, cli.Action(req, res, opts...) |
| 808 |
} |
| 809 |
|
| 810 |
|
| 811 |
type MixMonitorMuteAction struct { |
| 812 |
|
| 813 |
ActionID string |
| 814 |
|
| 815 |
Channel string |
| 816 |
|
| 817 |
Direction string |
| 818 |
|
| 819 |
State string |
| 820 |
} |
| 821 |
|
| 822 |
func (MixMonitorMuteAction) ActionTypeName() string { |
| 823 |
return "MixMonitorMute" |
| 824 |
} |
| 825 |
func (a MixMonitorMuteAction) GetActionID() string { |
| 826 |
return a.ActionID |
| 827 |
} |
| 828 |
func (a *MixMonitorMuteAction) SetActionID(actionID string) { |
| 829 |
a.ActionID = actionID |
| 830 |
} |
| 831 |
func (cli *Client) MixMonitorMute(channel string, opts ...RequestOption) (res *Response, err error) { |
| 832 |
req := &MixMonitorMuteAction{ |
| 833 |
Channel: channel, |
| 834 |
} |
| 835 |
res = &Response{} |
| 836 |
return res, cli.Action(req, res, opts...) |
| 837 |
} |
| 838 |
|
| 839 |
|
| 840 |
|
| 841 |
type MixMonitorAction struct { |
| 842 |
|
| 843 |
ActionID string |
| 844 |
|
| 845 |
Channel string |
| 846 |
|
| 847 |
File string |
| 848 |
|
| 849 |
Options string |
| 850 |
|
| 851 |
Command string |
| 852 |
} |
| 853 |
|
| 854 |
func (MixMonitorAction) ActionTypeName() string { |
| 855 |
return "MixMonitor" |
| 856 |
} |
| 857 |
func (a MixMonitorAction) GetActionID() string { |
| 858 |
return a.ActionID |
| 859 |
} |
| 860 |
func (a *MixMonitorAction) SetActionID(actionID string) { |
| 861 |
a.ActionID = actionID |
| 862 |
} |
| 863 |
func (cli *Client) MixMonitor(channel string, opts ...RequestOption) (res *Response, err error) { |
| 864 |
req := &MixMonitorAction{ |
| 865 |
Channel: channel, |
| 866 |
} |
| 867 |
res = &Response{} |
| 868 |
return res, cli.Action(req, res, opts...) |
| 869 |
} |
| 870 |
|
| 871 |
|
| 872 |
type StopMixMonitorAction struct { |
| 873 |
|
| 874 |
ActionID string |
| 875 |
|
| 876 |
Channel string |
| 877 |
|
| 878 |
MixMonitorID string |
| 879 |
} |
| 880 |
|
| 881 |
func (StopMixMonitorAction) ActionTypeName() string { |
| 882 |
return "StopMixMonitor" |
| 883 |
} |
| 884 |
func (a StopMixMonitorAction) GetActionID() string { |
| 885 |
return a.ActionID |
| 886 |
} |
| 887 |
func (a *StopMixMonitorAction) SetActionID(actionID string) { |
| 888 |
a.ActionID = actionID |
| 889 |
} |
| 890 |
func (cli *Client) StopMixMonitor(channel string, opts ...RequestOption) (res *Response, err error) { |
| 891 |
req := &StopMixMonitorAction{ |
| 892 |
Channel: channel, |
| 893 |
} |
| 894 |
res = &Response{} |
| 895 |
return res, cli.Action(req, res, opts...) |
| 896 |
} |
| 897 |
|
| 898 |
|
| 899 |
type PlayDTMFAction struct { |
| 900 |
|
| 901 |
ActionID string |
| 902 |
|
| 903 |
Channel string |
| 904 |
|
| 905 |
Digit string |
| 906 |
|
| 907 |
Duration string |
| 908 |
|
| 909 |
Receive string |
| 910 |
} |
| 911 |
|
| 912 |
func (PlayDTMFAction) ActionTypeName() string { |
| 913 |
return "PlayDTMF" |
| 914 |
} |
| 915 |
func (a PlayDTMFAction) GetActionID() string { |
| 916 |
return a.ActionID |
| 917 |
} |
| 918 |
func (a *PlayDTMFAction) SetActionID(actionID string) { |
| 919 |
a.ActionID = actionID |
| 920 |
} |
| 921 |
func (cli *Client) PlayDTMF(channel string, digit string, opts ...RequestOption) (res *Response, err error) { |
| 922 |
req := &PlayDTMFAction{ |
| 923 |
Channel: channel, |
| 924 |
Digit: digit, |
| 925 |
} |
| 926 |
res = &Response{} |
| 927 |
return res, cli.Action(req, res, opts...) |
| 928 |
} |
| 929 |
|
| 930 |
|
| 931 |
type ConfbridgeListAction struct { |
| 932 |
|
| 933 |
ActionID string |
| 934 |
|
| 935 |
Conference string |
| 936 |
} |
| 937 |
|
| 938 |
func (ConfbridgeListAction) ActionTypeName() string { |
| 939 |
return "ConfbridgeList" |
| 940 |
} |
| 941 |
func (a ConfbridgeListAction) GetActionID() string { |
| 942 |
return a.ActionID |
| 943 |
} |
| 944 |
func (a *ConfbridgeListAction) SetActionID(actionID string) { |
| 945 |
a.ActionID = actionID |
| 946 |
} |
| 947 |
func (cli *Client) ConfbridgeList(conference string, opts ...RequestOption) (res *Response, err error) { |
| 948 |
req := &ConfbridgeListAction{ |
| 949 |
Conference: conference, |
| 950 |
} |
| 951 |
res = &Response{} |
| 952 |
return res, cli.Action(req, res, opts...) |
| 953 |
} |
| 954 |
|
| 955 |
|
| 956 |
type ConfbridgeListRoomsAction struct { |
| 957 |
|
| 958 |
ActionID string |
| 959 |
} |
| 960 |
|
| 961 |
func (ConfbridgeListRoomsAction) ActionTypeName() string { |
| 962 |
return "ConfbridgeListRooms" |
| 963 |
} |
| 964 |
func (a ConfbridgeListRoomsAction) GetActionID() string { |
| 965 |
return a.ActionID |
| 966 |
} |
| 967 |
func (a *ConfbridgeListRoomsAction) SetActionID(actionID string) { |
| 968 |
a.ActionID = actionID |
| 969 |
} |
| 970 |
func (cli *Client) ConfbridgeListRooms(opts ...RequestOption) (res *Response, err error) { |
| 971 |
req := &ConfbridgeListRoomsAction{} |
| 972 |
res = &Response{} |
| 973 |
return res, cli.Action(req, res, opts...) |
| 974 |
} |
| 975 |
|
| 976 |
|
| 977 |
type ConfbridgeMuteAction struct { |
| 978 |
|
| 979 |
ActionID string |
| 980 |
Conference string |
| 981 |
|
| 982 |
Channel string |
| 983 |
} |
| 984 |
|
| 985 |
func (ConfbridgeMuteAction) ActionTypeName() string { |
| 986 |
return "ConfbridgeMute" |
| 987 |
} |
| 988 |
func (a ConfbridgeMuteAction) GetActionID() string { |
| 989 |
return a.ActionID |
| 990 |
} |
| 991 |
func (a *ConfbridgeMuteAction) SetActionID(actionID string) { |
| 992 |
a.ActionID = actionID |
| 993 |
} |
| 994 |
func (cli *Client) ConfbridgeMute(conference string, channel string, opts ...RequestOption) (res *Response, err error) { |
| 995 |
req := &ConfbridgeMuteAction{ |
| 996 |
Conference: conference, |
| 997 |
Channel: channel, |
| 998 |
} |
| 999 |
res = &Response{} |
| 1000 |
return res, cli.Action(req, res, opts...) |
| 1001 |
} |
| 1002 |
|
| 1003 |
|
| 1004 |
type ConfbridgeUnmuteAction struct { |
| 1005 |
|
| 1006 |
ActionID string |
| 1007 |
Conference string |
| 1008 |
|
| 1009 |
Channel string |
| 1010 |
} |
| 1011 |
|
| 1012 |
func (ConfbridgeUnmuteAction) ActionTypeName() string { |
| 1013 |
return "ConfbridgeUnmute" |
| 1014 |
} |
| 1015 |
func (a ConfbridgeUnmuteAction) GetActionID() string { |
| 1016 |
return a.ActionID |
| 1017 |
} |
| 1018 |
func (a *ConfbridgeUnmuteAction) SetActionID(actionID string) { |
| 1019 |
a.ActionID = actionID |
| 1020 |
} |
| 1021 |
func (cli *Client) ConfbridgeUnmute(conference string, channel string, opts ...RequestOption) (res *Response, err error) { |
| 1022 |
req := &ConfbridgeUnmuteAction{ |
| 1023 |
Conference: conference, |
| 1024 |
Channel: channel, |
| 1025 |
} |
| 1026 |
res = &Response{} |
| 1027 |
return res, cli.Action(req, res, opts...) |
| 1028 |
} |
| 1029 |
|
| 1030 |
|
| 1031 |
type ConfbridgeKickAction struct { |
| 1032 |
|
| 1033 |
ActionID string |
| 1034 |
Conference string |
| 1035 |
|
| 1036 |
Channel string |
| 1037 |
} |
| 1038 |
|
| 1039 |
func (ConfbridgeKickAction) ActionTypeName() string { |
| 1040 |
return "ConfbridgeKick" |
| 1041 |
} |
| 1042 |
func (a ConfbridgeKickAction) GetActionID() string { |
| 1043 |
return a.ActionID |
| 1044 |
} |
| 1045 |
func (a *ConfbridgeKickAction) SetActionID(actionID string) { |
| 1046 |
a.ActionID = actionID |
| 1047 |
} |
| 1048 |
func (cli *Client) ConfbridgeKick(conference string, channel string, opts ...RequestOption) (res *Response, err error) { |
| 1049 |
req := &ConfbridgeKickAction{ |
| 1050 |
Conference: conference, |
| 1051 |
Channel: channel, |
| 1052 |
} |
| 1053 |
res = &Response{} |
| 1054 |
return res, cli.Action(req, res, opts...) |
| 1055 |
} |
| 1056 |
|
| 1057 |
|
| 1058 |
type ConfbridgeLockAction struct { |
| 1059 |
|
| 1060 |
ActionID string |
| 1061 |
Conference string |
| 1062 |
} |
| 1063 |
|
| 1064 |
func (ConfbridgeLockAction) ActionTypeName() string { |
| 1065 |
return "ConfbridgeLock" |
| 1066 |
} |
| 1067 |
func (a ConfbridgeLockAction) GetActionID() string { |
| 1068 |
return a.ActionID |
| 1069 |
} |
| 1070 |
func (a *ConfbridgeLockAction) SetActionID(actionID string) { |
| 1071 |
a.ActionID = actionID |
| 1072 |
} |
| 1073 |
func (cli *Client) ConfbridgeLock(conference string, opts ...RequestOption) (res *Response, err error) { |
| 1074 |
req := &ConfbridgeLockAction{ |
| 1075 |
Conference: conference, |
| 1076 |
} |
| 1077 |
res = &Response{} |
| 1078 |
return res, cli.Action(req, res, opts...) |
| 1079 |
} |
| 1080 |
|
| 1081 |
|
| 1082 |
type ConfbridgeUnlockAction struct { |
| 1083 |
|
| 1084 |
ActionID string |
| 1085 |
Conference string |
| 1086 |
} |
| 1087 |
|
| 1088 |
func (ConfbridgeUnlockAction) ActionTypeName() string { |
| 1089 |
return "ConfbridgeUnlock" |
| 1090 |
} |
| 1091 |
func (a ConfbridgeUnlockAction) GetActionID() string { |
| 1092 |
return a.ActionID |
| 1093 |
} |
| 1094 |
func (a *ConfbridgeUnlockAction) SetActionID(actionID string) { |
| 1095 |
a.ActionID = actionID |
| 1096 |
} |
| 1097 |
func (cli *Client) ConfbridgeUnlock(conference string, opts ...RequestOption) (res *Response, err error) { |
| 1098 |
req := &ConfbridgeUnlockAction{ |
| 1099 |
Conference: conference, |
| 1100 |
} |
| 1101 |
res = &Response{} |
| 1102 |
return res, cli.Action(req, res, opts...) |
| 1103 |
} |
| 1104 |
|
| 1105 |
|
| 1106 |
type ConfbridgeStartRecordAction struct { |
| 1107 |
|
| 1108 |
ActionID string |
| 1109 |
Conference string |
| 1110 |
RecordFile string |
| 1111 |
} |
| 1112 |
|
| 1113 |
func (ConfbridgeStartRecordAction) ActionTypeName() string { |
| 1114 |
return "ConfbridgeStartRecord" |
| 1115 |
} |
| 1116 |
func (a ConfbridgeStartRecordAction) GetActionID() string { |
| 1117 |
return a.ActionID |
| 1118 |
} |
| 1119 |
func (a *ConfbridgeStartRecordAction) SetActionID(actionID string) { |
| 1120 |
a.ActionID = actionID |
| 1121 |
} |
| 1122 |
func (cli *Client) ConfbridgeStartRecord(conference string, opts ...RequestOption) (res *Response, err error) { |
| 1123 |
req := &ConfbridgeStartRecordAction{ |
| 1124 |
Conference: conference, |
| 1125 |
} |
| 1126 |
res = &Response{} |
| 1127 |
return res, cli.Action(req, res, opts...) |
| 1128 |
} |
| 1129 |
|
| 1130 |
|
| 1131 |
type ConfbridgeStopRecordAction struct { |
| 1132 |
|
| 1133 |
ActionID string |
| 1134 |
Conference string |
| 1135 |
} |
| 1136 |
|
| 1137 |
func (ConfbridgeStopRecordAction) ActionTypeName() string { |
| 1138 |
return "ConfbridgeStopRecord" |
| 1139 |
} |
| 1140 |
func (a ConfbridgeStopRecordAction) GetActionID() string { |
| 1141 |
return a.ActionID |
| 1142 |
} |
| 1143 |
func (a *ConfbridgeStopRecordAction) SetActionID(actionID string) { |
| 1144 |
a.ActionID = actionID |
| 1145 |
} |
| 1146 |
func (cli *Client) ConfbridgeStopRecord(conference string, opts ...RequestOption) (res *Response, err error) { |
| 1147 |
req := &ConfbridgeStopRecordAction{ |
| 1148 |
Conference: conference, |
| 1149 |
} |
| 1150 |
res = &Response{} |
| 1151 |
return res, cli.Action(req, res, opts...) |
| 1152 |
} |
| 1153 |
|
| 1154 |
|
| 1155 |
type ConfbridgeSetSingleVideoSrcAction struct { |
| 1156 |
|
| 1157 |
ActionID string |
| 1158 |
Conference string |
| 1159 |
|
| 1160 |
Channel string |
| 1161 |
} |
| 1162 |
|
| 1163 |
func (ConfbridgeSetSingleVideoSrcAction) ActionTypeName() string { |
| 1164 |
return "ConfbridgeSetSingleVideoSrc" |
| 1165 |
} |
| 1166 |
func (a ConfbridgeSetSingleVideoSrcAction) GetActionID() string { |
| 1167 |
return a.ActionID |
| 1168 |
} |
| 1169 |
func (a *ConfbridgeSetSingleVideoSrcAction) SetActionID(actionID string) { |
| 1170 |
a.ActionID = actionID |
| 1171 |
} |
| 1172 |
func (cli *Client) ConfbridgeSetSingleVideoSrc(conference string, channel string, opts ...RequestOption) (res *Response, err error) { |
| 1173 |
req := &ConfbridgeSetSingleVideoSrcAction{ |
| 1174 |
Conference: conference, |
| 1175 |
Channel: channel, |
| 1176 |
} |
| 1177 |
res = &Response{} |
| 1178 |
return res, cli.Action(req, res, opts...) |
| 1179 |
} |
| 1180 |
|
| 1181 |
|
| 1182 |
type MeetmeMuteAction struct { |
| 1183 |
|
| 1184 |
ActionID string |
| 1185 |
Meetme string |
| 1186 |
Usernum string |
| 1187 |
} |
| 1188 |
|
| 1189 |
func (MeetmeMuteAction) ActionTypeName() string { |
| 1190 |
return "MeetmeMute" |
| 1191 |
} |
| 1192 |
func (a MeetmeMuteAction) GetActionID() string { |
| 1193 |
return a.ActionID |
| 1194 |
} |
| 1195 |
func (a *MeetmeMuteAction) SetActionID(actionID string) { |
| 1196 |
a.ActionID = actionID |
| 1197 |
} |
| 1198 |
func (cli *Client) MeetmeMute(meetme string, usernum string, opts ...RequestOption) (res *Response, err error) { |
| 1199 |
req := &MeetmeMuteAction{ |
| 1200 |
Meetme: meetme, |
| 1201 |
Usernum: usernum, |
| 1202 |
} |
| 1203 |
res = &Response{} |
| 1204 |
return res, cli.Action(req, res, opts...) |
| 1205 |
} |
| 1206 |
|
| 1207 |
|
| 1208 |
type MeetmeUnmuteAction struct { |
| 1209 |
|
| 1210 |
ActionID string |
| 1211 |
Meetme string |
| 1212 |
Usernum string |
| 1213 |
} |
| 1214 |
|
| 1215 |
func (MeetmeUnmuteAction) ActionTypeName() string { |
| 1216 |
return "MeetmeUnmute" |
| 1217 |
} |
| 1218 |
func (a MeetmeUnmuteAction) GetActionID() string { |
| 1219 |
return a.ActionID |
| 1220 |
} |
| 1221 |
func (a *MeetmeUnmuteAction) SetActionID(actionID string) { |
| 1222 |
a.ActionID = actionID |
| 1223 |
} |
| 1224 |
func (cli *Client) MeetmeUnmute(meetme string, usernum string, opts ...RequestOption) (res *Response, err error) { |
| 1225 |
req := &MeetmeUnmuteAction{ |
| 1226 |
Meetme: meetme, |
| 1227 |
Usernum: usernum, |
| 1228 |
} |
| 1229 |
res = &Response{} |
| 1230 |
return res, cli.Action(req, res, opts...) |
| 1231 |
} |
| 1232 |
|
| 1233 |
|
| 1234 |
type MeetmeListAction struct { |
| 1235 |
|
| 1236 |
ActionID string |
| 1237 |
|
| 1238 |
Conference string |
| 1239 |
} |
| 1240 |
|
| 1241 |
func (MeetmeListAction) ActionTypeName() string { |
| 1242 |
return "MeetmeList" |
| 1243 |
} |
| 1244 |
func (a MeetmeListAction) GetActionID() string { |
| 1245 |
return a.ActionID |
| 1246 |
} |
| 1247 |
func (a *MeetmeListAction) SetActionID(actionID string) { |
| 1248 |
a.ActionID = actionID |
| 1249 |
} |
| 1250 |
func (cli *Client) MeetmeList(opts ...RequestOption) (res *Response, err error) { |
| 1251 |
req := &MeetmeListAction{} |
| 1252 |
res = &Response{} |
| 1253 |
return res, cli.Action(req, res, opts...) |
| 1254 |
} |
| 1255 |
|
| 1256 |
|
| 1257 |
type MeetmeListRoomsAction struct { |
| 1258 |
|
| 1259 |
ActionID string |
| 1260 |
} |
| 1261 |
|
| 1262 |
func (MeetmeListRoomsAction) ActionTypeName() string { |
| 1263 |
return "MeetmeListRooms" |
| 1264 |
} |
| 1265 |
func (a MeetmeListRoomsAction) GetActionID() string { |
| 1266 |
return a.ActionID |
| 1267 |
} |
| 1268 |
func (a *MeetmeListRoomsAction) SetActionID(actionID string) { |
| 1269 |
a.ActionID = actionID |
| 1270 |
} |
| 1271 |
func (cli *Client) MeetmeListRooms(opts ...RequestOption) (res *Response, err error) { |
| 1272 |
req := &MeetmeListRoomsAction{} |
| 1273 |
res = &Response{} |
| 1274 |
return res, cli.Action(req, res, opts...) |
| 1275 |
} |
| 1276 |
|
| 1277 |
|
| 1278 |
type QueueStatusAction struct { |
| 1279 |
|
| 1280 |
ActionID string |
| 1281 |
|
| 1282 |
Queue string |
| 1283 |
|
| 1284 |
Member string |
| 1285 |
} |
| 1286 |
|
| 1287 |
func (QueueStatusAction) ActionTypeName() string { |
| 1288 |
return "QueueStatus" |
| 1289 |
} |
| 1290 |
func (a QueueStatusAction) GetActionID() string { |
| 1291 |
return a.ActionID |
| 1292 |
} |
| 1293 |
func (a *QueueStatusAction) SetActionID(actionID string) { |
| 1294 |
a.ActionID = actionID |
| 1295 |
} |
| 1296 |
func (cli *Client) QueueStatus(opts ...RequestOption) (res *Response, err error) { |
| 1297 |
req := &QueueStatusAction{} |
| 1298 |
res = &Response{} |
| 1299 |
return res, cli.Action(req, res, opts...) |
| 1300 |
} |
| 1301 |
|
| 1302 |
|
| 1303 |
type QueueSummaryAction struct { |
| 1304 |
|
| 1305 |
ActionID string |
| 1306 |
|
| 1307 |
Queue string |
| 1308 |
} |
| 1309 |
|
| 1310 |
func (QueueSummaryAction) ActionTypeName() string { |
| 1311 |
return "QueueSummary" |
| 1312 |
} |
| 1313 |
func (a QueueSummaryAction) GetActionID() string { |
| 1314 |
return a.ActionID |
| 1315 |
} |
| 1316 |
func (a *QueueSummaryAction) SetActionID(actionID string) { |
| 1317 |
a.ActionID = actionID |
| 1318 |
} |
| 1319 |
func (cli *Client) QueueSummary(opts ...RequestOption) (res *Response, err error) { |
| 1320 |
req := &QueueSummaryAction{} |
| 1321 |
res = &Response{} |
| 1322 |
return res, cli.Action(req, res, opts...) |
| 1323 |
} |
| 1324 |
|
| 1325 |
|
| 1326 |
type QueueAddAction struct { |
| 1327 |
|
| 1328 |
ActionID string |
| 1329 |
|
| 1330 |
Queue string |
| 1331 |
|
| 1332 |
Interface string |
| 1333 |
|
| 1334 |
Penalty string |
| 1335 |
|
| 1336 |
Paused string |
| 1337 |
|
| 1338 |
MemberName string |
| 1339 |
StateInterface string |
| 1340 |
} |
| 1341 |
|
| 1342 |
func (QueueAddAction) ActionTypeName() string { |
| 1343 |
return "QueueAdd" |
| 1344 |
} |
| 1345 |
func (a QueueAddAction) GetActionID() string { |
| 1346 |
return a.ActionID |
| 1347 |
} |
| 1348 |
func (a *QueueAddAction) SetActionID(actionID string) { |
| 1349 |
a.ActionID = actionID |
| 1350 |
} |
| 1351 |
func (cli *Client) QueueAdd(queue string, iface string, opts ...RequestOption) (res *Response, err error) { |
| 1352 |
req := &QueueAddAction{ |
| 1353 |
Queue: queue, |
| 1354 |
Interface: iface, |
| 1355 |
} |
| 1356 |
res = &Response{} |
| 1357 |
return res, cli.Action(req, res, opts...) |
| 1358 |
} |
| 1359 |
|
| 1360 |
|
| 1361 |
type QueueRemoveAction struct { |
| 1362 |
|
| 1363 |
ActionID string |
| 1364 |
|
| 1365 |
Queue string |
| 1366 |
|
| 1367 |
Interface string |
| 1368 |
} |
| 1369 |
|
| 1370 |
func (QueueRemoveAction) ActionTypeName() string { |
| 1371 |
return "QueueRemove" |
| 1372 |
} |
| 1373 |
func (a QueueRemoveAction) GetActionID() string { |
| 1374 |
return a.ActionID |
| 1375 |
} |
| 1376 |
func (a *QueueRemoveAction) SetActionID(actionID string) { |
| 1377 |
a.ActionID = actionID |
| 1378 |
} |
| 1379 |
func (cli *Client) QueueRemove(queue string, iface string, opts ...RequestOption) (res *Response, err error) { |
| 1380 |
req := &QueueRemoveAction{ |
| 1381 |
Queue: queue, |
| 1382 |
Interface: iface, |
| 1383 |
} |
| 1384 |
res = &Response{} |
| 1385 |
return res, cli.Action(req, res, opts...) |
| 1386 |
} |
| 1387 |
|
| 1388 |
|
| 1389 |
type QueuePauseAction struct { |
| 1390 |
|
| 1391 |
ActionID string |
| 1392 |
|
| 1393 |
Interface string |
| 1394 |
|
| 1395 |
Paused string |
| 1396 |
|
| 1397 |
Queue string |
| 1398 |
|
| 1399 |
Reason string |
| 1400 |
} |
| 1401 |
|
| 1402 |
func (QueuePauseAction) ActionTypeName() string { |
| 1403 |
return "QueuePause" |
| 1404 |
} |
| 1405 |
func (a QueuePauseAction) GetActionID() string { |
| 1406 |
return a.ActionID |
| 1407 |
} |
| 1408 |
func (a *QueuePauseAction) SetActionID(actionID string) { |
| 1409 |
a.ActionID = actionID |
| 1410 |
} |
| 1411 |
func (cli *Client) QueuePause(iface string, paused string, opts ...RequestOption) (res *Response, err error) { |
| 1412 |
req := &QueuePauseAction{ |
| 1413 |
Interface: iface, |
| 1414 |
Paused: paused, |
| 1415 |
} |
| 1416 |
res = &Response{} |
| 1417 |
return res, cli.Action(req, res, opts...) |
| 1418 |
} |
| 1419 |
|
| 1420 |
|
| 1421 |
type QueueLogAction struct { |
| 1422 |
|
| 1423 |
ActionID string |
| 1424 |
Queue string |
| 1425 |
Event string |
| 1426 |
Uniqueid string |
| 1427 |
Interface string |
| 1428 |
Message string |
| 1429 |
} |
| 1430 |
|
| 1431 |
func (QueueLogAction) ActionTypeName() string { |
| 1432 |
return "QueueLog" |
| 1433 |
} |
| 1434 |
func (a QueueLogAction) GetActionID() string { |
| 1435 |
return a.ActionID |
| 1436 |
} |
| 1437 |
func (a *QueueLogAction) SetActionID(actionID string) { |
| 1438 |
a.ActionID = actionID |
| 1439 |
} |
| 1440 |
func (cli *Client) QueueLog(queue string, event string, opts ...RequestOption) (res *Response, err error) { |
| 1441 |
req := &QueueLogAction{ |
| 1442 |
Queue: queue, |
| 1443 |
Event: event, |
| 1444 |
} |
| 1445 |
res = &Response{} |
| 1446 |
return res, cli.Action(req, res, opts...) |
| 1447 |
} |
| 1448 |
|
| 1449 |
|
| 1450 |
type QueuePenaltyAction struct { |
| 1451 |
|
| 1452 |
ActionID string |
| 1453 |
|
| 1454 |
Interface string |
| 1455 |
|
| 1456 |
Penalty string |
| 1457 |
|
| 1458 |
Queue string |
| 1459 |
} |
| 1460 |
|
| 1461 |
func (QueuePenaltyAction) ActionTypeName() string { |
| 1462 |
return "QueuePenalty" |
| 1463 |
} |
| 1464 |
func (a QueuePenaltyAction) GetActionID() string { |
| 1465 |
return a.ActionID |
| 1466 |
} |
| 1467 |
func (a *QueuePenaltyAction) SetActionID(actionID string) { |
| 1468 |
a.ActionID = actionID |
| 1469 |
} |
| 1470 |
func (cli *Client) QueuePenalty(iface string, penalty string, opts ...RequestOption) (res *Response, err error) { |
| 1471 |
req := &QueuePenaltyAction{ |
| 1472 |
Interface: iface, |
| 1473 |
Penalty: penalty, |
| 1474 |
} |
| 1475 |
res = &Response{} |
| 1476 |
return res, cli.Action(req, res, opts...) |
| 1477 |
} |
| 1478 |
|
| 1479 |
|
| 1480 |
type QueueMemberRingInUseAction struct { |
| 1481 |
|
| 1482 |
ActionID string |
| 1483 |
Interface string |
| 1484 |
RingInUse string |
| 1485 |
Queue string |
| 1486 |
} |
| 1487 |
|
| 1488 |
func (QueueMemberRingInUseAction) ActionTypeName() string { |
| 1489 |
return "QueueMemberRingInUse" |
| 1490 |
} |
| 1491 |
func (a QueueMemberRingInUseAction) GetActionID() string { |
| 1492 |
return a.ActionID |
| 1493 |
} |
| 1494 |
func (a *QueueMemberRingInUseAction) SetActionID(actionID string) { |
| 1495 |
a.ActionID = actionID |
| 1496 |
} |
| 1497 |
func (cli *Client) QueueMemberRingInUse(iface string, ringInUse string, opts ...RequestOption) (res *Response, err error) { |
| 1498 |
req := &QueueMemberRingInUseAction{ |
| 1499 |
Interface: iface, |
| 1500 |
RingInUse: ringInUse, |
| 1501 |
} |
| 1502 |
res = &Response{} |
| 1503 |
return res, cli.Action(req, res, opts...) |
| 1504 |
} |
| 1505 |
|
| 1506 |
|
| 1507 |
type QueueRuleAction struct { |
| 1508 |
|
| 1509 |
ActionID string |
| 1510 |
|
| 1511 |
Rule string |
| 1512 |
} |
| 1513 |
|
| 1514 |
func (QueueRuleAction) ActionTypeName() string { |
| 1515 |
return "QueueRule" |
| 1516 |
} |
| 1517 |
func (a QueueRuleAction) GetActionID() string { |
| 1518 |
return a.ActionID |
| 1519 |
} |
| 1520 |
func (a *QueueRuleAction) SetActionID(actionID string) { |
| 1521 |
a.ActionID = actionID |
| 1522 |
} |
| 1523 |
func (cli *Client) QueueRule(opts ...RequestOption) (res *Response, err error) { |
| 1524 |
req := &QueueRuleAction{} |
| 1525 |
res = &Response{} |
| 1526 |
return res, cli.Action(req, res, opts...) |
| 1527 |
} |
| 1528 |
|
| 1529 |
|
| 1530 |
type QueueReloadAction struct { |
| 1531 |
|
| 1532 |
ActionID string |
| 1533 |
|
| 1534 |
Queue string |
| 1535 |
|
| 1536 |
Members string |
| 1537 |
|
| 1538 |
Rules string |
| 1539 |
|
| 1540 |
Parameters string |
| 1541 |
} |
| 1542 |
|
| 1543 |
func (QueueReloadAction) ActionTypeName() string { |
| 1544 |
return "QueueReload" |
| 1545 |
} |
| 1546 |
func (a QueueReloadAction) GetActionID() string { |
| 1547 |
return a.ActionID |
| 1548 |
} |
| 1549 |
func (a *QueueReloadAction) SetActionID(actionID string) { |
| 1550 |
a.ActionID = actionID |
| 1551 |
} |
| 1552 |
func (cli *Client) QueueReload(opts ...RequestOption) (res *Response, err error) { |
| 1553 |
req := &QueueReloadAction{} |
| 1554 |
res = &Response{} |
| 1555 |
return res, cli.Action(req, res, opts...) |
| 1556 |
} |
| 1557 |
|
| 1558 |
|
| 1559 |
type QueueResetAction struct { |
| 1560 |
|
| 1561 |
ActionID string |
| 1562 |
|
| 1563 |
Queue string |
| 1564 |
} |
| 1565 |
|
| 1566 |
func (QueueResetAction) ActionTypeName() string { |
| 1567 |
return "QueueReset" |
| 1568 |
} |
| 1569 |
func (a QueueResetAction) GetActionID() string { |
| 1570 |
return a.ActionID |
| 1571 |
} |
| 1572 |
func (a *QueueResetAction) SetActionID(actionID string) { |
| 1573 |
a.ActionID = actionID |
| 1574 |
} |
| 1575 |
func (cli *Client) QueueReset(opts ...RequestOption) (res *Response, err error) { |
| 1576 |
req := &QueueResetAction{} |
| 1577 |
res = &Response{} |
| 1578 |
return res, cli.Action(req, res, opts...) |
| 1579 |
} |
| 1580 |
|
| 1581 |
|
| 1582 |
type QueueChangePriorityCallerAction struct { |
| 1583 |
|
| 1584 |
ActionID string |
| 1585 |
|
| 1586 |
Queue string |
| 1587 |
|
| 1588 |
Caller string |
| 1589 |
|
| 1590 |
Priority int |
| 1591 |
} |
| 1592 |
|
| 1593 |
func (QueueChangePriorityCallerAction) ActionTypeName() string { |
| 1594 |
return "QueueChangePriorityCaller" |
| 1595 |
} |
| 1596 |
func (a QueueChangePriorityCallerAction) GetActionID() string { |
| 1597 |
return a.ActionID |
| 1598 |
} |
| 1599 |
func (a *QueueChangePriorityCallerAction) SetActionID(actionID string) { |
| 1600 |
a.ActionID = actionID |
| 1601 |
} |
| 1602 |
func (cli *Client) QueueChangePriorityCaller(queue string, caller string, priority int, opts ...RequestOption) (res *Response, err error) { |
| 1603 |
req := &QueueChangePriorityCallerAction{ |
| 1604 |
Queue: queue, |
| 1605 |
Caller: caller, |
| 1606 |
Priority: priority, |
| 1607 |
} |
| 1608 |
res = &Response{} |
| 1609 |
return res, cli.Action(req, res, opts...) |
| 1610 |
} |
| 1611 |
|
| 1612 |
|
| 1613 |
type PingAction struct { |
| 1614 |
|
| 1615 |
ActionID string |
| 1616 |
} |
| 1617 |
|
| 1618 |
func (PingAction) ActionTypeName() string { |
| 1619 |
return "Ping" |
| 1620 |
} |
| 1621 |
func (a PingAction) GetActionID() string { |
| 1622 |
return a.ActionID |
| 1623 |
} |
| 1624 |
func (a *PingAction) SetActionID(actionID string) { |
| 1625 |
a.ActionID = actionID |
| 1626 |
} |
| 1627 |
func (cli *Client) Ping(opts ...RequestOption) (res *Response, err error) { |
| 1628 |
req := &PingAction{} |
| 1629 |
res = &Response{} |
| 1630 |
return res, cli.Action(req, res, opts...) |
| 1631 |
} |
| 1632 |
|
| 1633 |
|
| 1634 |
type EventsAction struct { |
| 1635 |
|
| 1636 |
ActionID string |
| 1637 |
EventMask string |
| 1638 |
} |
| 1639 |
|
| 1640 |
func (EventsAction) ActionTypeName() string { |
| 1641 |
return "Events" |
| 1642 |
} |
| 1643 |
func (a EventsAction) GetActionID() string { |
| 1644 |
return a.ActionID |
| 1645 |
} |
| 1646 |
func (a *EventsAction) SetActionID(actionID string) { |
| 1647 |
a.ActionID = actionID |
| 1648 |
} |
| 1649 |
func (cli *Client) Events(eventMask string, opts ...RequestOption) (res *Response, err error) { |
| 1650 |
req := &EventsAction{ |
| 1651 |
EventMask: eventMask, |
| 1652 |
} |
| 1653 |
res = &Response{} |
| 1654 |
return res, cli.Action(req, res, opts...) |
| 1655 |
} |
| 1656 |
|
| 1657 |
|
| 1658 |
type LogoffAction struct { |
| 1659 |
|
| 1660 |
ActionID string |
| 1661 |
} |
| 1662 |
|
| 1663 |
func (LogoffAction) ActionTypeName() string { |
| 1664 |
return "Logoff" |
| 1665 |
} |
| 1666 |
func (a LogoffAction) GetActionID() string { |
| 1667 |
return a.ActionID |
| 1668 |
} |
| 1669 |
func (a *LogoffAction) SetActionID(actionID string) { |
| 1670 |
a.ActionID = actionID |
| 1671 |
} |
| 1672 |
func (cli *Client) Logoff(opts ...RequestOption) (res *Response, err error) { |
| 1673 |
req := &LogoffAction{} |
| 1674 |
res = &Response{} |
| 1675 |
return res, cli.Action(req, res, opts...) |
| 1676 |
} |
| 1677 |
|
| 1678 |
|
| 1679 |
type LoginAction struct { |
| 1680 |
|
| 1681 |
ActionID string |
| 1682 |
|
| 1683 |
UserName string |
| 1684 |
|
| 1685 |
Secret string |
| 1686 |
} |
| 1687 |
|
| 1688 |
func (LoginAction) ActionTypeName() string { |
| 1689 |
return "Login" |
| 1690 |
} |
| 1691 |
func (a LoginAction) GetActionID() string { |
| 1692 |
return a.ActionID |
| 1693 |
} |
| 1694 |
func (a *LoginAction) SetActionID(actionID string) { |
| 1695 |
a.ActionID = actionID |
| 1696 |
} |
| 1697 |
func (cli *Client) Login(userName string, opts ...RequestOption) (res *Response, err error) { |
| 1698 |
req := &LoginAction{ |
| 1699 |
UserName: userName, |
| 1700 |
} |
| 1701 |
res = &Response{} |
| 1702 |
return res, cli.Action(req, res, opts...) |
| 1703 |
} |
| 1704 |
|
| 1705 |
|
| 1706 |
type ChallengeAction struct { |
| 1707 |
|
| 1708 |
ActionID string |
| 1709 |
|
| 1710 |
AuthType string |
| 1711 |
} |
| 1712 |
|
| 1713 |
func (ChallengeAction) ActionTypeName() string { |
| 1714 |
return "Challenge" |
| 1715 |
} |
| 1716 |
func (a ChallengeAction) GetActionID() string { |
| 1717 |
return a.ActionID |
| 1718 |
} |
| 1719 |
func (a *ChallengeAction) SetActionID(actionID string) { |
| 1720 |
a.ActionID = actionID |
| 1721 |
} |
| 1722 |
func (cli *Client) Challenge(authType string, opts ...RequestOption) (res *Response, err error) { |
| 1723 |
req := &ChallengeAction{ |
| 1724 |
AuthType: authType, |
| 1725 |
} |
| 1726 |
res = &Response{} |
| 1727 |
return res, cli.Action(req, res, opts...) |
| 1728 |
} |
| 1729 |
|
| 1730 |
|
| 1731 |
type HangupAction struct { |
| 1732 |
|
| 1733 |
ActionID string |
| 1734 |
|
| 1735 |
Channel string |
| 1736 |
|
| 1737 |
Cause string |
| 1738 |
} |
| 1739 |
|
| 1740 |
func (HangupAction) ActionTypeName() string { |
| 1741 |
return "Hangup" |
| 1742 |
} |
| 1743 |
func (a HangupAction) GetActionID() string { |
| 1744 |
return a.ActionID |
| 1745 |
} |
| 1746 |
func (a *HangupAction) SetActionID(actionID string) { |
| 1747 |
a.ActionID = actionID |
| 1748 |
} |
| 1749 |
func (cli *Client) Hangup(channel string, opts ...RequestOption) (res *Response, err error) { |
| 1750 |
req := &HangupAction{ |
| 1751 |
Channel: channel, |
| 1752 |
} |
| 1753 |
res = &Response{} |
| 1754 |
return res, cli.Action(req, res, opts...) |
| 1755 |
} |
| 1756 |
|
| 1757 |
|
| 1758 |
type StatusAction struct { |
| 1759 |
|
| 1760 |
ActionID string |
| 1761 |
|
| 1762 |
Channel string |
| 1763 |
|
| 1764 |
Variables string |
| 1765 |
|
| 1766 |
AllVariables string |
| 1767 |
} |
| 1768 |
|
| 1769 |
func (StatusAction) ActionTypeName() string { |
| 1770 |
return "Status" |
| 1771 |
} |
| 1772 |
func (a StatusAction) GetActionID() string { |
| 1773 |
return a.ActionID |
| 1774 |
} |
| 1775 |
func (a *StatusAction) SetActionID(actionID string) { |
| 1776 |
a.ActionID = actionID |
| 1777 |
} |
| 1778 |
|
| 1779 |
|
| 1780 |
type SetvarAction struct { |
| 1781 |
|
| 1782 |
ActionID string |
| 1783 |
|
| 1784 |
Channel string |
| 1785 |
|
| 1786 |
Variable string |
| 1787 |
|
| 1788 |
Value string |
| 1789 |
} |
| 1790 |
|
| 1791 |
func (SetvarAction) ActionTypeName() string { |
| 1792 |
return "Setvar" |
| 1793 |
} |
| 1794 |
func (a SetvarAction) GetActionID() string { |
| 1795 |
return a.ActionID |
| 1796 |
} |
| 1797 |
func (a *SetvarAction) SetActionID(actionID string) { |
| 1798 |
a.ActionID = actionID |
| 1799 |
} |
| 1800 |
func (cli *Client) Setvar(variable string, value string, opts ...RequestOption) (res *Response, err error) { |
| 1801 |
req := &SetvarAction{ |
| 1802 |
Variable: variable, |
| 1803 |
Value: value, |
| 1804 |
} |
| 1805 |
res = &Response{} |
| 1806 |
return res, cli.Action(req, res, opts...) |
| 1807 |
} |
| 1808 |
|
| 1809 |
|
| 1810 |
type GetvarAction struct { |
| 1811 |
|
| 1812 |
ActionID string |
| 1813 |
|
| 1814 |
Channel string |
| 1815 |
|
| 1816 |
Variable string |
| 1817 |
} |
| 1818 |
|
| 1819 |
func (GetvarAction) ActionTypeName() string { |
| 1820 |
return "Getvar" |
| 1821 |
} |
| 1822 |
func (a GetvarAction) GetActionID() string { |
| 1823 |
return a.ActionID |
| 1824 |
} |
| 1825 |
func (a *GetvarAction) SetActionID(actionID string) { |
| 1826 |
a.ActionID = actionID |
| 1827 |
} |
| 1828 |
func (cli *Client) Getvar(variable string, opts ...RequestOption) (res *Response, err error) { |
| 1829 |
req := &GetvarAction{ |
| 1830 |
Variable: variable, |
| 1831 |
} |
| 1832 |
res = &Response{} |
| 1833 |
return res, cli.Action(req, res, opts...) |
| 1834 |
} |
| 1835 |
|
| 1836 |
|
| 1837 |
type GetConfigAction struct { |
| 1838 |
|
| 1839 |
ActionID string |
| 1840 |
|
| 1841 |
FileName string |
| 1842 |
|
| 1843 |
Category string |
| 1844 |
|
| 1845 |
Filter string |
| 1846 |
} |
| 1847 |
|
| 1848 |
func (GetConfigAction) ActionTypeName() string { |
| 1849 |
return "GetConfig" |
| 1850 |
} |
| 1851 |
func (a GetConfigAction) GetActionID() string { |
| 1852 |
return a.ActionID |
| 1853 |
} |
| 1854 |
func (a *GetConfigAction) SetActionID(actionID string) { |
| 1855 |
a.ActionID = actionID |
| 1856 |
} |
| 1857 |
func (cli *Client) GetConfig(fileName string, opts ...RequestOption) (res *Response, err error) { |
| 1858 |
req := &GetConfigAction{ |
| 1859 |
FileName: fileName, |
| 1860 |
} |
| 1861 |
res = &Response{} |
| 1862 |
return res, cli.Action(req, res, opts...) |
| 1863 |
} |
| 1864 |
|
| 1865 |
|
| 1866 |
type GetConfigJSONAction struct { |
| 1867 |
|
| 1868 |
ActionID string |
| 1869 |
|
| 1870 |
FileName string |
| 1871 |
|
| 1872 |
Category string |
| 1873 |
|
| 1874 |
Filter string |
| 1875 |
} |
| 1876 |
|
| 1877 |
func (GetConfigJSONAction) ActionTypeName() string { |
| 1878 |
return "GetConfigJSON" |
| 1879 |
} |
| 1880 |
func (a GetConfigJSONAction) GetActionID() string { |
| 1881 |
return a.ActionID |
| 1882 |
} |
| 1883 |
func (a *GetConfigJSONAction) SetActionID(actionID string) { |
| 1884 |
a.ActionID = actionID |
| 1885 |
} |
| 1886 |
func (cli *Client) GetConfigJSON(fileName string, opts ...RequestOption) (res *Response, err error) { |
| 1887 |
req := &GetConfigJSONAction{ |
| 1888 |
FileName: fileName, |
| 1889 |
} |
| 1890 |
res = &Response{} |
| 1891 |
return res, cli.Action(req, res, opts...) |
| 1892 |
} |
| 1893 |
|
| 1894 |
|
| 1895 |
type UpdateConfigAction struct { |
| 1896 |
|
| 1897 |
ActionID string |
| 1898 |
|
| 1899 |
SrcFileName string |
| 1900 |
|
| 1901 |
DstFileName string |
| 1902 |
|
| 1903 |
Reload string |
| 1904 |
|
| 1905 |
PreserveEffectiveContext string |
| 1906 |
|
| 1907 |
Action000000 string |
| 1908 |
|
| 1909 |
Cat000000 string |
| 1910 |
|
| 1911 |
Var000000 string |
| 1912 |
|
| 1913 |
Value000000 string |
| 1914 |
|
| 1915 |
Match000000 string |
| 1916 |
|
| 1917 |
Line000000 string |
| 1918 |
|
| 1919 |
Options000000 string |
| 1920 |
} |
| 1921 |
|
| 1922 |
func (UpdateConfigAction) ActionTypeName() string { |
| 1923 |
return "UpdateConfig" |
| 1924 |
} |
| 1925 |
func (a UpdateConfigAction) GetActionID() string { |
| 1926 |
return a.ActionID |
| 1927 |
} |
| 1928 |
func (a *UpdateConfigAction) SetActionID(actionID string) { |
| 1929 |
a.ActionID = actionID |
| 1930 |
} |
| 1931 |
func (cli *Client) UpdateConfig(srcFileName string, dstFileName string, opts ...RequestOption) (res *Response, err error) { |
| 1932 |
req := &UpdateConfigAction{ |
| 1933 |
SrcFileName: srcFileName, |
| 1934 |
DstFileName: dstFileName, |
| 1935 |
} |
| 1936 |
res = &Response{} |
| 1937 |
return res, cli.Action(req, res, opts...) |
| 1938 |
} |
| 1939 |
|
| 1940 |
|
| 1941 |
type CreateConfigAction struct { |
| 1942 |
|
| 1943 |
ActionID string |
| 1944 |
|
| 1945 |
FileName string |
| 1946 |
} |
| 1947 |
|
| 1948 |
func (CreateConfigAction) ActionTypeName() string { |
| 1949 |
return "CreateConfig" |
| 1950 |
} |
| 1951 |
func (a CreateConfigAction) GetActionID() string { |
| 1952 |
return a.ActionID |
| 1953 |
} |
| 1954 |
func (a *CreateConfigAction) SetActionID(actionID string) { |
| 1955 |
a.ActionID = actionID |
| 1956 |
} |
| 1957 |
func (cli *Client) CreateConfig(fileName string, opts ...RequestOption) (res *Response, err error) { |
| 1958 |
req := &CreateConfigAction{ |
| 1959 |
FileName: fileName, |
| 1960 |
} |
| 1961 |
res = &Response{} |
| 1962 |
return res, cli.Action(req, res, opts...) |
| 1963 |
} |
| 1964 |
|
| 1965 |
|
| 1966 |
type ListCategoriesAction struct { |
| 1967 |
|
| 1968 |
ActionID string |
| 1969 |
|
| 1970 |
FileName string |
| 1971 |
} |
| 1972 |
|
| 1973 |
func (ListCategoriesAction) ActionTypeName() string { |
| 1974 |
return "ListCategories" |
| 1975 |
} |
| 1976 |
func (a ListCategoriesAction) GetActionID() string { |
| 1977 |
return a.ActionID |
| 1978 |
} |
| 1979 |
func (a *ListCategoriesAction) SetActionID(actionID string) { |
| 1980 |
a.ActionID = actionID |
| 1981 |
} |
| 1982 |
func (cli *Client) ListCategories(fileName string, opts ...RequestOption) (res *Response, err error) { |
| 1983 |
req := &ListCategoriesAction{ |
| 1984 |
FileName: fileName, |
| 1985 |
} |
| 1986 |
res = &Response{} |
| 1987 |
return res, cli.Action(req, res, opts...) |
| 1988 |
} |
| 1989 |
|
| 1990 |
|
| 1991 |
type RedirectAction struct { |
| 1992 |
|
| 1993 |
ActionID string |
| 1994 |
|
| 1995 |
Channel string |
| 1996 |
|
| 1997 |
ExtraChannel string |
| 1998 |
|
| 1999 |
Exten string |
| 2000 |
|
| 2001 |
ExtraExten string |
| 2002 |
|
| 2003 |
Context string |
| 2004 |
|
| 2005 |
ExtraContext string |
| 2006 |
|
| 2007 |
Priority int |
| 2008 |
|
| 2009 |
ExtraPriority string |
| 2010 |
} |
| 2011 |
|
| 2012 |
func (RedirectAction) ActionTypeName() string { |
| 2013 |
return "Redirect" |
| 2014 |
} |
| 2015 |
func (a RedirectAction) GetActionID() string { |
| 2016 |
return a.ActionID |
| 2017 |
} |
| 2018 |
func (a *RedirectAction) SetActionID(actionID string) { |
| 2019 |
a.ActionID = actionID |
| 2020 |
} |
| 2021 |
func (cli *Client) Redirect(channel string, exten string, context string, priority int, opts ...RequestOption) (res *Response, err error) { |
| 2022 |
req := &RedirectAction{ |
| 2023 |
Channel: channel, |
| 2024 |
Exten: exten, |
| 2025 |
Context: context, |
| 2026 |
Priority: priority, |
| 2027 |
} |
| 2028 |
res = &Response{} |
| 2029 |
return res, cli.Action(req, res, opts...) |
| 2030 |
} |
| 2031 |
|
| 2032 |
|
| 2033 |
type AtxferAction struct { |
| 2034 |
|
| 2035 |
ActionID string |
| 2036 |
|
| 2037 |
Channel string |
| 2038 |
|
| 2039 |
Exten string |
| 2040 |
|
| 2041 |
Context string |
| 2042 |
} |
| 2043 |
|
| 2044 |
func (AtxferAction) ActionTypeName() string { |
| 2045 |
return "Atxfer" |
| 2046 |
} |
| 2047 |
func (a AtxferAction) GetActionID() string { |
| 2048 |
return a.ActionID |
| 2049 |
} |
| 2050 |
func (a *AtxferAction) SetActionID(actionID string) { |
| 2051 |
a.ActionID = actionID |
| 2052 |
} |
| 2053 |
func (cli *Client) Atxfer(channel string, exten string, opts ...RequestOption) (res *Response, err error) { |
| 2054 |
req := &AtxferAction{ |
| 2055 |
Channel: channel, |
| 2056 |
Exten: exten, |
| 2057 |
} |
| 2058 |
res = &Response{} |
| 2059 |
return res, cli.Action(req, res, opts...) |
| 2060 |
} |
| 2061 |
|
| 2062 |
|
| 2063 |
type CancelAtxferAction struct { |
| 2064 |
|
| 2065 |
ActionID string |
| 2066 |
|
| 2067 |
Channel string |
| 2068 |
} |
| 2069 |
|
| 2070 |
func (CancelAtxferAction) ActionTypeName() string { |
| 2071 |
return "CancelAtxfer" |
| 2072 |
} |
| 2073 |
func (a CancelAtxferAction) GetActionID() string { |
| 2074 |
return a.ActionID |
| 2075 |
} |
| 2076 |
func (a *CancelAtxferAction) SetActionID(actionID string) { |
| 2077 |
a.ActionID = actionID |
| 2078 |
} |
| 2079 |
func (cli *Client) CancelAtxfer(channel string, opts ...RequestOption) (res *Response, err error) { |
| 2080 |
req := &CancelAtxferAction{ |
| 2081 |
Channel: channel, |
| 2082 |
} |
| 2083 |
res = &Response{} |
| 2084 |
return res, cli.Action(req, res, opts...) |
| 2085 |
} |
| 2086 |
|
| 2087 |
|
| 2088 |
type OriginateAction struct { |
| 2089 |
|
| 2090 |
ActionID string |
| 2091 |
|
| 2092 |
Channel string |
| 2093 |
|
| 2094 |
Exten string |
| 2095 |
|
| 2096 |
Context string |
| 2097 |
|
| 2098 |
Priority int |
| 2099 |
|
| 2100 |
Application string |
| 2101 |
|
| 2102 |
Data string |
| 2103 |
|
| 2104 |
Timeout int |
| 2105 |
|
| 2106 |
CallerID string |
| 2107 |
|
| 2108 |
Variable string |
| 2109 |
|
| 2110 |
Account string |
| 2111 |
|
| 2112 |
EarlyMedia string |
| 2113 |
|
| 2114 |
Async string |
| 2115 |
|
| 2116 |
Codecs string |
| 2117 |
|
| 2118 |
ChannelId string |
| 2119 |
|
| 2120 |
OtherChannelId string |
| 2121 |
} |
| 2122 |
|
| 2123 |
func (OriginateAction) ActionTypeName() string { |
| 2124 |
return "Originate" |
| 2125 |
} |
| 2126 |
func (a OriginateAction) GetActionID() string { |
| 2127 |
return a.ActionID |
| 2128 |
} |
| 2129 |
func (a *OriginateAction) SetActionID(actionID string) { |
| 2130 |
a.ActionID = actionID |
| 2131 |
} |
| 2132 |
func (cli *Client) Originate(channel string, opts ...RequestOption) (res *Response, err error) { |
| 2133 |
req := &OriginateAction{ |
| 2134 |
Channel: channel, |
| 2135 |
} |
| 2136 |
res = &Response{} |
| 2137 |
return res, cli.Action(req, res, opts...) |
| 2138 |
} |
| 2139 |
|
| 2140 |
|
| 2141 |
type CommandAction struct { |
| 2142 |
|
| 2143 |
ActionID string |
| 2144 |
|
| 2145 |
Command string |
| 2146 |
} |
| 2147 |
|
| 2148 |
func (CommandAction) ActionTypeName() string { |
| 2149 |
return "Command" |
| 2150 |
} |
| 2151 |
func (a CommandAction) GetActionID() string { |
| 2152 |
return a.ActionID |
| 2153 |
} |
| 2154 |
func (a *CommandAction) SetActionID(actionID string) { |
| 2155 |
a.ActionID = actionID |
| 2156 |
} |
| 2157 |
func (cli *Client) Command(command string, opts ...RequestOption) (res *Response, err error) { |
| 2158 |
req := &CommandAction{ |
| 2159 |
Command: command, |
| 2160 |
} |
| 2161 |
res = &Response{} |
| 2162 |
return res, cli.Action(req, res, opts...) |
| 2163 |
} |
| 2164 |
|
| 2165 |
|
| 2166 |
type ExtensionStateAction struct { |
| 2167 |
|
| 2168 |
ActionID string |
| 2169 |
|
| 2170 |
Exten string |
| 2171 |
|
| 2172 |
Context string |
| 2173 |
} |
| 2174 |
|
| 2175 |
func (ExtensionStateAction) ActionTypeName() string { |
| 2176 |
return "ExtensionState" |
| 2177 |
} |
| 2178 |
func (a ExtensionStateAction) GetActionID() string { |
| 2179 |
return a.ActionID |
| 2180 |
} |
| 2181 |
func (a *ExtensionStateAction) SetActionID(actionID string) { |
| 2182 |
a.ActionID = actionID |
| 2183 |
} |
| 2184 |
func (cli *Client) ExtensionState(exten string, context string, opts ...RequestOption) (res *Response, err error) { |
| 2185 |
req := &ExtensionStateAction{ |
| 2186 |
Exten: exten, |
| 2187 |
Context: context, |
| 2188 |
} |
| 2189 |
res = &Response{} |
| 2190 |
return res, cli.Action(req, res, opts...) |
| 2191 |
} |
| 2192 |
|
| 2193 |
|
| 2194 |
type PresenceStateAction struct { |
| 2195 |
|
| 2196 |
ActionID string |
| 2197 |
|
| 2198 |
Provider string |
| 2199 |
} |
| 2200 |
|
| 2201 |
func (PresenceStateAction) ActionTypeName() string { |
| 2202 |
return "PresenceState" |
| 2203 |
} |
| 2204 |
func (a PresenceStateAction) GetActionID() string { |
| 2205 |
return a.ActionID |
| 2206 |
} |
| 2207 |
func (a *PresenceStateAction) SetActionID(actionID string) { |
| 2208 |
a.ActionID = actionID |
| 2209 |
} |
| 2210 |
func (cli *Client) PresenceState(provider string, opts ...RequestOption) (res *Response, err error) { |
| 2211 |
req := &PresenceStateAction{ |
| 2212 |
Provider: provider, |
| 2213 |
} |
| 2214 |
res = &Response{} |
| 2215 |
return res, cli.Action(req, res, opts...) |
| 2216 |
} |
| 2217 |
|
| 2218 |
|
| 2219 |
type AbsoluteTimeoutAction struct { |
| 2220 |
|
| 2221 |
ActionID string |
| 2222 |
|
| 2223 |
Channel string |
| 2224 |
|
| 2225 |
Timeout int |
| 2226 |
} |
| 2227 |
|
| 2228 |
func (AbsoluteTimeoutAction) ActionTypeName() string { |
| 2229 |
return "AbsoluteTimeout" |
| 2230 |
} |
| 2231 |
func (a AbsoluteTimeoutAction) GetActionID() string { |
| 2232 |
return a.ActionID |
| 2233 |
} |
| 2234 |
func (a *AbsoluteTimeoutAction) SetActionID(actionID string) { |
| 2235 |
a.ActionID = actionID |
| 2236 |
} |
| 2237 |
func (cli *Client) AbsoluteTimeout(channel string, timeout int, opts ...RequestOption) (res *Response, err error) { |
| 2238 |
req := &AbsoluteTimeoutAction{ |
| 2239 |
Channel: channel, |
| 2240 |
Timeout: timeout, |
| 2241 |
} |
| 2242 |
res = &Response{} |
| 2243 |
return res, cli.Action(req, res, opts...) |
| 2244 |
} |
| 2245 |
|
| 2246 |
|
| 2247 |
type MailboxStatusAction struct { |
| 2248 |
|
| 2249 |
ActionID string |
| 2250 |
|
| 2251 |
Mailbox string |
| 2252 |
} |
| 2253 |
|
| 2254 |
func (MailboxStatusAction) ActionTypeName() string { |
| 2255 |
return "MailboxStatus" |
| 2256 |
} |
| 2257 |
func (a MailboxStatusAction) GetActionID() string { |
| 2258 |
return a.ActionID |
| 2259 |
} |
| 2260 |
func (a *MailboxStatusAction) SetActionID(actionID string) { |
| 2261 |
a.ActionID = actionID |
| 2262 |
} |
| 2263 |
func (cli *Client) MailboxStatus(mailbox string, opts ...RequestOption) (res *Response, err error) { |
| 2264 |
req := &MailboxStatusAction{ |
| 2265 |
Mailbox: mailbox, |
| 2266 |
} |
| 2267 |
res = &Response{} |
| 2268 |
return res, cli.Action(req, res, opts...) |
| 2269 |
} |
| 2270 |
|
| 2271 |
|
| 2272 |
type MailboxCountAction struct { |
| 2273 |
|
| 2274 |
ActionID string |
| 2275 |
|
| 2276 |
Mailbox string |
| 2277 |
} |
| 2278 |
|
| 2279 |
func (MailboxCountAction) ActionTypeName() string { |
| 2280 |
return "MailboxCount" |
| 2281 |
} |
| 2282 |
func (a MailboxCountAction) GetActionID() string { |
| 2283 |
return a.ActionID |
| 2284 |
} |
| 2285 |
func (a *MailboxCountAction) SetActionID(actionID string) { |
| 2286 |
a.ActionID = actionID |
| 2287 |
} |
| 2288 |
func (cli *Client) MailboxCount(mailbox string, opts ...RequestOption) (res *Response, err error) { |
| 2289 |
req := &MailboxCountAction{ |
| 2290 |
Mailbox: mailbox, |
| 2291 |
} |
| 2292 |
res = &Response{} |
| 2293 |
return res, cli.Action(req, res, opts...) |
| 2294 |
} |
| 2295 |
|
| 2296 |
|
| 2297 |
type ListCommandsAction struct { |
| 2298 |
|
| 2299 |
ActionID string |
| 2300 |
} |
| 2301 |
|
| 2302 |
func (ListCommandsAction) ActionTypeName() string { |
| 2303 |
return "ListCommands" |
| 2304 |
} |
| 2305 |
func (a ListCommandsAction) GetActionID() string { |
| 2306 |
return a.ActionID |
| 2307 |
} |
| 2308 |
func (a *ListCommandsAction) SetActionID(actionID string) { |
| 2309 |
a.ActionID = actionID |
| 2310 |
} |
| 2311 |
func (cli *Client) ListCommands(opts ...RequestOption) (res *Response, err error) { |
| 2312 |
req := &ListCommandsAction{} |
| 2313 |
res = &Response{} |
| 2314 |
return res, cli.Action(req, res, opts...) |
| 2315 |
} |
| 2316 |
|
| 2317 |
|
| 2318 |
|
| 2319 |
type SendTextAction struct { |
| 2320 |
|
| 2321 |
ActionID string |
| 2322 |
|
| 2323 |
Channel string |
| 2324 |
|
| 2325 |
Message string |
| 2326 |
|
| 2327 |
ContentType string |
| 2328 |
} |
| 2329 |
|
| 2330 |
func (SendTextAction) ActionTypeName() string { |
| 2331 |
return "SendText" |
| 2332 |
} |
| 2333 |
func (a SendTextAction) GetActionID() string { |
| 2334 |
return a.ActionID |
| 2335 |
} |
| 2336 |
func (a *SendTextAction) SetActionID(actionID string) { |
| 2337 |
a.ActionID = actionID |
| 2338 |
} |
| 2339 |
func (cli *Client) SendText(channel string, message string, opts ...RequestOption) (res *Response, err error) { |
| 2340 |
req := &SendTextAction{ |
| 2341 |
Channel: channel, |
| 2342 |
Message: message, |
| 2343 |
} |
| 2344 |
res = &Response{} |
| 2345 |
return res, cli.Action(req, res, opts...) |
| 2346 |
} |
| 2347 |
|
| 2348 |
|
| 2349 |
type UserEventAction struct { |
| 2350 |
|
| 2351 |
ActionID string |
| 2352 |
|
| 2353 |
UserEvent string |
| 2354 |
|
| 2355 |
Header1 string |
| 2356 |
|
| 2357 |
HeaderN string |
| 2358 |
} |
| 2359 |
|
| 2360 |
func (UserEventAction) ActionTypeName() string { |
| 2361 |
return "UserEvent" |
| 2362 |
} |
| 2363 |
func (a UserEventAction) GetActionID() string { |
| 2364 |
return a.ActionID |
| 2365 |
} |
| 2366 |
func (a *UserEventAction) SetActionID(actionID string) { |
| 2367 |
a.ActionID = actionID |
| 2368 |
} |
| 2369 |
func (cli *Client) UserEvent(userEvent string, opts ...RequestOption) (res *Response, err error) { |
| 2370 |
req := &UserEventAction{ |
| 2371 |
UserEvent: userEvent, |
| 2372 |
} |
| 2373 |
res = &Response{} |
| 2374 |
return res, cli.Action(req, res, opts...) |
| 2375 |
} |
| 2376 |
|
| 2377 |
|
| 2378 |
type WaitEventAction struct { |
| 2379 |
|
| 2380 |
ActionID string |
| 2381 |
|
| 2382 |
Timeout int |
| 2383 |
} |
| 2384 |
|
| 2385 |
func (WaitEventAction) ActionTypeName() string { |
| 2386 |
return "WaitEvent" |
| 2387 |
} |
| 2388 |
func (a WaitEventAction) GetActionID() string { |
| 2389 |
return a.ActionID |
| 2390 |
} |
| 2391 |
func (a *WaitEventAction) SetActionID(actionID string) { |
| 2392 |
a.ActionID = actionID |
| 2393 |
} |
| 2394 |
func (cli *Client) WaitEvent(timeout int, opts ...RequestOption) (res *Response, err error) { |
| 2395 |
req := &WaitEventAction{ |
| 2396 |
Timeout: timeout, |
| 2397 |
} |
| 2398 |
res = &Response{} |
| 2399 |
return res, cli.Action(req, res, opts...) |
| 2400 |
} |
| 2401 |
|
| 2402 |
|
| 2403 |
type CoreSettingsAction struct { |
| 2404 |
|
| 2405 |
ActionID string |
| 2406 |
} |
| 2407 |
|
| 2408 |
func (CoreSettingsAction) ActionTypeName() string { |
| 2409 |
return "CoreSettings" |
| 2410 |
} |
| 2411 |
func (a CoreSettingsAction) GetActionID() string { |
| 2412 |
return a.ActionID |
| 2413 |
} |
| 2414 |
func (a *CoreSettingsAction) SetActionID(actionID string) { |
| 2415 |
a.ActionID = actionID |
| 2416 |
} |
| 2417 |
func (cli *Client) CoreSettings(opts ...RequestOption) (res *Response, err error) { |
| 2418 |
req := &CoreSettingsAction{} |
| 2419 |
res = &Response{} |
| 2420 |
return res, cli.Action(req, res, opts...) |
| 2421 |
} |
| 2422 |
|
| 2423 |
|
| 2424 |
type CoreStatusAction struct { |
| 2425 |
|
| 2426 |
ActionID string |
| 2427 |
} |
| 2428 |
|
| 2429 |
func (CoreStatusAction) ActionTypeName() string { |
| 2430 |
return "CoreStatus" |
| 2431 |
} |
| 2432 |
func (a CoreStatusAction) GetActionID() string { |
| 2433 |
return a.ActionID |
| 2434 |
} |
| 2435 |
func (a *CoreStatusAction) SetActionID(actionID string) { |
| 2436 |
a.ActionID = actionID |
| 2437 |
} |
| 2438 |
func (cli *Client) CoreStatus(opts ...RequestOption) (res *Response, err error) { |
| 2439 |
req := &CoreStatusAction{} |
| 2440 |
res = &Response{} |
| 2441 |
return res, cli.Action(req, res, opts...) |
| 2442 |
} |
| 2443 |
|
| 2444 |
|
| 2445 |
type ReloadAction struct { |
| 2446 |
|
| 2447 |
ActionID string |
| 2448 |
|
| 2449 |
Module string |
| 2450 |
} |
| 2451 |
|
| 2452 |
func (ReloadAction) ActionTypeName() string { |
| 2453 |
return "Reload" |
| 2454 |
} |
| 2455 |
func (a ReloadAction) GetActionID() string { |
| 2456 |
return a.ActionID |
| 2457 |
} |
| 2458 |
func (a *ReloadAction) SetActionID(actionID string) { |
| 2459 |
a.ActionID = actionID |
| 2460 |
} |
| 2461 |
func (cli *Client) Reload(opts ...RequestOption) (res *Response, err error) { |
| 2462 |
req := &ReloadAction{} |
| 2463 |
res = &Response{} |
| 2464 |
return res, cli.Action(req, res, opts...) |
| 2465 |
} |
| 2466 |
|
| 2467 |
|
| 2468 |
type CoreShowChannelsAction struct { |
| 2469 |
|
| 2470 |
ActionID string |
| 2471 |
} |
| 2472 |
|
| 2473 |
func (CoreShowChannelsAction) ActionTypeName() string { |
| 2474 |
return "CoreShowChannels" |
| 2475 |
} |
| 2476 |
func (a CoreShowChannelsAction) GetActionID() string { |
| 2477 |
return a.ActionID |
| 2478 |
} |
| 2479 |
func (a *CoreShowChannelsAction) SetActionID(actionID string) { |
| 2480 |
a.ActionID = actionID |
| 2481 |
} |
| 2482 |
|
| 2483 |
|
| 2484 |
type LoggerRotateAction struct { |
| 2485 |
|
| 2486 |
ActionID string |
| 2487 |
} |
| 2488 |
|
| 2489 |
func (LoggerRotateAction) ActionTypeName() string { |
| 2490 |
return "LoggerRotate" |
| 2491 |
} |
| 2492 |
func (a LoggerRotateAction) GetActionID() string { |
| 2493 |
return a.ActionID |
| 2494 |
} |
| 2495 |
func (a *LoggerRotateAction) SetActionID(actionID string) { |
| 2496 |
a.ActionID = actionID |
| 2497 |
} |
| 2498 |
func (cli *Client) LoggerRotate(opts ...RequestOption) (res *Response, err error) { |
| 2499 |
req := &LoggerRotateAction{} |
| 2500 |
res = &Response{} |
| 2501 |
return res, cli.Action(req, res, opts...) |
| 2502 |
} |
| 2503 |
|
| 2504 |
|
| 2505 |
type ModuleLoadAction struct { |
| 2506 |
|
| 2507 |
ActionID string |
| 2508 |
|
| 2509 |
Module string |
| 2510 |
|
| 2511 |
LoadType string |
| 2512 |
} |
| 2513 |
|
| 2514 |
func (ModuleLoadAction) ActionTypeName() string { |
| 2515 |
return "ModuleLoad" |
| 2516 |
} |
| 2517 |
func (a ModuleLoadAction) GetActionID() string { |
| 2518 |
return a.ActionID |
| 2519 |
} |
| 2520 |
func (a *ModuleLoadAction) SetActionID(actionID string) { |
| 2521 |
a.ActionID = actionID |
| 2522 |
} |
| 2523 |
func (cli *Client) ModuleLoad(loadType string, opts ...RequestOption) (res *Response, err error) { |
| 2524 |
req := &ModuleLoadAction{ |
| 2525 |
LoadType: loadType, |
| 2526 |
} |
| 2527 |
res = &Response{} |
| 2528 |
return res, cli.Action(req, res, opts...) |
| 2529 |
} |
| 2530 |
|
| 2531 |
|
| 2532 |
type ModuleCheckAction struct { |
| 2533 |
|
| 2534 |
ActionID string |
| 2535 |
|
| 2536 |
Module string |
| 2537 |
} |
| 2538 |
|
| 2539 |
func (ModuleCheckAction) ActionTypeName() string { |
| 2540 |
return "ModuleCheck" |
| 2541 |
} |
| 2542 |
func (a ModuleCheckAction) GetActionID() string { |
| 2543 |
return a.ActionID |
| 2544 |
} |
| 2545 |
func (a *ModuleCheckAction) SetActionID(actionID string) { |
| 2546 |
a.ActionID = actionID |
| 2547 |
} |
| 2548 |
func (cli *Client) ModuleCheck(module string, opts ...RequestOption) (res *Response, err error) { |
| 2549 |
req := &ModuleCheckAction{ |
| 2550 |
Module: module, |
| 2551 |
} |
| 2552 |
res = &Response{} |
| 2553 |
return res, cli.Action(req, res, opts...) |
| 2554 |
} |
| 2555 |
|
| 2556 |
|
| 2557 |
type AOCMessageAction struct { |
| 2558 |
|
| 2559 |
ActionID string |
| 2560 |
|
| 2561 |
Channel string |
| 2562 |
|
| 2563 |
ChannelPrefix string |
| 2564 |
|
| 2565 |
MsgType string |
| 2566 |
|
| 2567 |
ChargeType string |
| 2568 |
|
| 2569 |
UnitAmount0 string |
| 2570 |
|
| 2571 |
UnitType0 string |
| 2572 |
|
| 2573 |
CurrencyName string |
| 2574 |
|
| 2575 |
CurrencyAmount string |
| 2576 |
|
| 2577 |
CurrencyMultiplier string |
| 2578 |
|
| 2579 |
TotalType string |
| 2580 |
|
| 2581 |
AOCBillingId string |
| 2582 |
|
| 2583 |
ChargingAssociationId string |
| 2584 |
|
| 2585 |
ChargingAssociationNumber string |
| 2586 |
|
| 2587 |
ChargingAssociationPlan string |
| 2588 |
} |
| 2589 |
|
| 2590 |
func (AOCMessageAction) ActionTypeName() string { |
| 2591 |
return "AOCMessage" |
| 2592 |
} |
| 2593 |
func (a AOCMessageAction) GetActionID() string { |
| 2594 |
return a.ActionID |
| 2595 |
} |
| 2596 |
func (a *AOCMessageAction) SetActionID(actionID string) { |
| 2597 |
a.ActionID = actionID |
| 2598 |
} |
| 2599 |
func (cli *Client) AOCMessage(channel string, msgType string, chargeType string, opts ...RequestOption) (res *Response, err error) { |
| 2600 |
req := &AOCMessageAction{ |
| 2601 |
Channel: channel, |
| 2602 |
MsgType: msgType, |
| 2603 |
ChargeType: chargeType, |
| 2604 |
} |
| 2605 |
res = &Response{} |
| 2606 |
return res, cli.Action(req, res, opts...) |
| 2607 |
} |
| 2608 |
|
| 2609 |
|
| 2610 |
type FilterAction struct { |
| 2611 |
|
| 2612 |
ActionID string |
| 2613 |
Operation string |
| 2614 |
|
| 2615 |
Filter string |
| 2616 |
} |
| 2617 |
|
| 2618 |
func (FilterAction) ActionTypeName() string { |
| 2619 |
return "Filter" |
| 2620 |
} |
| 2621 |
func (a FilterAction) GetActionID() string { |
| 2622 |
return a.ActionID |
| 2623 |
} |
| 2624 |
func (a *FilterAction) SetActionID(actionID string) { |
| 2625 |
a.ActionID = actionID |
| 2626 |
} |
| 2627 |
func (cli *Client) Filter(opts ...RequestOption) (res *Response, err error) { |
| 2628 |
req := &FilterAction{} |
| 2629 |
res = &Response{} |
| 2630 |
return res, cli.Action(req, res, opts...) |
| 2631 |
} |
| 2632 |
|
| 2633 |
|
| 2634 |
type FilterListAction struct { |
| 2635 |
|
| 2636 |
ActionID string |
| 2637 |
} |
| 2638 |
|
| 2639 |
func (FilterListAction) ActionTypeName() string { |
| 2640 |
return "FilterList" |
| 2641 |
} |
| 2642 |
func (a FilterListAction) GetActionID() string { |
| 2643 |
return a.ActionID |
| 2644 |
} |
| 2645 |
func (a *FilterListAction) SetActionID(actionID string) { |
| 2646 |
a.ActionID = actionID |
| 2647 |
} |
| 2648 |
func (cli *Client) FilterList(opts ...RequestOption) (res *Response, err error) { |
| 2649 |
req := &FilterListAction{} |
| 2650 |
res = &Response{} |
| 2651 |
return res, cli.Action(req, res, opts...) |
| 2652 |
} |
| 2653 |
|
| 2654 |
|
| 2655 |
type BlindTransferAction struct { |
| 2656 |
|
| 2657 |
ActionID string |
| 2658 |
Channel string |
| 2659 |
Context string |
| 2660 |
Exten string |
| 2661 |
} |
| 2662 |
|
| 2663 |
func (BlindTransferAction) ActionTypeName() string { |
| 2664 |
return "BlindTransfer" |
| 2665 |
} |
| 2666 |
func (a BlindTransferAction) GetActionID() string { |
| 2667 |
return a.ActionID |
| 2668 |
} |
| 2669 |
func (a *BlindTransferAction) SetActionID(actionID string) { |
| 2670 |
a.ActionID = actionID |
| 2671 |
} |
| 2672 |
func (cli *Client) BlindTransfer(channel string, opts ...RequestOption) (res *Response, err error) { |
| 2673 |
req := &BlindTransferAction{ |
| 2674 |
Channel: channel, |
| 2675 |
} |
| 2676 |
res = &Response{} |
| 2677 |
return res, cli.Action(req, res, opts...) |
| 2678 |
} |
| 2679 |
|
| 2680 |
|
| 2681 |
type BridgeAction struct { |
| 2682 |
|
| 2683 |
ActionID string |
| 2684 |
|
| 2685 |
Channel1 string |
| 2686 |
|
| 2687 |
Channel2 string |
| 2688 |
|
| 2689 |
Tone string |
| 2690 |
} |
| 2691 |
|
| 2692 |
func (BridgeAction) ActionTypeName() string { |
| 2693 |
return "Bridge" |
| 2694 |
} |
| 2695 |
func (a BridgeAction) GetActionID() string { |
| 2696 |
return a.ActionID |
| 2697 |
} |
| 2698 |
func (a *BridgeAction) SetActionID(actionID string) { |
| 2699 |
a.ActionID = actionID |
| 2700 |
} |
| 2701 |
func (cli *Client) Bridge(channel1 string, channel2 string, opts ...RequestOption) (res *Response, err error) { |
| 2702 |
req := &BridgeAction{ |
| 2703 |
Channel1: channel1, |
| 2704 |
Channel2: channel2, |
| 2705 |
} |
| 2706 |
res = &Response{} |
| 2707 |
return res, cli.Action(req, res, opts...) |
| 2708 |
} |
| 2709 |
|
| 2710 |
|
| 2711 |
type DBGetAction struct { |
| 2712 |
|
| 2713 |
ActionID string |
| 2714 |
Family string |
| 2715 |
Key string |
| 2716 |
} |
| 2717 |
|
| 2718 |
func (DBGetAction) ActionTypeName() string { |
| 2719 |
return "DBGet" |
| 2720 |
} |
| 2721 |
func (a DBGetAction) GetActionID() string { |
| 2722 |
return a.ActionID |
| 2723 |
} |
| 2724 |
func (a *DBGetAction) SetActionID(actionID string) { |
| 2725 |
a.ActionID = actionID |
| 2726 |
} |
| 2727 |
func (cli *Client) DBGet(family string, key string, opts ...RequestOption) (res *Response, err error) { |
| 2728 |
req := &DBGetAction{ |
| 2729 |
Family: family, |
| 2730 |
Key: key, |
| 2731 |
} |
| 2732 |
res = &Response{} |
| 2733 |
return res, cli.Action(req, res, opts...) |
| 2734 |
} |
| 2735 |
|
| 2736 |
|
| 2737 |
type DBPutAction struct { |
| 2738 |
|
| 2739 |
ActionID string |
| 2740 |
Family string |
| 2741 |
Key string |
| 2742 |
Val string |
| 2743 |
} |
| 2744 |
|
| 2745 |
func (DBPutAction) ActionTypeName() string { |
| 2746 |
return "DBPut" |
| 2747 |
} |
| 2748 |
func (a DBPutAction) GetActionID() string { |
| 2749 |
return a.ActionID |
| 2750 |
} |
| 2751 |
func (a *DBPutAction) SetActionID(actionID string) { |
| 2752 |
a.ActionID = actionID |
| 2753 |
} |
| 2754 |
func (cli *Client) DBPut(family string, key string, opts ...RequestOption) (res *Response, err error) { |
| 2755 |
req := &DBPutAction{ |
| 2756 |
Family: family, |
| 2757 |
Key: key, |
| 2758 |
} |
| 2759 |
res = &Response{} |
| 2760 |
return res, cli.Action(req, res, opts...) |
| 2761 |
} |
| 2762 |
|
| 2763 |
|
| 2764 |
type DBDelAction struct { |
| 2765 |
|
| 2766 |
ActionID string |
| 2767 |
Family string |
| 2768 |
Key string |
| 2769 |
} |
| 2770 |
|
| 2771 |
func (DBDelAction) ActionTypeName() string { |
| 2772 |
return "DBDel" |
| 2773 |
} |
| 2774 |
func (a DBDelAction) GetActionID() string { |
| 2775 |
return a.ActionID |
| 2776 |
} |
| 2777 |
func (a *DBDelAction) SetActionID(actionID string) { |
| 2778 |
a.ActionID = actionID |
| 2779 |
} |
| 2780 |
func (cli *Client) DBDel(family string, key string, opts ...RequestOption) (res *Response, err error) { |
| 2781 |
req := &DBDelAction{ |
| 2782 |
Family: family, |
| 2783 |
Key: key, |
| 2784 |
} |
| 2785 |
res = &Response{} |
| 2786 |
return res, cli.Action(req, res, opts...) |
| 2787 |
} |
| 2788 |
|
| 2789 |
|
| 2790 |
type DBDelTreeAction struct { |
| 2791 |
|
| 2792 |
ActionID string |
| 2793 |
Family string |
| 2794 |
Key string |
| 2795 |
} |
| 2796 |
|
| 2797 |
func (DBDelTreeAction) ActionTypeName() string { |
| 2798 |
return "DBDelTree" |
| 2799 |
} |
| 2800 |
func (a DBDelTreeAction) GetActionID() string { |
| 2801 |
return a.ActionID |
| 2802 |
} |
| 2803 |
func (a *DBDelTreeAction) SetActionID(actionID string) { |
| 2804 |
a.ActionID = actionID |
| 2805 |
} |
| 2806 |
func (cli *Client) DBDelTree(family string, opts ...RequestOption) (res *Response, err error) { |
| 2807 |
req := &DBDelTreeAction{ |
| 2808 |
Family: family, |
| 2809 |
} |
| 2810 |
res = &Response{} |
| 2811 |
return res, cli.Action(req, res, opts...) |
| 2812 |
} |
| 2813 |
|
| 2814 |
|
| 2815 |
type ShowDialPlanAction struct { |
| 2816 |
|
| 2817 |
ActionID string |
| 2818 |
|
| 2819 |
Extension string |
| 2820 |
|
| 2821 |
Context string |
| 2822 |
} |
| 2823 |
|
| 2824 |
func (ShowDialPlanAction) ActionTypeName() string { |
| 2825 |
return "ShowDialPlan" |
| 2826 |
} |
| 2827 |
func (a ShowDialPlanAction) GetActionID() string { |
| 2828 |
return a.ActionID |
| 2829 |
} |
| 2830 |
func (a *ShowDialPlanAction) SetActionID(actionID string) { |
| 2831 |
a.ActionID = actionID |
| 2832 |
} |
| 2833 |
func (cli *Client) ShowDialPlan(opts ...RequestOption) (res *Response, err error) { |
| 2834 |
req := &ShowDialPlanAction{} |
| 2835 |
res = &Response{} |
| 2836 |
return res, cli.Action(req, res, opts...) |
| 2837 |
} |
| 2838 |
|
| 2839 |
|
| 2840 |
type ExtensionStateListAction struct { |
| 2841 |
|
| 2842 |
ActionID string |
| 2843 |
} |
| 2844 |
|
| 2845 |
func (ExtensionStateListAction) ActionTypeName() string { |
| 2846 |
return "ExtensionStateList" |
| 2847 |
} |
| 2848 |
func (a ExtensionStateListAction) GetActionID() string { |
| 2849 |
return a.ActionID |
| 2850 |
} |
| 2851 |
func (a *ExtensionStateListAction) SetActionID(actionID string) { |
| 2852 |
a.ActionID = actionID |
| 2853 |
} |
| 2854 |
|
| 2855 |
|
| 2856 |
type MessageSendAction struct { |
| 2857 |
|
| 2858 |
ActionID string |
| 2859 |
|
| 2860 |
To string |
| 2861 |
|
| 2862 |
From string |
| 2863 |
|
| 2864 |
Body string |
| 2865 |
|
| 2866 |
Base64Body string |
| 2867 |
|
| 2868 |
Variable string |
| 2869 |
} |
| 2870 |
|
| 2871 |
func (MessageSendAction) ActionTypeName() string { |
| 2872 |
return "MessageSend" |
| 2873 |
} |
| 2874 |
func (a MessageSendAction) GetActionID() string { |
| 2875 |
return a.ActionID |
| 2876 |
} |
| 2877 |
func (a *MessageSendAction) SetActionID(actionID string) { |
| 2878 |
a.ActionID = actionID |
| 2879 |
} |
| 2880 |
func (cli *Client) MessageSend(to string, opts ...RequestOption) (res *Response, err error) { |
| 2881 |
req := &MessageSendAction{ |
| 2882 |
To: to, |
| 2883 |
} |
| 2884 |
res = &Response{} |
| 2885 |
return res, cli.Action(req, res, opts...) |
| 2886 |
} |
| 2887 |
|
| 2888 |
|
| 2889 |
type LocalOptimizeAwayAction struct { |
| 2890 |
|
| 2891 |
ActionID string |
| 2892 |
|
| 2893 |
Channel string |
| 2894 |
} |
| 2895 |
|
| 2896 |
func (LocalOptimizeAwayAction) ActionTypeName() string { |
| 2897 |
return "LocalOptimizeAway" |
| 2898 |
} |
| 2899 |
func (a LocalOptimizeAwayAction) GetActionID() string { |
| 2900 |
return a.ActionID |
| 2901 |
} |
| 2902 |
func (a *LocalOptimizeAwayAction) SetActionID(actionID string) { |
| 2903 |
a.ActionID = actionID |
| 2904 |
} |
| 2905 |
func (cli *Client) LocalOptimizeAway(channel string, opts ...RequestOption) (res *Response, err error) { |
| 2906 |
req := &LocalOptimizeAwayAction{ |
| 2907 |
Channel: channel, |
| 2908 |
} |
| 2909 |
res = &Response{} |
| 2910 |
return res, cli.Action(req, res, opts...) |
| 2911 |
} |
| 2912 |
|
| 2913 |
|
| 2914 |
type BridgeTechnologyListAction struct { |
| 2915 |
|
| 2916 |
ActionID string |
| 2917 |
} |
| 2918 |
|
| 2919 |
func (BridgeTechnologyListAction) ActionTypeName() string { |
| 2920 |
return "BridgeTechnologyList" |
| 2921 |
} |
| 2922 |
func (a BridgeTechnologyListAction) GetActionID() string { |
| 2923 |
return a.ActionID |
| 2924 |
} |
| 2925 |
func (a *BridgeTechnologyListAction) SetActionID(actionID string) { |
| 2926 |
a.ActionID = actionID |
| 2927 |
} |
| 2928 |
func (cli *Client) BridgeTechnologyList(opts ...RequestOption) (res *Response, err error) { |
| 2929 |
req := &BridgeTechnologyListAction{} |
| 2930 |
res = &Response{} |
| 2931 |
return res, cli.Action(req, res, opts...) |
| 2932 |
} |
| 2933 |
|
| 2934 |
|
| 2935 |
type BridgeTechnologySuspendAction struct { |
| 2936 |
|
| 2937 |
ActionID string |
| 2938 |
|
| 2939 |
BridgeTechnology string |
| 2940 |
} |
| 2941 |
|
| 2942 |
func (BridgeTechnologySuspendAction) ActionTypeName() string { |
| 2943 |
return "BridgeTechnologySuspend" |
| 2944 |
} |
| 2945 |
func (a BridgeTechnologySuspendAction) GetActionID() string { |
| 2946 |
return a.ActionID |
| 2947 |
} |
| 2948 |
func (a *BridgeTechnologySuspendAction) SetActionID(actionID string) { |
| 2949 |
a.ActionID = actionID |
| 2950 |
} |
| 2951 |
func (cli *Client) BridgeTechnologySuspend(bridgeTechnology string, opts ...RequestOption) (res *Response, err error) { |
| 2952 |
req := &BridgeTechnologySuspendAction{ |
| 2953 |
BridgeTechnology: bridgeTechnology, |
| 2954 |
} |
| 2955 |
res = &Response{} |
| 2956 |
return res, cli.Action(req, res, opts...) |
| 2957 |
} |
| 2958 |
|
| 2959 |
|
| 2960 |
type BridgeTechnologyUnsuspendAction struct { |
| 2961 |
|
| 2962 |
ActionID string |
| 2963 |
|
| 2964 |
BridgeTechnology string |
| 2965 |
} |
| 2966 |
|
| 2967 |
func (BridgeTechnologyUnsuspendAction) ActionTypeName() string { |
| 2968 |
return "BridgeTechnologyUnsuspend" |
| 2969 |
} |
| 2970 |
func (a BridgeTechnologyUnsuspendAction) GetActionID() string { |
| 2971 |
return a.ActionID |
| 2972 |
} |
| 2973 |
func (a *BridgeTechnologyUnsuspendAction) SetActionID(actionID string) { |
| 2974 |
a.ActionID = actionID |
| 2975 |
} |
| 2976 |
func (cli *Client) BridgeTechnologyUnsuspend(bridgeTechnology string, opts ...RequestOption) (res *Response, err error) { |
| 2977 |
req := &BridgeTechnologyUnsuspendAction{ |
| 2978 |
BridgeTechnology: bridgeTechnology, |
| 2979 |
} |
| 2980 |
res = &Response{} |
| 2981 |
return res, cli.Action(req, res, opts...) |
| 2982 |
} |
| 2983 |
|
| 2984 |
|
| 2985 |
type BridgeListAction struct { |
| 2986 |
|
| 2987 |
ActionID string |
| 2988 |
|
| 2989 |
BridgeType string |
| 2990 |
} |
| 2991 |
|
| 2992 |
func (BridgeListAction) ActionTypeName() string { |
| 2993 |
return "BridgeList" |
| 2994 |
} |
| 2995 |
func (a BridgeListAction) GetActionID() string { |
| 2996 |
return a.ActionID |
| 2997 |
} |
| 2998 |
func (a *BridgeListAction) SetActionID(actionID string) { |
| 2999 |
a.ActionID = actionID |
| 3000 |
} |
| 3001 |
func (cli *Client) BridgeList(opts ...RequestOption) (res *Response, err error) { |
| 3002 |
req := &BridgeListAction{} |
| 3003 |
res = &Response{} |
| 3004 |
return res, cli.Action(req, res, opts...) |
| 3005 |
} |
| 3006 |
|
| 3007 |
|
| 3008 |
type BridgeInfoAction struct { |
| 3009 |
|
| 3010 |
ActionID string |
| 3011 |
|
| 3012 |
BridgeUniqueid string |
| 3013 |
} |
| 3014 |
|
| 3015 |
func (BridgeInfoAction) ActionTypeName() string { |
| 3016 |
return "BridgeInfo" |
| 3017 |
} |
| 3018 |
func (a BridgeInfoAction) GetActionID() string { |
| 3019 |
return a.ActionID |
| 3020 |
} |
| 3021 |
func (a *BridgeInfoAction) SetActionID(actionID string) { |
| 3022 |
a.ActionID = actionID |
| 3023 |
} |
| 3024 |
|
| 3025 |
|
| 3026 |
type BridgeDestroyAction struct { |
| 3027 |
|
| 3028 |
ActionID string |
| 3029 |
|
| 3030 |
BridgeUniqueid string |
| 3031 |
} |
| 3032 |
|
| 3033 |
func (BridgeDestroyAction) ActionTypeName() string { |
| 3034 |
return "BridgeDestroy" |
| 3035 |
} |
| 3036 |
func (a BridgeDestroyAction) GetActionID() string { |
| 3037 |
return a.ActionID |
| 3038 |
} |
| 3039 |
func (a *BridgeDestroyAction) SetActionID(actionID string) { |
| 3040 |
a.ActionID = actionID |
| 3041 |
} |
| 3042 |
func (cli *Client) BridgeDestroy(bridgeUniqueid string, opts ...RequestOption) (res *Response, err error) { |
| 3043 |
req := &BridgeDestroyAction{ |
| 3044 |
BridgeUniqueid: bridgeUniqueid, |
| 3045 |
} |
| 3046 |
res = &Response{} |
| 3047 |
return res, cli.Action(req, res, opts...) |
| 3048 |
} |
| 3049 |
|
| 3050 |
|
| 3051 |
type BridgeKickAction struct { |
| 3052 |
|
| 3053 |
ActionID string |
| 3054 |
|
| 3055 |
BridgeUniqueid string |
| 3056 |
|
| 3057 |
Channel string |
| 3058 |
} |
| 3059 |
|
| 3060 |
func (BridgeKickAction) ActionTypeName() string { |
| 3061 |
return "BridgeKick" |
| 3062 |
} |
| 3063 |
func (a BridgeKickAction) GetActionID() string { |
| 3064 |
return a.ActionID |
| 3065 |
} |
| 3066 |
func (a *BridgeKickAction) SetActionID(actionID string) { |
| 3067 |
a.ActionID = actionID |
| 3068 |
} |
| 3069 |
func (cli *Client) BridgeKick(channel string, opts ...RequestOption) (res *Response, err error) { |
| 3070 |
req := &BridgeKickAction{ |
| 3071 |
Channel: channel, |
| 3072 |
} |
| 3073 |
res = &Response{} |
| 3074 |
return res, cli.Action(req, res, opts...) |
| 3075 |
} |
| 3076 |
|
| 3077 |
|
| 3078 |
type PresenceStateListAction struct { |
| 3079 |
|
| 3080 |
ActionID string |
| 3081 |
} |
| 3082 |
|
| 3083 |
func (PresenceStateListAction) ActionTypeName() string { |
| 3084 |
return "PresenceStateList" |
| 3085 |
} |
| 3086 |
func (a PresenceStateListAction) GetActionID() string { |
| 3087 |
return a.ActionID |
| 3088 |
} |
| 3089 |
func (a *PresenceStateListAction) SetActionID(actionID string) { |
| 3090 |
a.ActionID = actionID |
| 3091 |
} |
| 3092 |
|
| 3093 |
|
| 3094 |
type ParkinglotsAction struct { |
| 3095 |
|
| 3096 |
ActionID string |
| 3097 |
} |
| 3098 |
|
| 3099 |
func (ParkinglotsAction) ActionTypeName() string { |
| 3100 |
return "Parkinglots" |
| 3101 |
} |
| 3102 |
func (a ParkinglotsAction) GetActionID() string { |
| 3103 |
return a.ActionID |
| 3104 |
} |
| 3105 |
func (a *ParkinglotsAction) SetActionID(actionID string) { |
| 3106 |
a.ActionID = actionID |
| 3107 |
} |
| 3108 |
func (cli *Client) Parkinglots(opts ...RequestOption) (res *Response, err error) { |
| 3109 |
req := &ParkinglotsAction{} |
| 3110 |
res = &Response{} |
| 3111 |
return res, cli.Action(req, res, opts...) |
| 3112 |
} |
| 3113 |
|
| 3114 |
|
| 3115 |
type ParkedCallsAction struct { |
| 3116 |
|
| 3117 |
ActionID string |
| 3118 |
|
| 3119 |
ParkingLot string |
| 3120 |
} |
| 3121 |
|
| 3122 |
func (ParkedCallsAction) ActionTypeName() string { |
| 3123 |
return "ParkedCalls" |
| 3124 |
} |
| 3125 |
func (a ParkedCallsAction) GetActionID() string { |
| 3126 |
return a.ActionID |
| 3127 |
} |
| 3128 |
func (a *ParkedCallsAction) SetActionID(actionID string) { |
| 3129 |
a.ActionID = actionID |
| 3130 |
} |
| 3131 |
func (cli *Client) ParkedCalls(opts ...RequestOption) (res *Response, err error) { |
| 3132 |
req := &ParkedCallsAction{} |
| 3133 |
res = &Response{} |
| 3134 |
return res, cli.Action(req, res, opts...) |
| 3135 |
} |
| 3136 |
|
| 3137 |
|
| 3138 |
type ParkAction struct { |
| 3139 |
|
| 3140 |
ActionID string |
| 3141 |
|
| 3142 |
Channel string |
| 3143 |
|
| 3144 |
TimeoutChannel string |
| 3145 |
|
| 3146 |
AnnounceChannel string |
| 3147 |
|
| 3148 |
Timeout int |
| 3149 |
|
| 3150 |
Parkinglot string |
| 3151 |
} |
| 3152 |
|
| 3153 |
func (ParkAction) ActionTypeName() string { |
| 3154 |
return "Park" |
| 3155 |
} |
| 3156 |
func (a ParkAction) GetActionID() string { |
| 3157 |
return a.ActionID |
| 3158 |
} |
| 3159 |
func (a *ParkAction) SetActionID(actionID string) { |
| 3160 |
a.ActionID = actionID |
| 3161 |
} |
| 3162 |
func (cli *Client) Park(channel string, opts ...RequestOption) (res *Response, err error) { |
| 3163 |
req := &ParkAction{ |
| 3164 |
Channel: channel, |
| 3165 |
} |
| 3166 |
res = &Response{} |
| 3167 |
return res, cli.Action(req, res, opts...) |
| 3168 |
} |
| 3169 |
|
| 3170 |
|
| 3171 |
type MWIGetAction struct { |
| 3172 |
|
| 3173 |
ActionID string |
| 3174 |
|
| 3175 |
Mailbox string |
| 3176 |
} |
| 3177 |
|
| 3178 |
func (MWIGetAction) ActionTypeName() string { |
| 3179 |
return "MWIGet" |
| 3180 |
} |
| 3181 |
func (a MWIGetAction) GetActionID() string { |
| 3182 |
return a.ActionID |
| 3183 |
} |
| 3184 |
func (a *MWIGetAction) SetActionID(actionID string) { |
| 3185 |
a.ActionID = actionID |
| 3186 |
} |
| 3187 |
func (cli *Client) MWIGet(mailbox string, opts ...RequestOption) (res *Response, err error) { |
| 3188 |
req := &MWIGetAction{ |
| 3189 |
Mailbox: mailbox, |
| 3190 |
} |
| 3191 |
res = &Response{} |
| 3192 |
return res, cli.Action(req, res, opts...) |
| 3193 |
} |
| 3194 |
|
| 3195 |
|
| 3196 |
type MWIDeleteAction struct { |
| 3197 |
|
| 3198 |
ActionID string |
| 3199 |
|
| 3200 |
Mailbox string |
| 3201 |
} |
| 3202 |
|
| 3203 |
func (MWIDeleteAction) ActionTypeName() string { |
| 3204 |
return "MWIDelete" |
| 3205 |
} |
| 3206 |
func (a MWIDeleteAction) GetActionID() string { |
| 3207 |
return a.ActionID |
| 3208 |
} |
| 3209 |
func (a *MWIDeleteAction) SetActionID(actionID string) { |
| 3210 |
a.ActionID = actionID |
| 3211 |
} |
| 3212 |
func (cli *Client) MWIDelete(mailbox string, opts ...RequestOption) (res *Response, err error) { |
| 3213 |
req := &MWIDeleteAction{ |
| 3214 |
Mailbox: mailbox, |
| 3215 |
} |
| 3216 |
res = &Response{} |
| 3217 |
return res, cli.Action(req, res, opts...) |
| 3218 |
} |
| 3219 |
|
| 3220 |
|
| 3221 |
type MWIUpdateAction struct { |
| 3222 |
|
| 3223 |
ActionID string |
| 3224 |
|
| 3225 |
Mailbox string |
| 3226 |
|
| 3227 |
OldMessages string |
| 3228 |
|
| 3229 |
NewMessages string |
| 3230 |
} |
| 3231 |
|
| 3232 |
func (MWIUpdateAction) ActionTypeName() string { |
| 3233 |
return "MWIUpdate" |
| 3234 |
} |
| 3235 |
func (a MWIUpdateAction) GetActionID() string { |
| 3236 |
return a.ActionID |
| 3237 |
} |
| 3238 |
func (a *MWIUpdateAction) SetActionID(actionID string) { |
| 3239 |
a.ActionID = actionID |
| 3240 |
} |
| 3241 |
func (cli *Client) MWIUpdate(mailbox string, opts ...RequestOption) (res *Response, err error) { |
| 3242 |
req := &MWIUpdateAction{ |
| 3243 |
Mailbox: mailbox, |
| 3244 |
} |
| 3245 |
res = &Response{} |
| 3246 |
return res, cli.Action(req, res, opts...) |
| 3247 |
} |
| 3248 |
|
| 3249 |
|
| 3250 |
type PJSIPShowRegistrationsInboundAction struct { |
| 3251 |
|
| 3252 |
ActionID string |
| 3253 |
} |
| 3254 |
|
| 3255 |
func (PJSIPShowRegistrationsInboundAction) ActionTypeName() string { |
| 3256 |
return "PJSIPShowRegistrationsInbound" |
| 3257 |
} |
| 3258 |
func (a PJSIPShowRegistrationsInboundAction) GetActionID() string { |
| 3259 |
return a.ActionID |
| 3260 |
} |
| 3261 |
func (a *PJSIPShowRegistrationsInboundAction) SetActionID(actionID string) { |
| 3262 |
a.ActionID = actionID |
| 3263 |
} |
| 3264 |
func (cli *Client) PJSIPShowRegistrationsInbound(opts ...RequestOption) (res *Response, err error) { |
| 3265 |
req := &PJSIPShowRegistrationsInboundAction{} |
| 3266 |
res = &Response{} |
| 3267 |
return res, cli.Action(req, res, opts...) |
| 3268 |
} |
| 3269 |
|
| 3270 |
|
| 3271 |
type PJSIPShowRegistrationInboundContactStatusesAction struct { |
| 3272 |
|
| 3273 |
ActionID string |
| 3274 |
} |
| 3275 |
|
| 3276 |
func (PJSIPShowRegistrationInboundContactStatusesAction) ActionTypeName() string { |
| 3277 |
return "PJSIPShowRegistrationInboundContactStatuses" |
| 3278 |
} |
| 3279 |
func (a PJSIPShowRegistrationInboundContactStatusesAction) GetActionID() string { |
| 3280 |
return a.ActionID |
| 3281 |
} |
| 3282 |
func (a *PJSIPShowRegistrationInboundContactStatusesAction) SetActionID(actionID string) { |
| 3283 |
a.ActionID = actionID |
| 3284 |
} |
| 3285 |
func (cli *Client) PJSIPShowRegistrationInboundContactStatuses(opts ...RequestOption) (res *Response, err error) { |
| 3286 |
req := &PJSIPShowRegistrationInboundContactStatusesAction{} |
| 3287 |
res = &Response{} |
| 3288 |
return res, cli.Action(req, res, opts...) |
| 3289 |
} |
| 3290 |
|
| 3291 |
|
| 3292 |
type PJSIPNotifyAction struct { |
| 3293 |
|
| 3294 |
ActionID string |
| 3295 |
|
| 3296 |
Endpoint string |
| 3297 |
|
| 3298 |
URI string |
| 3299 |
|
| 3300 |
Channel string |
| 3301 |
|
| 3302 |
Variable string |
| 3303 |
} |
| 3304 |
|
| 3305 |
func (PJSIPNotifyAction) ActionTypeName() string { |
| 3306 |
return "PJSIPNotify" |
| 3307 |
} |
| 3308 |
func (a PJSIPNotifyAction) GetActionID() string { |
| 3309 |
return a.ActionID |
| 3310 |
} |
| 3311 |
func (a *PJSIPNotifyAction) SetActionID(actionID string) { |
| 3312 |
a.ActionID = actionID |
| 3313 |
} |
| 3314 |
func (cli *Client) PJSIPNotify(variable string, opts ...RequestOption) (res *Response, err error) { |
| 3315 |
req := &PJSIPNotifyAction{ |
| 3316 |
Variable: variable, |
| 3317 |
} |
| 3318 |
res = &Response{} |
| 3319 |
return res, cli.Action(req, res, opts...) |
| 3320 |
} |
| 3321 |
|
| 3322 |
|
| 3323 |
type PJSIPQualifyAction struct { |
| 3324 |
|
| 3325 |
ActionID string |
| 3326 |
|
| 3327 |
Endpoint string |
| 3328 |
} |
| 3329 |
|
| 3330 |
func (PJSIPQualifyAction) ActionTypeName() string { |
| 3331 |
return "PJSIPQualify" |
| 3332 |
} |
| 3333 |
func (a PJSIPQualifyAction) GetActionID() string { |
| 3334 |
return a.ActionID |
| 3335 |
} |
| 3336 |
func (a *PJSIPQualifyAction) SetActionID(actionID string) { |
| 3337 |
a.ActionID = actionID |
| 3338 |
} |
| 3339 |
func (cli *Client) PJSIPQualify(endpoint string, opts ...RequestOption) (res *Response, err error) { |
| 3340 |
req := &PJSIPQualifyAction{ |
| 3341 |
Endpoint: endpoint, |
| 3342 |
} |
| 3343 |
res = &Response{} |
| 3344 |
return res, cli.Action(req, res, opts...) |
| 3345 |
} |
| 3346 |
|
| 3347 |
|
| 3348 |
type PJSIPShowEndpointsAction struct { |
| 3349 |
|
| 3350 |
ActionID string |
| 3351 |
} |
| 3352 |
|
| 3353 |
func (PJSIPShowEndpointsAction) ActionTypeName() string { |
| 3354 |
return "PJSIPShowEndpoints" |
| 3355 |
} |
| 3356 |
func (a PJSIPShowEndpointsAction) GetActionID() string { |
| 3357 |
return a.ActionID |
| 3358 |
} |
| 3359 |
func (a *PJSIPShowEndpointsAction) SetActionID(actionID string) { |
| 3360 |
a.ActionID = actionID |
| 3361 |
} |
| 3362 |
|
| 3363 |
|
| 3364 |
type PJSIPShowEndpointAction struct { |
| 3365 |
|
| 3366 |
ActionID string |
| 3367 |
|
| 3368 |
Endpoint string |
| 3369 |
} |
| 3370 |
|
| 3371 |
func (PJSIPShowEndpointAction) ActionTypeName() string { |
| 3372 |
return "PJSIPShowEndpoint" |
| 3373 |
} |
| 3374 |
func (a PJSIPShowEndpointAction) GetActionID() string { |
| 3375 |
return a.ActionID |
| 3376 |
} |
| 3377 |
func (a *PJSIPShowEndpointAction) SetActionID(actionID string) { |
| 3378 |
a.ActionID = actionID |
| 3379 |
} |
| 3380 |
|
| 3381 |
|
| 3382 |
type PJSIPShowAorsAction struct { |
| 3383 |
|
| 3384 |
ActionID string |
| 3385 |
} |
| 3386 |
|
| 3387 |
func (PJSIPShowAorsAction) ActionTypeName() string { |
| 3388 |
return "PJSIPShowAors" |
| 3389 |
} |
| 3390 |
func (a PJSIPShowAorsAction) GetActionID() string { |
| 3391 |
return a.ActionID |
| 3392 |
} |
| 3393 |
func (a *PJSIPShowAorsAction) SetActionID(actionID string) { |
| 3394 |
a.ActionID = actionID |
| 3395 |
} |
| 3396 |
|
| 3397 |
|
| 3398 |
type PJSIPShowAuthsAction struct { |
| 3399 |
|
| 3400 |
ActionID string |
| 3401 |
} |
| 3402 |
|
| 3403 |
func (PJSIPShowAuthsAction) ActionTypeName() string { |
| 3404 |
return "PJSIPShowAuths" |
| 3405 |
} |
| 3406 |
func (a PJSIPShowAuthsAction) GetActionID() string { |
| 3407 |
return a.ActionID |
| 3408 |
} |
| 3409 |
func (a *PJSIPShowAuthsAction) SetActionID(actionID string) { |
| 3410 |
a.ActionID = actionID |
| 3411 |
} |
| 3412 |
|
| 3413 |
|
| 3414 |
type PJSIPShowContactsAction struct { |
| 3415 |
|
| 3416 |
ActionID string |
| 3417 |
} |
| 3418 |
|
| 3419 |
func (PJSIPShowContactsAction) ActionTypeName() string { |
| 3420 |
return "PJSIPShowContacts" |
| 3421 |
} |
| 3422 |
func (a PJSIPShowContactsAction) GetActionID() string { |
| 3423 |
return a.ActionID |
| 3424 |
} |
| 3425 |
func (a *PJSIPShowContactsAction) SetActionID(actionID string) { |
| 3426 |
a.ActionID = actionID |
| 3427 |
} |
| 3428 |
|
| 3429 |
|
| 3430 |
type FAXSessionsAction struct { |
| 3431 |
|
| 3432 |
ActionID string |
| 3433 |
} |
| 3434 |
|
| 3435 |
func (FAXSessionsAction) ActionTypeName() string { |
| 3436 |
return "FAXSessions" |
| 3437 |
} |
| 3438 |
func (a FAXSessionsAction) GetActionID() string { |
| 3439 |
return a.ActionID |
| 3440 |
} |
| 3441 |
func (a *FAXSessionsAction) SetActionID(actionID string) { |
| 3442 |
a.ActionID = actionID |
| 3443 |
} |
| 3444 |
func (cli *Client) FAXSessions(opts ...RequestOption) (res *Response, err error) { |
| 3445 |
req := &FAXSessionsAction{} |
| 3446 |
res = &Response{} |
| 3447 |
return res, cli.Action(req, res, opts...) |
| 3448 |
} |
| 3449 |
|
| 3450 |
|
| 3451 |
type FAXSessionAction struct { |
| 3452 |
|
| 3453 |
ActionID string |
| 3454 |
|
| 3455 |
SessionNumber string |
| 3456 |
} |
| 3457 |
|
| 3458 |
func (FAXSessionAction) ActionTypeName() string { |
| 3459 |
return "FAXSession" |
| 3460 |
} |
| 3461 |
func (a FAXSessionAction) GetActionID() string { |
| 3462 |
return a.ActionID |
| 3463 |
} |
| 3464 |
func (a *FAXSessionAction) SetActionID(actionID string) { |
| 3465 |
a.ActionID = actionID |
| 3466 |
} |
| 3467 |
func (cli *Client) FAXSession(sessionNumber string, opts ...RequestOption) (res *Response, err error) { |
| 3468 |
req := &FAXSessionAction{ |
| 3469 |
SessionNumber: sessionNumber, |
| 3470 |
} |
| 3471 |
res = &Response{} |
| 3472 |
return res, cli.Action(req, res, opts...) |
| 3473 |
} |
| 3474 |
|
| 3475 |
|
| 3476 |
type FAXStatsAction struct { |
| 3477 |
|
| 3478 |
ActionID string |
| 3479 |
} |
| 3480 |
|
| 3481 |
func (FAXStatsAction) ActionTypeName() string { |
| 3482 |
return "FAXStats" |
| 3483 |
} |
| 3484 |
func (a FAXStatsAction) GetActionID() string { |
| 3485 |
return a.ActionID |
| 3486 |
} |
| 3487 |
func (a *FAXStatsAction) SetActionID(actionID string) { |
| 3488 |
a.ActionID = actionID |
| 3489 |
} |
| 3490 |
func (cli *Client) FAXStats(opts ...RequestOption) (res *Response, err error) { |
| 3491 |
req := &FAXStatsAction{} |
| 3492 |
res = &Response{} |
| 3493 |
return res, cli.Action(req, res, opts...) |
| 3494 |
} |
| 3495 |
|
| 3496 |
|
| 3497 |
type PJSIPUnregisterAction struct { |
| 3498 |
|
| 3499 |
ActionID string |
| 3500 |
|
| 3501 |
Registration string |
| 3502 |
} |
| 3503 |
|
| 3504 |
func (PJSIPUnregisterAction) ActionTypeName() string { |
| 3505 |
return "PJSIPUnregister" |
| 3506 |
} |
| 3507 |
func (a PJSIPUnregisterAction) GetActionID() string { |
| 3508 |
return a.ActionID |
| 3509 |
} |
| 3510 |
func (a *PJSIPUnregisterAction) SetActionID(actionID string) { |
| 3511 |
a.ActionID = actionID |
| 3512 |
} |
| 3513 |
func (cli *Client) PJSIPUnregister(registration string, opts ...RequestOption) (res *Response, err error) { |
| 3514 |
req := &PJSIPUnregisterAction{ |
| 3515 |
Registration: registration, |
| 3516 |
} |
| 3517 |
res = &Response{} |
| 3518 |
return res, cli.Action(req, res, opts...) |
| 3519 |
} |
| 3520 |
|
| 3521 |
|
| 3522 |
type PJSIPRegisterAction struct { |
| 3523 |
|
| 3524 |
ActionID string |
| 3525 |
|
| 3526 |
Registration string |
| 3527 |
} |
| 3528 |
|
| 3529 |
func (PJSIPRegisterAction) ActionTypeName() string { |
| 3530 |
return "PJSIPRegister" |
| 3531 |
} |
| 3532 |
func (a PJSIPRegisterAction) GetActionID() string { |
| 3533 |
return a.ActionID |
| 3534 |
} |
| 3535 |
func (a *PJSIPRegisterAction) SetActionID(actionID string) { |
| 3536 |
a.ActionID = actionID |
| 3537 |
} |
| 3538 |
func (cli *Client) PJSIPRegister(registration string, opts ...RequestOption) (res *Response, err error) { |
| 3539 |
req := &PJSIPRegisterAction{ |
| 3540 |
Registration: registration, |
| 3541 |
} |
| 3542 |
res = &Response{} |
| 3543 |
return res, cli.Action(req, res, opts...) |
| 3544 |
} |
| 3545 |
|
| 3546 |
|
| 3547 |
type PJSIPShowRegistrationsOutboundAction struct { |
| 3548 |
|
| 3549 |
ActionID string |
| 3550 |
} |
| 3551 |
|
| 3552 |
func (PJSIPShowRegistrationsOutboundAction) ActionTypeName() string { |
| 3553 |
return "PJSIPShowRegistrationsOutbound" |
| 3554 |
} |
| 3555 |
func (a PJSIPShowRegistrationsOutboundAction) GetActionID() string { |
| 3556 |
return a.ActionID |
| 3557 |
} |
| 3558 |
func (a *PJSIPShowRegistrationsOutboundAction) SetActionID(actionID string) { |
| 3559 |
a.ActionID = actionID |
| 3560 |
} |
| 3561 |
func (cli *Client) PJSIPShowRegistrationsOutbound(opts ...RequestOption) (res *Response, err error) { |
| 3562 |
req := &PJSIPShowRegistrationsOutboundAction{} |
| 3563 |
res = &Response{} |
| 3564 |
return res, cli.Action(req, res, opts...) |
| 3565 |
} |
| 3566 |
|
| 3567 |
|
| 3568 |
type MuteAudioAction struct { |
| 3569 |
|
| 3570 |
ActionID string |
| 3571 |
|
| 3572 |
Channel string |
| 3573 |
Direction string |
| 3574 |
State string |
| 3575 |
} |
| 3576 |
|
| 3577 |
func (MuteAudioAction) ActionTypeName() string { |
| 3578 |
return "MuteAudio" |
| 3579 |
} |
| 3580 |
func (a MuteAudioAction) GetActionID() string { |
| 3581 |
return a.ActionID |
| 3582 |
} |
| 3583 |
func (a *MuteAudioAction) SetActionID(actionID string) { |
| 3584 |
a.ActionID = actionID |
| 3585 |
} |
| 3586 |
func (cli *Client) MuteAudio(channel string, direction string, state string, opts ...RequestOption) (res *Response, err error) { |
| 3587 |
req := &MuteAudioAction{ |
| 3588 |
Channel: channel, |
| 3589 |
Direction: direction, |
| 3590 |
State: state, |
| 3591 |
} |
| 3592 |
res = &Response{} |
| 3593 |
return res, cli.Action(req, res, opts...) |
| 3594 |
} |
| 3595 |
|
| 3596 |
|
| 3597 |
type MonitorAction struct { |
| 3598 |
|
| 3599 |
ActionID string |
| 3600 |
|
| 3601 |
Channel string |
| 3602 |
|
| 3603 |
File string |
| 3604 |
Format string |
| 3605 |
|
| 3606 |
Mix string |
| 3607 |
} |
| 3608 |
|
| 3609 |
func (MonitorAction) ActionTypeName() string { |
| 3610 |
return "Monitor" |
| 3611 |
} |
| 3612 |
func (a MonitorAction) GetActionID() string { |
| 3613 |
return a.ActionID |
| 3614 |
} |
| 3615 |
func (a *MonitorAction) SetActionID(actionID string) { |
| 3616 |
a.ActionID = actionID |
| 3617 |
} |
| 3618 |
func (cli *Client) Monitor(channel string, opts ...RequestOption) (res *Response, err error) { |
| 3619 |
req := &MonitorAction{ |
| 3620 |
Channel: channel, |
| 3621 |
} |
| 3622 |
res = &Response{} |
| 3623 |
return res, cli.Action(req, res, opts...) |
| 3624 |
} |
| 3625 |
|
| 3626 |
|
| 3627 |
type StopMonitorAction struct { |
| 3628 |
|
| 3629 |
ActionID string |
| 3630 |
|
| 3631 |
Channel string |
| 3632 |
} |
| 3633 |
|
| 3634 |
func (StopMonitorAction) ActionTypeName() string { |
| 3635 |
return "StopMonitor" |
| 3636 |
} |
| 3637 |
func (a StopMonitorAction) GetActionID() string { |
| 3638 |
return a.ActionID |
| 3639 |
} |
| 3640 |
func (a *StopMonitorAction) SetActionID(actionID string) { |
| 3641 |
a.ActionID = actionID |
| 3642 |
} |
| 3643 |
func (cli *Client) StopMonitor(channel string, opts ...RequestOption) (res *Response, err error) { |
| 3644 |
req := &StopMonitorAction{ |
| 3645 |
Channel: channel, |
| 3646 |
} |
| 3647 |
res = &Response{} |
| 3648 |
return res, cli.Action(req, res, opts...) |
| 3649 |
} |
| 3650 |
|
| 3651 |
|
| 3652 |
type ChangeMonitorAction struct { |
| 3653 |
|
| 3654 |
ActionID string |
| 3655 |
|
| 3656 |
Channel string |
| 3657 |
|
| 3658 |
File string |
| 3659 |
} |
| 3660 |
|
| 3661 |
func (ChangeMonitorAction) ActionTypeName() string { |
| 3662 |
return "ChangeMonitor" |
| 3663 |
} |
| 3664 |
func (a ChangeMonitorAction) GetActionID() string { |
| 3665 |
return a.ActionID |
| 3666 |
} |
| 3667 |
func (a *ChangeMonitorAction) SetActionID(actionID string) { |
| 3668 |
a.ActionID = actionID |
| 3669 |
} |
| 3670 |
func (cli *Client) ChangeMonitor(channel string, file string, opts ...RequestOption) (res *Response, err error) { |
| 3671 |
req := &ChangeMonitorAction{ |
| 3672 |
Channel: channel, |
| 3673 |
File: file, |
| 3674 |
} |
| 3675 |
res = &Response{} |
| 3676 |
return res, cli.Action(req, res, opts...) |
| 3677 |
} |
| 3678 |
|
| 3679 |
|
| 3680 |
type PauseMonitorAction struct { |
| 3681 |
|
| 3682 |
ActionID string |
| 3683 |
|
| 3684 |
Channel string |
| 3685 |
} |
| 3686 |
|
| 3687 |
func (PauseMonitorAction) ActionTypeName() string { |
| 3688 |
return "PauseMonitor" |
| 3689 |
} |
| 3690 |
func (a PauseMonitorAction) GetActionID() string { |
| 3691 |
return a.ActionID |
| 3692 |
} |
| 3693 |
func (a *PauseMonitorAction) SetActionID(actionID string) { |
| 3694 |
a.ActionID = actionID |
| 3695 |
} |
| 3696 |
func (cli *Client) PauseMonitor(channel string, opts ...RequestOption) (res *Response, err error) { |
| 3697 |
req := &PauseMonitorAction{ |
| 3698 |
Channel: channel, |
| 3699 |
} |
| 3700 |
res = &Response{} |
| 3701 |
return res, cli.Action(req, res, opts...) |
| 3702 |
} |
| 3703 |
|
| 3704 |
|
| 3705 |
type UnpauseMonitorAction struct { |
| 3706 |
|
| 3707 |
ActionID string |
| 3708 |
|
| 3709 |
Channel string |
| 3710 |
} |
| 3711 |
|
| 3712 |
func (UnpauseMonitorAction) ActionTypeName() string { |
| 3713 |
return "UnpauseMonitor" |
| 3714 |
} |
| 3715 |
func (a UnpauseMonitorAction) GetActionID() string { |
| 3716 |
return a.ActionID |
| 3717 |
} |
| 3718 |
func (a *UnpauseMonitorAction) SetActionID(actionID string) { |
| 3719 |
a.ActionID = actionID |
| 3720 |
} |
| 3721 |
func (cli *Client) UnpauseMonitor(channel string, opts ...RequestOption) (res *Response, err error) { |
| 3722 |
req := &UnpauseMonitorAction{ |
| 3723 |
Channel: channel, |
| 3724 |
} |
| 3725 |
res = &Response{} |
| 3726 |
return res, cli.Action(req, res, opts...) |
| 3727 |
} |
| 3728 |
|
| 3729 |
|
| 3730 |
type PJSIPShowSubscriptionsInboundAction struct { |
| 3731 |
|
| 3732 |
ActionID string |
| 3733 |
} |
| 3734 |
|
| 3735 |
func (PJSIPShowSubscriptionsInboundAction) ActionTypeName() string { |
| 3736 |
return "PJSIPShowSubscriptionsInbound" |
| 3737 |
} |
| 3738 |
func (a PJSIPShowSubscriptionsInboundAction) GetActionID() string { |
| 3739 |
return a.ActionID |
| 3740 |
} |
| 3741 |
func (a *PJSIPShowSubscriptionsInboundAction) SetActionID(actionID string) { |
| 3742 |
a.ActionID = actionID |
| 3743 |
} |
| 3744 |
func (cli *Client) PJSIPShowSubscriptionsInbound(opts ...RequestOption) (res *Response, err error) { |
| 3745 |
req := &PJSIPShowSubscriptionsInboundAction{} |
| 3746 |
res = &Response{} |
| 3747 |
return res, cli.Action(req, res, opts...) |
| 3748 |
} |
| 3749 |
|
| 3750 |
|
| 3751 |
type PJSIPShowSubscriptionsOutboundAction struct { |
| 3752 |
|
| 3753 |
ActionID string |
| 3754 |
} |
| 3755 |
|
| 3756 |
func (PJSIPShowSubscriptionsOutboundAction) ActionTypeName() string { |
| 3757 |
return "PJSIPShowSubscriptionsOutbound" |
| 3758 |
} |
| 3759 |
func (a PJSIPShowSubscriptionsOutboundAction) GetActionID() string { |
| 3760 |
return a.ActionID |
| 3761 |
} |
| 3762 |
func (a *PJSIPShowSubscriptionsOutboundAction) SetActionID(actionID string) { |
| 3763 |
a.ActionID = actionID |
| 3764 |
} |
| 3765 |
func (cli *Client) PJSIPShowSubscriptionsOutbound(opts ...RequestOption) (res *Response, err error) { |
| 3766 |
req := &PJSIPShowSubscriptionsOutboundAction{} |
| 3767 |
res = &Response{} |
| 3768 |
return res, cli.Action(req, res, opts...) |
| 3769 |
} |
| 3770 |
|
| 3771 |
|
| 3772 |
type PJSIPShowResourceListsAction struct { |
| 3773 |
|
| 3774 |
ActionID string |
| 3775 |
} |
| 3776 |
|
| 3777 |
func (PJSIPShowResourceListsAction) ActionTypeName() string { |
| 3778 |
return "PJSIPShowResourceLists" |
| 3779 |
} |
| 3780 |
func (a PJSIPShowResourceListsAction) GetActionID() string { |
| 3781 |
return a.ActionID |
| 3782 |
} |
| 3783 |
func (a *PJSIPShowResourceListsAction) SetActionID(actionID string) { |
| 3784 |
a.ActionID = actionID |
| 3785 |
} |
| 3786 |
func (cli *Client) PJSIPShowResourceLists(opts ...RequestOption) (res *Response, err error) { |
| 3787 |
req := &PJSIPShowResourceListsAction{} |
| 3788 |
res = &Response{} |
| 3789 |
return res, cli.Action(req, res, opts...) |
| 3790 |
} |
| 3791 |
|
| 3792 |
|
| 3793 |
type AGIAction struct { |
| 3794 |
|
| 3795 |
ActionID string |
| 3796 |
|
| 3797 |
Channel string |
| 3798 |
|
| 3799 |
Command string |
| 3800 |
|
| 3801 |
CommandID string |
| 3802 |
} |
| 3803 |
|
| 3804 |
func (AGIAction) ActionTypeName() string { |
| 3805 |
return "AGI" |
| 3806 |
} |
| 3807 |
func (a AGIAction) GetActionID() string { |
| 3808 |
return a.ActionID |
| 3809 |
} |
| 3810 |
func (a *AGIAction) SetActionID(actionID string) { |
| 3811 |
a.ActionID = actionID |
| 3812 |
} |
| 3813 |
func (cli *Client) AGI(channel string, command string, opts ...RequestOption) (res *Response, err error) { |
| 3814 |
req := &AGIAction{ |
| 3815 |
Channel: channel, |
| 3816 |
Command: command, |
| 3817 |
} |
| 3818 |
res = &Response{} |
| 3819 |
return res, cli.Action(req, res, opts...) |
| 3820 |
} |
| 3821 |
|
| 3822 |
|
| 3823 |
type DeviceStateListAction struct { |
| 3824 |
|
| 3825 |
ActionID string |
| 3826 |
} |
| 3827 |
|
| 3828 |
func (DeviceStateListAction) ActionTypeName() string { |
| 3829 |
return "DeviceStateList" |
| 3830 |
} |
| 3831 |
func (a DeviceStateListAction) GetActionID() string { |
| 3832 |
return a.ActionID |
| 3833 |
} |
| 3834 |
func (a *DeviceStateListAction) SetActionID(actionID string) { |
| 3835 |
a.ActionID = actionID |
| 3836 |
} |
| 3837 |
|
| 3838 |
|
| 3839 |
type SorceryMemoryCacheExpireObjectAction struct { |
| 3840 |
|
| 3841 |
ActionID string |
| 3842 |
|
| 3843 |
Cache string |
| 3844 |
|
| 3845 |
Object string |
| 3846 |
} |
| 3847 |
|
| 3848 |
func (SorceryMemoryCacheExpireObjectAction) ActionTypeName() string { |
| 3849 |
return "SorceryMemoryCacheExpireObject" |
| 3850 |
} |
| 3851 |
func (a SorceryMemoryCacheExpireObjectAction) GetActionID() string { |
| 3852 |
return a.ActionID |
| 3853 |
} |
| 3854 |
func (a *SorceryMemoryCacheExpireObjectAction) SetActionID(actionID string) { |
| 3855 |
a.ActionID = actionID |
| 3856 |
} |
| 3857 |
func (cli *Client) SorceryMemoryCacheExpireObject(cache string, object string, opts ...RequestOption) (res *Response, err error) { |
| 3858 |
req := &SorceryMemoryCacheExpireObjectAction{ |
| 3859 |
Cache: cache, |
| 3860 |
Object: object, |
| 3861 |
} |
| 3862 |
res = &Response{} |
| 3863 |
return res, cli.Action(req, res, opts...) |
| 3864 |
} |
| 3865 |
|
| 3866 |
|
| 3867 |
type SorceryMemoryCacheExpireAction struct { |
| 3868 |
|
| 3869 |
ActionID string |
| 3870 |
|
| 3871 |
Cache string |
| 3872 |
} |
| 3873 |
|
| 3874 |
func (SorceryMemoryCacheExpireAction) ActionTypeName() string { |
| 3875 |
return "SorceryMemoryCacheExpire" |
| 3876 |
} |
| 3877 |
func (a SorceryMemoryCacheExpireAction) GetActionID() string { |
| 3878 |
return a.ActionID |
| 3879 |
} |
| 3880 |
func (a *SorceryMemoryCacheExpireAction) SetActionID(actionID string) { |
| 3881 |
a.ActionID = actionID |
| 3882 |
} |
| 3883 |
func (cli *Client) SorceryMemoryCacheExpire(cache string, opts ...RequestOption) (res *Response, err error) { |
| 3884 |
req := &SorceryMemoryCacheExpireAction{ |
| 3885 |
Cache: cache, |
| 3886 |
} |
| 3887 |
res = &Response{} |
| 3888 |
return res, cli.Action(req, res, opts...) |
| 3889 |
} |
| 3890 |
|
| 3891 |
|
| 3892 |
type SorceryMemoryCacheStaleObjectAction struct { |
| 3893 |
|
| 3894 |
ActionID string |
| 3895 |
|
| 3896 |
Cache string |
| 3897 |
|
| 3898 |
Object string |
| 3899 |
|
| 3900 |
Reload string |
| 3901 |
} |
| 3902 |
|
| 3903 |
func (SorceryMemoryCacheStaleObjectAction) ActionTypeName() string { |
| 3904 |
return "SorceryMemoryCacheStaleObject" |
| 3905 |
} |
| 3906 |
func (a SorceryMemoryCacheStaleObjectAction) GetActionID() string { |
| 3907 |
return a.ActionID |
| 3908 |
} |
| 3909 |
func (a *SorceryMemoryCacheStaleObjectAction) SetActionID(actionID string) { |
| 3910 |
a.ActionID = actionID |
| 3911 |
} |
| 3912 |
func (cli *Client) SorceryMemoryCacheStaleObject(cache string, object string, opts ...RequestOption) (res *Response, err error) { |
| 3913 |
req := &SorceryMemoryCacheStaleObjectAction{ |
| 3914 |
Cache: cache, |
| 3915 |
Object: object, |
| 3916 |
} |
| 3917 |
res = &Response{} |
| 3918 |
return res, cli.Action(req, res, opts...) |
| 3919 |
} |
| 3920 |
|
| 3921 |
|
| 3922 |
type SorceryMemoryCacheStaleAction struct { |
| 3923 |
|
| 3924 |
ActionID string |
| 3925 |
|
| 3926 |
Cache string |
| 3927 |
} |
| 3928 |
|
| 3929 |
func (SorceryMemoryCacheStaleAction) ActionTypeName() string { |
| 3930 |
return "SorceryMemoryCacheStale" |
| 3931 |
} |
| 3932 |
func (a SorceryMemoryCacheStaleAction) GetActionID() string { |
| 3933 |
return a.ActionID |
| 3934 |
} |
| 3935 |
func (a *SorceryMemoryCacheStaleAction) SetActionID(actionID string) { |
| 3936 |
a.ActionID = actionID |
| 3937 |
} |
| 3938 |
func (cli *Client) SorceryMemoryCacheStale(cache string, opts ...RequestOption) (res *Response, err error) { |
| 3939 |
req := &SorceryMemoryCacheStaleAction{ |
| 3940 |
Cache: cache, |
| 3941 |
} |
| 3942 |
res = &Response{} |
| 3943 |
return res, cli.Action(req, res, opts...) |
| 3944 |
} |
| 3945 |
|
| 3946 |
|
| 3947 |
type SorceryMemoryCachePopulateAction struct { |
| 3948 |
|
| 3949 |
ActionID string |
| 3950 |
|
| 3951 |
Cache string |
| 3952 |
} |
| 3953 |
|
| 3954 |
func (SorceryMemoryCachePopulateAction) ActionTypeName() string { |
| 3955 |
return "SorceryMemoryCachePopulate" |
| 3956 |
} |
| 3957 |
func (a SorceryMemoryCachePopulateAction) GetActionID() string { |
| 3958 |
return a.ActionID |
| 3959 |
} |
| 3960 |
func (a *SorceryMemoryCachePopulateAction) SetActionID(actionID string) { |
| 3961 |
a.ActionID = actionID |
| 3962 |
} |
| 3963 |
func (cli *Client) SorceryMemoryCachePopulate(cache string, opts ...RequestOption) (res *Response, err error) { |
| 3964 |
req := &SorceryMemoryCachePopulateAction{ |
| 3965 |
Cache: cache, |
| 3966 |
} |
| 3967 |
res = &Response{} |
| 3968 |
return res, cli.Action(req, res, opts...) |
| 3969 |
} |
| 3970 |
|
| 3971 |
|
| 3972 |
type JabberSendAction struct { |
| 3973 |
|
| 3974 |
ActionID string |
| 3975 |
|
| 3976 |
Jabber string |
| 3977 |
|
| 3978 |
JID string |
| 3979 |
|
| 3980 |
Message string |
| 3981 |
} |
| 3982 |
|
| 3983 |
func (JabberSendAction) ActionTypeName() string { |
| 3984 |
return "JabberSend" |
| 3985 |
} |
| 3986 |
func (a JabberSendAction) GetActionID() string { |
| 3987 |
return a.ActionID |
| 3988 |
} |
| 3989 |
func (a *JabberSendAction) SetActionID(actionID string) { |
| 3990 |
a.ActionID = actionID |
| 3991 |
} |
| 3992 |
func (cli *Client) JabberSend(jabber string, jID string, message string, opts ...RequestOption) (res *Response, err error) { |
| 3993 |
req := &JabberSendAction{ |
| 3994 |
Jabber: jabber, |
| 3995 |
JID: jID, |
| 3996 |
Message: message, |
| 3997 |
} |
| 3998 |
res = &Response{} |
| 3999 |
return res, cli.Action(req, res, opts...) |
| 4000 |
} |