Skip to content

Commit 72f377a

Browse files
author
Benjamin Krammel
committed
update swagger-definition and models
1 parent d66683e commit 72f377a

File tree

156 files changed

+16489
-493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+16489
-493
lines changed

src/Model/Account.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ public function getCustomer()
335335
/**
336336
* Sets customer
337337
*
338-
* @param \Domainrobot\Model\GenericCustomer $customer The customer itself
338+
* @param \Domainrobot\Model\GenericCustomer $customer The customer object.
339339
*
340340
* @return $this
341341
*/
@@ -359,7 +359,7 @@ public function getCurrentAccountBalance()
359359
/**
360360
* Sets currentAccountBalance
361361
*
362-
* @param double $currentAccountBalance The real account balance
362+
* @param double $currentAccountBalance The current account balance
363363
*
364364
* @return $this
365365
*/
@@ -383,7 +383,7 @@ public function getRunningTotal()
383383
/**
384384
* Sets runningTotal
385385
*
386-
* @param double $runningTotal The current total, the amount of all finished and unfinished transactions
386+
* @param double $runningTotal The current total, the amount of all finished and unfinished transactions.
387387
*
388388
* @return $this
389389
*/
@@ -431,7 +431,7 @@ public function getCurrency()
431431
/**
432432
* Sets currency
433433
*
434-
* @param string $currency The currency of the account
434+
* @param string $currency Currency in which the account is held.
435435
*
436436
* @return $this
437437
*/
@@ -455,7 +455,7 @@ public function getMinRunningTotalNotification()
455455
/**
456456
* Sets minRunningTotalNotification
457457
*
458-
* @param double $minRunningTotalNotification The minimum running total amount if a notification should be send
458+
* @param double $minRunningTotalNotification The minimum account balance at which a notification should be sent.
459459
*
460460
* @return $this
461461
*/
@@ -479,7 +479,7 @@ public function getMinRunningTotalNotificationEmail()
479479
/**
480480
* Sets minRunningTotalNotificationEmail
481481
*
482-
* @param string $minRunningTotalNotificationEmail The recipient of the notification limit email
482+
* @param string $minRunningTotalNotificationEmail Email address for notification. A notification is sent when the minimum account balance has been reached (minRunningTotalNotification).
483483
*
484484
* @return $this
485485
*/
@@ -503,7 +503,7 @@ public function getCreated()
503503
/**
504504
* Sets created
505505
*
506-
* @param \DateTime $created The date of the acccount creation
506+
* @param \DateTime $created Date of creation.
507507
*
508508
* @return $this
509509
*/
@@ -527,7 +527,7 @@ public function getUpdated()
527527
/**
528528
* Sets updated
529529
*
530-
* @param \DateTime $updated The date of the las update.
530+
* @param \DateTime $updated The date of the last update.
531531
*
532532
* @return $this
533533
*/
@@ -551,7 +551,7 @@ public function getView()
551551
/**
552552
* Sets view
553553
*
554-
* @param \Domainrobot\Model\CurrencyRate $view The selected exchange for the account
554+
* @param \Domainrobot\Model\CurrencyRate $view The selected exchange for the account.
555555
*
556556
* @return $this
557557
*/

src/Model/AccountManager.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function getCreated()
314314
/**
315315
* Sets created
316316
*
317-
* @param \DateTime $created The created date.
317+
* @param \DateTime $created Date of creation.
318318
*
319319
* @return $this
320320
*/
@@ -338,7 +338,7 @@ public function getUpdated()
338338
/**
339339
* Sets updated
340340
*
341-
* @param \DateTime $updated The updated date.
341+
* @param \DateTime $updated Date of the last update.
342342
*
343343
* @return $this
344344
*/
@@ -386,7 +386,7 @@ public function getUpdater()
386386
/**
387387
* Sets updater
388388
*
389-
* @param \Domainrobot\Model\BasicUser $updater The updater of the object.
389+
* @param \Domainrobot\Model\BasicUser $updater User who performed the last update.
390390
*
391391
* @return $this
392392
*/

src/Model/Application.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public function getCreated()
293293
/**
294294
* Sets created
295295
*
296-
* @param \DateTime $created The created date.
296+
* @param \DateTime $created Date of creation.
297297
*
298298
* @return $this
299299
*/
@@ -317,7 +317,7 @@ public function getUpdated()
317317
/**
318318
* Sets updated
319319
*
320-
* @param \DateTime $updated The updated date.
320+
* @param \DateTime $updated Date of the last update.
321321
*
322322
* @return $this
323323
*/

src/Model/Article.php

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class Article implements ModelInterface, ArrayAccess
6262
'owner' => '\Domainrobot\Model\BasicUser',
6363
'updater' => '\Domainrobot\Model\BasicUser',
6464
'type' => 'string',
65+
'category' => 'string',
6566
'label' => 'string'
6667
];
6768

@@ -76,6 +77,7 @@ class Article implements ModelInterface, ArrayAccess
7677
'owner' => null,
7778
'updater' => null,
7879
'type' => null,
80+
'category' => null,
7981
'label' => null
8082
];
8183

@@ -111,6 +113,7 @@ public static function swaggerFormats()
111113
'owner' => 'owner',
112114
'updater' => 'updater',
113115
'type' => 'type',
116+
'category' => 'category',
114117
'label' => 'label'
115118
];
116119

@@ -125,6 +128,7 @@ public static function swaggerFormats()
125128
'owner' => 'setOwner',
126129
'updater' => 'setUpdater',
127130
'type' => 'setType',
131+
'category' => 'setCategory',
128132
'label' => 'setLabel'
129133
];
130134

@@ -139,6 +143,7 @@ public static function swaggerFormats()
139143
'owner' => 'getOwner',
140144
'updater' => 'getUpdater',
141145
'type' => 'getType',
146+
'category' => 'getCategory',
142147
'label' => 'getLabel'
143148
];
144149

@@ -207,6 +212,7 @@ public function __construct(array $data = null)
207212
$this->container['owner'] = isset($data['owner']) ? $this->createData($data['owner'], 'owner') : null;
208213
$this->container['updater'] = isset($data['updater']) ? $this->createData($data['updater'], 'updater') : null;
209214
$this->container['type'] = isset($data['type']) ? $this->createData($data['type'], 'type') : null;
215+
$this->container['category'] = isset($data['category']) ? $this->createData($data['category'], 'category') : null;
210216
$this->container['label'] = isset($data['label']) ? $this->createData($data['label'], 'label') : null;
211217
}
212218

@@ -308,7 +314,7 @@ public function getCreated()
308314
/**
309315
* Sets created
310316
*
311-
* @param \DateTime $created The created date.
317+
* @param \DateTime $created Date of creation.
312318
*
313319
* @return $this
314320
*/
@@ -332,7 +338,7 @@ public function getUpdated()
332338
/**
333339
* Sets updated
334340
*
335-
* @param \DateTime $updated The updated date.
341+
* @param \DateTime $updated Date of the last update.
336342
*
337343
* @return $this
338344
*/
@@ -380,7 +386,7 @@ public function getUpdater()
380386
/**
381387
* Sets updater
382388
*
383-
* @param \Domainrobot\Model\BasicUser $updater The updater of the object.
389+
* @param \Domainrobot\Model\BasicUser $updater User who performed the last update.
384390
*
385391
* @return $this
386392
*/
@@ -415,6 +421,30 @@ public function setType($type)
415421
return $this;
416422
}
417423

424+
/**
425+
* Gets category
426+
*
427+
* @return string
428+
*/
429+
public function getCategory()
430+
{
431+
return $this->container['category'];
432+
}
433+
434+
/**
435+
* Sets category
436+
*
437+
* @param string $category category of the article
438+
*
439+
* @return $this
440+
*/
441+
public function setCategory($category)
442+
{
443+
$this->container['category'] = $category;
444+
445+
return $this;
446+
}
447+
418448
/**
419449
* Gets label
420450
*

src/Model/AuthSession.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function getCreated()
302302
/**
303303
* Sets created
304304
*
305-
* @param \DateTime $created The created date.
305+
* @param \DateTime $created Date of creation.
306306
*
307307
* @return $this
308308
*/
@@ -326,7 +326,7 @@ public function getUpdated()
326326
/**
327327
* Sets updated
328328
*
329-
* @param \DateTime $updated The updated date.
329+
* @param \DateTime $updated Date of the last update.
330330
*
331331
* @return $this
332332
*/

src/Model/AutoDeleteDomain.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function getCreated()
326326
/**
327327
* Sets created
328328
*
329-
* @param \DateTime $created The created date.
329+
* @param \DateTime $created Date of creation.
330330
*
331331
* @return $this
332332
*/
@@ -350,7 +350,7 @@ public function getUpdated()
350350
/**
351351
* Sets updated
352352
*
353-
* @param \DateTime $updated The updated date.
353+
* @param \DateTime $updated Date of the last update.
354354
*
355355
* @return $this
356356
*/
@@ -398,7 +398,7 @@ public function getUpdater()
398398
/**
399399
* Sets updater
400400
*
401-
* @param \Domainrobot\Model\BasicUser $updater The updater of the object.
401+
* @param \Domainrobot\Model\BasicUser $updater User who performed the last update.
402402
*
403403
* @return $this
404404
*/

src/Model/BackupMx.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public function getDomain()
305305
/**
306306
* Sets domain
307307
*
308-
* @param string $domain The domain of the mail exchange to backup
308+
* @param string $domain Domain name for which the BackupMX Record is to be created.
309309
*
310310
* @return $this
311311
*/
@@ -329,7 +329,7 @@ public function getIdn()
329329
/**
330330
* Sets idn
331331
*
332-
* @param string $idn The idn version of the domain.
332+
* @param string $idn IDN version of the domain name written in Punycode.
333333
*
334334
* @return $this
335335
*/
@@ -353,7 +353,7 @@ public function getCreated()
353353
/**
354354
* Sets created
355355
*
356-
* @param \DateTime $created The date of the creation
356+
* @param \DateTime $created Date of creation.
357357
*
358358
* @return $this
359359
*/
@@ -377,7 +377,7 @@ public function getUpdated()
377377
/**
378378
* Sets updated
379379
*
380-
* @param \DateTime $updated The date of the last updated
380+
* @param \DateTime $updated Date of the last update.
381381
*
382382
* @return $this
383383
*/
@@ -401,7 +401,7 @@ public function getOwner()
401401
/**
402402
* Sets owner
403403
*
404-
* @param \Domainrobot\Model\BasicUser $owner The owner of the entry
404+
* @param \Domainrobot\Model\BasicUser $owner The object owner.
405405
*
406406
* @return $this
407407
*/
@@ -425,7 +425,7 @@ public function getUpdater()
425425
/**
426426
* Sets updater
427427
*
428-
* @param \Domainrobot\Model\BasicUser $updater The last updater of the entry
428+
* @param \Domainrobot\Model\BasicUser $updater User who performed the last update.
429429
*
430430
* @return $this
431431
*/

0 commit comments

Comments
 (0)