Skip to content

Commit 9790e01

Browse files
author
github-actions-bot
committed
fix(employees): enable not null for query param
1 parent e0423ca commit 9790e01

File tree

11 files changed

+253
-14
lines changed

11 files changed

+253
-14
lines changed

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ docs/Employees20230301Response.md
2525
docs/EmploymentNoNullEnumRequest.md
2626
docs/EmploymentResponse.md
2727
docs/EmploymentStatus.md
28+
docs/EmploymentStatusNotNull.md
2829
docs/EmploymentStatusNotNullRequest.md
2930
docs/EmploymentStatusResponse.md
3031
docs/GroupNoNullEnumRequest.md
@@ -99,6 +100,7 @@ openapi_client/model/employees20230301_response.py
99100
openapi_client/model/employment_no_null_enum_request.py
100101
openapi_client/model/employment_response.py
101102
openapi_client/model/employment_status.py
103+
openapi_client/model/employment_status_not_null.py
102104
openapi_client/model/employment_status_not_null_request.py
103105
openapi_client/model/employment_status_response.py
104106
openapi_client/model/group_no_null_enum_request.py
@@ -169,6 +171,7 @@ test/test_employees20230301_response.py
169171
test/test_employment_no_null_enum_request.py
170172
test/test_employment_response.py
171173
test/test_employment_status.py
174+
test/test_employment_status_not_null.py
172175
test/test_employment_status_not_null_request.py
173176
test/test_employment_status_response.py
174177
test/test_group_no_null_enum_request.py

README.md

Lines changed: 2 additions & 1 deletion
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 import EmploymentStatus
261+
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
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
@@ -357,6 +357,7 @@ Class | Method | HTTP request | Description
357357
- [EmploymentNoNullEnumRequest](docs/EmploymentNoNullEnumRequest.md)
358358
- [EmploymentResponse](docs/EmploymentResponse.md)
359359
- [EmploymentStatus](docs/EmploymentStatus.md)
360+
- [EmploymentStatusNotNull](docs/EmploymentStatusNotNull.md)
360361
- [EmploymentStatusNotNullRequest](docs/EmploymentStatusNotNullRequest.md)
361362
- [EmploymentStatusResponse](docs/EmploymentStatusResponse.md)
362363
- [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 import EmploymentStatus
115+
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
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 = EmploymentStatus("active") # EmploymentStatus | Enable server-side filtering of the `employment_status` attribute (optional)
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)
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** | **EmploymentStatus**| Enable server-side filtering of the `employment_status` attribute | [optional]
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]
156156

157157
### Return type
158158

docs/EmploymentStatusNotNull.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# EmploymentStatusNotNull
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**value** | **str** | | must be one of ["active", "inactive", "pending", "leave", ]
8+
9+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
10+
11+

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 import EmploymentStatus
115+
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
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 = EmploymentStatus("active") # EmploymentStatus | Enable server-side filtering of the `employment_status` attribute (optional)
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)
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** | **EmploymentStatus**| Enable server-side filtering of the `employment_status` attribute | [optional]
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]
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 import EmploymentStatus
27+
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
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 (EmploymentStatus): Enable server-side filtering of the `employment_status` attribute . [optional]
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]
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-
(EmploymentStatus,),
251+
(EmploymentStatusNotNull,),
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 import EmploymentStatus
27+
from openapi_client.model.employment_status_not_null import EmploymentStatusNotNull
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 (EmploymentStatus): Enable server-side filtering of the `employment_status` attribute . [optional]
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]
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-
(EmploymentStatus,),
251+
(EmploymentStatusNotNull,),
252252
},
253253
'attribute_map': {
254254
'employment_status': 'employment_status',

0 commit comments

Comments
 (0)