Skip to content

Commit d54b706

Browse files
author
github-actions-bot
committed
fix(query-param): be explicit about no nulls
1 parent 9790e01 commit d54b706

14 files changed

+29
-270
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ docs/EmployeeResponseManager.md
2424
docs/Employees20230301Response.md
2525
docs/EmploymentNoNullEnumRequest.md
2626
docs/EmploymentResponse.md
27-
docs/EmploymentStatus.md
28-
docs/EmploymentStatusNotNull.md
27+
docs/EmploymentStatusNotNullNotNullable.md
2928
docs/EmploymentStatusNotNullRequest.md
3029
docs/EmploymentStatusResponse.md
3130
docs/GroupNoNullEnumRequest.md
@@ -99,8 +98,7 @@ openapi_client/model/employee_response_manager.py
9998
openapi_client/model/employees20230301_response.py
10099
openapi_client/model/employment_no_null_enum_request.py
101100
openapi_client/model/employment_response.py
102-
openapi_client/model/employment_status.py
103-
openapi_client/model/employment_status_not_null.py
101+
openapi_client/model/employment_status_not_null_not_nullable.py
104102
openapi_client/model/employment_status_not_null_request.py
105103
openapi_client/model/employment_status_response.py
106104
openapi_client/model/group_no_null_enum_request.py
@@ -170,8 +168,7 @@ test/test_employee_response_manager.py
170168
test/test_employees20230301_response.py
171169
test/test_employment_no_null_enum_request.py
172170
test/test_employment_response.py
173-
test/test_employment_status.py
174-
test/test_employment_status_not_null.py
171+
test/test_employment_status_not_null_not_nullable.py
175172
test/test_employment_status_not_null_request.py
176173
test/test_employment_status_response.py
177174
test/test_group_no_null_enum_request.py

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ from pprint import pprint
258258
from openapi_client.api import 2023_03_01_api
259259
from openapi_client.model.companies20230301_response import Companies20230301Response
260260
from openapi_client.model.employees20230301_response import Employees20230301Response
261-
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
261+
from openapi_client.model.employment_status_not_null_not_nullable import EmploymentStatusNotNullNotNullable
262262
from openapi_client.model.groups20230301_response import Groups20230301Response
263263
from openapi_client.model.identity_response import IdentityResponse
264264
from openapi_client.model.inline_response401 import InlineResponse401
@@ -356,8 +356,7 @@ Class | Method | HTTP request | Description
356356
- [Employees20230301Response](docs/Employees20230301Response.md)
357357
- [EmploymentNoNullEnumRequest](docs/EmploymentNoNullEnumRequest.md)
358358
- [EmploymentResponse](docs/EmploymentResponse.md)
359-
- [EmploymentStatus](docs/EmploymentStatus.md)
360-
- [EmploymentStatusNotNull](docs/EmploymentStatusNotNull.md)
359+
- [EmploymentStatusNotNullNotNullable](docs/EmploymentStatusNotNullNotNullable.md)
361360
- [EmploymentStatusNotNullRequest](docs/EmploymentStatusNotNullRequest.md)
362361
- [EmploymentStatusResponse](docs/EmploymentStatusResponse.md)
363362
- [GroupNoNullEnumRequest](docs/GroupNoNullEnumRequest.md)

docs/20230301Api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ from openapi_client.api import 2023_03_01_api
112112
from openapi_client.model.message_response import MessageResponse
113113
from openapi_client.model.employees20230301_response import Employees20230301Response
114114
from openapi_client.model.inline_response401 import InlineResponse401
115-
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
115+
from openapi_client.model.employment_status_not_null_not_nullable import EmploymentStatusNotNullNotNullable
116116
from pprint import pprint
117117
# Defining the host is optional and defaults to https://api.affixapi.com
118118
# See configuration.py for a list of all supported configuration parameters.
@@ -135,7 +135,7 @@ configuration.api_key['access-token'] = 'YOUR_API_KEY'
135135
with openapi_client.ApiClient(configuration) as api_client:
136136
# Create an instance of the API class
137137
api_instance = 2023_03_01_api.20230301Api(api_client)
138-
employment_status = EmploymentStatusNotNull("active") # EmploymentStatusNotNull | Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) (optional)
138+
employment_status = EmploymentStatusNotNullNotNullable("active") # EmploymentStatusNotNullNotNullable | Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) (optional)
139139

140140
# example passing only required values which don't have defaults set
141141
# and optional values
@@ -152,7 +152,7 @@ with openapi_client.ApiClient(configuration) as api_client:
152152

153153
Name | Type | Description | Notes
154154
------------- | ------------- | ------------- | -------------
155-
**employment_status** | **EmploymentStatusNotNull**| Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) | [optional]
155+
**employment_status** | **EmploymentStatusNotNullNotNullable**| Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) | [optional]
156156

157157
### Return type
158158

docs/EmploymentStatus.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/EmploymentStatusNotNull.md renamed to docs/EmploymentStatusNotNullNotNullable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EmploymentStatusNotNull
1+
# EmploymentStatusNotNullNotNullable
22

33

44
## Properties

docs/XHRVerticallyIntegratedApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ from openapi_client.api import xhr__vertically_integrated_api
112112
from openapi_client.model.message_response import MessageResponse
113113
from openapi_client.model.employees20230301_response import Employees20230301Response
114114
from openapi_client.model.inline_response401 import InlineResponse401
115-
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
115+
from openapi_client.model.employment_status_not_null_not_nullable import EmploymentStatusNotNullNotNullable
116116
from pprint import pprint
117117
# Defining the host is optional and defaults to https://api.affixapi.com
118118
# See configuration.py for a list of all supported configuration parameters.
@@ -135,7 +135,7 @@ configuration.api_key['access-token'] = 'YOUR_API_KEY'
135135
with openapi_client.ApiClient(configuration) as api_client:
136136
# Create an instance of the API class
137137
api_instance = xhr__vertically_integrated_api.XHRVerticallyIntegratedApi(api_client)
138-
employment_status = EmploymentStatusNotNull("active") # EmploymentStatusNotNull | Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) (optional)
138+
employment_status = EmploymentStatusNotNullNotNullable("active") # EmploymentStatusNotNullNotNullable | Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) (optional)
139139

140140
# example passing only required values which don't have defaults set
141141
# and optional values
@@ -152,7 +152,7 @@ with openapi_client.ApiClient(configuration) as api_client:
152152

153153
Name | Type | Description | Notes
154154
------------- | ------------- | ------------- | -------------
155-
**employment_status** | **EmploymentStatusNotNull**| Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) | [optional]
155+
**employment_status** | **EmploymentStatusNotNullNotNullable**| Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) | [optional]
156156

157157
### Return type
158158

openapi_client/api/2023_03_01_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525
from openapi_client.model.companies20230301_response import Companies20230301Response
2626
from openapi_client.model.employees20230301_response import Employees20230301Response
27-
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
27+
from openapi_client.model.employment_status_not_null_not_nullable import EmploymentStatusNotNullNotNullable
2828
from openapi_client.model.groups20230301_response import Groups20230301Response
2929
from openapi_client.model.identity_response import IdentityResponse
3030
from openapi_client.model.inline_response401 import InlineResponse401
@@ -171,7 +171,7 @@ def __xhr_employees20230301(
171171
172172
173173
Keyword Args:
174-
employment_status (EmploymentStatusNotNull): Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) . [optional]
174+
employment_status (EmploymentStatusNotNullNotNullable): Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) . [optional]
175175
_return_http_data_only (bool): response data without head status
176176
code and headers. Default is True.
177177
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -248,7 +248,7 @@ def __xhr_employees20230301(
248248
},
249249
'openapi_types': {
250250
'employment_status':
251-
(EmploymentStatusNotNull,),
251+
(EmploymentStatusNotNullNotNullable,),
252252
},
253253
'attribute_map': {
254254
'employment_status': 'employment_status',

openapi_client/api/xhr__vertically_integrated_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525
from openapi_client.model.companies20230301_response import Companies20230301Response
2626
from openapi_client.model.employees20230301_response import Employees20230301Response
27-
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
27+
from openapi_client.model.employment_status_not_null_not_nullable import EmploymentStatusNotNullNotNullable
2828
from openapi_client.model.groups20230301_response import Groups20230301Response
2929
from openapi_client.model.identity_response import IdentityResponse
3030
from openapi_client.model.inline_response401 import InlineResponse401
@@ -171,7 +171,7 @@ def __xhr_employees20230301(
171171
172172
173173
Keyword Args:
174-
employment_status (EmploymentStatusNotNull): Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) . [optional]
174+
employment_status (EmploymentStatusNotNullNotNullable): Enable server-side filtering of the `employment_status` attribute. Will only include individuals with that attribute explicitly set (ie if an individuals has a `null`, it will not be returned if this parameter is set) . [optional]
175175
_return_http_data_only (bool): response data without head status
176176
code and headers. Default is True.
177177
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -248,7 +248,7 @@ def __xhr_employees20230301(
248248
},
249249
'openapi_types': {
250250
'employment_status':
251-
(EmploymentStatusNotNull,),
251+
(EmploymentStatusNotNullNotNullable,),
252252
},
253253
'attribute_map': {
254254
'employment_status': 'employment_status',

0 commit comments

Comments
 (0)