Skip to content

Commit 806dfba

Browse files
algolia-botdamcou
andcommitted
chore: generated code for commit 736bc4a. [skip ci]
Co-authored-by: Damien Couchez <[email protected]>
1 parent 736bc4a commit 806dfba

File tree

243 files changed

+6537
-20
lines changed

Some content is hidden

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

243 files changed

+6537
-20
lines changed

clients/algoliasearch-client-php/lib/Model/Abtesting/ABTest.php

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,35 @@ class ABTest extends \Algolia\AlgoliaSearch\Model\AbstractModel implements
4949
'variants' => null,
5050
];
5151

52+
/**
53+
* Array of attributes where the key is the local name,
54+
* and the value is the original name
55+
*
56+
* @var string[]
57+
*/
58+
protected static $attributeMap = [
59+
'abTestID' => 'abTestID',
60+
'clickSignificance' => 'clickSignificance',
61+
'conversionSignificance' => 'conversionSignificance',
62+
'endAt' => 'endAt',
63+
'updatedAt' => 'updatedAt',
64+
'createdAt' => 'createdAt',
65+
'name' => 'name',
66+
'status' => 'status',
67+
'variants' => 'variants',
68+
];
69+
70+
/**
71+
* Array of attributes where the key is the local name,
72+
* and the value is the original name
73+
*
74+
* @return array
75+
*/
76+
public static function attributeMap()
77+
{
78+
return self::$attributeMap;
79+
}
80+
5281
/**
5382
* Array of property to type mappings. Used for (de)serialization
5483
*

clients/algoliasearch-client-php/lib/Model/Abtesting/ABTestResponse.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ class ABTestResponse extends \Algolia\AlgoliaSearch\Model\AbstractModel implemen
3737
'taskID' => 'int64',
3838
];
3939

40+
/**
41+
* Array of attributes where the key is the local name,
42+
* and the value is the original name
43+
*
44+
* @var string[]
45+
*/
46+
protected static $attributeMap = [
47+
'index' => 'index',
48+
'abTestID' => 'abTestID',
49+
'taskID' => 'taskID',
50+
];
51+
52+
/**
53+
* Array of attributes where the key is the local name,
54+
* and the value is the original name
55+
*
56+
* @return array
57+
*/
58+
public static function attributeMap()
59+
{
60+
return self::$attributeMap;
61+
}
62+
4063
/**
4164
* Array of property to type mappings. Used for (de)serialization
4265
*

clients/algoliasearch-client-php/lib/Model/Abtesting/AbTestsVariant.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ class AbTestsVariant extends \Algolia\AlgoliaSearch\Model\AbstractModel implemen
3737
'description' => null,
3838
];
3939

40+
/**
41+
* Array of attributes where the key is the local name,
42+
* and the value is the original name
43+
*
44+
* @var string[]
45+
*/
46+
protected static $attributeMap = [
47+
'index' => 'index',
48+
'trafficPercentage' => 'trafficPercentage',
49+
'description' => 'description',
50+
];
51+
52+
/**
53+
* Array of attributes where the key is the local name,
54+
* and the value is the original name
55+
*
56+
* @return array
57+
*/
58+
public static function attributeMap()
59+
{
60+
return self::$attributeMap;
61+
}
62+
4063
/**
4164
* Array of property to type mappings. Used for (de)serialization
4265
*

clients/algoliasearch-client-php/lib/Model/Abtesting/AbTestsVariantSearchParams.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,30 @@ class AbTestsVariantSearchParams extends \Algolia\AlgoliaSearch\Model\AbstractMo
3939
'customSearchParameters' => null,
4040
];
4141

42+
/**
43+
* Array of attributes where the key is the local name,
44+
* and the value is the original name
45+
*
46+
* @var string[]
47+
*/
48+
protected static $attributeMap = [
49+
'index' => 'index',
50+
'trafficPercentage' => 'trafficPercentage',
51+
'description' => 'description',
52+
'customSearchParameters' => 'customSearchParameters',
53+
];
54+
55+
/**
56+
* Array of attributes where the key is the local name,
57+
* and the value is the original name
58+
*
59+
* @return array
60+
*/
61+
public static function attributeMap()
62+
{
63+
return self::$attributeMap;
64+
}
65+
4266
/**
4367
* Array of property to type mappings. Used for (de)serialization
4468
*

clients/algoliasearch-client-php/lib/Model/Abtesting/AddABTestsRequest.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ class AddABTestsRequest extends \Algolia\AlgoliaSearch\Model\AbstractModel imple
3737
'endAt' => null,
3838
];
3939

40+
/**
41+
* Array of attributes where the key is the local name,
42+
* and the value is the original name
43+
*
44+
* @var string[]
45+
*/
46+
protected static $attributeMap = [
47+
'name' => 'name',
48+
'variant' => 'variant',
49+
'endAt' => 'endAt',
50+
];
51+
52+
/**
53+
* Array of attributes where the key is the local name,
54+
* and the value is the original name
55+
*
56+
* @return array
57+
*/
58+
public static function attributeMap()
59+
{
60+
return self::$attributeMap;
61+
}
62+
4063
/**
4164
* Array of property to type mappings. Used for (de)serialization
4265
*

clients/algoliasearch-client-php/lib/Model/Abtesting/AddABTestsVariant.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,30 @@ class AddABTestsVariant extends \Algolia\AlgoliaSearch\Model\AbstractModel imple
3939
'customSearchParameters' => null,
4040
];
4141

42+
/**
43+
* Array of attributes where the key is the local name,
44+
* and the value is the original name
45+
*
46+
* @var string[]
47+
*/
48+
protected static $attributeMap = [
49+
'index' => 'index',
50+
'trafficPercentage' => 'trafficPercentage',
51+
'description' => 'description',
52+
'customSearchParameters' => 'customSearchParameters',
53+
];
54+
55+
/**
56+
* Array of attributes where the key is the local name,
57+
* and the value is the original name
58+
*
59+
* @return array
60+
*/
61+
public static function attributeMap()
62+
{
63+
return self::$attributeMap;
64+
}
65+
4266
/**
4367
* Array of property to type mappings. Used for (de)serialization
4468
*

clients/algoliasearch-client-php/lib/Model/Abtesting/CustomSearchParams.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,27 @@ class CustomSearchParams extends \Algolia\AlgoliaSearch\Model\AbstractModel impl
3333
'customSearchParameters' => null,
3434
];
3535

36+
/**
37+
* Array of attributes where the key is the local name,
38+
* and the value is the original name
39+
*
40+
* @var string[]
41+
*/
42+
protected static $attributeMap = [
43+
'customSearchParameters' => 'customSearchParameters',
44+
];
45+
46+
/**
47+
* Array of attributes where the key is the local name,
48+
* and the value is the original name
49+
*
50+
* @return array
51+
*/
52+
public static function attributeMap()
53+
{
54+
return self::$attributeMap;
55+
}
56+
3657
/**
3758
* Array of property to type mappings. Used for (de)serialization
3859
*

clients/algoliasearch-client-php/lib/Model/Abtesting/ErrorBase.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,27 @@ class ErrorBase extends \Algolia\AlgoliaSearch\Model\AbstractModel implements
3636
'message' => null,
3737
];
3838

39+
/**
40+
* Array of attributes where the key is the local name,
41+
* and the value is the original name
42+
*
43+
* @var string[]
44+
*/
45+
protected static $attributeMap = [
46+
'message' => 'message',
47+
];
48+
49+
/**
50+
* Array of attributes where the key is the local name,
51+
* and the value is the original name
52+
*
53+
* @return array
54+
*/
55+
public static function attributeMap()
56+
{
57+
return self::$attributeMap;
58+
}
59+
3960
/**
4061
* Array of property to type mappings. Used for (de)serialization
4162
*

clients/algoliasearch-client-php/lib/Model/Abtesting/ListABTestsResponse.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ class ListABTestsResponse extends \Algolia\AlgoliaSearch\Model\AbstractModel imp
3737
'total' => null,
3838
];
3939

40+
/**
41+
* Array of attributes where the key is the local name,
42+
* and the value is the original name
43+
*
44+
* @var string[]
45+
*/
46+
protected static $attributeMap = [
47+
'abtests' => 'abtests',
48+
'count' => 'count',
49+
'total' => 'total',
50+
];
51+
52+
/**
53+
* Array of attributes where the key is the local name,
54+
* and the value is the original name
55+
*
56+
* @return array
57+
*/
58+
public static function attributeMap()
59+
{
60+
return self::$attributeMap;
61+
}
62+
4063
/**
4164
* Array of property to type mappings. Used for (de)serialization
4265
*

clients/algoliasearch-client-php/lib/Model/Abtesting/Variant.php

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,38 @@ class Variant extends \Algolia\AlgoliaSearch\Model\AbstractModel implements
5555
'userCount' => null,
5656
];
5757

58+
/**
59+
* Array of attributes where the key is the local name,
60+
* and the value is the original name
61+
*
62+
* @var string[]
63+
*/
64+
protected static $attributeMap = [
65+
'averageClickPosition' => 'averageClickPosition',
66+
'clickCount' => 'clickCount',
67+
'clickThroughRate' => 'clickThroughRate',
68+
'conversionCount' => 'conversionCount',
69+
'conversionRate' => 'conversionRate',
70+
'description' => 'description',
71+
'index' => 'index',
72+
'noResultCount' => 'noResultCount',
73+
'searchCount' => 'searchCount',
74+
'trackedSearchCount' => 'trackedSearchCount',
75+
'trafficPercentage' => 'trafficPercentage',
76+
'userCount' => 'userCount',
77+
];
78+
79+
/**
80+
* Array of attributes where the key is the local name,
81+
* and the value is the original name
82+
*
83+
* @return array
84+
*/
85+
public static function attributeMap()
86+
{
87+
return self::$attributeMap;
88+
}
89+
5890
/**
5991
* Array of property to type mappings. Used for (de)serialization
6092
*

clients/algoliasearch-client-php/lib/Model/Analytics/AverageClickEvent.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,29 @@ class AverageClickEvent extends \Algolia\AlgoliaSearch\Model\AbstractModel imple
3737
'date' => null,
3838
];
3939

40+
/**
41+
* Array of attributes where the key is the local name,
42+
* and the value is the original name
43+
*
44+
* @var string[]
45+
*/
46+
protected static $attributeMap = [
47+
'average' => 'average',
48+
'clickCount' => 'clickCount',
49+
'date' => 'date',
50+
];
51+
52+
/**
53+
* Array of attributes where the key is the local name,
54+
* and the value is the original name
55+
*
56+
* @return array
57+
*/
58+
public static function attributeMap()
59+
{
60+
return self::$attributeMap;
61+
}
62+
4063
/**
4164
* Array of property to type mappings. Used for (de)serialization
4265
*

clients/algoliasearch-client-php/lib/Model/Analytics/ClickPosition.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,28 @@ class ClickPosition extends \Algolia\AlgoliaSearch\Model\AbstractModel implement
3535
'clickCount' => null,
3636
];
3737

38+
/**
39+
* Array of attributes where the key is the local name,
40+
* and the value is the original name
41+
*
42+
* @var string[]
43+
*/
44+
protected static $attributeMap = [
45+
'position' => 'position',
46+
'clickCount' => 'clickCount',
47+
];
48+
49+
/**
50+
* Array of attributes where the key is the local name,
51+
* and the value is the original name
52+
*
53+
* @return array
54+
*/
55+
public static function attributeMap()
56+
{
57+
return self::$attributeMap;
58+
}
59+
3860
/**
3961
* Array of property to type mappings. Used for (de)serialization
4062
*

0 commit comments

Comments
 (0)