Skip to content

Commit

Permalink
Added screen recording visitor number property
Browse files Browse the repository at this point in the history
  • Loading branch information
perrytew committed Feb 24, 2021
1 parent 29f54d5 commit 674f60f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ Not every change is committed to every SDK.

| Version | Date | Comments |
| --: | :-: | --- |
| 3.1.11 | 02/24/2021 | Added Screen recording visitor number |
| 3.1.10 | 02/24/2021 | Added Screen recording merchant notes |
| 3.1.9 | 02/24/2021 | Allow coupons to be configured as unique with expiration on cart step within StoreFront Communications |
| 3.1.8 | 02/24/2021 | Add flag: screen recording missing event boolean |
Expand Down
1 change: 1 addition & 0 deletions docs/Model/ScreenRecording.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Name | Type | Description | Notes
**user_agent_raw** | **string** | | [optional]
**user_ip** | **string** | | [optional]
**user_properties** | [**\ultracart\v2\models\ScreenRecordingUserProperty[]**](ScreenRecordingUserProperty.md) | | [optional]
**visitor_number** | **int** | | [optional]
**watched** | **bool** | | [optional]
**window_height** | **int** | | [optional]
**window_width** | **int** | | [optional]
Expand Down
30 changes: 30 additions & 0 deletions lib/models/ScreenRecording.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class ScreenRecording implements ModelInterface, ArrayAccess
'user_agent_raw' => 'string',
'user_ip' => 'string',
'user_properties' => '\ultracart\v2\models\ScreenRecordingUserProperty[]',
'visitor_number' => 'int',
'watched' => 'bool',
'window_height' => 'int',
'window_width' => 'int'
Expand Down Expand Up @@ -130,6 +131,7 @@ class ScreenRecording implements ModelInterface, ArrayAccess
'user_agent_raw' => null,
'user_ip' => null,
'user_properties' => null,
'visitor_number' => 'int32',
'watched' => null,
'window_height' => 'int32',
'window_width' => 'int32'
Expand Down Expand Up @@ -193,6 +195,7 @@ public static function swaggerFormats()
'user_agent_raw' => 'user_agent_raw',
'user_ip' => 'user_ip',
'user_properties' => 'user_properties',
'visitor_number' => 'visitor_number',
'watched' => 'watched',
'window_height' => 'window_height',
'window_width' => 'window_width'
Expand Down Expand Up @@ -235,6 +238,7 @@ public static function swaggerFormats()
'user_agent_raw' => 'setUserAgentRaw',
'user_ip' => 'setUserIp',
'user_properties' => 'setUserProperties',
'visitor_number' => 'setVisitorNumber',
'watched' => 'setWatched',
'window_height' => 'setWindowHeight',
'window_width' => 'setWindowWidth'
Expand Down Expand Up @@ -277,6 +281,7 @@ public static function swaggerFormats()
'user_agent_raw' => 'getUserAgentRaw',
'user_ip' => 'getUserIp',
'user_properties' => 'getUserProperties',
'visitor_number' => 'getVisitorNumber',
'watched' => 'getWatched',
'window_height' => 'getWindowHeight',
'window_width' => 'getWindowWidth'
Expand Down Expand Up @@ -373,6 +378,7 @@ public function __construct(array $data = null)
$this->container['user_agent_raw'] = isset($data['user_agent_raw']) ? $data['user_agent_raw'] : null;
$this->container['user_ip'] = isset($data['user_ip']) ? $data['user_ip'] : null;
$this->container['user_properties'] = isset($data['user_properties']) ? $data['user_properties'] : null;
$this->container['visitor_number'] = isset($data['visitor_number']) ? $data['visitor_number'] : null;
$this->container['watched'] = isset($data['watched']) ? $data['watched'] : null;
$this->container['window_height'] = isset($data['window_height']) ? $data['window_height'] : null;
$this->container['window_width'] = isset($data['window_width']) ? $data['window_width'] : null;
Expand Down Expand Up @@ -1146,6 +1152,30 @@ public function setUserProperties($user_properties)
return $this;
}

/**
* Gets visitor_number
*
* @return int
*/
public function getVisitorNumber()
{
return $this->container['visitor_number'];
}

/**
* Sets visitor_number
*
* @param int $visitor_number visitor_number
*
* @return $this
*/
public function setVisitorNumber($visitor_number)
{
$this->container['visitor_number'] = $visitor_number;

return $this;
}

/**
* Gets watched
*
Expand Down

0 comments on commit 674f60f

Please sign in to comment.