From 1df561252429e74361c84eb2676952dfdb3f9b58 Mon Sep 17 00:00:00 2001 From: James Coon Date: Wed, 28 Sep 2022 14:16:23 -0400 Subject: [PATCH] Add type mappings for on-demand authorizations --- lib/models/Authorization.php | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/lib/models/Authorization.php b/lib/models/Authorization.php index 734bf88..01b5929 100644 --- a/lib/models/Authorization.php +++ b/lib/models/Authorization.php @@ -16,7 +16,7 @@ */ /** - * + * * * NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. * @@ -28,17 +28,25 @@ class Authorization implements ArrayAccess { static $swaggerTypes = array( - + '_links' => 'map[string,HalLink]', + 'bodyText' => 'string', + 'buttonText' => 'string' ); static $attributeMap = array( - + '_links' => '_links', + 'bodyText' => 'bodyText', + 'buttonText' => 'buttonText' ); - + public $_links; /* map[string,HalLink] */ + public $bodyText; /* string */ + public $buttonText; /* string */ public function __construct(array $data = null) { - + $this->_links = isset($data["_links"]) ? $data["_links"] : null; + $this->bodyText = isset($data["bodyText"]) ? $data["bodyText"] : null; + $this->buttonText = isset($data["buttonText"]) ? $data["buttonText"] : null; } public function offsetExists($offset) {