Skip to content

Commit 46d5006

Browse files
Regenerate SDKs (#9)
Co-authored-by: konfig-publisher <publisher@konfigthis.com>
1 parent af5c5d0 commit 46d5006

File tree

3 files changed

+52
-7
lines changed

3 files changed

+52
-7
lines changed

.konfig/generate-id.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c663a463-aac9-4e89-8b5c-373fb6660ebf
1+
d4610359-5cb3-4ad4-9ab3-a67496595958

lib/Model/EligibilityTermsAndConditionResponse.php

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ class EligibilityTermsAndConditionResponse implements ModelInterface, ArrayAcces
5050
*/
5151
protected static $openAPITypes = [
5252
'terms_and_conditions' => 'string',
53-
'privacy_policy' => 'string'
53+
'privacy_policy' => 'string',
54+
'provider' => 'string'
5455
];
5556

5657
/**
@@ -62,7 +63,8 @@ class EligibilityTermsAndConditionResponse implements ModelInterface, ArrayAcces
6263
*/
6364
protected static $openAPIFormats = [
6465
'terms_and_conditions' => null,
65-
'privacy_policy' => null
66+
'privacy_policy' => null,
67+
'provider' => null
6668
];
6769

6870
/**
@@ -72,7 +74,8 @@ class EligibilityTermsAndConditionResponse implements ModelInterface, ArrayAcces
7274
*/
7375
protected static $openAPINullables = [
7476
'terms_and_conditions' => false,
75-
'privacy_policy' => false
77+
'privacy_policy' => false,
78+
'provider' => false
7679
];
7780

7881
/**
@@ -162,7 +165,8 @@ public function isNullableSetToNull(string $property): bool
162165
*/
163166
protected static $attributeMap = [
164167
'terms_and_conditions' => 'TermsAndConditions',
165-
'privacy_policy' => 'PrivacyPolicy'
168+
'privacy_policy' => 'PrivacyPolicy',
169+
'provider' => 'Provider'
166170
];
167171

168172
/**
@@ -172,7 +176,8 @@ public function isNullableSetToNull(string $property): bool
172176
*/
173177
protected static $setters = [
174178
'terms_and_conditions' => 'setTermsAndConditions',
175-
'privacy_policy' => 'setPrivacyPolicy'
179+
'privacy_policy' => 'setPrivacyPolicy',
180+
'provider' => 'setProvider'
176181
];
177182

178183
/**
@@ -182,7 +187,8 @@ public function isNullableSetToNull(string $property): bool
182187
*/
183188
protected static $getters = [
184189
'terms_and_conditions' => 'getTermsAndConditions',
185-
'privacy_policy' => 'getPrivacyPolicy'
190+
'privacy_policy' => 'getPrivacyPolicy',
191+
'provider' => 'getProvider'
186192
];
187193

188194
/**
@@ -244,6 +250,7 @@ public function __construct(array $data = null)
244250
{
245251
$this->setIfExists('terms_and_conditions', $data ?? [], null);
246252
$this->setIfExists('privacy_policy', $data ?? [], null);
253+
$this->setIfExists('provider', $data ?? [], null);
247254
}
248255

249256
/**
@@ -345,6 +352,35 @@ public function setPrivacyPolicy($privacy_policy)
345352

346353
return $this;
347354
}
355+
356+
/**
357+
* Gets provider
358+
*
359+
* @return string|null
360+
*/
361+
public function getProvider()
362+
{
363+
return $this->container['provider'];
364+
}
365+
366+
/**
367+
* Sets provider
368+
*
369+
* @param string|null $provider provider
370+
*
371+
* @return self
372+
*/
373+
public function setProvider($provider)
374+
{
375+
376+
if (is_null($provider)) {
377+
throw new \InvalidArgumentException('non-nullable provider cannot be null');
378+
}
379+
380+
$this->container['provider'] = $provider;
381+
382+
return $this;
383+
}
348384
/**
349385
* Returns true if offset exists. False otherwise.
350386
*

test/Model/EligibilityTermsAndConditionResponseTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,13 @@ public function testPropertyPrivacyPolicy()
8888
// TODO: implement
8989
$this->markTestIncomplete('Not implemented');
9090
}
91+
92+
/**
93+
* Test attribute "provider"
94+
*/
95+
public function testPropertyProvider()
96+
{
97+
// TODO: implement
98+
$this->markTestIncomplete('Not implemented');
99+
}
91100
}

0 commit comments

Comments
 (0)