Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated update by SDK Generator #77

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/apis/HrisApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,7 @@ import apideck
from apideck.api import hris_api
from apideck.model.employees_one_filter import EmployeesOneFilter
from apideck.model.get_employee_response import GetEmployeeResponse
from apideck.model.pass_through_query import PassThroughQuery
from apideck.model.bad_request_response import BadRequestResponse
from apideck.model.payment_required_response import PaymentRequiredResponse
from apideck.model.unexpected_error_response import UnexpectedErrorResponse
Expand Down Expand Up @@ -2244,6 +2245,7 @@ with apideck.ApiClient(configuration) as api_client:
filter = EmployeesOneFilter(
company_id="1234",
) # EmployeesOneFilter | Apply filters (optional)
pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads (optional)

# example passing only required values which don't have defaults set
try:
Expand All @@ -2257,7 +2259,7 @@ with apideck.ApiClient(configuration) as api_client:
# and optional values
try:
# Get Employee
api_response = api_instance.employees_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields, filter=filter)
api_response = api_instance.employees_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields, filter=filter, pass_through=pass_through)
pprint(api_response)
except apideck.ApiException as e:
print("Exception when calling HrisApi->employees_one: %s\n" % e)
Expand All @@ -2275,6 +2277,7 @@ Name | Type | Description | Notes
**raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False
**fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional]
**filter** | **EmployeesOneFilter**| Apply filters | [optional]
**pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | [optional]

### Return type

Expand Down
6 changes: 6 additions & 0 deletions src/apideck/api/hris_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1372,6 +1372,7 @@ def __init__(self, api_client=None):
'raw',
'fields',
'filter',
'pass_through',
],
'required': [
'id',
Expand Down Expand Up @@ -1404,6 +1405,8 @@ def __init__(self, api_client=None):
(str, none_type,),
'filter':
(EmployeesOneFilter,),
'pass_through':
(PassThroughQuery,),
},
'attribute_map': {
'id': 'id',
Expand All @@ -1413,6 +1416,7 @@ def __init__(self, api_client=None):
'raw': 'raw',
'fields': 'fields',
'filter': 'filter',
'pass_through': 'pass_through',
},
'location_map': {
'id': 'path',
Expand All @@ -1422,6 +1426,7 @@ def __init__(self, api_client=None):
'raw': 'query',
'fields': 'query',
'filter': 'query',
'pass_through': 'query',
},
'collection_format_map': {
}
Expand Down Expand Up @@ -3438,6 +3443,7 @@ def employees_one(
raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False
fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional]
filter (EmployeesOneFilter): Apply filters. [optional]
pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads. [optional]
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down
Loading