├── .swagger-codegen └── VERSION ├── test ├── __init__.py ├── test_help.py ├── test_rect.py ├── test_text.py ├── test_pixel.py ├── test_point.py ├── test_locale.py ├── test_pattern.py ├── test_timeout.py ├── test_any_value.py ├── test_selector.py ├── test_click_body.py ├── test_object_ref.py ├── test_swipe_body.py ├── test_culebra_info.py ├── test_product_name.py ├── test_display_width.py ├── test_display_height.py ├── test_display_size_dp.py ├── test_number_response.py ├── test_status_response.py ├── test_string_response.py ├── test_boolean_response.py ├── test_window_hierarchy.py ├── test_display_real_size.py ├── test_inline_response200.py ├── test_last_traversed_text.py ├── test_inline_response2001.py ├── test_current_package_name.py ├── test_display_rotation_enum.py ├── test_window_hierarchy_child.py ├── test_display_rotation_response.py └── test_perform_two_pointer_gesture_body.py ├── .idea ├── .gitignore ├── vcs.xml ├── inspectionProfiles │ └── profiles_settings.xml ├── modules.xml ├── misc.xml └── CulebraTester2-client.iml ├── test-requirements.txt ├── requirements.txt ├── tox.ini ├── culebratester_client ├── api │ └── __init__.py ├── models │ ├── __init__.py │ ├── any_value.py │ ├── display_rotation_enum.py │ ├── body1.py │ ├── timeout.py │ ├── help.py │ ├── text.py │ ├── click_body.py │ ├── inline_response2001.py │ ├── product_name.py │ ├── display_width.py │ ├── display_height.py │ ├── display_rotation_response.py │ ├── current_package_name.py │ ├── last_traversed_text.py │ ├── point.py │ ├── inline_response200.py │ ├── pattern.py │ ├── body.py │ ├── swipe_body.py │ ├── object_ref.py │ ├── string_response.py │ ├── number_response.py │ ├── boolean_response.py │ ├── culebra_info.py │ ├── display_size_dp.py │ ├── locale.py │ ├── pixel.py │ ├── status_response.py │ ├── rect.py │ └── window_hierarchy.py └── __init__.py ├── docs ├── AnyValue.md ├── DisplayRotationEnum.md ├── Help.md ├── Body1.md ├── Timeout.md ├── OidSetTextBody.md ├── Text.md ├── ClickBody.md ├── Pattern.md ├── Point.md ├── ProductName.md ├── CulebraInfo.md ├── DisplayWidth.md ├── InlineResponse2001.md ├── DisplayHeight.md ├── DisplayRotation.md ├── ObjectRef.md ├── CurrentPackageName.md ├── Pixel.md ├── Body.md ├── BooleanResponse.md ├── NumberResponse.md ├── Rect.md ├── StringResponse.md ├── InlineResponse200.md ├── Locale.md ├── SwipeBody.md ├── DisplayRotationResponse.md ├── LastTraversedText.md ├── StatusResponse.md ├── DisplaySizeDp.md ├── WindowHierarchy.md ├── DisplayRealSize.md ├── PerformTwoPointerGestureBody.md ├── Selector.md └── WindowHierarchyChild.md ├── .travis.yml ├── patch-readme ├── .github └── workflows │ └── pythonpublish.yml ├── publish ├── .gitignore ├── .swagger-codegen-ignore ├── setup.py └── git_push.sh /.swagger-codegen/VERSION: -------------------------------------------------------------------------------- 1 | 3.0.57 -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Default ignored files 3 | /workspace.xml -------------------------------------------------------------------------------- /test-requirements.txt: -------------------------------------------------------------------------------- 1 | coverage>=4.0.3 2 | nose>=1.3.7 3 | pluggy>=0.3.1 4 | py>=1.4.31 5 | randomize>=0.13 6 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | certifi >= 14.05.14 2 | six >= 1.10 3 | python_dateutil >= 2.5.3 4 | setuptools >= 21.0.0 5 | urllib3 >= 1.15.1 6 | -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- 1 | [tox] 2 | envlist = py3 3 | 4 | [testenv] 5 | deps=-r{toxinidir}/requirements.txt 6 | -r{toxinidir}/test-requirements.txt 7 | 8 | commands= 9 | nosetests \ 10 | [] 11 | -------------------------------------------------------------------------------- /culebratester_client/api/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # flake8: noqa 4 | 5 | # import apis into api package 6 | from culebratester_client.api.default_api import DefaultApi 7 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /docs/AnyValue.md: -------------------------------------------------------------------------------- 1 | # AnyValue 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /docs/DisplayRotationEnum.md: -------------------------------------------------------------------------------- 1 | # DisplayRotationEnum 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | 7 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 8 | 9 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | -------------------------------------------------------------------------------- /docs/Help.md: -------------------------------------------------------------------------------- 1 | # Help 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **text** | **str** | | 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/Body1.md: -------------------------------------------------------------------------------- 1 | # Body1 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **text** | **str** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/Timeout.md: -------------------------------------------------------------------------------- 1 | # Timeout 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **timeout** | **int** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/OidSetTextBody.md: -------------------------------------------------------------------------------- 1 | # OidSetTextBody 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **text** | **str** | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/Text.md: -------------------------------------------------------------------------------- 1 | # Text 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **text** | **str** | the text in the object | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/ClickBody.md: -------------------------------------------------------------------------------- 1 | # ClickBody 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **points** | [**list[Point]**](Point.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/Pattern.md: -------------------------------------------------------------------------------- 1 | # Pattern 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **regex** | **str** | | 7 | **flags** | **int** | | [optional] 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/Point.md: -------------------------------------------------------------------------------- 1 | # Point 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **x** | **int** | | [optional] 7 | **y** | **int** | | [optional] 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/ProductName.md: -------------------------------------------------------------------------------- 1 | # ProductName 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **product_name** | **str** | product name of the device | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # ref: https://docs.travis-ci.com/user/languages/python 2 | language: python 3 | python: 4 | - "3.2" 5 | - "3.3" 6 | - "3.4" 7 | - "3.5" 8 | #- "3.5-dev" # 3.5 development branch 9 | #- "nightly" # points to the latest development branch e.g. 3.6-dev 10 | # command to install dependencies 11 | install: "pip install -r requirements.txt" 12 | # command to run tests 13 | script: nosetests 14 | -------------------------------------------------------------------------------- /docs/CulebraInfo.md: -------------------------------------------------------------------------------- 1 | # CulebraInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **version_name** | **str** | | 7 | **version_code** | **int** | | 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/DisplayWidth.md: -------------------------------------------------------------------------------- 1 | # DisplayWidth 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **display_width** | **int** | the current display width | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/InlineResponse2001.md: -------------------------------------------------------------------------------- 1 | # InlineResponse2001 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **obj** | [**ObjectRef**](ObjectRef.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/DisplayHeight.md: -------------------------------------------------------------------------------- 1 | # DisplayHeight 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **display_height** | **int** | the current display height | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/DisplayRotation.md: -------------------------------------------------------------------------------- 1 | # DisplayRotation 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **display_rotation** | **int** | the current display rotation | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/ObjectRef.md: -------------------------------------------------------------------------------- 1 | # ObjectRef 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **oid** | **int** | the object ID | 7 | **class_name** | **str** | the class name | 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/CurrentPackageName.md: -------------------------------------------------------------------------------- 1 | # CurrentPackageName 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **current_package_name** | **str** | the current package name | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/Pixel.md: -------------------------------------------------------------------------------- 1 | # Pixel 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **r** | **int** | | 7 | **g** | **int** | | 8 | **b** | **int** | | 9 | **a** | **int** | | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /docs/Body.md: -------------------------------------------------------------------------------- 1 | # Body 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **segments** | [**list[Point]**](Point.md) | | [optional] 7 | **segment_steps** | **int** | | [optional] 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/BooleanResponse.md: -------------------------------------------------------------------------------- 1 | # BooleanResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | the name of the contained value | 7 | **value** | **bool** | the value | 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/NumberResponse.md: -------------------------------------------------------------------------------- 1 | # NumberResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | the name of the contained value | 7 | **value** | **float** | the number | 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/Rect.md: -------------------------------------------------------------------------------- 1 | # Rect 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **left** | **int** | | 7 | **top** | **int** | | 8 | **right** | **int** | | 9 | **bottom** | **int** | | 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /docs/StringResponse.md: -------------------------------------------------------------------------------- 1 | # StringResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | the name of the contained value | 7 | **value** | **str** | the value | 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/InlineResponse200.md: -------------------------------------------------------------------------------- 1 | # InlineResponse200 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **obj** | [**AnyValue**](AnyValue.md) | | [optional] 7 | **oid** | **int** | | [optional] 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/Locale.md: -------------------------------------------------------------------------------- 1 | # Locale 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **language** | **str** | | 7 | **country** | **str** | | [optional] 8 | **variant** | **str** | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /docs/SwipeBody.md: -------------------------------------------------------------------------------- 1 | # SwipeBody 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **segments** | [**list[Point]**](Point.md) | | [optional] 7 | **segment_steps** | **int** | | [optional] 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/DisplayRotationResponse.md: -------------------------------------------------------------------------------- 1 | # DisplayRotationResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **display_rotation** | [**DisplayRotationEnum**](DisplayRotationEnum.md) | | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/LastTraversedText.md: -------------------------------------------------------------------------------- 1 | # LastTraversedText 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **last_traversed_text** | **str** | text of the last traversal event, else return an empty string | [optional] 7 | 8 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 9 | 10 | -------------------------------------------------------------------------------- /docs/StatusResponse.md: -------------------------------------------------------------------------------- 1 | # StatusResponse 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **status** | **str** | | 7 | **status_code** | **int** | | [optional] 8 | **error_message** | **str** | | [optional] 9 | 10 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 11 | 12 | -------------------------------------------------------------------------------- /docs/DisplaySizeDp.md: -------------------------------------------------------------------------------- 1 | # DisplaySizeDp 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **display_size_dp_x** | **int** | the display x in DP | [optional] 7 | **display_size_dp_y** | **int** | the display y in DP | [optional] 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 | -------------------------------------------------------------------------------- /.idea/CulebraTester2-client.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | -------------------------------------------------------------------------------- /docs/WindowHierarchy.md: -------------------------------------------------------------------------------- 1 | # WindowHierarchy 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | | [optional] 7 | **text** | **str** | | [optional] 8 | **timestamp** | **str** | | [optional] 9 | **children** | [**list[WindowHierarchyChild]**](WindowHierarchyChild.md) | | [optional] 10 | 11 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 12 | 13 | -------------------------------------------------------------------------------- /docs/DisplayRealSize.md: -------------------------------------------------------------------------------- 1 | # DisplayRealSize 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **device** | **str** | | 7 | **x** | **int** | | 8 | **y** | **int** | | 9 | **art_width** | **int** | | [optional] 10 | **art_height** | **int** | | [optional] 11 | **screenshot_width** | **int** | | [optional] 12 | **screenshot_x** | **int** | | [optional] 13 | **screenshot_y** | **int** | | [optional] 14 | 15 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 16 | 17 | -------------------------------------------------------------------------------- /docs/PerformTwoPointerGestureBody.md: -------------------------------------------------------------------------------- 1 | # PerformTwoPointerGestureBody 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **start_point1** | [**Point**](Point.md) | | 7 | **start_point2** | [**Point**](Point.md) | | 8 | **end_point1** | [**Point**](Point.md) | | 9 | **end_point2** | [**Point**](Point.md) | | 10 | **steps** | **int** | the number of steps for the gesture. Steps are injected about 5 milliseconds apart, so 100 steps may take around 0.5 seconds to complete. | 11 | 12 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 13 | 14 | -------------------------------------------------------------------------------- /patch-readme: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | temp=$(mktemp) 4 | trap 'rm -f "$temp"' EXIT 5 | 6 | patch -p1 -N -r /tmp/ignore 2>&1 >"$temp" <<'EOF' 7 | diff --git a/README.md b/README.md 8 | index de24b35..265e6e2 100644 9 | --- a/README.md 10 | +++ b/README.md 11 | @@ -14,6 +14,12 @@ Python 2.7 and 3.4+ 12 | ## Installation & Usage 13 | ### pip install 14 | 15 | +Just run 16 | + 17 | +```sh 18 | +pip install culebratester_client --upgrade 19 | +``` 20 | + 21 | If the python package is hosted on Github, you can install directly from Github 22 | 23 | ```sh 24 | EOF 25 | 26 | if [[ -s "$temp" ]] 27 | then 28 | if grep -q 'Reversed (or previously applied) patch detected!' "$temp" 29 | then 30 | exit 0 31 | fi 32 | fi 33 | -------------------------------------------------------------------------------- /.github/workflows/pythonpublish.yml: -------------------------------------------------------------------------------- 1 | name: Upload Python Package 2 | 3 | on: 4 | release: 5 | types: [created] 6 | 7 | jobs: 8 | deploy: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@v4 12 | - name: Set up Python 13 | uses: actions/setup-python@v5 14 | with: 15 | python-version: '3.x' 16 | - name: Install dependencies 17 | run: | 18 | python -m pip install --upgrade pip 19 | pip install setuptools wheel twine 20 | - name: Build and publish 21 | env: 22 | TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} 23 | TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} 24 | run: | 25 | python setup.py clean sdist bdist_wheel 26 | twine upload dist/* 27 | -------------------------------------------------------------------------------- /docs/Selector.md: -------------------------------------------------------------------------------- 1 | # Selector 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **checkable** | **bool** | | [optional] 7 | **checked** | **bool** | | [optional] 8 | **clazz** | **str** | | [optional] 9 | **clickable** | **bool** | | [optional] 10 | **depth** | **int** | | [optional] 11 | **desc** | **str** | | [optional] 12 | **has_child** | [**Selector**](Selector.md) | | [optional] 13 | **has_descendant** | [**Selector**](Selector.md) | | [optional] 14 | **pkg** | **str** | | [optional] 15 | **res** | **str** | | [optional] 16 | **scrollable** | **bool** | | [optional] 17 | **text** | **str** | | [optional] 18 | **index** | **int** | | [optional] 19 | **instance** | **int** | | [optional] 20 | 21 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 22 | 23 | -------------------------------------------------------------------------------- /publish: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | set -e 4 | dry_run= 5 | 6 | ./patch-readme 7 | if ! git diff-index --quiet HEAD -- 8 | then 9 | printf '⚠️ WARNING: There are uncommitted changes. Commit or restore before proceeding with publish\n' >&2 10 | exit 1 11 | fi 12 | 13 | eval $(grep 'VERSION *=' setup.py | tr '[:upper:]' '[:lower:]' | sed 's/ *= */=/') 14 | tag="v$version" 15 | title="v$version" 16 | $dry_run git tag "$tag" || printf 'WARNING: tag "%s" already exists\n' "$tag" 17 | $dry_run git push --tags 18 | blue=$(tput setaf 32) 19 | sgr0=$(tput sgr0) 20 | 21 | if which -s gh 22 | then 23 | $dry_run gh release create --title "$title" --generate-notes "$tag" 24 | else 25 | printf '\nNext steps:\n' 26 | printf '1. Create new release on Github using tag=%s title=%s\n' "$tag" "$title" 27 | printf ' url: %s%s%s\n' "${blue}" 'https://github.com/dtmilano/AndroidViewClient/releases/new' "${sgr0}" 28 | fi 29 | 30 | printf '😼 Now Github Actions should follow...\n' 31 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | 27 | # PyInstaller 28 | # Usually these files are written by a python script from a template 29 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 30 | *.manifest 31 | *.spec 32 | 33 | # Installer logs 34 | pip-log.txt 35 | pip-delete-this-directory.txt 36 | 37 | # Unit test / coverage reports 38 | htmlcov/ 39 | .tox/ 40 | .coverage 41 | .coverage.* 42 | .cache 43 | nosetests.xml 44 | coverage.xml 45 | *,cover 46 | .hypothesis/ 47 | venv/ 48 | .python-version 49 | 50 | # Translations 51 | *.mo 52 | *.pot 53 | 54 | # Django stuff: 55 | *.log 56 | 57 | # Sphinx documentation 58 | docs/_build/ 59 | 60 | # PyBuilder 61 | target/ 62 | 63 | #Ipython Notebook 64 | .ipynb_checkpoints 65 | -------------------------------------------------------------------------------- /.swagger-codegen-ignore: -------------------------------------------------------------------------------- 1 | # Swagger Codegen Ignore 2 | # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen 3 | 4 | # Use this file to prevent files from being overwritten by the generator. 5 | # The patterns follow closely to .gitignore or .dockerignore. 6 | 7 | # As an example, the C# client generator defines ApiClient.cs. 8 | # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: 9 | #ApiClient.cs 10 | 11 | # You can match any string of characters against a directory, file or extension with a single asterisk (*): 12 | #foo/*/qux 13 | # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux 14 | 15 | # You can recursively match patterns against a directory, file or extension with a double asterisk (**): 16 | #foo/**/qux 17 | # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux 18 | 19 | # You can also negate patterns with an exclamation (!). 20 | # For example, you can ignore all files in a docs folder with the file extension .md: 21 | #docs/*.md 22 | # Then explicitly reverse the ignore rule for a single file: 23 | #!docs/README.md 24 | -------------------------------------------------------------------------------- /test/test_help.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.help import Help # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestHelp(unittest.TestCase): 23 | """Help unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testHelp(self): 32 | """Test Help""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.help.Help() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_rect.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.rect import Rect # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestRect(unittest.TestCase): 23 | """Rect unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testRect(self): 32 | """Test Rect""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.rect.Rect() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_text.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.text import Text # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestText(unittest.TestCase): 23 | """Text unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testText(self): 32 | """Test Text""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.text.Text() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_pixel.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.pixel import Pixel # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestPixel(unittest.TestCase): 23 | """Pixel unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testPixel(self): 32 | """Test Pixel""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.pixel.Pixel() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_point.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.point import Point # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestPoint(unittest.TestCase): 23 | """Point unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testPoint(self): 32 | """Test Point""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.point.Point() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_locale.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.locale import Locale # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestLocale(unittest.TestCase): 23 | """Locale unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testLocale(self): 32 | """Test Locale""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.locale.Locale() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_pattern.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.pattern import Pattern # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestPattern(unittest.TestCase): 23 | """Pattern unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testPattern(self): 32 | """Test Pattern""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.pattern.Pattern() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_timeout.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.timeout import Timeout # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestTimeout(unittest.TestCase): 23 | """Timeout unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testTimeout(self): 32 | """Test Timeout""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.timeout.Timeout() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_any_value.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.any_value import AnyValue # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestAnyValue(unittest.TestCase): 23 | """AnyValue unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testAnyValue(self): 32 | """Test AnyValue""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.any_value.AnyValue() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_selector.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.selector import Selector # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestSelector(unittest.TestCase): 23 | """Selector unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testSelector(self): 32 | """Test Selector""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.selector.Selector() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_click_body.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.click_body import ClickBody # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestClickBody(unittest.TestCase): 23 | """ClickBody unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testClickBody(self): 32 | """Test ClickBody""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.click_body.ClickBody() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_object_ref.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.object_ref import ObjectRef # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestObjectRef(unittest.TestCase): 23 | """ObjectRef unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testObjectRef(self): 32 | """Test ObjectRef""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.object_ref.ObjectRef() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_swipe_body.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.swipe_body import SwipeBody # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestSwipeBody(unittest.TestCase): 23 | """SwipeBody unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testSwipeBody(self): 32 | """Test SwipeBody""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.swipe_body.SwipeBody() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_culebra_info.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.culebra_info import CulebraInfo # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestCulebraInfo(unittest.TestCase): 23 | """CulebraInfo unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testCulebraInfo(self): 32 | """Test CulebraInfo""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.culebra_info.CulebraInfo() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_product_name.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.product_name import ProductName # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestProductName(unittest.TestCase): 23 | """ProductName unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testProductName(self): 32 | """Test ProductName""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.product_name.ProductName() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /docs/WindowHierarchyChild.md: -------------------------------------------------------------------------------- 1 | # WindowHierarchyChild 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | | [optional] 7 | **parent** | **int** | | [optional] 8 | **text** | **str** | | [optional] 9 | **package** | **str** | | [optional] 10 | **checkable** | **bool** | | [optional] 11 | **clickable** | **bool** | | [optional] 12 | **index** | **int** | | [optional] 13 | **content_description** | **str** | | [optional] 14 | **focusable** | **bool** | | [optional] 15 | **resource_id** | **str** | | [optional] 16 | **enabled** | **bool** | | [optional] 17 | **password** | **bool** | | [optional] 18 | **long_clickable** | **bool** | | [optional] 19 | **long_text** | **str** | | [optional] 20 | **clazz** | **str** | | [optional] 21 | **scrollable** | **bool** | | [optional] 22 | **selected** | **bool** | | [optional] 23 | **checked** | **bool** | | [optional] 24 | **focused** | **bool** | | [optional] 25 | **bounds** | **list[int]** | | [optional] 26 | **children** | [**list[WindowHierarchyChild]**](WindowHierarchyChild.md) | | [optional] 27 | 28 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 29 | 30 | -------------------------------------------------------------------------------- /test/test_display_width.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.display_width import DisplayWidth # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestDisplayWidth(unittest.TestCase): 23 | """DisplayWidth unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testDisplayWidth(self): 32 | """Test DisplayWidth""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.display_width.DisplayWidth() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_display_height.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.display_height import DisplayHeight # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestDisplayHeight(unittest.TestCase): 23 | """DisplayHeight unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testDisplayHeight(self): 32 | """Test DisplayHeight""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.display_height.DisplayHeight() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_display_size_dp.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.display_size_dp import DisplaySizeDp # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestDisplaySizeDp(unittest.TestCase): 23 | """DisplaySizeDp unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testDisplaySizeDp(self): 32 | """Test DisplaySizeDp""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.display_size_dp.DisplaySizeDp() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_number_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.number_response import NumberResponse # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestNumberResponse(unittest.TestCase): 23 | """NumberResponse unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testNumberResponse(self): 32 | """Test NumberResponse""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.number_response.NumberResponse() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_status_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.status_response import StatusResponse # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestStatusResponse(unittest.TestCase): 23 | """StatusResponse unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testStatusResponse(self): 32 | """Test StatusResponse""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.status_response.StatusResponse() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_string_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.string_response import StringResponse # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestStringResponse(unittest.TestCase): 23 | """StringResponse unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testStringResponse(self): 32 | """Test StringResponse""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.string_response.StringResponse() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_boolean_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.boolean_response import BooleanResponse # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestBooleanResponse(unittest.TestCase): 23 | """BooleanResponse unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testBooleanResponse(self): 32 | """Test BooleanResponse""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.boolean_response.BooleanResponse() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_window_hierarchy.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.window_hierarchy import WindowHierarchy # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestWindowHierarchy(unittest.TestCase): 23 | """WindowHierarchy unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testWindowHierarchy(self): 32 | """Test WindowHierarchy""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.window_hierarchy.WindowHierarchy() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_display_real_size.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.display_real_size import DisplayRealSize # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestDisplayRealSize(unittest.TestCase): 23 | """DisplayRealSize unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testDisplayRealSize(self): 32 | """Test DisplayRealSize""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.display_real_size.DisplayRealSize() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_inline_response200.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.inline_response200 import InlineResponse200 # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestInlineResponse200(unittest.TestCase): 23 | """InlineResponse200 unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testInlineResponse200(self): 32 | """Test InlineResponse200""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.inline_response200.InlineResponse200() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_last_traversed_text.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.last_traversed_text import LastTraversedText # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestLastTraversedText(unittest.TestCase): 23 | """LastTraversedText unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testLastTraversedText(self): 32 | """Test LastTraversedText""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.last_traversed_text.LastTraversedText() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_inline_response2001.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.60 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.inline_response2001 import InlineResponse2001 # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestInlineResponse2001(unittest.TestCase): 23 | """InlineResponse2001 unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testInlineResponse2001(self): 32 | """Test InlineResponse2001""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.inline_response2001.InlineResponse2001() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_current_package_name.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.current_package_name import CurrentPackageName # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestCurrentPackageName(unittest.TestCase): 23 | """CurrentPackageName unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testCurrentPackageName(self): 32 | """Test CurrentPackageName""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.current_package_name.CurrentPackageName() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_display_rotation_enum.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.display_rotation_enum import DisplayRotationEnum # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestDisplayRotationEnum(unittest.TestCase): 23 | """DisplayRotationEnum unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testDisplayRotationEnum(self): 32 | """Test DisplayRotationEnum""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.display_rotation_enum.DisplayRotationEnum() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_window_hierarchy_child.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.window_hierarchy_child import WindowHierarchyChild # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestWindowHierarchyChild(unittest.TestCase): 23 | """WindowHierarchyChild unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testWindowHierarchyChild(self): 32 | """Test WindowHierarchyChild""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.window_hierarchy_child.WindowHierarchyChild() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_display_rotation_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.display_rotation_response import DisplayRotationResponse # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestDisplayRotationResponse(unittest.TestCase): 23 | """DisplayRotationResponse unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testDisplayRotationResponse(self): 32 | """Test DisplayRotationResponse""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.display_rotation_response.DisplayRotationResponse() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /test/test_perform_two_pointer_gesture_body.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from __future__ import absolute_import 14 | 15 | import unittest 16 | 17 | import culebratester_client 18 | from culebratester_client.models.perform_two_pointer_gesture_body import PerformTwoPointerGestureBody # noqa: E501 19 | from culebratester_client.rest import ApiException 20 | 21 | 22 | class TestPerformTwoPointerGestureBody(unittest.TestCase): 23 | """PerformTwoPointerGestureBody unit test stubs""" 24 | 25 | def setUp(self): 26 | pass 27 | 28 | def tearDown(self): 29 | pass 30 | 31 | def testPerformTwoPointerGestureBody(self): 32 | """Test PerformTwoPointerGestureBody""" 33 | # FIXME: construct object with mandatory attributes with example values 34 | # model = culebratester_client.models.perform_two_pointer_gesture_body.PerformTwoPointerGestureBody() # noqa: E501 35 | pass 36 | 37 | 38 | if __name__ == '__main__': 39 | unittest.main() 40 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | from setuptools import setup, find_packages # noqa: H301 14 | 15 | NAME = "culebratester-client" 16 | VERSION = "2.0.73" 17 | # To install the library, run the following 18 | # 19 | # python setup.py install 20 | # 21 | # prerequisite: setuptools 22 | # http://pypi.python.org/pypi/setuptools 23 | 24 | REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] 25 | 26 | setup( 27 | name=NAME, 28 | version=VERSION, 29 | description="CulebraTester", 30 | author_email="", 31 | url="http://github.com/dtmilano/CulebraTester2-client", 32 | keywords=["Swagger", "CulebraTester"], 33 | install_requires=REQUIRES, 34 | packages=find_packages(), 35 | include_package_data=True, 36 | long_description="""\ 37 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 38 | """ 39 | ) 40 | -------------------------------------------------------------------------------- /git_push.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ 3 | # 4 | # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" 5 | 6 | git_user_id=$1 7 | git_repo_id=$2 8 | release_note=$3 9 | 10 | if [ "$git_user_id" = "" ]; then 11 | git_user_id="GIT_USER_ID" 12 | echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" 13 | fi 14 | 15 | if [ "$git_repo_id" = "" ]; then 16 | git_repo_id="GIT_REPO_ID" 17 | echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" 18 | fi 19 | 20 | if [ "$release_note" = "" ]; then 21 | release_note="Minor update" 22 | echo "[INFO] No command line input provided. Set \$release_note to $release_note" 23 | fi 24 | 25 | # Initialize the local directory as a Git repository 26 | git init 27 | 28 | # Adds the files in the local repository and stages them for commit. 29 | git add . 30 | 31 | # Commits the tracked changes and prepares them to be pushed to a remote repository. 32 | git commit -m "$release_note" 33 | 34 | # Sets the new remote 35 | git_remote=`git remote` 36 | if [ "$git_remote" = "" ]; then # git remote not defined 37 | 38 | if [ "$GIT_TOKEN" = "" ]; then 39 | echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." 40 | git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git 41 | else 42 | git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git 43 | fi 44 | 45 | fi 46 | 47 | git pull origin master 48 | 49 | # Pushes (Forces) the changes in the local repository up to the remote repository 50 | echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" 51 | git push origin master 2>&1 | grep -v 'To https' 52 | 53 | -------------------------------------------------------------------------------- /culebratester_client/models/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | """ 5 | CulebraTester 6 | 7 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 8 | 9 | OpenAPI spec version: 2.0.73 10 | 11 | Generated by: https://github.com/swagger-api/swagger-codegen.git 12 | """ 13 | 14 | from __future__ import absolute_import 15 | 16 | # import models into model package 17 | from culebratester_client.models.any_value import AnyValue 18 | from culebratester_client.models.boolean_response import BooleanResponse 19 | from culebratester_client.models.click_body import ClickBody 20 | from culebratester_client.models.culebra_info import CulebraInfo 21 | from culebratester_client.models.current_package_name import CurrentPackageName 22 | from culebratester_client.models.display_height import DisplayHeight 23 | from culebratester_client.models.display_real_size import DisplayRealSize 24 | from culebratester_client.models.display_rotation_enum import DisplayRotationEnum 25 | from culebratester_client.models.display_rotation_response import DisplayRotationResponse 26 | from culebratester_client.models.display_size_dp import DisplaySizeDp 27 | from culebratester_client.models.display_width import DisplayWidth 28 | from culebratester_client.models.help import Help 29 | from culebratester_client.models.inline_response200 import InlineResponse200 30 | from culebratester_client.models.last_traversed_text import LastTraversedText 31 | from culebratester_client.models.locale import Locale 32 | from culebratester_client.models.number_response import NumberResponse 33 | from culebratester_client.models.object_ref import ObjectRef 34 | from culebratester_client.models.pattern import Pattern 35 | from culebratester_client.models.perform_two_pointer_gesture_body import PerformTwoPointerGestureBody 36 | from culebratester_client.models.pixel import Pixel 37 | from culebratester_client.models.point import Point 38 | from culebratester_client.models.product_name import ProductName 39 | from culebratester_client.models.rect import Rect 40 | from culebratester_client.models.selector import Selector 41 | from culebratester_client.models.status_response import StatusResponse 42 | from culebratester_client.models.string_response import StringResponse 43 | from culebratester_client.models.swipe_body import SwipeBody 44 | from culebratester_client.models.text import Text 45 | from culebratester_client.models.timeout import Timeout 46 | from culebratester_client.models.window_hierarchy import WindowHierarchy 47 | from culebratester_client.models.window_hierarchy_child import WindowHierarchyChild 48 | -------------------------------------------------------------------------------- /culebratester_client/models/any_value.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class AnyValue(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | } 32 | 33 | attribute_map = { 34 | } 35 | 36 | def __init__(self): # noqa: E501 37 | """AnyValue - a model defined in Swagger""" # noqa: E501 38 | self.discriminator = None 39 | 40 | def to_dict(self): 41 | """Returns the model properties as a dict""" 42 | result = {} 43 | 44 | for attr, _ in six.iteritems(self.swagger_types): 45 | value = getattr(self, attr) 46 | if isinstance(value, list): 47 | result[attr] = list(map( 48 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 49 | value 50 | )) 51 | elif hasattr(value, "to_dict"): 52 | result[attr] = value.to_dict() 53 | elif isinstance(value, dict): 54 | result[attr] = dict(map( 55 | lambda item: (item[0], item[1].to_dict()) 56 | if hasattr(item[1], "to_dict") else item, 57 | value.items() 58 | )) 59 | else: 60 | result[attr] = value 61 | if issubclass(AnyValue, dict): 62 | for key, value in self.items(): 63 | result[key] = value 64 | 65 | return result 66 | 67 | def to_str(self): 68 | """Returns the string representation of the model""" 69 | return pprint.pformat(self.to_dict()) 70 | 71 | def __repr__(self): 72 | """For `print` and `pprint`""" 73 | return self.to_str() 74 | 75 | def __eq__(self, other): 76 | """Returns true if both objects are equal""" 77 | if not isinstance(other, AnyValue): 78 | return False 79 | 80 | return self.__dict__ == other.__dict__ 81 | 82 | def __ne__(self, other): 83 | """Returns true if both objects are not equal""" 84 | return not self == other 85 | -------------------------------------------------------------------------------- /culebratester_client/__init__.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | # flake8: noqa 4 | 5 | """ 6 | CulebraTester 7 | 8 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 9 | 10 | OpenAPI spec version: 2.0.73 11 | 12 | Generated by: https://github.com/swagger-api/swagger-codegen.git 13 | """ 14 | 15 | from __future__ import absolute_import 16 | 17 | # import apis into sdk package 18 | from culebratester_client.api.default_api import DefaultApi 19 | # import ApiClient 20 | from culebratester_client.api_client import ApiClient 21 | from culebratester_client.configuration import Configuration 22 | # import models into sdk package 23 | from culebratester_client.models.any_value import AnyValue 24 | from culebratester_client.models.boolean_response import BooleanResponse 25 | from culebratester_client.models.click_body import ClickBody 26 | from culebratester_client.models.culebra_info import CulebraInfo 27 | from culebratester_client.models.current_package_name import CurrentPackageName 28 | from culebratester_client.models.display_height import DisplayHeight 29 | from culebratester_client.models.display_real_size import DisplayRealSize 30 | from culebratester_client.models.display_rotation_enum import DisplayRotationEnum 31 | from culebratester_client.models.display_rotation_response import DisplayRotationResponse 32 | from culebratester_client.models.display_size_dp import DisplaySizeDp 33 | from culebratester_client.models.display_width import DisplayWidth 34 | from culebratester_client.models.help import Help 35 | from culebratester_client.models.inline_response200 import InlineResponse200 36 | from culebratester_client.models.last_traversed_text import LastTraversedText 37 | from culebratester_client.models.locale import Locale 38 | from culebratester_client.models.number_response import NumberResponse 39 | from culebratester_client.models.object_ref import ObjectRef 40 | from culebratester_client.models.pattern import Pattern 41 | from culebratester_client.models.perform_two_pointer_gesture_body import PerformTwoPointerGestureBody 42 | from culebratester_client.models.pixel import Pixel 43 | from culebratester_client.models.point import Point 44 | from culebratester_client.models.product_name import ProductName 45 | from culebratester_client.models.rect import Rect 46 | from culebratester_client.models.selector import Selector 47 | from culebratester_client.models.status_response import StatusResponse 48 | from culebratester_client.models.string_response import StringResponse 49 | from culebratester_client.models.swipe_body import SwipeBody 50 | from culebratester_client.models.text import Text 51 | from culebratester_client.models.timeout import Timeout 52 | from culebratester_client.models.window_hierarchy import WindowHierarchy 53 | from culebratester_client.models.window_hierarchy_child import WindowHierarchyChild 54 | -------------------------------------------------------------------------------- /culebratester_client/models/display_rotation_enum.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class DisplayRotationEnum(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | 24 | """ 25 | allowed enum values 26 | """ 27 | _0 = "0" 28 | _180 = "180" 29 | _270 = "270" 30 | _90 = "90" 31 | """ 32 | Attributes: 33 | swagger_types (dict): The key is attribute name 34 | and the value is attribute type. 35 | attribute_map (dict): The key is attribute name 36 | and the value is json key in definition. 37 | """ 38 | swagger_types = { 39 | } 40 | 41 | attribute_map = { 42 | } 43 | 44 | def __init__(self): # noqa: E501 45 | """DisplayRotationEnum - a model defined in Swagger""" # noqa: E501 46 | self.discriminator = None 47 | 48 | def to_dict(self): 49 | """Returns the model properties as a dict""" 50 | result = {} 51 | 52 | for attr, _ in six.iteritems(self.swagger_types): 53 | value = getattr(self, attr) 54 | if isinstance(value, list): 55 | result[attr] = list(map( 56 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 57 | value 58 | )) 59 | elif hasattr(value, "to_dict"): 60 | result[attr] = value.to_dict() 61 | elif isinstance(value, dict): 62 | result[attr] = dict(map( 63 | lambda item: (item[0], item[1].to_dict()) 64 | if hasattr(item[1], "to_dict") else item, 65 | value.items() 66 | )) 67 | else: 68 | result[attr] = value 69 | if issubclass(DisplayRotationEnum, dict): 70 | for key, value in self.items(): 71 | result[key] = value 72 | 73 | return result 74 | 75 | def to_str(self): 76 | """Returns the string representation of the model""" 77 | return pprint.pformat(self.to_dict()) 78 | 79 | def __repr__(self): 80 | """For `print` and `pprint`""" 81 | return self.to_str() 82 | 83 | def __eq__(self, other): 84 | """Returns true if both objects are equal""" 85 | if not isinstance(other, DisplayRotationEnum): 86 | return False 87 | 88 | return self.__dict__ == other.__dict__ 89 | 90 | def __ne__(self, other): 91 | """Returns true if both objects are not equal""" 92 | return not self == other 93 | -------------------------------------------------------------------------------- /culebratester_client/models/body1.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.11 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | 19 | class Body1(object): 20 | """NOTE: This class is auto generated by the swagger code generator program. 21 | 22 | Do not edit the class manually. 23 | """ 24 | """ 25 | Attributes: 26 | swagger_types (dict): The key is attribute name 27 | and the value is attribute type. 28 | attribute_map (dict): The key is attribute name 29 | and the value is json key in definition. 30 | """ 31 | swagger_types = { 32 | 'text': 'str' 33 | } 34 | 35 | attribute_map = { 36 | 'text': 'text' 37 | } 38 | 39 | def __init__(self, text=None): # noqa: E501 40 | """Body1 - a model defined in Swagger""" # noqa: E501 41 | self._text = None 42 | self.discriminator = None 43 | if text is not None: 44 | self.text = text 45 | 46 | @property 47 | def text(self): 48 | """Gets the text of this Body1. # noqa: E501 49 | 50 | 51 | :return: The text of this Body1. # noqa: E501 52 | :rtype: str 53 | """ 54 | return self._text 55 | 56 | @text.setter 57 | def text(self, text): 58 | """Sets the text of this Body1. 59 | 60 | 61 | :param text: The text of this Body1. # noqa: E501 62 | :type: str 63 | """ 64 | 65 | self._text = text 66 | 67 | def to_dict(self): 68 | """Returns the model properties as a dict""" 69 | result = {} 70 | 71 | for attr, _ in six.iteritems(self.swagger_types): 72 | value = getattr(self, attr) 73 | if isinstance(value, list): 74 | result[attr] = list(map( 75 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 76 | value 77 | )) 78 | elif hasattr(value, "to_dict"): 79 | result[attr] = value.to_dict() 80 | elif isinstance(value, dict): 81 | result[attr] = dict(map( 82 | lambda item: (item[0], item[1].to_dict()) 83 | if hasattr(item[1], "to_dict") else item, 84 | value.items() 85 | )) 86 | else: 87 | result[attr] = value 88 | if issubclass(Body1, dict): 89 | for key, value in self.items(): 90 | result[key] = value 91 | 92 | return result 93 | 94 | def to_str(self): 95 | """Returns the string representation of the model""" 96 | return pprint.pformat(self.to_dict()) 97 | 98 | def __repr__(self): 99 | """For `print` and `pprint`""" 100 | return self.to_str() 101 | 102 | def __eq__(self, other): 103 | """Returns true if both objects are equal""" 104 | if not isinstance(other, Body1): 105 | return False 106 | 107 | return self.__dict__ == other.__dict__ 108 | 109 | def __ne__(self, other): 110 | """Returns true if both objects are not equal""" 111 | return not self == other 112 | -------------------------------------------------------------------------------- /culebratester_client/models/timeout.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Timeout(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'timeout': 'int' 32 | } 33 | 34 | attribute_map = { 35 | 'timeout': 'timeout' 36 | } 37 | 38 | def __init__(self, timeout=None): # noqa: E501 39 | """Timeout - a model defined in Swagger""" # noqa: E501 40 | self._timeout = None 41 | self.discriminator = None 42 | if timeout is not None: 43 | self.timeout = timeout 44 | 45 | @property 46 | def timeout(self): 47 | """Gets the timeout of this Timeout. # noqa: E501 48 | 49 | 50 | :return: The timeout of this Timeout. # noqa: E501 51 | :rtype: int 52 | """ 53 | return self._timeout 54 | 55 | @timeout.setter 56 | def timeout(self, timeout): 57 | """Sets the timeout of this Timeout. 58 | 59 | 60 | :param timeout: The timeout of this Timeout. # noqa: E501 61 | :type: int 62 | """ 63 | 64 | self._timeout = timeout 65 | 66 | def to_dict(self): 67 | """Returns the model properties as a dict""" 68 | result = {} 69 | 70 | for attr, _ in six.iteritems(self.swagger_types): 71 | value = getattr(self, attr) 72 | if isinstance(value, list): 73 | result[attr] = list(map( 74 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 75 | value 76 | )) 77 | elif hasattr(value, "to_dict"): 78 | result[attr] = value.to_dict() 79 | elif isinstance(value, dict): 80 | result[attr] = dict(map( 81 | lambda item: (item[0], item[1].to_dict()) 82 | if hasattr(item[1], "to_dict") else item, 83 | value.items() 84 | )) 85 | else: 86 | result[attr] = value 87 | if issubclass(Timeout, dict): 88 | for key, value in self.items(): 89 | result[key] = value 90 | 91 | return result 92 | 93 | def to_str(self): 94 | """Returns the string representation of the model""" 95 | return pprint.pformat(self.to_dict()) 96 | 97 | def __repr__(self): 98 | """For `print` and `pprint`""" 99 | return self.to_str() 100 | 101 | def __eq__(self, other): 102 | """Returns true if both objects are equal""" 103 | if not isinstance(other, Timeout): 104 | return False 105 | 106 | return self.__dict__ == other.__dict__ 107 | 108 | def __ne__(self, other): 109 | """Returns true if both objects are not equal""" 110 | return not self == other 111 | -------------------------------------------------------------------------------- /culebratester_client/models/help.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Help(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'text': 'str' 32 | } 33 | 34 | attribute_map = { 35 | 'text': 'text' 36 | } 37 | 38 | def __init__(self, text=None): # noqa: E501 39 | """Help - a model defined in Swagger""" # noqa: E501 40 | self._text = None 41 | self.discriminator = None 42 | self.text = text 43 | 44 | @property 45 | def text(self): 46 | """Gets the text of this Help. # noqa: E501 47 | 48 | 49 | :return: The text of this Help. # noqa: E501 50 | :rtype: str 51 | """ 52 | return self._text 53 | 54 | @text.setter 55 | def text(self, text): 56 | """Sets the text of this Help. 57 | 58 | 59 | :param text: The text of this Help. # noqa: E501 60 | :type: str 61 | """ 62 | if text is None: 63 | raise ValueError("Invalid value for `text`, must not be `None`") # noqa: E501 64 | 65 | self._text = text 66 | 67 | def to_dict(self): 68 | """Returns the model properties as a dict""" 69 | result = {} 70 | 71 | for attr, _ in six.iteritems(self.swagger_types): 72 | value = getattr(self, attr) 73 | if isinstance(value, list): 74 | result[attr] = list(map( 75 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 76 | value 77 | )) 78 | elif hasattr(value, "to_dict"): 79 | result[attr] = value.to_dict() 80 | elif isinstance(value, dict): 81 | result[attr] = dict(map( 82 | lambda item: (item[0], item[1].to_dict()) 83 | if hasattr(item[1], "to_dict") else item, 84 | value.items() 85 | )) 86 | else: 87 | result[attr] = value 88 | if issubclass(Help, dict): 89 | for key, value in self.items(): 90 | result[key] = value 91 | 92 | return result 93 | 94 | def to_str(self): 95 | """Returns the string representation of the model""" 96 | return pprint.pformat(self.to_dict()) 97 | 98 | def __repr__(self): 99 | """For `print` and `pprint`""" 100 | return self.to_str() 101 | 102 | def __eq__(self, other): 103 | """Returns true if both objects are equal""" 104 | if not isinstance(other, Help): 105 | return False 106 | 107 | return self.__dict__ == other.__dict__ 108 | 109 | def __ne__(self, other): 110 | """Returns true if both objects are not equal""" 111 | return not self == other 112 | -------------------------------------------------------------------------------- /culebratester_client/models/text.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Text(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'text': 'str' 32 | } 33 | 34 | attribute_map = { 35 | 'text': 'text' 36 | } 37 | 38 | def __init__(self, text=None): # noqa: E501 39 | """Text - a model defined in Swagger""" # noqa: E501 40 | self._text = None 41 | self.discriminator = None 42 | if text is not None: 43 | self.text = text 44 | 45 | @property 46 | def text(self): 47 | """Gets the text of this Text. # noqa: E501 48 | 49 | the text in the object # noqa: E501 50 | 51 | :return: The text of this Text. # noqa: E501 52 | :rtype: str 53 | """ 54 | return self._text 55 | 56 | @text.setter 57 | def text(self, text): 58 | """Sets the text of this Text. 59 | 60 | the text in the object # noqa: E501 61 | 62 | :param text: The text of this Text. # noqa: E501 63 | :type: str 64 | """ 65 | 66 | self._text = text 67 | 68 | def to_dict(self): 69 | """Returns the model properties as a dict""" 70 | result = {} 71 | 72 | for attr, _ in six.iteritems(self.swagger_types): 73 | value = getattr(self, attr) 74 | if isinstance(value, list): 75 | result[attr] = list(map( 76 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 77 | value 78 | )) 79 | elif hasattr(value, "to_dict"): 80 | result[attr] = value.to_dict() 81 | elif isinstance(value, dict): 82 | result[attr] = dict(map( 83 | lambda item: (item[0], item[1].to_dict()) 84 | if hasattr(item[1], "to_dict") else item, 85 | value.items() 86 | )) 87 | else: 88 | result[attr] = value 89 | if issubclass(Text, dict): 90 | for key, value in self.items(): 91 | result[key] = value 92 | 93 | return result 94 | 95 | def to_str(self): 96 | """Returns the string representation of the model""" 97 | return pprint.pformat(self.to_dict()) 98 | 99 | def __repr__(self): 100 | """For `print` and `pprint`""" 101 | return self.to_str() 102 | 103 | def __eq__(self, other): 104 | """Returns true if both objects are equal""" 105 | if not isinstance(other, Text): 106 | return False 107 | 108 | return self.__dict__ == other.__dict__ 109 | 110 | def __ne__(self, other): 111 | """Returns true if both objects are not equal""" 112 | return not self == other 113 | -------------------------------------------------------------------------------- /culebratester_client/models/click_body.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class ClickBody(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'points': 'list[Point]' 32 | } 33 | 34 | attribute_map = { 35 | 'points': 'points' 36 | } 37 | 38 | def __init__(self, points=None): # noqa: E501 39 | """ClickBody - a model defined in Swagger""" # noqa: E501 40 | self._points = None 41 | self.discriminator = None 42 | if points is not None: 43 | self.points = points 44 | 45 | @property 46 | def points(self): 47 | """Gets the points of this ClickBody. # noqa: E501 48 | 49 | 50 | :return: The points of this ClickBody. # noqa: E501 51 | :rtype: list[Point] 52 | """ 53 | return self._points 54 | 55 | @points.setter 56 | def points(self, points): 57 | """Sets the points of this ClickBody. 58 | 59 | 60 | :param points: The points of this ClickBody. # noqa: E501 61 | :type: list[Point] 62 | """ 63 | 64 | self._points = points 65 | 66 | def to_dict(self): 67 | """Returns the model properties as a dict""" 68 | result = {} 69 | 70 | for attr, _ in six.iteritems(self.swagger_types): 71 | value = getattr(self, attr) 72 | if isinstance(value, list): 73 | result[attr] = list(map( 74 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 75 | value 76 | )) 77 | elif hasattr(value, "to_dict"): 78 | result[attr] = value.to_dict() 79 | elif isinstance(value, dict): 80 | result[attr] = dict(map( 81 | lambda item: (item[0], item[1].to_dict()) 82 | if hasattr(item[1], "to_dict") else item, 83 | value.items() 84 | )) 85 | else: 86 | result[attr] = value 87 | if issubclass(ClickBody, dict): 88 | for key, value in self.items(): 89 | result[key] = value 90 | 91 | return result 92 | 93 | def to_str(self): 94 | """Returns the string representation of the model""" 95 | return pprint.pformat(self.to_dict()) 96 | 97 | def __repr__(self): 98 | """For `print` and `pprint`""" 99 | return self.to_str() 100 | 101 | def __eq__(self, other): 102 | """Returns true if both objects are equal""" 103 | if not isinstance(other, ClickBody): 104 | return False 105 | 106 | return self.__dict__ == other.__dict__ 107 | 108 | def __ne__(self, other): 109 | """Returns true if both objects are not equal""" 110 | return not self == other 111 | -------------------------------------------------------------------------------- /culebratester_client/models/inline_response2001.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.60 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class InlineResponse2001(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'obj': 'ObjectRef' 32 | } 33 | 34 | attribute_map = { 35 | 'obj': 'obj' 36 | } 37 | 38 | def __init__(self, obj=None): # noqa: E501 39 | """InlineResponse2001 - a model defined in Swagger""" # noqa: E501 40 | self._obj = None 41 | self.discriminator = None 42 | if obj is not None: 43 | self.obj = obj 44 | 45 | @property 46 | def obj(self): 47 | """Gets the obj of this InlineResponse2001. # noqa: E501 48 | 49 | 50 | :return: The obj of this InlineResponse2001. # noqa: E501 51 | :rtype: ObjectRef 52 | """ 53 | return self._obj 54 | 55 | @obj.setter 56 | def obj(self, obj): 57 | """Sets the obj of this InlineResponse2001. 58 | 59 | 60 | :param obj: The obj of this InlineResponse2001. # noqa: E501 61 | :type: ObjectRef 62 | """ 63 | 64 | self._obj = obj 65 | 66 | def to_dict(self): 67 | """Returns the model properties as a dict""" 68 | result = {} 69 | 70 | for attr, _ in six.iteritems(self.swagger_types): 71 | value = getattr(self, attr) 72 | if isinstance(value, list): 73 | result[attr] = list(map( 74 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 75 | value 76 | )) 77 | elif hasattr(value, "to_dict"): 78 | result[attr] = value.to_dict() 79 | elif isinstance(value, dict): 80 | result[attr] = dict(map( 81 | lambda item: (item[0], item[1].to_dict()) 82 | if hasattr(item[1], "to_dict") else item, 83 | value.items() 84 | )) 85 | else: 86 | result[attr] = value 87 | if issubclass(InlineResponse2001, dict): 88 | for key, value in self.items(): 89 | result[key] = value 90 | 91 | return result 92 | 93 | def to_str(self): 94 | """Returns the string representation of the model""" 95 | return pprint.pformat(self.to_dict()) 96 | 97 | def __repr__(self): 98 | """For `print` and `pprint`""" 99 | return self.to_str() 100 | 101 | def __eq__(self, other): 102 | """Returns true if both objects are equal""" 103 | if not isinstance(other, InlineResponse2001): 104 | return False 105 | 106 | return self.__dict__ == other.__dict__ 107 | 108 | def __ne__(self, other): 109 | """Returns true if both objects are not equal""" 110 | return not self == other 111 | -------------------------------------------------------------------------------- /culebratester_client/models/product_name.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class ProductName(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'product_name': 'str' 32 | } 33 | 34 | attribute_map = { 35 | 'product_name': 'productName' 36 | } 37 | 38 | def __init__(self, product_name=None): # noqa: E501 39 | """ProductName - a model defined in Swagger""" # noqa: E501 40 | self._product_name = None 41 | self.discriminator = None 42 | if product_name is not None: 43 | self.product_name = product_name 44 | 45 | @property 46 | def product_name(self): 47 | """Gets the product_name of this ProductName. # noqa: E501 48 | 49 | product name of the device # noqa: E501 50 | 51 | :return: The product_name of this ProductName. # noqa: E501 52 | :rtype: str 53 | """ 54 | return self._product_name 55 | 56 | @product_name.setter 57 | def product_name(self, product_name): 58 | """Sets the product_name of this ProductName. 59 | 60 | product name of the device # noqa: E501 61 | 62 | :param product_name: The product_name of this ProductName. # noqa: E501 63 | :type: str 64 | """ 65 | 66 | self._product_name = product_name 67 | 68 | def to_dict(self): 69 | """Returns the model properties as a dict""" 70 | result = {} 71 | 72 | for attr, _ in six.iteritems(self.swagger_types): 73 | value = getattr(self, attr) 74 | if isinstance(value, list): 75 | result[attr] = list(map( 76 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 77 | value 78 | )) 79 | elif hasattr(value, "to_dict"): 80 | result[attr] = value.to_dict() 81 | elif isinstance(value, dict): 82 | result[attr] = dict(map( 83 | lambda item: (item[0], item[1].to_dict()) 84 | if hasattr(item[1], "to_dict") else item, 85 | value.items() 86 | )) 87 | else: 88 | result[attr] = value 89 | if issubclass(ProductName, dict): 90 | for key, value in self.items(): 91 | result[key] = value 92 | 93 | return result 94 | 95 | def to_str(self): 96 | """Returns the string representation of the model""" 97 | return pprint.pformat(self.to_dict()) 98 | 99 | def __repr__(self): 100 | """For `print` and `pprint`""" 101 | return self.to_str() 102 | 103 | def __eq__(self, other): 104 | """Returns true if both objects are equal""" 105 | if not isinstance(other, ProductName): 106 | return False 107 | 108 | return self.__dict__ == other.__dict__ 109 | 110 | def __ne__(self, other): 111 | """Returns true if both objects are not equal""" 112 | return not self == other 113 | -------------------------------------------------------------------------------- /culebratester_client/models/display_width.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class DisplayWidth(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'display_width': 'int' 32 | } 33 | 34 | attribute_map = { 35 | 'display_width': 'displayWidth' 36 | } 37 | 38 | def __init__(self, display_width=None): # noqa: E501 39 | """DisplayWidth - a model defined in Swagger""" # noqa: E501 40 | self._display_width = None 41 | self.discriminator = None 42 | if display_width is not None: 43 | self.display_width = display_width 44 | 45 | @property 46 | def display_width(self): 47 | """Gets the display_width of this DisplayWidth. # noqa: E501 48 | 49 | the current display width # noqa: E501 50 | 51 | :return: The display_width of this DisplayWidth. # noqa: E501 52 | :rtype: int 53 | """ 54 | return self._display_width 55 | 56 | @display_width.setter 57 | def display_width(self, display_width): 58 | """Sets the display_width of this DisplayWidth. 59 | 60 | the current display width # noqa: E501 61 | 62 | :param display_width: The display_width of this DisplayWidth. # noqa: E501 63 | :type: int 64 | """ 65 | 66 | self._display_width = display_width 67 | 68 | def to_dict(self): 69 | """Returns the model properties as a dict""" 70 | result = {} 71 | 72 | for attr, _ in six.iteritems(self.swagger_types): 73 | value = getattr(self, attr) 74 | if isinstance(value, list): 75 | result[attr] = list(map( 76 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 77 | value 78 | )) 79 | elif hasattr(value, "to_dict"): 80 | result[attr] = value.to_dict() 81 | elif isinstance(value, dict): 82 | result[attr] = dict(map( 83 | lambda item: (item[0], item[1].to_dict()) 84 | if hasattr(item[1], "to_dict") else item, 85 | value.items() 86 | )) 87 | else: 88 | result[attr] = value 89 | if issubclass(DisplayWidth, dict): 90 | for key, value in self.items(): 91 | result[key] = value 92 | 93 | return result 94 | 95 | def to_str(self): 96 | """Returns the string representation of the model""" 97 | return pprint.pformat(self.to_dict()) 98 | 99 | def __repr__(self): 100 | """For `print` and `pprint`""" 101 | return self.to_str() 102 | 103 | def __eq__(self, other): 104 | """Returns true if both objects are equal""" 105 | if not isinstance(other, DisplayWidth): 106 | return False 107 | 108 | return self.__dict__ == other.__dict__ 109 | 110 | def __ne__(self, other): 111 | """Returns true if both objects are not equal""" 112 | return not self == other 113 | -------------------------------------------------------------------------------- /culebratester_client/models/display_height.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class DisplayHeight(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'display_height': 'int' 32 | } 33 | 34 | attribute_map = { 35 | 'display_height': 'displayHeight' 36 | } 37 | 38 | def __init__(self, display_height=None): # noqa: E501 39 | """DisplayHeight - a model defined in Swagger""" # noqa: E501 40 | self._display_height = None 41 | self.discriminator = None 42 | if display_height is not None: 43 | self.display_height = display_height 44 | 45 | @property 46 | def display_height(self): 47 | """Gets the display_height of this DisplayHeight. # noqa: E501 48 | 49 | the current display height # noqa: E501 50 | 51 | :return: The display_height of this DisplayHeight. # noqa: E501 52 | :rtype: int 53 | """ 54 | return self._display_height 55 | 56 | @display_height.setter 57 | def display_height(self, display_height): 58 | """Sets the display_height of this DisplayHeight. 59 | 60 | the current display height # noqa: E501 61 | 62 | :param display_height: The display_height of this DisplayHeight. # noqa: E501 63 | :type: int 64 | """ 65 | 66 | self._display_height = display_height 67 | 68 | def to_dict(self): 69 | """Returns the model properties as a dict""" 70 | result = {} 71 | 72 | for attr, _ in six.iteritems(self.swagger_types): 73 | value = getattr(self, attr) 74 | if isinstance(value, list): 75 | result[attr] = list(map( 76 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 77 | value 78 | )) 79 | elif hasattr(value, "to_dict"): 80 | result[attr] = value.to_dict() 81 | elif isinstance(value, dict): 82 | result[attr] = dict(map( 83 | lambda item: (item[0], item[1].to_dict()) 84 | if hasattr(item[1], "to_dict") else item, 85 | value.items() 86 | )) 87 | else: 88 | result[attr] = value 89 | if issubclass(DisplayHeight, dict): 90 | for key, value in self.items(): 91 | result[key] = value 92 | 93 | return result 94 | 95 | def to_str(self): 96 | """Returns the string representation of the model""" 97 | return pprint.pformat(self.to_dict()) 98 | 99 | def __repr__(self): 100 | """For `print` and `pprint`""" 101 | return self.to_str() 102 | 103 | def __eq__(self, other): 104 | """Returns true if both objects are equal""" 105 | if not isinstance(other, DisplayHeight): 106 | return False 107 | 108 | return self.__dict__ == other.__dict__ 109 | 110 | def __ne__(self, other): 111 | """Returns true if both objects are not equal""" 112 | return not self == other 113 | -------------------------------------------------------------------------------- /culebratester_client/models/display_rotation_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class DisplayRotationResponse(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'display_rotation': 'DisplayRotationEnum' 32 | } 33 | 34 | attribute_map = { 35 | 'display_rotation': 'displayRotation' 36 | } 37 | 38 | def __init__(self, display_rotation=None): # noqa: E501 39 | """DisplayRotationResponse - a model defined in Swagger""" # noqa: E501 40 | self._display_rotation = None 41 | self.discriminator = None 42 | if display_rotation is not None: 43 | self.display_rotation = display_rotation 44 | 45 | @property 46 | def display_rotation(self): 47 | """Gets the display_rotation of this DisplayRotationResponse. # noqa: E501 48 | 49 | 50 | :return: The display_rotation of this DisplayRotationResponse. # noqa: E501 51 | :rtype: DisplayRotationEnum 52 | """ 53 | return self._display_rotation 54 | 55 | @display_rotation.setter 56 | def display_rotation(self, display_rotation): 57 | """Sets the display_rotation of this DisplayRotationResponse. 58 | 59 | 60 | :param display_rotation: The display_rotation of this DisplayRotationResponse. # noqa: E501 61 | :type: DisplayRotationEnum 62 | """ 63 | 64 | self._display_rotation = display_rotation 65 | 66 | def to_dict(self): 67 | """Returns the model properties as a dict""" 68 | result = {} 69 | 70 | for attr, _ in six.iteritems(self.swagger_types): 71 | value = getattr(self, attr) 72 | if isinstance(value, list): 73 | result[attr] = list(map( 74 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 75 | value 76 | )) 77 | elif hasattr(value, "to_dict"): 78 | result[attr] = value.to_dict() 79 | elif isinstance(value, dict): 80 | result[attr] = dict(map( 81 | lambda item: (item[0], item[1].to_dict()) 82 | if hasattr(item[1], "to_dict") else item, 83 | value.items() 84 | )) 85 | else: 86 | result[attr] = value 87 | if issubclass(DisplayRotationResponse, dict): 88 | for key, value in self.items(): 89 | result[key] = value 90 | 91 | return result 92 | 93 | def to_str(self): 94 | """Returns the string representation of the model""" 95 | return pprint.pformat(self.to_dict()) 96 | 97 | def __repr__(self): 98 | """For `print` and `pprint`""" 99 | return self.to_str() 100 | 101 | def __eq__(self, other): 102 | """Returns true if both objects are equal""" 103 | if not isinstance(other, DisplayRotationResponse): 104 | return False 105 | 106 | return self.__dict__ == other.__dict__ 107 | 108 | def __ne__(self, other): 109 | """Returns true if both objects are not equal""" 110 | return not self == other 111 | -------------------------------------------------------------------------------- /culebratester_client/models/current_package_name.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class CurrentPackageName(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'current_package_name': 'str' 32 | } 33 | 34 | attribute_map = { 35 | 'current_package_name': 'currentPackageName' 36 | } 37 | 38 | def __init__(self, current_package_name=None): # noqa: E501 39 | """CurrentPackageName - a model defined in Swagger""" # noqa: E501 40 | self._current_package_name = None 41 | self.discriminator = None 42 | if current_package_name is not None: 43 | self.current_package_name = current_package_name 44 | 45 | @property 46 | def current_package_name(self): 47 | """Gets the current_package_name of this CurrentPackageName. # noqa: E501 48 | 49 | the current package name # noqa: E501 50 | 51 | :return: The current_package_name of this CurrentPackageName. # noqa: E501 52 | :rtype: str 53 | """ 54 | return self._current_package_name 55 | 56 | @current_package_name.setter 57 | def current_package_name(self, current_package_name): 58 | """Sets the current_package_name of this CurrentPackageName. 59 | 60 | the current package name # noqa: E501 61 | 62 | :param current_package_name: The current_package_name of this CurrentPackageName. # noqa: E501 63 | :type: str 64 | """ 65 | 66 | self._current_package_name = current_package_name 67 | 68 | def to_dict(self): 69 | """Returns the model properties as a dict""" 70 | result = {} 71 | 72 | for attr, _ in six.iteritems(self.swagger_types): 73 | value = getattr(self, attr) 74 | if isinstance(value, list): 75 | result[attr] = list(map( 76 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 77 | value 78 | )) 79 | elif hasattr(value, "to_dict"): 80 | result[attr] = value.to_dict() 81 | elif isinstance(value, dict): 82 | result[attr] = dict(map( 83 | lambda item: (item[0], item[1].to_dict()) 84 | if hasattr(item[1], "to_dict") else item, 85 | value.items() 86 | )) 87 | else: 88 | result[attr] = value 89 | if issubclass(CurrentPackageName, dict): 90 | for key, value in self.items(): 91 | result[key] = value 92 | 93 | return result 94 | 95 | def to_str(self): 96 | """Returns the string representation of the model""" 97 | return pprint.pformat(self.to_dict()) 98 | 99 | def __repr__(self): 100 | """For `print` and `pprint`""" 101 | return self.to_str() 102 | 103 | def __eq__(self, other): 104 | """Returns true if both objects are equal""" 105 | if not isinstance(other, CurrentPackageName): 106 | return False 107 | 108 | return self.__dict__ == other.__dict__ 109 | 110 | def __ne__(self, other): 111 | """Returns true if both objects are not equal""" 112 | return not self == other 113 | -------------------------------------------------------------------------------- /culebratester_client/models/last_traversed_text.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class LastTraversedText(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'last_traversed_text': 'str' 32 | } 33 | 34 | attribute_map = { 35 | 'last_traversed_text': 'lastTraversedText' 36 | } 37 | 38 | def __init__(self, last_traversed_text=None): # noqa: E501 39 | """LastTraversedText - a model defined in Swagger""" # noqa: E501 40 | self._last_traversed_text = None 41 | self.discriminator = None 42 | if last_traversed_text is not None: 43 | self.last_traversed_text = last_traversed_text 44 | 45 | @property 46 | def last_traversed_text(self): 47 | """Gets the last_traversed_text of this LastTraversedText. # noqa: E501 48 | 49 | text of the last traversal event, else return an empty string # noqa: E501 50 | 51 | :return: The last_traversed_text of this LastTraversedText. # noqa: E501 52 | :rtype: str 53 | """ 54 | return self._last_traversed_text 55 | 56 | @last_traversed_text.setter 57 | def last_traversed_text(self, last_traversed_text): 58 | """Sets the last_traversed_text of this LastTraversedText. 59 | 60 | text of the last traversal event, else return an empty string # noqa: E501 61 | 62 | :param last_traversed_text: The last_traversed_text of this LastTraversedText. # noqa: E501 63 | :type: str 64 | """ 65 | 66 | self._last_traversed_text = last_traversed_text 67 | 68 | def to_dict(self): 69 | """Returns the model properties as a dict""" 70 | result = {} 71 | 72 | for attr, _ in six.iteritems(self.swagger_types): 73 | value = getattr(self, attr) 74 | if isinstance(value, list): 75 | result[attr] = list(map( 76 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 77 | value 78 | )) 79 | elif hasattr(value, "to_dict"): 80 | result[attr] = value.to_dict() 81 | elif isinstance(value, dict): 82 | result[attr] = dict(map( 83 | lambda item: (item[0], item[1].to_dict()) 84 | if hasattr(item[1], "to_dict") else item, 85 | value.items() 86 | )) 87 | else: 88 | result[attr] = value 89 | if issubclass(LastTraversedText, dict): 90 | for key, value in self.items(): 91 | result[key] = value 92 | 93 | return result 94 | 95 | def to_str(self): 96 | """Returns the string representation of the model""" 97 | return pprint.pformat(self.to_dict()) 98 | 99 | def __repr__(self): 100 | """For `print` and `pprint`""" 101 | return self.to_str() 102 | 103 | def __eq__(self, other): 104 | """Returns true if both objects are equal""" 105 | if not isinstance(other, LastTraversedText): 106 | return False 107 | 108 | return self.__dict__ == other.__dict__ 109 | 110 | def __ne__(self, other): 111 | """Returns true if both objects are not equal""" 112 | return not self == other 113 | -------------------------------------------------------------------------------- /culebratester_client/models/point.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Point(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'x': 'int', 32 | 'y': 'int' 33 | } 34 | 35 | attribute_map = { 36 | 'x': 'x', 37 | 'y': 'y' 38 | } 39 | 40 | def __init__(self, x=None, y=None): # noqa: E501 41 | """Point - a model defined in Swagger""" # noqa: E501 42 | self._x = None 43 | self._y = None 44 | self.discriminator = None 45 | if x is not None: 46 | self.x = x 47 | if y is not None: 48 | self.y = y 49 | 50 | @property 51 | def x(self): 52 | """Gets the x of this Point. # noqa: E501 53 | 54 | 55 | :return: The x of this Point. # noqa: E501 56 | :rtype: int 57 | """ 58 | return self._x 59 | 60 | @x.setter 61 | def x(self, x): 62 | """Sets the x of this Point. 63 | 64 | 65 | :param x: The x of this Point. # noqa: E501 66 | :type: int 67 | """ 68 | 69 | self._x = x 70 | 71 | @property 72 | def y(self): 73 | """Gets the y of this Point. # noqa: E501 74 | 75 | 76 | :return: The y of this Point. # noqa: E501 77 | :rtype: int 78 | """ 79 | return self._y 80 | 81 | @y.setter 82 | def y(self, y): 83 | """Sets the y of this Point. 84 | 85 | 86 | :param y: The y of this Point. # noqa: E501 87 | :type: int 88 | """ 89 | 90 | self._y = y 91 | 92 | def to_dict(self): 93 | """Returns the model properties as a dict""" 94 | result = {} 95 | 96 | for attr, _ in six.iteritems(self.swagger_types): 97 | value = getattr(self, attr) 98 | if isinstance(value, list): 99 | result[attr] = list(map( 100 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 101 | value 102 | )) 103 | elif hasattr(value, "to_dict"): 104 | result[attr] = value.to_dict() 105 | elif isinstance(value, dict): 106 | result[attr] = dict(map( 107 | lambda item: (item[0], item[1].to_dict()) 108 | if hasattr(item[1], "to_dict") else item, 109 | value.items() 110 | )) 111 | else: 112 | result[attr] = value 113 | if issubclass(Point, dict): 114 | for key, value in self.items(): 115 | result[key] = value 116 | 117 | return result 118 | 119 | def to_str(self): 120 | """Returns the string representation of the model""" 121 | return pprint.pformat(self.to_dict()) 122 | 123 | def __repr__(self): 124 | """For `print` and `pprint`""" 125 | return self.to_str() 126 | 127 | def __eq__(self, other): 128 | """Returns true if both objects are equal""" 129 | if not isinstance(other, Point): 130 | return False 131 | 132 | return self.__dict__ == other.__dict__ 133 | 134 | def __ne__(self, other): 135 | """Returns true if both objects are not equal""" 136 | return not self == other 137 | -------------------------------------------------------------------------------- /culebratester_client/models/inline_response200.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class InlineResponse200(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'obj': 'AnyValue', 32 | 'oid': 'int' 33 | } 34 | 35 | attribute_map = { 36 | 'obj': 'obj', 37 | 'oid': 'oid' 38 | } 39 | 40 | def __init__(self, obj=None, oid=None): # noqa: E501 41 | """InlineResponse200 - a model defined in Swagger""" # noqa: E501 42 | self._obj = None 43 | self._oid = None 44 | self.discriminator = None 45 | if obj is not None: 46 | self.obj = obj 47 | if oid is not None: 48 | self.oid = oid 49 | 50 | @property 51 | def obj(self): 52 | """Gets the obj of this InlineResponse200. # noqa: E501 53 | 54 | 55 | :return: The obj of this InlineResponse200. # noqa: E501 56 | :rtype: AnyValue 57 | """ 58 | return self._obj 59 | 60 | @obj.setter 61 | def obj(self, obj): 62 | """Sets the obj of this InlineResponse200. 63 | 64 | 65 | :param obj: The obj of this InlineResponse200. # noqa: E501 66 | :type: AnyValue 67 | """ 68 | 69 | self._obj = obj 70 | 71 | @property 72 | def oid(self): 73 | """Gets the oid of this InlineResponse200. # noqa: E501 74 | 75 | 76 | :return: The oid of this InlineResponse200. # noqa: E501 77 | :rtype: int 78 | """ 79 | return self._oid 80 | 81 | @oid.setter 82 | def oid(self, oid): 83 | """Sets the oid of this InlineResponse200. 84 | 85 | 86 | :param oid: The oid of this InlineResponse200. # noqa: E501 87 | :type: int 88 | """ 89 | 90 | self._oid = oid 91 | 92 | def to_dict(self): 93 | """Returns the model properties as a dict""" 94 | result = {} 95 | 96 | for attr, _ in six.iteritems(self.swagger_types): 97 | value = getattr(self, attr) 98 | if isinstance(value, list): 99 | result[attr] = list(map( 100 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 101 | value 102 | )) 103 | elif hasattr(value, "to_dict"): 104 | result[attr] = value.to_dict() 105 | elif isinstance(value, dict): 106 | result[attr] = dict(map( 107 | lambda item: (item[0], item[1].to_dict()) 108 | if hasattr(item[1], "to_dict") else item, 109 | value.items() 110 | )) 111 | else: 112 | result[attr] = value 113 | if issubclass(InlineResponse200, dict): 114 | for key, value in self.items(): 115 | result[key] = value 116 | 117 | return result 118 | 119 | def to_str(self): 120 | """Returns the string representation of the model""" 121 | return pprint.pformat(self.to_dict()) 122 | 123 | def __repr__(self): 124 | """For `print` and `pprint`""" 125 | return self.to_str() 126 | 127 | def __eq__(self, other): 128 | """Returns true if both objects are equal""" 129 | if not isinstance(other, InlineResponse200): 130 | return False 131 | 132 | return self.__dict__ == other.__dict__ 133 | 134 | def __ne__(self, other): 135 | """Returns true if both objects are not equal""" 136 | return not self == other 137 | -------------------------------------------------------------------------------- /culebratester_client/models/pattern.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Pattern(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'regex': 'str', 32 | 'flags': 'int' 33 | } 34 | 35 | attribute_map = { 36 | 'regex': 'regex', 37 | 'flags': 'flags' 38 | } 39 | 40 | def __init__(self, regex=None, flags=None): # noqa: E501 41 | """Pattern - a model defined in Swagger""" # noqa: E501 42 | self._regex = None 43 | self._flags = None 44 | self.discriminator = None 45 | self.regex = regex 46 | if flags is not None: 47 | self.flags = flags 48 | 49 | @property 50 | def regex(self): 51 | """Gets the regex of this Pattern. # noqa: E501 52 | 53 | 54 | :return: The regex of this Pattern. # noqa: E501 55 | :rtype: str 56 | """ 57 | return self._regex 58 | 59 | @regex.setter 60 | def regex(self, regex): 61 | """Sets the regex of this Pattern. 62 | 63 | 64 | :param regex: The regex of this Pattern. # noqa: E501 65 | :type: str 66 | """ 67 | if regex is None: 68 | raise ValueError("Invalid value for `regex`, must not be `None`") # noqa: E501 69 | 70 | self._regex = regex 71 | 72 | @property 73 | def flags(self): 74 | """Gets the flags of this Pattern. # noqa: E501 75 | 76 | 77 | :return: The flags of this Pattern. # noqa: E501 78 | :rtype: int 79 | """ 80 | return self._flags 81 | 82 | @flags.setter 83 | def flags(self, flags): 84 | """Sets the flags of this Pattern. 85 | 86 | 87 | :param flags: The flags of this Pattern. # noqa: E501 88 | :type: int 89 | """ 90 | 91 | self._flags = flags 92 | 93 | def to_dict(self): 94 | """Returns the model properties as a dict""" 95 | result = {} 96 | 97 | for attr, _ in six.iteritems(self.swagger_types): 98 | value = getattr(self, attr) 99 | if isinstance(value, list): 100 | result[attr] = list(map( 101 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 102 | value 103 | )) 104 | elif hasattr(value, "to_dict"): 105 | result[attr] = value.to_dict() 106 | elif isinstance(value, dict): 107 | result[attr] = dict(map( 108 | lambda item: (item[0], item[1].to_dict()) 109 | if hasattr(item[1], "to_dict") else item, 110 | value.items() 111 | )) 112 | else: 113 | result[attr] = value 114 | if issubclass(Pattern, dict): 115 | for key, value in self.items(): 116 | result[key] = value 117 | 118 | return result 119 | 120 | def to_str(self): 121 | """Returns the string representation of the model""" 122 | return pprint.pformat(self.to_dict()) 123 | 124 | def __repr__(self): 125 | """For `print` and `pprint`""" 126 | return self.to_str() 127 | 128 | def __eq__(self, other): 129 | """Returns true if both objects are equal""" 130 | if not isinstance(other, Pattern): 131 | return False 132 | 133 | return self.__dict__ == other.__dict__ 134 | 135 | def __ne__(self, other): 136 | """Returns true if both objects are not equal""" 137 | return not self == other 138 | -------------------------------------------------------------------------------- /culebratester_client/models/body.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.11 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | 19 | class Body(object): 20 | """NOTE: This class is auto generated by the swagger code generator program. 21 | 22 | Do not edit the class manually. 23 | """ 24 | """ 25 | Attributes: 26 | swagger_types (dict): The key is attribute name 27 | and the value is attribute type. 28 | attribute_map (dict): The key is attribute name 29 | and the value is json key in definition. 30 | """ 31 | swagger_types = { 32 | 'segments': 'list[Point]', 33 | 'segment_steps': 'int' 34 | } 35 | 36 | attribute_map = { 37 | 'segments': 'segments', 38 | 'segment_steps': 'segmentSteps' 39 | } 40 | 41 | def __init__(self, segments=None, segment_steps=None): # noqa: E501 42 | """Body - a model defined in Swagger""" # noqa: E501 43 | self._segments = None 44 | self._segment_steps = None 45 | self.discriminator = None 46 | if segments is not None: 47 | self.segments = segments 48 | if segment_steps is not None: 49 | self.segment_steps = segment_steps 50 | 51 | @property 52 | def segments(self): 53 | """Gets the segments of this Body. # noqa: E501 54 | 55 | 56 | :return: The segments of this Body. # noqa: E501 57 | :rtype: list[Point] 58 | """ 59 | return self._segments 60 | 61 | @segments.setter 62 | def segments(self, segments): 63 | """Sets the segments of this Body. 64 | 65 | 66 | :param segments: The segments of this Body. # noqa: E501 67 | :type: list[Point] 68 | """ 69 | 70 | self._segments = segments 71 | 72 | @property 73 | def segment_steps(self): 74 | """Gets the segment_steps of this Body. # noqa: E501 75 | 76 | 77 | :return: The segment_steps of this Body. # noqa: E501 78 | :rtype: int 79 | """ 80 | return self._segment_steps 81 | 82 | @segment_steps.setter 83 | def segment_steps(self, segment_steps): 84 | """Sets the segment_steps of this Body. 85 | 86 | 87 | :param segment_steps: The segment_steps of this Body. # noqa: E501 88 | :type: int 89 | """ 90 | 91 | self._segment_steps = segment_steps 92 | 93 | def to_dict(self): 94 | """Returns the model properties as a dict""" 95 | result = {} 96 | 97 | for attr, _ in six.iteritems(self.swagger_types): 98 | value = getattr(self, attr) 99 | if isinstance(value, list): 100 | result[attr] = list(map( 101 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 102 | value 103 | )) 104 | elif hasattr(value, "to_dict"): 105 | result[attr] = value.to_dict() 106 | elif isinstance(value, dict): 107 | result[attr] = dict(map( 108 | lambda item: (item[0], item[1].to_dict()) 109 | if hasattr(item[1], "to_dict") else item, 110 | value.items() 111 | )) 112 | else: 113 | result[attr] = value 114 | if issubclass(Body, dict): 115 | for key, value in self.items(): 116 | result[key] = value 117 | 118 | return result 119 | 120 | def to_str(self): 121 | """Returns the string representation of the model""" 122 | return pprint.pformat(self.to_dict()) 123 | 124 | def __repr__(self): 125 | """For `print` and `pprint`""" 126 | return self.to_str() 127 | 128 | def __eq__(self, other): 129 | """Returns true if both objects are equal""" 130 | if not isinstance(other, Body): 131 | return False 132 | 133 | return self.__dict__ == other.__dict__ 134 | 135 | def __ne__(self, other): 136 | """Returns true if both objects are not equal""" 137 | return not self == other 138 | -------------------------------------------------------------------------------- /culebratester_client/models/swipe_body.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class SwipeBody(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'segments': 'list[Point]', 32 | 'segment_steps': 'int' 33 | } 34 | 35 | attribute_map = { 36 | 'segments': 'segments', 37 | 'segment_steps': 'segmentSteps' 38 | } 39 | 40 | def __init__(self, segments=None, segment_steps=None): # noqa: E501 41 | """SwipeBody - a model defined in Swagger""" # noqa: E501 42 | self._segments = None 43 | self._segment_steps = None 44 | self.discriminator = None 45 | if segments is not None: 46 | self.segments = segments 47 | if segment_steps is not None: 48 | self.segment_steps = segment_steps 49 | 50 | @property 51 | def segments(self): 52 | """Gets the segments of this SwipeBody. # noqa: E501 53 | 54 | 55 | :return: The segments of this SwipeBody. # noqa: E501 56 | :rtype: list[Point] 57 | """ 58 | return self._segments 59 | 60 | @segments.setter 61 | def segments(self, segments): 62 | """Sets the segments of this SwipeBody. 63 | 64 | 65 | :param segments: The segments of this SwipeBody. # noqa: E501 66 | :type: list[Point] 67 | """ 68 | 69 | self._segments = segments 70 | 71 | @property 72 | def segment_steps(self): 73 | """Gets the segment_steps of this SwipeBody. # noqa: E501 74 | 75 | 76 | :return: The segment_steps of this SwipeBody. # noqa: E501 77 | :rtype: int 78 | """ 79 | return self._segment_steps 80 | 81 | @segment_steps.setter 82 | def segment_steps(self, segment_steps): 83 | """Sets the segment_steps of this SwipeBody. 84 | 85 | 86 | :param segment_steps: The segment_steps of this SwipeBody. # noqa: E501 87 | :type: int 88 | """ 89 | 90 | self._segment_steps = segment_steps 91 | 92 | def to_dict(self): 93 | """Returns the model properties as a dict""" 94 | result = {} 95 | 96 | for attr, _ in six.iteritems(self.swagger_types): 97 | value = getattr(self, attr) 98 | if isinstance(value, list): 99 | result[attr] = list(map( 100 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 101 | value 102 | )) 103 | elif hasattr(value, "to_dict"): 104 | result[attr] = value.to_dict() 105 | elif isinstance(value, dict): 106 | result[attr] = dict(map( 107 | lambda item: (item[0], item[1].to_dict()) 108 | if hasattr(item[1], "to_dict") else item, 109 | value.items() 110 | )) 111 | else: 112 | result[attr] = value 113 | if issubclass(SwipeBody, dict): 114 | for key, value in self.items(): 115 | result[key] = value 116 | 117 | return result 118 | 119 | def to_str(self): 120 | """Returns the string representation of the model""" 121 | return pprint.pformat(self.to_dict()) 122 | 123 | def __repr__(self): 124 | """For `print` and `pprint`""" 125 | return self.to_str() 126 | 127 | def __eq__(self, other): 128 | """Returns true if both objects are equal""" 129 | if not isinstance(other, SwipeBody): 130 | return False 131 | 132 | return self.__dict__ == other.__dict__ 133 | 134 | def __ne__(self, other): 135 | """Returns true if both objects are not equal""" 136 | return not self == other 137 | -------------------------------------------------------------------------------- /culebratester_client/models/object_ref.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class ObjectRef(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'oid': 'int', 32 | 'class_name': 'str' 33 | } 34 | 35 | attribute_map = { 36 | 'oid': 'oid', 37 | 'class_name': 'className' 38 | } 39 | 40 | def __init__(self, oid=None, class_name=None): # noqa: E501 41 | """ObjectRef - a model defined in Swagger""" # noqa: E501 42 | self._oid = None 43 | self._class_name = None 44 | self.discriminator = None 45 | self.oid = oid 46 | self.class_name = class_name 47 | 48 | @property 49 | def oid(self): 50 | """Gets the oid of this ObjectRef. # noqa: E501 51 | 52 | the object ID # noqa: E501 53 | 54 | :return: The oid of this ObjectRef. # noqa: E501 55 | :rtype: int 56 | """ 57 | return self._oid 58 | 59 | @oid.setter 60 | def oid(self, oid): 61 | """Sets the oid of this ObjectRef. 62 | 63 | the object ID # noqa: E501 64 | 65 | :param oid: The oid of this ObjectRef. # noqa: E501 66 | :type: int 67 | """ 68 | if oid is None: 69 | raise ValueError("Invalid value for `oid`, must not be `None`") # noqa: E501 70 | 71 | self._oid = oid 72 | 73 | @property 74 | def class_name(self): 75 | """Gets the class_name of this ObjectRef. # noqa: E501 76 | 77 | the class name # noqa: E501 78 | 79 | :return: The class_name of this ObjectRef. # noqa: E501 80 | :rtype: str 81 | """ 82 | return self._class_name 83 | 84 | @class_name.setter 85 | def class_name(self, class_name): 86 | """Sets the class_name of this ObjectRef. 87 | 88 | the class name # noqa: E501 89 | 90 | :param class_name: The class_name of this ObjectRef. # noqa: E501 91 | :type: str 92 | """ 93 | if class_name is None: 94 | raise ValueError("Invalid value for `class_name`, must not be `None`") # noqa: E501 95 | 96 | self._class_name = class_name 97 | 98 | def to_dict(self): 99 | """Returns the model properties as a dict""" 100 | result = {} 101 | 102 | for attr, _ in six.iteritems(self.swagger_types): 103 | value = getattr(self, attr) 104 | if isinstance(value, list): 105 | result[attr] = list(map( 106 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 107 | value 108 | )) 109 | elif hasattr(value, "to_dict"): 110 | result[attr] = value.to_dict() 111 | elif isinstance(value, dict): 112 | result[attr] = dict(map( 113 | lambda item: (item[0], item[1].to_dict()) 114 | if hasattr(item[1], "to_dict") else item, 115 | value.items() 116 | )) 117 | else: 118 | result[attr] = value 119 | if issubclass(ObjectRef, dict): 120 | for key, value in self.items(): 121 | result[key] = value 122 | 123 | return result 124 | 125 | def to_str(self): 126 | """Returns the string representation of the model""" 127 | return pprint.pformat(self.to_dict()) 128 | 129 | def __repr__(self): 130 | """For `print` and `pprint`""" 131 | return self.to_str() 132 | 133 | def __eq__(self, other): 134 | """Returns true if both objects are equal""" 135 | if not isinstance(other, ObjectRef): 136 | return False 137 | 138 | return self.__dict__ == other.__dict__ 139 | 140 | def __ne__(self, other): 141 | """Returns true if both objects are not equal""" 142 | return not self == other 143 | -------------------------------------------------------------------------------- /culebratester_client/models/string_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class StringResponse(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'name': 'str', 32 | 'value': 'str' 33 | } 34 | 35 | attribute_map = { 36 | 'name': 'name', 37 | 'value': 'value' 38 | } 39 | 40 | def __init__(self, name=None, value=None): # noqa: E501 41 | """StringResponse - a model defined in Swagger""" # noqa: E501 42 | self._name = None 43 | self._value = None 44 | self.discriminator = None 45 | self.name = name 46 | self.value = value 47 | 48 | @property 49 | def name(self): 50 | """Gets the name of this StringResponse. # noqa: E501 51 | 52 | the name of the contained value # noqa: E501 53 | 54 | :return: The name of this StringResponse. # noqa: E501 55 | :rtype: str 56 | """ 57 | return self._name 58 | 59 | @name.setter 60 | def name(self, name): 61 | """Sets the name of this StringResponse. 62 | 63 | the name of the contained value # noqa: E501 64 | 65 | :param name: The name of this StringResponse. # noqa: E501 66 | :type: str 67 | """ 68 | if name is None: 69 | raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 70 | 71 | self._name = name 72 | 73 | @property 74 | def value(self): 75 | """Gets the value of this StringResponse. # noqa: E501 76 | 77 | the value # noqa: E501 78 | 79 | :return: The value of this StringResponse. # noqa: E501 80 | :rtype: str 81 | """ 82 | return self._value 83 | 84 | @value.setter 85 | def value(self, value): 86 | """Sets the value of this StringResponse. 87 | 88 | the value # noqa: E501 89 | 90 | :param value: The value of this StringResponse. # noqa: E501 91 | :type: str 92 | """ 93 | if value is None: 94 | raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 95 | 96 | self._value = value 97 | 98 | def to_dict(self): 99 | """Returns the model properties as a dict""" 100 | result = {} 101 | 102 | for attr, _ in six.iteritems(self.swagger_types): 103 | value = getattr(self, attr) 104 | if isinstance(value, list): 105 | result[attr] = list(map( 106 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 107 | value 108 | )) 109 | elif hasattr(value, "to_dict"): 110 | result[attr] = value.to_dict() 111 | elif isinstance(value, dict): 112 | result[attr] = dict(map( 113 | lambda item: (item[0], item[1].to_dict()) 114 | if hasattr(item[1], "to_dict") else item, 115 | value.items() 116 | )) 117 | else: 118 | result[attr] = value 119 | if issubclass(StringResponse, dict): 120 | for key, value in self.items(): 121 | result[key] = value 122 | 123 | return result 124 | 125 | def to_str(self): 126 | """Returns the string representation of the model""" 127 | return pprint.pformat(self.to_dict()) 128 | 129 | def __repr__(self): 130 | """For `print` and `pprint`""" 131 | return self.to_str() 132 | 133 | def __eq__(self, other): 134 | """Returns true if both objects are equal""" 135 | if not isinstance(other, StringResponse): 136 | return False 137 | 138 | return self.__dict__ == other.__dict__ 139 | 140 | def __ne__(self, other): 141 | """Returns true if both objects are not equal""" 142 | return not self == other 143 | -------------------------------------------------------------------------------- /culebratester_client/models/number_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class NumberResponse(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'name': 'str', 32 | 'value': 'float' 33 | } 34 | 35 | attribute_map = { 36 | 'name': 'name', 37 | 'value': 'value' 38 | } 39 | 40 | def __init__(self, name=None, value=None): # noqa: E501 41 | """NumberResponse - a model defined in Swagger""" # noqa: E501 42 | self._name = None 43 | self._value = None 44 | self.discriminator = None 45 | self.name = name 46 | self.value = value 47 | 48 | @property 49 | def name(self): 50 | """Gets the name of this NumberResponse. # noqa: E501 51 | 52 | the name of the contained value # noqa: E501 53 | 54 | :return: The name of this NumberResponse. # noqa: E501 55 | :rtype: str 56 | """ 57 | return self._name 58 | 59 | @name.setter 60 | def name(self, name): 61 | """Sets the name of this NumberResponse. 62 | 63 | the name of the contained value # noqa: E501 64 | 65 | :param name: The name of this NumberResponse. # noqa: E501 66 | :type: str 67 | """ 68 | if name is None: 69 | raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 70 | 71 | self._name = name 72 | 73 | @property 74 | def value(self): 75 | """Gets the value of this NumberResponse. # noqa: E501 76 | 77 | the number # noqa: E501 78 | 79 | :return: The value of this NumberResponse. # noqa: E501 80 | :rtype: float 81 | """ 82 | return self._value 83 | 84 | @value.setter 85 | def value(self, value): 86 | """Sets the value of this NumberResponse. 87 | 88 | the number # noqa: E501 89 | 90 | :param value: The value of this NumberResponse. # noqa: E501 91 | :type: float 92 | """ 93 | if value is None: 94 | raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 95 | 96 | self._value = value 97 | 98 | def to_dict(self): 99 | """Returns the model properties as a dict""" 100 | result = {} 101 | 102 | for attr, _ in six.iteritems(self.swagger_types): 103 | value = getattr(self, attr) 104 | if isinstance(value, list): 105 | result[attr] = list(map( 106 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 107 | value 108 | )) 109 | elif hasattr(value, "to_dict"): 110 | result[attr] = value.to_dict() 111 | elif isinstance(value, dict): 112 | result[attr] = dict(map( 113 | lambda item: (item[0], item[1].to_dict()) 114 | if hasattr(item[1], "to_dict") else item, 115 | value.items() 116 | )) 117 | else: 118 | result[attr] = value 119 | if issubclass(NumberResponse, dict): 120 | for key, value in self.items(): 121 | result[key] = value 122 | 123 | return result 124 | 125 | def to_str(self): 126 | """Returns the string representation of the model""" 127 | return pprint.pformat(self.to_dict()) 128 | 129 | def __repr__(self): 130 | """For `print` and `pprint`""" 131 | return self.to_str() 132 | 133 | def __eq__(self, other): 134 | """Returns true if both objects are equal""" 135 | if not isinstance(other, NumberResponse): 136 | return False 137 | 138 | return self.__dict__ == other.__dict__ 139 | 140 | def __ne__(self, other): 141 | """Returns true if both objects are not equal""" 142 | return not self == other 143 | -------------------------------------------------------------------------------- /culebratester_client/models/boolean_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class BooleanResponse(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'name': 'str', 32 | 'value': 'bool' 33 | } 34 | 35 | attribute_map = { 36 | 'name': 'name', 37 | 'value': 'value' 38 | } 39 | 40 | def __init__(self, name=None, value=None): # noqa: E501 41 | """BooleanResponse - a model defined in Swagger""" # noqa: E501 42 | self._name = None 43 | self._value = None 44 | self.discriminator = None 45 | self.name = name 46 | self.value = value 47 | 48 | @property 49 | def name(self): 50 | """Gets the name of this BooleanResponse. # noqa: E501 51 | 52 | the name of the contained value # noqa: E501 53 | 54 | :return: The name of this BooleanResponse. # noqa: E501 55 | :rtype: str 56 | """ 57 | return self._name 58 | 59 | @name.setter 60 | def name(self, name): 61 | """Sets the name of this BooleanResponse. 62 | 63 | the name of the contained value # noqa: E501 64 | 65 | :param name: The name of this BooleanResponse. # noqa: E501 66 | :type: str 67 | """ 68 | if name is None: 69 | raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 70 | 71 | self._name = name 72 | 73 | @property 74 | def value(self): 75 | """Gets the value of this BooleanResponse. # noqa: E501 76 | 77 | the value # noqa: E501 78 | 79 | :return: The value of this BooleanResponse. # noqa: E501 80 | :rtype: bool 81 | """ 82 | return self._value 83 | 84 | @value.setter 85 | def value(self, value): 86 | """Sets the value of this BooleanResponse. 87 | 88 | the value # noqa: E501 89 | 90 | :param value: The value of this BooleanResponse. # noqa: E501 91 | :type: bool 92 | """ 93 | if value is None: 94 | raise ValueError("Invalid value for `value`, must not be `None`") # noqa: E501 95 | 96 | self._value = value 97 | 98 | def to_dict(self): 99 | """Returns the model properties as a dict""" 100 | result = {} 101 | 102 | for attr, _ in six.iteritems(self.swagger_types): 103 | value = getattr(self, attr) 104 | if isinstance(value, list): 105 | result[attr] = list(map( 106 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 107 | value 108 | )) 109 | elif hasattr(value, "to_dict"): 110 | result[attr] = value.to_dict() 111 | elif isinstance(value, dict): 112 | result[attr] = dict(map( 113 | lambda item: (item[0], item[1].to_dict()) 114 | if hasattr(item[1], "to_dict") else item, 115 | value.items() 116 | )) 117 | else: 118 | result[attr] = value 119 | if issubclass(BooleanResponse, dict): 120 | for key, value in self.items(): 121 | result[key] = value 122 | 123 | return result 124 | 125 | def to_str(self): 126 | """Returns the string representation of the model""" 127 | return pprint.pformat(self.to_dict()) 128 | 129 | def __repr__(self): 130 | """For `print` and `pprint`""" 131 | return self.to_str() 132 | 133 | def __eq__(self, other): 134 | """Returns true if both objects are equal""" 135 | if not isinstance(other, BooleanResponse): 136 | return False 137 | 138 | return self.__dict__ == other.__dict__ 139 | 140 | def __ne__(self, other): 141 | """Returns true if both objects are not equal""" 142 | return not self == other 143 | -------------------------------------------------------------------------------- /culebratester_client/models/culebra_info.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class CulebraInfo(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'version_name': 'str', 32 | 'version_code': 'int' 33 | } 34 | 35 | attribute_map = { 36 | 'version_name': 'versionName', 37 | 'version_code': 'versionCode' 38 | } 39 | 40 | def __init__(self, version_name=None, version_code=None): # noqa: E501 41 | """CulebraInfo - a model defined in Swagger""" # noqa: E501 42 | self._version_name = None 43 | self._version_code = None 44 | self.discriminator = None 45 | self.version_name = version_name 46 | self.version_code = version_code 47 | 48 | @property 49 | def version_name(self): 50 | """Gets the version_name of this CulebraInfo. # noqa: E501 51 | 52 | 53 | :return: The version_name of this CulebraInfo. # noqa: E501 54 | :rtype: str 55 | """ 56 | return self._version_name 57 | 58 | @version_name.setter 59 | def version_name(self, version_name): 60 | """Sets the version_name of this CulebraInfo. 61 | 62 | 63 | :param version_name: The version_name of this CulebraInfo. # noqa: E501 64 | :type: str 65 | """ 66 | if version_name is None: 67 | raise ValueError("Invalid value for `version_name`, must not be `None`") # noqa: E501 68 | 69 | self._version_name = version_name 70 | 71 | @property 72 | def version_code(self): 73 | """Gets the version_code of this CulebraInfo. # noqa: E501 74 | 75 | 76 | :return: The version_code of this CulebraInfo. # noqa: E501 77 | :rtype: int 78 | """ 79 | return self._version_code 80 | 81 | @version_code.setter 82 | def version_code(self, version_code): 83 | """Sets the version_code of this CulebraInfo. 84 | 85 | 86 | :param version_code: The version_code of this CulebraInfo. # noqa: E501 87 | :type: int 88 | """ 89 | if version_code is None: 90 | raise ValueError("Invalid value for `version_code`, must not be `None`") # noqa: E501 91 | 92 | self._version_code = version_code 93 | 94 | def to_dict(self): 95 | """Returns the model properties as a dict""" 96 | result = {} 97 | 98 | for attr, _ in six.iteritems(self.swagger_types): 99 | value = getattr(self, attr) 100 | if isinstance(value, list): 101 | result[attr] = list(map( 102 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 103 | value 104 | )) 105 | elif hasattr(value, "to_dict"): 106 | result[attr] = value.to_dict() 107 | elif isinstance(value, dict): 108 | result[attr] = dict(map( 109 | lambda item: (item[0], item[1].to_dict()) 110 | if hasattr(item[1], "to_dict") else item, 111 | value.items() 112 | )) 113 | else: 114 | result[attr] = value 115 | if issubclass(CulebraInfo, dict): 116 | for key, value in self.items(): 117 | result[key] = value 118 | 119 | return result 120 | 121 | def to_str(self): 122 | """Returns the string representation of the model""" 123 | return pprint.pformat(self.to_dict()) 124 | 125 | def __repr__(self): 126 | """For `print` and `pprint`""" 127 | return self.to_str() 128 | 129 | def __eq__(self, other): 130 | """Returns true if both objects are equal""" 131 | if not isinstance(other, CulebraInfo): 132 | return False 133 | 134 | return self.__dict__ == other.__dict__ 135 | 136 | def __ne__(self, other): 137 | """Returns true if both objects are not equal""" 138 | return not self == other 139 | -------------------------------------------------------------------------------- /culebratester_client/models/display_size_dp.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class DisplaySizeDp(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'display_size_dp_x': 'int', 32 | 'display_size_dp_y': 'int' 33 | } 34 | 35 | attribute_map = { 36 | 'display_size_dp_x': 'displaySizeDpX', 37 | 'display_size_dp_y': 'displaySizeDpY' 38 | } 39 | 40 | def __init__(self, display_size_dp_x=None, display_size_dp_y=None): # noqa: E501 41 | """DisplaySizeDp - a model defined in Swagger""" # noqa: E501 42 | self._display_size_dp_x = None 43 | self._display_size_dp_y = None 44 | self.discriminator = None 45 | if display_size_dp_x is not None: 46 | self.display_size_dp_x = display_size_dp_x 47 | if display_size_dp_y is not None: 48 | self.display_size_dp_y = display_size_dp_y 49 | 50 | @property 51 | def display_size_dp_x(self): 52 | """Gets the display_size_dp_x of this DisplaySizeDp. # noqa: E501 53 | 54 | the display x in DP # noqa: E501 55 | 56 | :return: The display_size_dp_x of this DisplaySizeDp. # noqa: E501 57 | :rtype: int 58 | """ 59 | return self._display_size_dp_x 60 | 61 | @display_size_dp_x.setter 62 | def display_size_dp_x(self, display_size_dp_x): 63 | """Sets the display_size_dp_x of this DisplaySizeDp. 64 | 65 | the display x in DP # noqa: E501 66 | 67 | :param display_size_dp_x: The display_size_dp_x of this DisplaySizeDp. # noqa: E501 68 | :type: int 69 | """ 70 | 71 | self._display_size_dp_x = display_size_dp_x 72 | 73 | @property 74 | def display_size_dp_y(self): 75 | """Gets the display_size_dp_y of this DisplaySizeDp. # noqa: E501 76 | 77 | the display y in DP # noqa: E501 78 | 79 | :return: The display_size_dp_y of this DisplaySizeDp. # noqa: E501 80 | :rtype: int 81 | """ 82 | return self._display_size_dp_y 83 | 84 | @display_size_dp_y.setter 85 | def display_size_dp_y(self, display_size_dp_y): 86 | """Sets the display_size_dp_y of this DisplaySizeDp. 87 | 88 | the display y in DP # noqa: E501 89 | 90 | :param display_size_dp_y: The display_size_dp_y of this DisplaySizeDp. # noqa: E501 91 | :type: int 92 | """ 93 | 94 | self._display_size_dp_y = display_size_dp_y 95 | 96 | def to_dict(self): 97 | """Returns the model properties as a dict""" 98 | result = {} 99 | 100 | for attr, _ in six.iteritems(self.swagger_types): 101 | value = getattr(self, attr) 102 | if isinstance(value, list): 103 | result[attr] = list(map( 104 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 105 | value 106 | )) 107 | elif hasattr(value, "to_dict"): 108 | result[attr] = value.to_dict() 109 | elif isinstance(value, dict): 110 | result[attr] = dict(map( 111 | lambda item: (item[0], item[1].to_dict()) 112 | if hasattr(item[1], "to_dict") else item, 113 | value.items() 114 | )) 115 | else: 116 | result[attr] = value 117 | if issubclass(DisplaySizeDp, dict): 118 | for key, value in self.items(): 119 | result[key] = value 120 | 121 | return result 122 | 123 | def to_str(self): 124 | """Returns the string representation of the model""" 125 | return pprint.pformat(self.to_dict()) 126 | 127 | def __repr__(self): 128 | """For `print` and `pprint`""" 129 | return self.to_str() 130 | 131 | def __eq__(self, other): 132 | """Returns true if both objects are equal""" 133 | if not isinstance(other, DisplaySizeDp): 134 | return False 135 | 136 | return self.__dict__ == other.__dict__ 137 | 138 | def __ne__(self, other): 139 | """Returns true if both objects are not equal""" 140 | return not self == other 141 | -------------------------------------------------------------------------------- /culebratester_client/models/locale.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Locale(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'language': 'str', 32 | 'country': 'str', 33 | 'variant': 'str' 34 | } 35 | 36 | attribute_map = { 37 | 'language': 'language', 38 | 'country': 'country', 39 | 'variant': 'variant' 40 | } 41 | 42 | def __init__(self, language=None, country=None, variant=None): # noqa: E501 43 | """Locale - a model defined in Swagger""" # noqa: E501 44 | self._language = None 45 | self._country = None 46 | self._variant = None 47 | self.discriminator = None 48 | self.language = language 49 | if country is not None: 50 | self.country = country 51 | if variant is not None: 52 | self.variant = variant 53 | 54 | @property 55 | def language(self): 56 | """Gets the language of this Locale. # noqa: E501 57 | 58 | 59 | :return: The language of this Locale. # noqa: E501 60 | :rtype: str 61 | """ 62 | return self._language 63 | 64 | @language.setter 65 | def language(self, language): 66 | """Sets the language of this Locale. 67 | 68 | 69 | :param language: The language of this Locale. # noqa: E501 70 | :type: str 71 | """ 72 | if language is None: 73 | raise ValueError("Invalid value for `language`, must not be `None`") # noqa: E501 74 | 75 | self._language = language 76 | 77 | @property 78 | def country(self): 79 | """Gets the country of this Locale. # noqa: E501 80 | 81 | 82 | :return: The country of this Locale. # noqa: E501 83 | :rtype: str 84 | """ 85 | return self._country 86 | 87 | @country.setter 88 | def country(self, country): 89 | """Sets the country of this Locale. 90 | 91 | 92 | :param country: The country of this Locale. # noqa: E501 93 | :type: str 94 | """ 95 | 96 | self._country = country 97 | 98 | @property 99 | def variant(self): 100 | """Gets the variant of this Locale. # noqa: E501 101 | 102 | 103 | :return: The variant of this Locale. # noqa: E501 104 | :rtype: str 105 | """ 106 | return self._variant 107 | 108 | @variant.setter 109 | def variant(self, variant): 110 | """Sets the variant of this Locale. 111 | 112 | 113 | :param variant: The variant of this Locale. # noqa: E501 114 | :type: str 115 | """ 116 | 117 | self._variant = variant 118 | 119 | def to_dict(self): 120 | """Returns the model properties as a dict""" 121 | result = {} 122 | 123 | for attr, _ in six.iteritems(self.swagger_types): 124 | value = getattr(self, attr) 125 | if isinstance(value, list): 126 | result[attr] = list(map( 127 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 128 | value 129 | )) 130 | elif hasattr(value, "to_dict"): 131 | result[attr] = value.to_dict() 132 | elif isinstance(value, dict): 133 | result[attr] = dict(map( 134 | lambda item: (item[0], item[1].to_dict()) 135 | if hasattr(item[1], "to_dict") else item, 136 | value.items() 137 | )) 138 | else: 139 | result[attr] = value 140 | if issubclass(Locale, dict): 141 | for key, value in self.items(): 142 | result[key] = value 143 | 144 | return result 145 | 146 | def to_str(self): 147 | """Returns the string representation of the model""" 148 | return pprint.pformat(self.to_dict()) 149 | 150 | def __repr__(self): 151 | """For `print` and `pprint`""" 152 | return self.to_str() 153 | 154 | def __eq__(self, other): 155 | """Returns true if both objects are equal""" 156 | if not isinstance(other, Locale): 157 | return False 158 | 159 | return self.__dict__ == other.__dict__ 160 | 161 | def __ne__(self, other): 162 | """Returns true if both objects are not equal""" 163 | return not self == other 164 | -------------------------------------------------------------------------------- /culebratester_client/models/pixel.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Pixel(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'r': 'int', 32 | 'g': 'int', 33 | 'b': 'int', 34 | 'a': 'int' 35 | } 36 | 37 | attribute_map = { 38 | 'r': 'r', 39 | 'g': 'g', 40 | 'b': 'b', 41 | 'a': 'a' 42 | } 43 | 44 | def __init__(self, r=None, g=None, b=None, a=None): # noqa: E501 45 | """Pixel - a model defined in Swagger""" # noqa: E501 46 | self._r = None 47 | self._g = None 48 | self._b = None 49 | self._a = None 50 | self.discriminator = None 51 | self.r = r 52 | self.g = g 53 | self.b = b 54 | self.a = a 55 | 56 | @property 57 | def r(self): 58 | """Gets the r of this Pixel. # noqa: E501 59 | 60 | 61 | :return: The r of this Pixel. # noqa: E501 62 | :rtype: int 63 | """ 64 | return self._r 65 | 66 | @r.setter 67 | def r(self, r): 68 | """Sets the r of this Pixel. 69 | 70 | 71 | :param r: The r of this Pixel. # noqa: E501 72 | :type: int 73 | """ 74 | if r is None: 75 | raise ValueError("Invalid value for `r`, must not be `None`") # noqa: E501 76 | 77 | self._r = r 78 | 79 | @property 80 | def g(self): 81 | """Gets the g of this Pixel. # noqa: E501 82 | 83 | 84 | :return: The g of this Pixel. # noqa: E501 85 | :rtype: int 86 | """ 87 | return self._g 88 | 89 | @g.setter 90 | def g(self, g): 91 | """Sets the g of this Pixel. 92 | 93 | 94 | :param g: The g of this Pixel. # noqa: E501 95 | :type: int 96 | """ 97 | if g is None: 98 | raise ValueError("Invalid value for `g`, must not be `None`") # noqa: E501 99 | 100 | self._g = g 101 | 102 | @property 103 | def b(self): 104 | """Gets the b of this Pixel. # noqa: E501 105 | 106 | 107 | :return: The b of this Pixel. # noqa: E501 108 | :rtype: int 109 | """ 110 | return self._b 111 | 112 | @b.setter 113 | def b(self, b): 114 | """Sets the b of this Pixel. 115 | 116 | 117 | :param b: The b of this Pixel. # noqa: E501 118 | :type: int 119 | """ 120 | if b is None: 121 | raise ValueError("Invalid value for `b`, must not be `None`") # noqa: E501 122 | 123 | self._b = b 124 | 125 | @property 126 | def a(self): 127 | """Gets the a of this Pixel. # noqa: E501 128 | 129 | 130 | :return: The a of this Pixel. # noqa: E501 131 | :rtype: int 132 | """ 133 | return self._a 134 | 135 | @a.setter 136 | def a(self, a): 137 | """Sets the a of this Pixel. 138 | 139 | 140 | :param a: The a of this Pixel. # noqa: E501 141 | :type: int 142 | """ 143 | if a is None: 144 | raise ValueError("Invalid value for `a`, must not be `None`") # noqa: E501 145 | 146 | self._a = a 147 | 148 | def to_dict(self): 149 | """Returns the model properties as a dict""" 150 | result = {} 151 | 152 | for attr, _ in six.iteritems(self.swagger_types): 153 | value = getattr(self, attr) 154 | if isinstance(value, list): 155 | result[attr] = list(map( 156 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 157 | value 158 | )) 159 | elif hasattr(value, "to_dict"): 160 | result[attr] = value.to_dict() 161 | elif isinstance(value, dict): 162 | result[attr] = dict(map( 163 | lambda item: (item[0], item[1].to_dict()) 164 | if hasattr(item[1], "to_dict") else item, 165 | value.items() 166 | )) 167 | else: 168 | result[attr] = value 169 | if issubclass(Pixel, dict): 170 | for key, value in self.items(): 171 | result[key] = value 172 | 173 | return result 174 | 175 | def to_str(self): 176 | """Returns the string representation of the model""" 177 | return pprint.pformat(self.to_dict()) 178 | 179 | def __repr__(self): 180 | """For `print` and `pprint`""" 181 | return self.to_str() 182 | 183 | def __eq__(self, other): 184 | """Returns true if both objects are equal""" 185 | if not isinstance(other, Pixel): 186 | return False 187 | 188 | return self.__dict__ == other.__dict__ 189 | 190 | def __ne__(self, other): 191 | """Returns true if both objects are not equal""" 192 | return not self == other 193 | -------------------------------------------------------------------------------- /culebratester_client/models/status_response.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class StatusResponse(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'status': 'str', 32 | 'status_code': 'int', 33 | 'error_message': 'str' 34 | } 35 | 36 | attribute_map = { 37 | 'status': 'status', 38 | 'status_code': 'statusCode', 39 | 'error_message': 'errorMessage' 40 | } 41 | 42 | def __init__(self, status=None, status_code=None, error_message=None): # noqa: E501 43 | """StatusResponse - a model defined in Swagger""" # noqa: E501 44 | self._status = None 45 | self._status_code = None 46 | self._error_message = None 47 | self.discriminator = None 48 | self.status = status 49 | if status_code is not None: 50 | self.status_code = status_code 51 | if error_message is not None: 52 | self.error_message = error_message 53 | 54 | @property 55 | def status(self): 56 | """Gets the status of this StatusResponse. # noqa: E501 57 | 58 | 59 | :return: The status of this StatusResponse. # noqa: E501 60 | :rtype: str 61 | """ 62 | return self._status 63 | 64 | @status.setter 65 | def status(self, status): 66 | """Sets the status of this StatusResponse. 67 | 68 | 69 | :param status: The status of this StatusResponse. # noqa: E501 70 | :type: str 71 | """ 72 | if status is None: 73 | raise ValueError("Invalid value for `status`, must not be `None`") # noqa: E501 74 | allowed_values = ["OK", "ERROR", "UNKNOWN"] # noqa: E501 75 | if status not in allowed_values: 76 | raise ValueError( 77 | "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 78 | .format(status, allowed_values) 79 | ) 80 | 81 | self._status = status 82 | 83 | @property 84 | def status_code(self): 85 | """Gets the status_code of this StatusResponse. # noqa: E501 86 | 87 | 88 | :return: The status_code of this StatusResponse. # noqa: E501 89 | :rtype: int 90 | """ 91 | return self._status_code 92 | 93 | @status_code.setter 94 | def status_code(self, status_code): 95 | """Sets the status_code of this StatusResponse. 96 | 97 | 98 | :param status_code: The status_code of this StatusResponse. # noqa: E501 99 | :type: int 100 | """ 101 | 102 | self._status_code = status_code 103 | 104 | @property 105 | def error_message(self): 106 | """Gets the error_message of this StatusResponse. # noqa: E501 107 | 108 | 109 | :return: The error_message of this StatusResponse. # noqa: E501 110 | :rtype: str 111 | """ 112 | return self._error_message 113 | 114 | @error_message.setter 115 | def error_message(self, error_message): 116 | """Sets the error_message of this StatusResponse. 117 | 118 | 119 | :param error_message: The error_message of this StatusResponse. # noqa: E501 120 | :type: str 121 | """ 122 | 123 | self._error_message = error_message 124 | 125 | def to_dict(self): 126 | """Returns the model properties as a dict""" 127 | result = {} 128 | 129 | for attr, _ in six.iteritems(self.swagger_types): 130 | value = getattr(self, attr) 131 | if isinstance(value, list): 132 | result[attr] = list(map( 133 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 134 | value 135 | )) 136 | elif hasattr(value, "to_dict"): 137 | result[attr] = value.to_dict() 138 | elif isinstance(value, dict): 139 | result[attr] = dict(map( 140 | lambda item: (item[0], item[1].to_dict()) 141 | if hasattr(item[1], "to_dict") else item, 142 | value.items() 143 | )) 144 | else: 145 | result[attr] = value 146 | if issubclass(StatusResponse, dict): 147 | for key, value in self.items(): 148 | result[key] = value 149 | 150 | return result 151 | 152 | def to_str(self): 153 | """Returns the string representation of the model""" 154 | return pprint.pformat(self.to_dict()) 155 | 156 | def __repr__(self): 157 | """For `print` and `pprint`""" 158 | return self.to_str() 159 | 160 | def __eq__(self, other): 161 | """Returns true if both objects are equal""" 162 | if not isinstance(other, StatusResponse): 163 | return False 164 | 165 | return self.__dict__ == other.__dict__ 166 | 167 | def __ne__(self, other): 168 | """Returns true if both objects are not equal""" 169 | return not self == other 170 | -------------------------------------------------------------------------------- /culebratester_client/models/rect.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class Rect(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'left': 'int', 32 | 'top': 'int', 33 | 'right': 'int', 34 | 'bottom': 'int' 35 | } 36 | 37 | attribute_map = { 38 | 'left': 'left', 39 | 'top': 'top', 40 | 'right': 'right', 41 | 'bottom': 'bottom' 42 | } 43 | 44 | def __init__(self, left=None, top=None, right=None, bottom=None): # noqa: E501 45 | """Rect - a model defined in Swagger""" # noqa: E501 46 | self._left = None 47 | self._top = None 48 | self._right = None 49 | self._bottom = None 50 | self.discriminator = None 51 | self.left = left 52 | self.top = top 53 | self.right = right 54 | self.bottom = bottom 55 | 56 | @property 57 | def left(self): 58 | """Gets the left of this Rect. # noqa: E501 59 | 60 | 61 | :return: The left of this Rect. # noqa: E501 62 | :rtype: int 63 | """ 64 | return self._left 65 | 66 | @left.setter 67 | def left(self, left): 68 | """Sets the left of this Rect. 69 | 70 | 71 | :param left: The left of this Rect. # noqa: E501 72 | :type: int 73 | """ 74 | if left is None: 75 | raise ValueError("Invalid value for `left`, must not be `None`") # noqa: E501 76 | 77 | self._left = left 78 | 79 | @property 80 | def top(self): 81 | """Gets the top of this Rect. # noqa: E501 82 | 83 | 84 | :return: The top of this Rect. # noqa: E501 85 | :rtype: int 86 | """ 87 | return self._top 88 | 89 | @top.setter 90 | def top(self, top): 91 | """Sets the top of this Rect. 92 | 93 | 94 | :param top: The top of this Rect. # noqa: E501 95 | :type: int 96 | """ 97 | if top is None: 98 | raise ValueError("Invalid value for `top`, must not be `None`") # noqa: E501 99 | 100 | self._top = top 101 | 102 | @property 103 | def right(self): 104 | """Gets the right of this Rect. # noqa: E501 105 | 106 | 107 | :return: The right of this Rect. # noqa: E501 108 | :rtype: int 109 | """ 110 | return self._right 111 | 112 | @right.setter 113 | def right(self, right): 114 | """Sets the right of this Rect. 115 | 116 | 117 | :param right: The right of this Rect. # noqa: E501 118 | :type: int 119 | """ 120 | if right is None: 121 | raise ValueError("Invalid value for `right`, must not be `None`") # noqa: E501 122 | 123 | self._right = right 124 | 125 | @property 126 | def bottom(self): 127 | """Gets the bottom of this Rect. # noqa: E501 128 | 129 | 130 | :return: The bottom of this Rect. # noqa: E501 131 | :rtype: int 132 | """ 133 | return self._bottom 134 | 135 | @bottom.setter 136 | def bottom(self, bottom): 137 | """Sets the bottom of this Rect. 138 | 139 | 140 | :param bottom: The bottom of this Rect. # noqa: E501 141 | :type: int 142 | """ 143 | if bottom is None: 144 | raise ValueError("Invalid value for `bottom`, must not be `None`") # noqa: E501 145 | 146 | self._bottom = bottom 147 | 148 | def to_dict(self): 149 | """Returns the model properties as a dict""" 150 | result = {} 151 | 152 | for attr, _ in six.iteritems(self.swagger_types): 153 | value = getattr(self, attr) 154 | if isinstance(value, list): 155 | result[attr] = list(map( 156 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 157 | value 158 | )) 159 | elif hasattr(value, "to_dict"): 160 | result[attr] = value.to_dict() 161 | elif isinstance(value, dict): 162 | result[attr] = dict(map( 163 | lambda item: (item[0], item[1].to_dict()) 164 | if hasattr(item[1], "to_dict") else item, 165 | value.items() 166 | )) 167 | else: 168 | result[attr] = value 169 | if issubclass(Rect, dict): 170 | for key, value in self.items(): 171 | result[key] = value 172 | 173 | return result 174 | 175 | def to_str(self): 176 | """Returns the string representation of the model""" 177 | return pprint.pformat(self.to_dict()) 178 | 179 | def __repr__(self): 180 | """For `print` and `pprint`""" 181 | return self.to_str() 182 | 183 | def __eq__(self, other): 184 | """Returns true if both objects are equal""" 185 | if not isinstance(other, Rect): 186 | return False 187 | 188 | return self.__dict__ == other.__dict__ 189 | 190 | def __ne__(self, other): 191 | """Returns true if both objects are not equal""" 192 | return not self == other 193 | -------------------------------------------------------------------------------- /culebratester_client/models/window_hierarchy.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | CulebraTester 5 | 6 | ## Snaky Android Test --- If you want to be able to try out the API using the **Execute** or **TRY** button from this page - an android device should be connected using `adb` - the server should have been started using `./culebratester2 start-server` then you will be able to invoke the API and see the responses. # noqa: E501 7 | 8 | OpenAPI spec version: 2.0.73 9 | 10 | Generated by: https://github.com/swagger-api/swagger-codegen.git 11 | """ 12 | 13 | import pprint 14 | import re # noqa: F401 15 | 16 | import six 17 | 18 | class WindowHierarchy(object): 19 | """NOTE: This class is auto generated by the swagger code generator program. 20 | 21 | Do not edit the class manually. 22 | """ 23 | """ 24 | Attributes: 25 | swagger_types (dict): The key is attribute name 26 | and the value is attribute type. 27 | attribute_map (dict): The key is attribute name 28 | and the value is json key in definition. 29 | """ 30 | swagger_types = { 31 | 'id': 'str', 32 | 'text': 'str', 33 | 'timestamp': 'str', 34 | 'children': 'list[WindowHierarchyChild]' 35 | } 36 | 37 | attribute_map = { 38 | 'id': 'id', 39 | 'text': 'text', 40 | 'timestamp': 'timestamp', 41 | 'children': 'children' 42 | } 43 | 44 | def __init__(self, id=None, text=None, timestamp=None, children=None): # noqa: E501 45 | """WindowHierarchy - a model defined in Swagger""" # noqa: E501 46 | self._id = None 47 | self._text = None 48 | self._timestamp = None 49 | self._children = None 50 | self.discriminator = None 51 | if id is not None: 52 | self.id = id 53 | if text is not None: 54 | self.text = text 55 | if timestamp is not None: 56 | self.timestamp = timestamp 57 | if children is not None: 58 | self.children = children 59 | 60 | @property 61 | def id(self): 62 | """Gets the id of this WindowHierarchy. # noqa: E501 63 | 64 | 65 | :return: The id of this WindowHierarchy. # noqa: E501 66 | :rtype: str 67 | """ 68 | return self._id 69 | 70 | @id.setter 71 | def id(self, id): 72 | """Sets the id of this WindowHierarchy. 73 | 74 | 75 | :param id: The id of this WindowHierarchy. # noqa: E501 76 | :type: str 77 | """ 78 | 79 | self._id = id 80 | 81 | @property 82 | def text(self): 83 | """Gets the text of this WindowHierarchy. # noqa: E501 84 | 85 | 86 | :return: The text of this WindowHierarchy. # noqa: E501 87 | :rtype: str 88 | """ 89 | return self._text 90 | 91 | @text.setter 92 | def text(self, text): 93 | """Sets the text of this WindowHierarchy. 94 | 95 | 96 | :param text: The text of this WindowHierarchy. # noqa: E501 97 | :type: str 98 | """ 99 | 100 | self._text = text 101 | 102 | @property 103 | def timestamp(self): 104 | """Gets the timestamp of this WindowHierarchy. # noqa: E501 105 | 106 | 107 | :return: The timestamp of this WindowHierarchy. # noqa: E501 108 | :rtype: str 109 | """ 110 | return self._timestamp 111 | 112 | @timestamp.setter 113 | def timestamp(self, timestamp): 114 | """Sets the timestamp of this WindowHierarchy. 115 | 116 | 117 | :param timestamp: The timestamp of this WindowHierarchy. # noqa: E501 118 | :type: str 119 | """ 120 | 121 | self._timestamp = timestamp 122 | 123 | @property 124 | def children(self): 125 | """Gets the children of this WindowHierarchy. # noqa: E501 126 | 127 | 128 | :return: The children of this WindowHierarchy. # noqa: E501 129 | :rtype: list[WindowHierarchyChild] 130 | """ 131 | return self._children 132 | 133 | @children.setter 134 | def children(self, children): 135 | """Sets the children of this WindowHierarchy. 136 | 137 | 138 | :param children: The children of this WindowHierarchy. # noqa: E501 139 | :type: list[WindowHierarchyChild] 140 | """ 141 | 142 | self._children = children 143 | 144 | def to_dict(self): 145 | """Returns the model properties as a dict""" 146 | result = {} 147 | 148 | for attr, _ in six.iteritems(self.swagger_types): 149 | value = getattr(self, attr) 150 | if isinstance(value, list): 151 | result[attr] = list(map( 152 | lambda x: x.to_dict() if hasattr(x, "to_dict") else x, 153 | value 154 | )) 155 | elif hasattr(value, "to_dict"): 156 | result[attr] = value.to_dict() 157 | elif isinstance(value, dict): 158 | result[attr] = dict(map( 159 | lambda item: (item[0], item[1].to_dict()) 160 | if hasattr(item[1], "to_dict") else item, 161 | value.items() 162 | )) 163 | else: 164 | result[attr] = value 165 | if issubclass(WindowHierarchy, dict): 166 | for key, value in self.items(): 167 | result[key] = value 168 | 169 | return result 170 | 171 | def to_str(self): 172 | """Returns the string representation of the model""" 173 | return pprint.pformat(self.to_dict()) 174 | 175 | def __repr__(self): 176 | """For `print` and `pprint`""" 177 | return self.to_str() 178 | 179 | def __eq__(self, other): 180 | """Returns true if both objects are equal""" 181 | if not isinstance(other, WindowHierarchy): 182 | return False 183 | 184 | return self.__dict__ == other.__dict__ 185 | 186 | def __ne__(self, other): 187 | """Returns true if both objects are not equal""" 188 | return not self == other 189 | --------------------------------------------------------------------------------