Skip to content
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ target/


src/workato_platform_cli/_version.py
.workato-ignore
2 changes: 1 addition & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "7.14.0"
"version": "7.16.0"
}
}
2 changes: 1 addition & 1 deletion src/workato_platform_cli/client/workato_api/docs/User.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**interested_applications** | **List[str]** | | [optional]
**company_name** | **str** | |
**location** | **str** | |
**last_seen** | **datetime** | |
**last_seen** | **datetime** | | [optional]
**contact_phone** | **str** | | [optional]
**contact_email** | **str** | | [optional]
**about_me** | **str** | | [optional]
Expand Down
7 changes: 6 additions & 1 deletion src/workato_platform_cli/client/workato_api/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class User(BaseModel):
interested_applications: Optional[List[StrictStr]] = None
company_name: Optional[StrictStr]
location: Optional[StrictStr]
last_seen: datetime
last_seen: Optional[datetime] = None
contact_phone: Optional[StrictStr] = None
contact_email: Optional[StrictStr] = None
about_me: Optional[StrictStr] = None
Expand Down Expand Up @@ -98,6 +98,11 @@ def to_dict(self) -> Dict[str, Any]:
if self.location is None and "location" in self.model_fields_set:
_dict['location'] = None

# set to None if last_seen (nullable) is None
# and model_fields_set contains the field
if self.last_seen is None and "last_seen" in self.model_fields_set:
_dict['last_seen'] = None

# set to None if contact_phone (nullable) is None
# and model_fields_set contains the field
if self.contact_phone is None and "contact_phone" in self.model_fields_set:
Expand Down
2 changes: 1 addition & 1 deletion workato-api-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,6 @@ components:
- recipes_count
- company_name
- location
- last_seen
- email
- active_recipes_count
- root_folder_id
Expand Down Expand Up @@ -1518,6 +1517,7 @@ components:
last_seen:
type: string
format: date-time
nullable: true
example: "2020-08-23T23:22:24.329-07:00"
contact_phone:
type: string
Expand Down
Loading