xfloor-memory-sdk 1.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xfloor_memory_sdk-1.0.3/LICENSE +1 -0
- xfloor_memory_sdk-1.0.3/PKG-INFO +200 -0
- xfloor_memory_sdk-1.0.3/README.md +180 -0
- xfloor_memory_sdk-1.0.3/pyproject.toml +95 -0
- xfloor_memory_sdk-1.0.3/setup.cfg +7 -0
- xfloor_memory_sdk-1.0.3/setup.py +51 -0
- xfloor_memory_sdk-1.0.3/test/test_block_details.py +57 -0
- xfloor_memory_sdk-1.0.3/test/test_change_password200_response.py +53 -0
- xfloor_memory_sdk-1.0.3/test/test_default_api.py +123 -0
- xfloor_memory_sdk-1.0.3/test/test_edit_floor400_response.py +61 -0
- xfloor_memory_sdk-1.0.3/test/test_edit_floor400_response_error.py +59 -0
- xfloor_memory_sdk-1.0.3/test/test_edit_floor_api.py +39 -0
- xfloor_memory_sdk-1.0.3/test/test_event400_response.py +61 -0
- xfloor_memory_sdk-1.0.3/test/test_event400_response_error.py +59 -0
- xfloor_memory_sdk-1.0.3/test/test_event_api.py +39 -0
- xfloor_memory_sdk-1.0.3/test/test_event_response.py +53 -0
- xfloor_memory_sdk-1.0.3/test/test_floor_info.py +67 -0
- xfloor_memory_sdk-1.0.3/test/test_get_floor_information200_response.py +67 -0
- xfloor_memory_sdk-1.0.3/test/test_get_floor_information_api.py +39 -0
- xfloor_memory_sdk-1.0.3/test/test_get_recent_events200_response.py +97 -0
- xfloor_memory_sdk-1.0.3/test/test_get_recent_events200_response_items_inner.py +70 -0
- xfloor_memory_sdk-1.0.3/test/test_get_recent_events200_response_items_inner_author.py +57 -0
- xfloor_memory_sdk-1.0.3/test/test_get_recent_events400_response.py +61 -0
- xfloor_memory_sdk-1.0.3/test/test_get_recent_events400_response_error.py +59 -0
- xfloor_memory_sdk-1.0.3/test/test_get_recent_events_api.py +39 -0
- xfloor_memory_sdk-1.0.3/test/test_media.py +55 -0
- xfloor_memory_sdk-1.0.3/test/test_model400_error_code.py +59 -0
- xfloor_memory_sdk-1.0.3/test/test_query422_response.py +55 -0
- xfloor_memory_sdk-1.0.3/test/test_query422_response_error.py +53 -0
- xfloor_memory_sdk-1.0.3/test/test_query_api.py +39 -0
- xfloor_memory_sdk-1.0.3/test/test_query_request.py +69 -0
- xfloor_memory_sdk-1.0.3/test/test_query_request_filters.py +59 -0
- xfloor_memory_sdk-1.0.3/test/test_query_response.py +66 -0
- xfloor_memory_sdk-1.0.3/test/test_query_response_items_inner.py +62 -0
- xfloor_memory_sdk-1.0.3/test/test_reset_password200_response.py +53 -0
- xfloor_memory_sdk-1.0.3/test/test_reset_password400_response.py +59 -0
- xfloor_memory_sdk-1.0.3/test/test_send_validation_code200_response.py +53 -0
- xfloor_memory_sdk-1.0.3/test/test_send_validation_code_request.py +56 -0
- xfloor_memory_sdk-1.0.3/test/test_sign_in_with_email200_response.py +113 -0
- xfloor_memory_sdk-1.0.3/test/test_sign_in_with_email200_response_profile.py +75 -0
- xfloor_memory_sdk-1.0.3/test/test_sign_in_with_email200_response_profile_avatar.py +55 -0
- xfloor_memory_sdk-1.0.3/test/test_sign_up200_response.py +55 -0
- xfloor_memory_sdk-1.0.3/test/test_sign_up_response.py +55 -0
- xfloor_memory_sdk-1.0.3/test/test_user_details.py +113 -0
- xfloor_memory_sdk-1.0.3/test/test_validate_code400_response.py +61 -0
- xfloor_memory_sdk-1.0.3/test/test_validate_code400_response_error.py +59 -0
- xfloor_memory_sdk-1.0.3/test/test_validate_code412_response.py +53 -0
- xfloor_memory_sdk-1.0.3/test/test_validate_code_request.py +59 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/__init__.py +131 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api/__init__.py +10 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api/default_api.py +3968 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api/edit_floor_api.py +392 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api/event_api.py +332 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api/get_floor_information_api.py +338 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api/get_recent_events_api.py +339 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api/query_api.py +315 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api_client.py +805 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/api_response.py +21 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/configuration.py +588 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/exceptions.py +220 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/__init__.py +53 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/block_details.py +92 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/change_password200_response.py +88 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/edit_floor400_response.py +92 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/edit_floor400_response_error.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/event400_response.py +92 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/event400_response_error.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/event_response.py +88 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/floor_info.py +110 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/get_floor_information200_response.py +110 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/get_recent_events200_response.py +98 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/get_recent_events200_response_items_inner.py +116 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/get_recent_events200_response_items_inner_author.py +98 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/get_recent_events400_response.py +92 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/get_recent_events400_response_error.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/media.py +90 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/model400_error_code.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/query422_response.py +92 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/query422_response_error.py +88 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/query_request.py +104 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/query_request_filters.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/query_response.py +98 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/query_response_items_inner.py +108 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/reset_password200_response.py +88 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/reset_password400_response.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/send_validation_code200_response.py +88 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/send_validation_code_request.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/sign_in_with_email200_response.py +100 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/sign_in_with_email200_response_profile.py +114 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/sign_in_with_email200_response_profile_avatar.py +90 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/sign_up200_response.py +90 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/sign_up_response.py +90 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/user_details.py +100 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/validate_code400_response.py +92 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/validate_code400_response_error.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/validate_code412_response.py +88 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/models/validate_code_request.py +94 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/py.typed +0 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk/rest.py +264 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk.egg-info/PKG-INFO +200 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk.egg-info/SOURCES.txt +103 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk.egg-info/dependency_links.txt +1 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk.egg-info/requires.txt +4 -0
- xfloor_memory_sdk-1.0.3/xfloor_memory_sdk.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
MIT License
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: xfloor_memory_sdk
|
|
3
|
+
Version: 1.0.3
|
|
4
|
+
Summary: Floor Memory
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: Ipomo
|
|
7
|
+
Author-email: Ipomo <contact@ipomo.in>
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
|
|
10
|
+
Keywords: OpenAPI,OpenAPI-Generator,Floor Memory
|
|
11
|
+
Requires-Python: >=3.9
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
15
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
16
|
+
Requires-Dist: pydantic>=2
|
|
17
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# xfloor-memory-sdk
|
|
22
|
+
The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
23
|
+
|
|
24
|
+
This set of APIs are divided into two parts.
|
|
25
|
+
- Memory and
|
|
26
|
+
- Registration.
|
|
27
|
+
|
|
28
|
+
The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
|
|
29
|
+
|
|
30
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
31
|
+
|
|
32
|
+
- API version: 1.0.0
|
|
33
|
+
- Package version: 1.0.3
|
|
34
|
+
- Generator version: 7.18.0
|
|
35
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
36
|
+
For more information, please visit [https://xfloor.ai/ipomo/blog1551084548304/](https://xfloor.ai/ipomo/blog1551084548304/)
|
|
37
|
+
|
|
38
|
+
## Requirements.
|
|
39
|
+
|
|
40
|
+
Python 3.9+
|
|
41
|
+
|
|
42
|
+
## Installation & Usage
|
|
43
|
+
### pip install
|
|
44
|
+
|
|
45
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
49
|
+
```
|
|
50
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
51
|
+
|
|
52
|
+
Then import the package:
|
|
53
|
+
```python
|
|
54
|
+
import xfloor_memory_sdk
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### Setuptools
|
|
58
|
+
|
|
59
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
python setup.py install --user
|
|
63
|
+
```
|
|
64
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
65
|
+
|
|
66
|
+
Then import the package:
|
|
67
|
+
```python
|
|
68
|
+
import xfloor_memory_sdk
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Tests
|
|
72
|
+
|
|
73
|
+
Execute `pytest` to run the tests.
|
|
74
|
+
|
|
75
|
+
## Getting Started
|
|
76
|
+
|
|
77
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
78
|
+
|
|
79
|
+
```python
|
|
80
|
+
|
|
81
|
+
import xfloor_memory_sdk
|
|
82
|
+
from xfloor_memory_sdk.rest import ApiException
|
|
83
|
+
from pprint import pprint
|
|
84
|
+
|
|
85
|
+
# Defining the host is optional and defaults to https://appfloor.in
|
|
86
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
87
|
+
configuration = xfloor_memory_sdk.Configuration(
|
|
88
|
+
host = "https://appfloor.in"
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
# The client must configure the authentication and authorization parameters
|
|
92
|
+
# in accordance with the API server security policy.
|
|
93
|
+
# Examples for each auth method are provided below, use the example that
|
|
94
|
+
# satisfies your auth use case.
|
|
95
|
+
|
|
96
|
+
# Configure Bearer authorization: bearer
|
|
97
|
+
configuration = xfloor_memory_sdk.Configuration(
|
|
98
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
# Enter a context with an instance of the API client
|
|
103
|
+
with xfloor_memory_sdk.ApiClient(configuration) as api_client:
|
|
104
|
+
# Create an instance of the API class
|
|
105
|
+
api_instance = xfloor_memory_sdk.DefaultApi(api_client)
|
|
106
|
+
new_email_id = 'new_email_id_example' # str | New Email ID
|
|
107
|
+
activation_code = 'activation_code_example' # str | Validation code
|
|
108
|
+
|
|
109
|
+
try:
|
|
110
|
+
# Change email ID
|
|
111
|
+
api_response = api_instance.change_email(new_email_id, activation_code)
|
|
112
|
+
print("The response of DefaultApi->change_email:\n")
|
|
113
|
+
pprint(api_response)
|
|
114
|
+
except ApiException as e:
|
|
115
|
+
print("Exception when calling DefaultApi->change_email: %s\n" % e)
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## Documentation for API Endpoints
|
|
120
|
+
|
|
121
|
+
All URIs are relative to *https://appfloor.in*
|
|
122
|
+
|
|
123
|
+
Class | Method | HTTP request | Description
|
|
124
|
+
------------ | ------------- | ------------- | -------------
|
|
125
|
+
*DefaultApi* | [**change_email**](docs/DefaultApi.md#change_email) | **POST** /auth-service/change/email | Change email ID
|
|
126
|
+
*DefaultApi* | [**change_mobile_number**](docs/DefaultApi.md#change_mobile_number) | **POST** /auth-service/change/mobile | Change Mobile number
|
|
127
|
+
*DefaultApi* | [**change_password**](docs/DefaultApi.md#change_password) | **POST** /auth-service/password/change | Change Password
|
|
128
|
+
*DefaultApi* | [**make_floor_private**](docs/DefaultApi.md#make_floor_private) | **POST** /api/memory/make/floor/private | Make floor Private
|
|
129
|
+
*DefaultApi* | [**make_floor_public**](docs/DefaultApi.md#make_floor_public) | **POST** /api/memory/make/floor/public | Make floor public
|
|
130
|
+
*DefaultApi* | [**register_external_user_identity**](docs/DefaultApi.md#register_external_user_identity) | **POST** /memory/identity/external-user | External User Registration
|
|
131
|
+
*DefaultApi* | [**rename_floor**](docs/DefaultApi.md#rename_floor) | **POST** /api/memory/change/floor/id | Rename floor
|
|
132
|
+
*DefaultApi* | [**reset_password**](docs/DefaultApi.md#reset_password) | **POST** /auth-service/password/reset | Reset Password
|
|
133
|
+
*DefaultApi* | [**send_validation_code**](docs/DefaultApi.md#send_validation_code) | **POST** /auth-service/send/validation/code | Send Validation code
|
|
134
|
+
*DefaultApi* | [**sign_in_with_email**](docs/DefaultApi.md#sign_in_with_email) | **POST** /auth-service/sign/in/with/email | Sign In with email ID
|
|
135
|
+
*DefaultApi* | [**sign_in_with_mobile_number**](docs/DefaultApi.md#sign_in_with_mobile_number) | **POST** /auth-service/sign/in/with/mobile/number | Sign In with Mobile number
|
|
136
|
+
*DefaultApi* | [**sign_up**](docs/DefaultApi.md#sign_up) | **POST** /auth-service/sign/up | Sign Up
|
|
137
|
+
*DefaultApi* | [**validate_code**](docs/DefaultApi.md#validate_code) | **POST** /auth-service/validate/activation/code | Validation
|
|
138
|
+
*EditFloorApi* | [**edit_floor**](docs/EditFloorApi.md#edit_floor) | **POST** /api/memory/edit/floor/{floor_id} | Edit floor
|
|
139
|
+
*EventApi* | [**event**](docs/EventApi.md#event) | **POST** /api/memory/events | Create Event (Post Content)
|
|
140
|
+
*GetFloorInformationApi* | [**get_floor_information**](docs/GetFloorInformationApi.md#get_floor_information) | **GET** /api/memory/floor/info/{floor_id} | Basic information of a floor
|
|
141
|
+
*GetRecentEventsApi* | [**get_recent_events**](docs/GetRecentEventsApi.md#get_recent_events) | **GET** /api/memory/recent/events | Recent Events
|
|
142
|
+
*QueryApi* | [**query**](docs/QueryApi.md#query) | **POST** /agent/memory/query | Query (Primary API)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
## Documentation For Models
|
|
146
|
+
|
|
147
|
+
- [BlockDetails](docs/BlockDetails.md)
|
|
148
|
+
- [ChangePassword200Response](docs/ChangePassword200Response.md)
|
|
149
|
+
- [EditFloor400Response](docs/EditFloor400Response.md)
|
|
150
|
+
- [EditFloor400ResponseError](docs/EditFloor400ResponseError.md)
|
|
151
|
+
- [Event400Response](docs/Event400Response.md)
|
|
152
|
+
- [Event400ResponseError](docs/Event400ResponseError.md)
|
|
153
|
+
- [EventResponse](docs/EventResponse.md)
|
|
154
|
+
- [FloorInfo](docs/FloorInfo.md)
|
|
155
|
+
- [GetFloorInformation200Response](docs/GetFloorInformation200Response.md)
|
|
156
|
+
- [GetRecentEvents200Response](docs/GetRecentEvents200Response.md)
|
|
157
|
+
- [GetRecentEvents200ResponseItemsInner](docs/GetRecentEvents200ResponseItemsInner.md)
|
|
158
|
+
- [GetRecentEvents200ResponseItemsInnerAuthor](docs/GetRecentEvents200ResponseItemsInnerAuthor.md)
|
|
159
|
+
- [GetRecentEvents400Response](docs/GetRecentEvents400Response.md)
|
|
160
|
+
- [GetRecentEvents400ResponseError](docs/GetRecentEvents400ResponseError.md)
|
|
161
|
+
- [Media](docs/Media.md)
|
|
162
|
+
- [Model400ErrorCode](docs/Model400ErrorCode.md)
|
|
163
|
+
- [Query422Response](docs/Query422Response.md)
|
|
164
|
+
- [Query422ResponseError](docs/Query422ResponseError.md)
|
|
165
|
+
- [QueryRequest](docs/QueryRequest.md)
|
|
166
|
+
- [QueryRequestFilters](docs/QueryRequestFilters.md)
|
|
167
|
+
- [QueryResponse](docs/QueryResponse.md)
|
|
168
|
+
- [QueryResponseItemsInner](docs/QueryResponseItemsInner.md)
|
|
169
|
+
- [ResetPassword200Response](docs/ResetPassword200Response.md)
|
|
170
|
+
- [ResetPassword400Response](docs/ResetPassword400Response.md)
|
|
171
|
+
- [SendValidationCode200Response](docs/SendValidationCode200Response.md)
|
|
172
|
+
- [SendValidationCodeRequest](docs/SendValidationCodeRequest.md)
|
|
173
|
+
- [SignInWithEmail200Response](docs/SignInWithEmail200Response.md)
|
|
174
|
+
- [SignInWithEmail200ResponseProfile](docs/SignInWithEmail200ResponseProfile.md)
|
|
175
|
+
- [SignInWithEmail200ResponseProfileAvatar](docs/SignInWithEmail200ResponseProfileAvatar.md)
|
|
176
|
+
- [SignUp200Response](docs/SignUp200Response.md)
|
|
177
|
+
- [SignUpResponse](docs/SignUpResponse.md)
|
|
178
|
+
- [UserDetails](docs/UserDetails.md)
|
|
179
|
+
- [ValidateCode400Response](docs/ValidateCode400Response.md)
|
|
180
|
+
- [ValidateCode400ResponseError](docs/ValidateCode400ResponseError.md)
|
|
181
|
+
- [ValidateCode412Response](docs/ValidateCode412Response.md)
|
|
182
|
+
- [ValidateCodeRequest](docs/ValidateCodeRequest.md)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
<a id="documentation-for-authorization"></a>
|
|
186
|
+
## Documentation For Authorization
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
Authentication schemes defined for the API:
|
|
190
|
+
<a id="bearer"></a>
|
|
191
|
+
### bearer
|
|
192
|
+
|
|
193
|
+
- **Type**: Bearer authentication
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
## Author
|
|
197
|
+
|
|
198
|
+
contact@ipomo.in
|
|
199
|
+
|
|
200
|
+
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# xfloor-memory-sdk
|
|
2
|
+
The set APIs are used to develop Floor pds which can be used as their personal assistants.
|
|
3
|
+
|
|
4
|
+
This set of APIs are divided into two parts.
|
|
5
|
+
- Memory and
|
|
6
|
+
- Registration.
|
|
7
|
+
|
|
8
|
+
The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
|
|
9
|
+
|
|
10
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
11
|
+
|
|
12
|
+
- API version: 1.0.0
|
|
13
|
+
- Package version: 1.0.3
|
|
14
|
+
- Generator version: 7.18.0
|
|
15
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
16
|
+
For more information, please visit [https://xfloor.ai/ipomo/blog1551084548304/](https://xfloor.ai/ipomo/blog1551084548304/)
|
|
17
|
+
|
|
18
|
+
## Requirements.
|
|
19
|
+
|
|
20
|
+
Python 3.9+
|
|
21
|
+
|
|
22
|
+
## Installation & Usage
|
|
23
|
+
### pip install
|
|
24
|
+
|
|
25
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
26
|
+
|
|
27
|
+
```sh
|
|
28
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
29
|
+
```
|
|
30
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
31
|
+
|
|
32
|
+
Then import the package:
|
|
33
|
+
```python
|
|
34
|
+
import xfloor_memory_sdk
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Setuptools
|
|
38
|
+
|
|
39
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
python setup.py install --user
|
|
43
|
+
```
|
|
44
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
45
|
+
|
|
46
|
+
Then import the package:
|
|
47
|
+
```python
|
|
48
|
+
import xfloor_memory_sdk
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Tests
|
|
52
|
+
|
|
53
|
+
Execute `pytest` to run the tests.
|
|
54
|
+
|
|
55
|
+
## Getting Started
|
|
56
|
+
|
|
57
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
58
|
+
|
|
59
|
+
```python
|
|
60
|
+
|
|
61
|
+
import xfloor_memory_sdk
|
|
62
|
+
from xfloor_memory_sdk.rest import ApiException
|
|
63
|
+
from pprint import pprint
|
|
64
|
+
|
|
65
|
+
# Defining the host is optional and defaults to https://appfloor.in
|
|
66
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
67
|
+
configuration = xfloor_memory_sdk.Configuration(
|
|
68
|
+
host = "https://appfloor.in"
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
# The client must configure the authentication and authorization parameters
|
|
72
|
+
# in accordance with the API server security policy.
|
|
73
|
+
# Examples for each auth method are provided below, use the example that
|
|
74
|
+
# satisfies your auth use case.
|
|
75
|
+
|
|
76
|
+
# Configure Bearer authorization: bearer
|
|
77
|
+
configuration = xfloor_memory_sdk.Configuration(
|
|
78
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
# Enter a context with an instance of the API client
|
|
83
|
+
with xfloor_memory_sdk.ApiClient(configuration) as api_client:
|
|
84
|
+
# Create an instance of the API class
|
|
85
|
+
api_instance = xfloor_memory_sdk.DefaultApi(api_client)
|
|
86
|
+
new_email_id = 'new_email_id_example' # str | New Email ID
|
|
87
|
+
activation_code = 'activation_code_example' # str | Validation code
|
|
88
|
+
|
|
89
|
+
try:
|
|
90
|
+
# Change email ID
|
|
91
|
+
api_response = api_instance.change_email(new_email_id, activation_code)
|
|
92
|
+
print("The response of DefaultApi->change_email:\n")
|
|
93
|
+
pprint(api_response)
|
|
94
|
+
except ApiException as e:
|
|
95
|
+
print("Exception when calling DefaultApi->change_email: %s\n" % e)
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Documentation for API Endpoints
|
|
100
|
+
|
|
101
|
+
All URIs are relative to *https://appfloor.in*
|
|
102
|
+
|
|
103
|
+
Class | Method | HTTP request | Description
|
|
104
|
+
------------ | ------------- | ------------- | -------------
|
|
105
|
+
*DefaultApi* | [**change_email**](docs/DefaultApi.md#change_email) | **POST** /auth-service/change/email | Change email ID
|
|
106
|
+
*DefaultApi* | [**change_mobile_number**](docs/DefaultApi.md#change_mobile_number) | **POST** /auth-service/change/mobile | Change Mobile number
|
|
107
|
+
*DefaultApi* | [**change_password**](docs/DefaultApi.md#change_password) | **POST** /auth-service/password/change | Change Password
|
|
108
|
+
*DefaultApi* | [**make_floor_private**](docs/DefaultApi.md#make_floor_private) | **POST** /api/memory/make/floor/private | Make floor Private
|
|
109
|
+
*DefaultApi* | [**make_floor_public**](docs/DefaultApi.md#make_floor_public) | **POST** /api/memory/make/floor/public | Make floor public
|
|
110
|
+
*DefaultApi* | [**register_external_user_identity**](docs/DefaultApi.md#register_external_user_identity) | **POST** /memory/identity/external-user | External User Registration
|
|
111
|
+
*DefaultApi* | [**rename_floor**](docs/DefaultApi.md#rename_floor) | **POST** /api/memory/change/floor/id | Rename floor
|
|
112
|
+
*DefaultApi* | [**reset_password**](docs/DefaultApi.md#reset_password) | **POST** /auth-service/password/reset | Reset Password
|
|
113
|
+
*DefaultApi* | [**send_validation_code**](docs/DefaultApi.md#send_validation_code) | **POST** /auth-service/send/validation/code | Send Validation code
|
|
114
|
+
*DefaultApi* | [**sign_in_with_email**](docs/DefaultApi.md#sign_in_with_email) | **POST** /auth-service/sign/in/with/email | Sign In with email ID
|
|
115
|
+
*DefaultApi* | [**sign_in_with_mobile_number**](docs/DefaultApi.md#sign_in_with_mobile_number) | **POST** /auth-service/sign/in/with/mobile/number | Sign In with Mobile number
|
|
116
|
+
*DefaultApi* | [**sign_up**](docs/DefaultApi.md#sign_up) | **POST** /auth-service/sign/up | Sign Up
|
|
117
|
+
*DefaultApi* | [**validate_code**](docs/DefaultApi.md#validate_code) | **POST** /auth-service/validate/activation/code | Validation
|
|
118
|
+
*EditFloorApi* | [**edit_floor**](docs/EditFloorApi.md#edit_floor) | **POST** /api/memory/edit/floor/{floor_id} | Edit floor
|
|
119
|
+
*EventApi* | [**event**](docs/EventApi.md#event) | **POST** /api/memory/events | Create Event (Post Content)
|
|
120
|
+
*GetFloorInformationApi* | [**get_floor_information**](docs/GetFloorInformationApi.md#get_floor_information) | **GET** /api/memory/floor/info/{floor_id} | Basic information of a floor
|
|
121
|
+
*GetRecentEventsApi* | [**get_recent_events**](docs/GetRecentEventsApi.md#get_recent_events) | **GET** /api/memory/recent/events | Recent Events
|
|
122
|
+
*QueryApi* | [**query**](docs/QueryApi.md#query) | **POST** /agent/memory/query | Query (Primary API)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
## Documentation For Models
|
|
126
|
+
|
|
127
|
+
- [BlockDetails](docs/BlockDetails.md)
|
|
128
|
+
- [ChangePassword200Response](docs/ChangePassword200Response.md)
|
|
129
|
+
- [EditFloor400Response](docs/EditFloor400Response.md)
|
|
130
|
+
- [EditFloor400ResponseError](docs/EditFloor400ResponseError.md)
|
|
131
|
+
- [Event400Response](docs/Event400Response.md)
|
|
132
|
+
- [Event400ResponseError](docs/Event400ResponseError.md)
|
|
133
|
+
- [EventResponse](docs/EventResponse.md)
|
|
134
|
+
- [FloorInfo](docs/FloorInfo.md)
|
|
135
|
+
- [GetFloorInformation200Response](docs/GetFloorInformation200Response.md)
|
|
136
|
+
- [GetRecentEvents200Response](docs/GetRecentEvents200Response.md)
|
|
137
|
+
- [GetRecentEvents200ResponseItemsInner](docs/GetRecentEvents200ResponseItemsInner.md)
|
|
138
|
+
- [GetRecentEvents200ResponseItemsInnerAuthor](docs/GetRecentEvents200ResponseItemsInnerAuthor.md)
|
|
139
|
+
- [GetRecentEvents400Response](docs/GetRecentEvents400Response.md)
|
|
140
|
+
- [GetRecentEvents400ResponseError](docs/GetRecentEvents400ResponseError.md)
|
|
141
|
+
- [Media](docs/Media.md)
|
|
142
|
+
- [Model400ErrorCode](docs/Model400ErrorCode.md)
|
|
143
|
+
- [Query422Response](docs/Query422Response.md)
|
|
144
|
+
- [Query422ResponseError](docs/Query422ResponseError.md)
|
|
145
|
+
- [QueryRequest](docs/QueryRequest.md)
|
|
146
|
+
- [QueryRequestFilters](docs/QueryRequestFilters.md)
|
|
147
|
+
- [QueryResponse](docs/QueryResponse.md)
|
|
148
|
+
- [QueryResponseItemsInner](docs/QueryResponseItemsInner.md)
|
|
149
|
+
- [ResetPassword200Response](docs/ResetPassword200Response.md)
|
|
150
|
+
- [ResetPassword400Response](docs/ResetPassword400Response.md)
|
|
151
|
+
- [SendValidationCode200Response](docs/SendValidationCode200Response.md)
|
|
152
|
+
- [SendValidationCodeRequest](docs/SendValidationCodeRequest.md)
|
|
153
|
+
- [SignInWithEmail200Response](docs/SignInWithEmail200Response.md)
|
|
154
|
+
- [SignInWithEmail200ResponseProfile](docs/SignInWithEmail200ResponseProfile.md)
|
|
155
|
+
- [SignInWithEmail200ResponseProfileAvatar](docs/SignInWithEmail200ResponseProfileAvatar.md)
|
|
156
|
+
- [SignUp200Response](docs/SignUp200Response.md)
|
|
157
|
+
- [SignUpResponse](docs/SignUpResponse.md)
|
|
158
|
+
- [UserDetails](docs/UserDetails.md)
|
|
159
|
+
- [ValidateCode400Response](docs/ValidateCode400Response.md)
|
|
160
|
+
- [ValidateCode400ResponseError](docs/ValidateCode400ResponseError.md)
|
|
161
|
+
- [ValidateCode412Response](docs/ValidateCode412Response.md)
|
|
162
|
+
- [ValidateCodeRequest](docs/ValidateCodeRequest.md)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<a id="documentation-for-authorization"></a>
|
|
166
|
+
## Documentation For Authorization
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
Authentication schemes defined for the API:
|
|
170
|
+
<a id="bearer"></a>
|
|
171
|
+
### bearer
|
|
172
|
+
|
|
173
|
+
- **Type**: Bearer authentication
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
## Author
|
|
177
|
+
|
|
178
|
+
contact@ipomo.in
|
|
179
|
+
|
|
180
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "xfloor_memory_sdk"
|
|
3
|
+
version = "1.0.3"
|
|
4
|
+
description = "Floor Memory"
|
|
5
|
+
authors = [
|
|
6
|
+
{name = "Ipomo",email = "contact@ipomo.in"},
|
|
7
|
+
]
|
|
8
|
+
license = { text = "MIT" }
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
keywords = ["OpenAPI", "OpenAPI-Generator", "Floor Memory"]
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
|
|
13
|
+
dependencies = [
|
|
14
|
+
"urllib3 (>=2.1.0,<3.0.0)",
|
|
15
|
+
"python-dateutil (>=2.8.2)",
|
|
16
|
+
"pydantic (>=2)",
|
|
17
|
+
"typing-extensions (>=4.7.1)",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[project.urls]
|
|
21
|
+
Repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
22
|
+
|
|
23
|
+
[tool.poetry]
|
|
24
|
+
requires-poetry = ">=2.0"
|
|
25
|
+
|
|
26
|
+
[tool.poetry.group.dev.dependencies]
|
|
27
|
+
pytest = ">= 7.2.1"
|
|
28
|
+
pytest-cov = ">= 2.8.1"
|
|
29
|
+
tox = ">= 3.9.0"
|
|
30
|
+
flake8 = ">= 4.0.0"
|
|
31
|
+
types-python-dateutil = ">= 2.8.19.14"
|
|
32
|
+
mypy = ">= 1.5"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
[build-system]
|
|
36
|
+
requires = ["setuptools"]
|
|
37
|
+
build-backend = "setuptools.build_meta"
|
|
38
|
+
|
|
39
|
+
[tool.pylint.'MESSAGES CONTROL']
|
|
40
|
+
extension-pkg-whitelist = "pydantic"
|
|
41
|
+
|
|
42
|
+
[tool.mypy]
|
|
43
|
+
files = [
|
|
44
|
+
"xfloor_memory_sdk",
|
|
45
|
+
#"test", # auto-generated tests
|
|
46
|
+
"tests", # hand-written tests
|
|
47
|
+
]
|
|
48
|
+
# TODO: enable "strict" once all these individual checks are passing
|
|
49
|
+
# strict = true
|
|
50
|
+
|
|
51
|
+
# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
|
|
52
|
+
warn_unused_configs = true
|
|
53
|
+
warn_redundant_casts = true
|
|
54
|
+
warn_unused_ignores = true
|
|
55
|
+
|
|
56
|
+
## Getting these passing should be easy
|
|
57
|
+
strict_equality = true
|
|
58
|
+
extra_checks = true
|
|
59
|
+
|
|
60
|
+
## Strongly recommend enabling this one as soon as you can
|
|
61
|
+
check_untyped_defs = true
|
|
62
|
+
|
|
63
|
+
## These shouldn't be too much additional work, but may be tricky to
|
|
64
|
+
## get passing if you use a lot of untyped libraries
|
|
65
|
+
disallow_subclassing_any = true
|
|
66
|
+
disallow_untyped_decorators = true
|
|
67
|
+
disallow_any_generics = true
|
|
68
|
+
|
|
69
|
+
### These next few are various gradations of forcing use of type annotations
|
|
70
|
+
#disallow_untyped_calls = true
|
|
71
|
+
#disallow_incomplete_defs = true
|
|
72
|
+
#disallow_untyped_defs = true
|
|
73
|
+
#
|
|
74
|
+
### This one isn't too hard to get passing, but return on investment is lower
|
|
75
|
+
#no_implicit_reexport = true
|
|
76
|
+
#
|
|
77
|
+
### This one can be tricky to get passing if you use a lot of untyped libraries
|
|
78
|
+
#warn_return_any = true
|
|
79
|
+
|
|
80
|
+
[[tool.mypy.overrides]]
|
|
81
|
+
module = [
|
|
82
|
+
"xfloor_memory_sdk.configuration",
|
|
83
|
+
]
|
|
84
|
+
warn_unused_ignores = true
|
|
85
|
+
strict_equality = true
|
|
86
|
+
extra_checks = true
|
|
87
|
+
check_untyped_defs = true
|
|
88
|
+
disallow_subclassing_any = true
|
|
89
|
+
disallow_untyped_decorators = true
|
|
90
|
+
disallow_any_generics = true
|
|
91
|
+
disallow_untyped_calls = true
|
|
92
|
+
disallow_incomplete_defs = true
|
|
93
|
+
disallow_untyped_defs = true
|
|
94
|
+
no_implicit_reexport = true
|
|
95
|
+
warn_return_any = true
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Floor Memory
|
|
5
|
+
|
|
6
|
+
The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts. - Memory and - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: contact@ipomo.in
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from setuptools import setup, find_packages # noqa: H301
|
|
17
|
+
|
|
18
|
+
# To install the library, run the following
|
|
19
|
+
#
|
|
20
|
+
# python setup.py install
|
|
21
|
+
#
|
|
22
|
+
# prerequisite: setuptools
|
|
23
|
+
# http://pypi.python.org/pypi/setuptools
|
|
24
|
+
NAME = "xfloor-memory-sdk"
|
|
25
|
+
VERSION = "1.0.3"
|
|
26
|
+
PYTHON_REQUIRES = ">= 3.9"
|
|
27
|
+
REQUIRES = [
|
|
28
|
+
"urllib3 >= 2.1.0, < 3.0.0",
|
|
29
|
+
"python-dateutil >= 2.8.2",
|
|
30
|
+
"pydantic >= 2",
|
|
31
|
+
"typing-extensions >= 4.7.1",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
setup(
|
|
35
|
+
name=NAME,
|
|
36
|
+
version=VERSION,
|
|
37
|
+
description="Floor Memory",
|
|
38
|
+
author="Ipomo",
|
|
39
|
+
author_email="contact@ipomo.in",
|
|
40
|
+
url="",
|
|
41
|
+
keywords=["OpenAPI", "OpenAPI-Generator", "Floor Memory"],
|
|
42
|
+
install_requires=REQUIRES,
|
|
43
|
+
packages=find_packages(exclude=["test", "tests"]),
|
|
44
|
+
include_package_data=True,
|
|
45
|
+
license="MIT",
|
|
46
|
+
long_description_content_type='text/markdown',
|
|
47
|
+
long_description="""\
|
|
48
|
+
The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts. - Memory and - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
|
|
49
|
+
""", # noqa: E501
|
|
50
|
+
package_data={"xfloor_memory_sdk": ["py.typed"]},
|
|
51
|
+
)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Floor Memory
|
|
5
|
+
|
|
6
|
+
The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts. - Memory and - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: contact@ipomo.in
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import unittest
|
|
17
|
+
|
|
18
|
+
from xfloor_memory_sdk.models.block_details import BlockDetails
|
|
19
|
+
|
|
20
|
+
class TestBlockDetails(unittest.TestCase):
|
|
21
|
+
"""BlockDetails unit test stubs"""
|
|
22
|
+
|
|
23
|
+
def setUp(self):
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
def tearDown(self):
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
def make_instance(self, include_optional) -> BlockDetails:
|
|
30
|
+
"""Test BlockDetails
|
|
31
|
+
include_optional is a boolean, when False only required
|
|
32
|
+
params are included, when True both required and
|
|
33
|
+
optional params are included """
|
|
34
|
+
# uncomment below to create an instance of `BlockDetails`
|
|
35
|
+
"""
|
|
36
|
+
model = BlockDetails()
|
|
37
|
+
if include_optional:
|
|
38
|
+
return BlockDetails(
|
|
39
|
+
bid = '',
|
|
40
|
+
type = '',
|
|
41
|
+
title = ''
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return BlockDetails(
|
|
45
|
+
bid = '',
|
|
46
|
+
type = '',
|
|
47
|
+
title = '',
|
|
48
|
+
)
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def testBlockDetails(self):
|
|
52
|
+
"""Test BlockDetails"""
|
|
53
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
54
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
55
|
+
|
|
56
|
+
if __name__ == '__main__':
|
|
57
|
+
unittest.main()
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Floor Memory
|
|
5
|
+
|
|
6
|
+
The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts. - Memory and - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Contact: contact@ipomo.in
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import unittest
|
|
17
|
+
|
|
18
|
+
from xfloor_memory_sdk.models.change_password200_response import ChangePassword200Response
|
|
19
|
+
|
|
20
|
+
class TestChangePassword200Response(unittest.TestCase):
|
|
21
|
+
"""ChangePassword200Response unit test stubs"""
|
|
22
|
+
|
|
23
|
+
def setUp(self):
|
|
24
|
+
pass
|
|
25
|
+
|
|
26
|
+
def tearDown(self):
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
def make_instance(self, include_optional) -> ChangePassword200Response:
|
|
30
|
+
"""Test ChangePassword200Response
|
|
31
|
+
include_optional is a boolean, when False only required
|
|
32
|
+
params are included, when True both required and
|
|
33
|
+
optional params are included """
|
|
34
|
+
# uncomment below to create an instance of `ChangePassword200Response`
|
|
35
|
+
"""
|
|
36
|
+
model = ChangePassword200Response()
|
|
37
|
+
if include_optional:
|
|
38
|
+
return ChangePassword200Response(
|
|
39
|
+
success = ''
|
|
40
|
+
)
|
|
41
|
+
else:
|
|
42
|
+
return ChangePassword200Response(
|
|
43
|
+
success = '',
|
|
44
|
+
)
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
def testChangePassword200Response(self):
|
|
48
|
+
"""Test ChangePassword200Response"""
|
|
49
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
50
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
51
|
+
|
|
52
|
+
if __name__ == '__main__':
|
|
53
|
+
unittest.main()
|