├── .gitignore ├── README.md ├── docs ├── AccessFilter.md ├── AccessToken.md ├── ApiAuthApi.md ├── AsyncQuery.md ├── AuthApi.md ├── BackupConfiguration.md ├── ConfigApi.md ├── ConnectionApi.md ├── CredentialsApi.md ├── CredentialsApi3.md ├── CredentialsEmail.md ├── CredentialsEmbed.md ├── CredentialsGoogle.md ├── CredentialsLDAP.md ├── CredentialsLookerOpenid.md ├── CredentialsSaml.md ├── CredentialsTotp.md ├── DBConnection.md ├── DBConnectionBase.md ├── DBConnectionTestResult.md ├── Dashboard.md ├── DashboardApi.md ├── DashboardBase.md ├── DashboardElement.md ├── DashboardFilter.md ├── DashboardLayout.md ├── DashboardLayoutComponent.md ├── Dialect.md ├── DialectInfo.md ├── DialectInfoOptions.md ├── EmbedCheckDomainResult.md ├── EmbedConfig.md ├── EmbedSecret.md ├── Error.md ├── LDAPConfig.md ├── LDAPConfigTestResult.md ├── LDAPGroupRead.md ├── LDAPGroupWrite.md ├── LDAPUser.md ├── LegacyFeature.md ├── Look.md ├── LookApi.md ├── LookBasic.md ├── LookMovePlan.md ├── LookWithDashboards.md ├── LookWithQuery.md ├── LookmlSpace.md ├── ModelSet.md ├── Permission.md ├── PermissionSet.md ├── PrefetchAccessFilterValue.md ├── PrefetchDashboardFilterValue.md ├── PrefetchDashboardRequestMapper.md ├── PrefetchLookRequestMapper.md ├── PrefetchMapper.md ├── ProjectApi.md ├── ProjectListItem.md ├── Query.md ├── QueryApi.md ├── Role.md ├── RoleApi.md ├── RunningQueries.md ├── RunningQueriesApi.md ├── SamlConfig.md ├── SamlGroupRead.md ├── SamlGroupWrite.md ├── SamlMetadataParseResult.md ├── ScheduledJob.md ├── ScheduledJobDestination.md ├── ScheduledJobStage.md ├── ScheduledPlan.md ├── ScheduledPlanApi.md ├── ScheduledPlanDestination.md ├── Session.md ├── Space.md ├── SpaceApi.md ├── SpaceBase.md ├── SqlQuery.md ├── SqlQueryApi.md ├── Story.md ├── StoryApi.md ├── StoryAssets.md ├── StoryListItem.md ├── Timezone.md ├── UploadApi.md ├── UploadTable.md ├── User.md ├── UserApi.md ├── UserIdOnly.md ├── UserPublic.md └── ValidationError.md ├── git_push.sh ├── lookerpy ├── __init__.py ├── api_client.py ├── apis │ ├── __init__.py │ ├── api_auth_api.py │ ├── auth_api.py │ ├── config_api.py │ ├── connection_api.py │ ├── dashboard_api.py │ ├── look_api.py │ ├── project_api.py │ ├── query_api.py │ ├── role_api.py │ ├── running_queries_api.py │ ├── scheduled_plan_api.py │ ├── space_api.py │ ├── sql_query_api.py │ ├── story_api.py │ ├── upload_api.py │ └── user_api.py ├── configuration.py ├── models │ ├── __init__.py │ ├── access_filter.py │ ├── access_token.py │ ├── async_query.py │ ├── backup_configuration.py │ ├── credentials_api.py │ ├── credentials_api3.py │ ├── credentials_email.py │ ├── credentials_embed.py │ ├── credentials_google.py │ ├── credentials_ldap.py │ ├── credentials_looker_openid.py │ ├── credentials_saml.py │ ├── credentials_totp.py │ ├── dashboard.py │ ├── dashboard_base.py │ ├── dashboard_element.py │ ├── dashboard_filter.py │ ├── dashboard_layout.py │ ├── dashboard_layout_component.py │ ├── db_connection.py │ ├── db_connection_base.py │ ├── db_connection_test_result.py │ ├── dialect.py │ ├── dialect_info.py │ ├── dialect_info_options.py │ ├── embed_check_domain_result.py │ ├── embed_config.py │ ├── embed_secret.py │ ├── error.py │ ├── ldap_config.py │ ├── ldap_config_test_result.py │ ├── ldap_group_read.py │ ├── ldap_group_write.py │ ├── ldap_user.py │ ├── legacy_feature.py │ ├── look.py │ ├── look_basic.py │ ├── look_move_plan.py │ ├── look_with_dashboards.py │ ├── look_with_query.py │ ├── lookml_space.py │ ├── model_set.py │ ├── permission.py │ ├── permission_set.py │ ├── prefetch_access_filter_value.py │ ├── prefetch_dashboard_filter_value.py │ ├── prefetch_dashboard_request_mapper.py │ ├── prefetch_look_request_mapper.py │ ├── prefetch_mapper.py │ ├── project_list_item.py │ ├── query.py │ ├── role.py │ ├── running_queries.py │ ├── saml_config.py │ ├── saml_group_read.py │ ├── saml_group_write.py │ ├── saml_metadata_parse_result.py │ ├── scheduled_job.py │ ├── scheduled_job_destination.py │ ├── scheduled_job_stage.py │ ├── scheduled_plan.py │ ├── scheduled_plan_destination.py │ ├── session.py │ ├── space.py │ ├── space_base.py │ ├── sql_query.py │ ├── story.py │ ├── story_assets.py │ ├── story_list_item.py │ ├── timezone.py │ ├── upload_table.py │ ├── user.py │ ├── user_id_only.py │ ├── user_public.py │ └── validation_error.py └── rest.py ├── setup.py ├── swagger.json └── test ├── __init__.py ├── test_access_filter.py ├── test_access_token.py ├── test_api_auth_api.py ├── test_async_query.py ├── test_auth_api.py ├── test_backup_configuration.py ├── test_config_api.py ├── test_connection_api.py ├── test_credentials_api.py ├── test_credentials_api3.py ├── test_credentials_email.py ├── test_credentials_embed.py ├── test_credentials_google.py ├── test_credentials_ldap.py ├── test_credentials_looker_openid.py ├── test_credentials_saml.py ├── test_credentials_totp.py ├── test_dashboard.py ├── test_dashboard_api.py ├── test_dashboard_base.py ├── test_dashboard_element.py ├── test_dashboard_filter.py ├── test_dashboard_layout.py ├── test_dashboard_layout_component.py ├── test_db_connection.py ├── test_db_connection_base.py ├── test_db_connection_test_result.py ├── test_dialect.py ├── test_dialect_info.py ├── test_dialect_info_options.py ├── test_embed_check_domain_result.py ├── test_embed_config.py ├── test_embed_secret.py ├── test_error.py ├── test_ldap_config.py ├── test_ldap_config_test_result.py ├── test_ldap_group_read.py ├── test_ldap_group_write.py ├── test_ldap_user.py ├── test_legacy_feature.py ├── test_look.py ├── test_look_api.py ├── test_look_basic.py ├── test_look_move_plan.py ├── test_look_with_dashboards.py ├── test_look_with_query.py ├── test_lookml_space.py ├── test_model_set.py ├── test_permission.py ├── test_permission_set.py ├── test_prefetch_access_filter_value.py ├── test_prefetch_dashboard_filter_value.py ├── test_prefetch_dashboard_request_mapper.py ├── test_prefetch_look_request_mapper.py ├── test_prefetch_mapper.py ├── test_project_api.py ├── test_project_list_item.py ├── test_query.py ├── test_query_api.py ├── test_role.py ├── test_role_api.py ├── test_running_queries.py ├── test_running_queries_api.py ├── test_saml_config.py ├── test_saml_group_read.py ├── test_saml_group_write.py ├── test_saml_metadata_parse_result.py ├── test_scheduled_job.py ├── test_scheduled_job_destination.py ├── test_scheduled_job_stage.py ├── test_scheduled_plan.py ├── test_scheduled_plan_api.py ├── test_scheduled_plan_destination.py ├── test_session.py ├── test_space.py ├── test_space_api.py ├── test_space_base.py ├── test_sql_query.py ├── test_sql_query_api.py ├── test_story.py ├── test_story_api.py ├── test_story_assets.py ├── test_story_list_item.py ├── test_timezone.py ├── test_upload_api.py ├── test_upload_table.py ├── test_user.py ├── test_user_api.py ├── test_user_id_only.py ├── test_user_public.py └── test_validation_error.py /.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 | 48 | # Translations 49 | *.mo 50 | *.pot 51 | 52 | # Django stuff: 53 | *.log 54 | 55 | # Sphinx documentation 56 | docs/_build/ 57 | 58 | # PyBuilder 59 | target/ 60 | 61 | #Ipython Notebook 62 | .ipynb_checkpoints 63 | 64 | #Mac OSX 65 | .DS_Store 66 | -------------------------------------------------------------------------------- /docs/AccessFilter.md: -------------------------------------------------------------------------------- 1 | # AccessFilter 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | ID of this AccessFilter | [optional] 7 | **model** | **str** | Model to which this filter applies | [optional] 8 | **field** | **str** | Field to which this filter applies | [optional] 9 | **value** | **str** | Value for this filter | [optional] 10 | **url** | **str** | Link to get this item | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/AccessToken.md: -------------------------------------------------------------------------------- 1 | # AccessToken 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **access_token** | **str** | Access Token used for API calls | [optional] 7 | **token_type** | **str** | Type of Token | [optional] 8 | **expires_in** | **int** | Number of seconds before the token expires | [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 | 13 | -------------------------------------------------------------------------------- /docs/ApiAuthApi.md: -------------------------------------------------------------------------------- 1 | # lookerpy.ApiAuthApi 2 | 3 | All URIs are relative to *https://looker.buffer.com:19999/api/3.0* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**login**](ApiAuthApi.md#login) | **POST** /login | login 8 | [**logout**](ApiAuthApi.md#logout) | **DELETE** /logout | logout 9 | 10 | 11 | # **login** 12 | > AccessToken login(client_id=client_id, client_secret=client_secret) 13 | 14 | login 15 | 16 | ### Login in order to use the API. 17 | 18 | ### Example 19 | ```python 20 | import time 21 | import lookerpy 22 | from lookerpy.rest import ApiException 23 | from pprint import pprint 24 | 25 | # create an instance of the API class 26 | api_instance = lookerpy.ApiAuthApi() 27 | client_id = 'client_id_example' # str | client_id part of API3 Key. (optional) 28 | client_secret = 'client_secret_example' # str | client_secret part of API3 Key. (optional) 29 | 30 | try: 31 | # login 32 | api_response = api_instance.login(client_id=client_id, client_secret=client_secret) 33 | pprint(api_response) 34 | except ApiException as e: 35 | print "Exception when calling ApiAuthApi->login: %s\n" % e 36 | ``` 37 | 38 | ### Parameters 39 | 40 | Name | Type | Description | Notes 41 | ------------- | ------------- | ------------- | ------------- 42 | **client_id** | **str**| client_id part of API3 Key. | [optional] 43 | **client_secret** | **str**| client_secret part of API3 Key. | [optional] 44 | 45 | ### Return type 46 | 47 | [**AccessToken**](AccessToken.md) 48 | 49 | ### Authorization 50 | 51 | No authorization required 52 | 53 | ### HTTP request headers 54 | 55 | - **Content-Type**: application/json 56 | - **Accept**: application/json 57 | 58 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 59 | 60 | # **logout** 61 | > str logout() 62 | 63 | logout 64 | 65 | ### Logout of the API and invalidate the current access token. 66 | 67 | ### Example 68 | ```python 69 | import time 70 | import lookerpy 71 | from lookerpy.rest import ApiException 72 | from pprint import pprint 73 | 74 | # create an instance of the API class 75 | api_instance = lookerpy.ApiAuthApi() 76 | 77 | try: 78 | # logout 79 | api_response = api_instance.logout() 80 | pprint(api_response) 81 | except ApiException as e: 82 | print "Exception when calling ApiAuthApi->logout: %s\n" % e 83 | ``` 84 | 85 | ### Parameters 86 | This endpoint does not need any parameter. 87 | 88 | ### Return type 89 | 90 | **str** 91 | 92 | ### Authorization 93 | 94 | No authorization required 95 | 96 | ### HTTP request headers 97 | 98 | - **Content-Type**: application/json 99 | - **Accept**: application/json 100 | 101 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 102 | 103 | -------------------------------------------------------------------------------- /docs/AsyncQuery.md: -------------------------------------------------------------------------------- 1 | # AsyncQuery 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **query_task_id** | **str** | Unique Id | [optional] 7 | **runtime** | **float** | Estimated Runtime | [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 | 12 | -------------------------------------------------------------------------------- /docs/BackupConfiguration.md: -------------------------------------------------------------------------------- 1 | # BackupConfiguration 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **type** | **str** | Type of backup: looker-s3 or custom-s3 | [optional] 7 | **custom_s3_bucket** | **str** | Name of bucket for custom-s3 backups | [optional] 8 | **custom_s3_bucket_region** | **str** | Name of region where the bucket is located | [optional] 9 | **custom_s3_key** | **str** | AWS S3 key used for custom-s3 backups | [optional] 10 | **custom_s3_secret** | **str** | AWS S3 secret used for custom-s3 backups | [optional] 11 | **url** | **str** | Link to get this item | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CredentialsApi.md: -------------------------------------------------------------------------------- 1 | # CredentialsApi 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **token** | **str** | API key token | [optional] 7 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 8 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 9 | **type** | **str** | Short name for the type of this kind of credential | [optional] 10 | **url** | **str** | Link to get this item | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/CredentialsApi3.md: -------------------------------------------------------------------------------- 1 | # CredentialsApi3 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **client_id** | **str** | API key client_id | [optional] 8 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 9 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 10 | **type** | **str** | Short name for the type of this kind of credential | [optional] 11 | **url** | **str** | Link to get this item | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/CredentialsEmail.md: -------------------------------------------------------------------------------- 1 | # CredentialsEmail 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **email** | **str** | EMail address used for user login | [optional] 7 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 8 | **logged_in_at** | **str** | Timestamp for most recent login using credential | [optional] 9 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 10 | **type** | **str** | Short name for the type of this kind of credential | [optional] 11 | **password_reset_url** | **str** | Url with one-time use secret token that the user can use to reset password | [optional] 12 | **url** | **str** | Link to get this item | [optional] 13 | **user_url** | **str** | Link to get this user | [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 | 18 | -------------------------------------------------------------------------------- /docs/CredentialsEmbed.md: -------------------------------------------------------------------------------- 1 | # CredentialsEmbed 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **external_user_id** | **str** | Embedder's unique id for the user | [optional] 8 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 9 | **logged_in_at** | **str** | Timestamp for most recent login using credential | [optional] 10 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 11 | **type** | **str** | Short name for the type of this kind of credential | [optional] 12 | **url** | **str** | Link to get this item | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/CredentialsGoogle.md: -------------------------------------------------------------------------------- 1 | # CredentialsGoogle 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **email** | **str** | EMail address | [optional] 7 | **google_user_id** | **str** | Google's Unique ID for this user | [optional] 8 | **domain** | **str** | Google domain | [optional] 9 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 10 | **logged_in_at** | **str** | Timestamp for most recent login using credential | [optional] 11 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 12 | **type** | **str** | Short name for the type of this kind of credential | [optional] 13 | **url** | **str** | Link to get this item | [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 | 18 | -------------------------------------------------------------------------------- /docs/CredentialsLDAP.md: -------------------------------------------------------------------------------- 1 | # CredentialsLDAP 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **email** | **str** | EMail address | [optional] 7 | **ldap_id** | **str** | LDAP Unique ID for this user | [optional] 8 | **ldap_dn** | **str** | LDAP Distinguished name for this user (as-of the last login) | [optional] 9 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 10 | **logged_in_at** | **str** | Timestamp for most recent login using credential | [optional] 11 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 12 | **type** | **str** | Short name for the type of this kind of credential | [optional] 13 | **url** | **str** | Link to get this item | [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 | 18 | -------------------------------------------------------------------------------- /docs/CredentialsLookerOpenid.md: -------------------------------------------------------------------------------- 1 | # CredentialsLookerOpenid 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **email** | **str** | EMail address used for user login | [optional] 7 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 8 | **logged_in_at** | **str** | Timestamp for most recent login using credential | [optional] 9 | **logged_in_ip** | **str** | IP address of client for most recent login using credential | [optional] 10 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 11 | **type** | **str** | Short name for the type of this kind of credential | [optional] 12 | **url** | **str** | Link to get this item | [optional] 13 | **user_url** | **str** | Link to get this user | [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 | 18 | -------------------------------------------------------------------------------- /docs/CredentialsSaml.md: -------------------------------------------------------------------------------- 1 | # CredentialsSaml 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **email** | **str** | EMail address | [optional] 7 | **saml_user_id** | **str** | Saml IdP's Unique ID for this user | [optional] 8 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 9 | **logged_in_at** | **str** | Timestamp for most recent login using credential | [optional] 10 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 11 | **type** | **str** | Short name for the type of this kind of credential | [optional] 12 | **url** | **str** | Link to get this item | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/CredentialsTotp.md: -------------------------------------------------------------------------------- 1 | # CredentialsTotp 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **verified** | **bool** | User has verified | [optional] 7 | **created_at** | **str** | Timestamp for the creation of this credential | [optional] 8 | **is_disabled** | **bool** | Has this credential been disabled? | [optional] 9 | **type** | **str** | Short name for the type of this kind of credential | [optional] 10 | **url** | **str** | Link to get this item | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/DBConnection.md: -------------------------------------------------------------------------------- 1 | # DBConnection 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Name of the connection. Also used as the unique identifier | [optional] 7 | **host** | **str** | Host name/address of server | [optional] 8 | **port** | **str** | Port number on server | [optional] 9 | **username** | **str** | Username for server authentication | [optional] 10 | **password** | **str** | (Write-only) Password for server authentication | [optional] 11 | **certificate** | **str** | (Write-only) Base64 encoded Certificate body for server authentication (when appropriate for dialect). | [optional] 12 | **database** | **str** | Database name | [optional] 13 | **db_timezone** | **str** | Time zone of database | [optional] 14 | **query_timezone** | **str** | Timezone to use in queries | [optional] 15 | **schema** | **str** | Scheme name | [optional] 16 | **max_connections** | **int** | Maximum number of concurrent connection to use | [optional] 17 | **ssl** | **bool** | Use SSL/TLS when connecting to server | [optional] 18 | **verify_ssl** | **bool** | Verify the SSL | [optional] 19 | **tmp_db_name** | **str** | Name of temporary database (if used) | [optional] 20 | **jdbc_additional_params** | **str** | Additional params to add to JDBC connection string | [optional] 21 | **pool_timeout** | **int** | Pool Timeout | [optional] 22 | **dialect** | [**Dialect**](Dialect.md) | (Read-only) SQL Dialect details | [optional] 23 | **dialect_name** | **str** | (Read/Write) SQL Dialect name | [optional] 24 | **snippets** | **str** | SQL Runner snippets for this connection | [optional] 25 | **created_at** | **str** | Creation date for this connection | [optional] 26 | **user_id** | **str** | Id of user who last modified this connection configuration | [optional] 27 | **example** | **bool** | Is this an example connection | [optional] 28 | 29 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 30 | 31 | 32 | -------------------------------------------------------------------------------- /docs/DBConnectionBase.md: -------------------------------------------------------------------------------- 1 | # DBConnectionBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Name of the connection. Also used as the unique identifier | [optional] 7 | **dialect** | [**Dialect**](Dialect.md) | (Read-only) SQL Dialect details | [optional] 8 | **snippets** | **str** | SQL Runner snippets for this connection | [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 | 13 | -------------------------------------------------------------------------------- /docs/DBConnectionTestResult.md: -------------------------------------------------------------------------------- 1 | # DBConnectionTestResult 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Name of test | [optional] 7 | **status** | **str** | Result code of test | [optional] 8 | **message** | **str** | Result message of test | [optional] 9 | **connection_string** | **str** | JDBC connection string. (only populated in the 'connect' test) | [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 | 14 | -------------------------------------------------------------------------------- /docs/Dashboard.md: -------------------------------------------------------------------------------- 1 | # Dashboard 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | Unique Id | [optional] 7 | **user_id** | **int** | Id of User | [optional] 8 | **title** | **str** | Look Title | [optional] 9 | **description** | **str** | Description | [optional] 10 | **readonly** | **bool** | Is Read-only | [optional] 11 | **hidden** | **bool** | Is Hidden | [optional] 12 | **refresh_interval** | **str** | Refresh Interval | [optional] 13 | **refresh_interval_to_i** | **int** | Refresh Interval as Integer | [optional] 14 | **space** | [**SpaceBase**](SpaceBase.md) | Space | [optional] 15 | **load_configuration** | **str** | configuration option that governs how dashboard loading will happen. | [optional] 16 | **model** | **str** | Model | [optional] 17 | **space_id** | **int** | (Write-only) Id of Space | [optional] 18 | **elements** | [**list[DashboardElement]**](DashboardElement.md) | Elements | [optional] 19 | **layouts** | [**list[DashboardLayout]**](DashboardLayout.md) | Layouts | [optional] 20 | **filters** | [**list[DashboardFilter]**](DashboardFilter.md) | Filters | [optional] 21 | **background_color** | **str** | Background color | [optional] 22 | **show_title** | **bool** | Show title | [optional] 23 | **title_color** | **str** | Title color | [optional] 24 | **show_filters_bar** | **bool** | Show filters bar | [optional] 25 | **tile_background_color** | **str** | Tile background color | [optional] 26 | **tile_text_color** | **str** | Tile text color | [optional] 27 | **tile_separator_color** | **str** | Tile separator color | [optional] 28 | **tile_border_radius** | **int** | Tile border radius | [optional] 29 | **show_tile_shadow** | **bool** | Show tile shadow | [optional] 30 | 31 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/DashboardBase.md: -------------------------------------------------------------------------------- 1 | # DashboardBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | Unique Id | [optional] 7 | **user_id** | **int** | Id of User | [optional] 8 | **title** | **str** | Look Title | [optional] 9 | **description** | **str** | Description | [optional] 10 | **readonly** | **bool** | Is Read-only | [optional] 11 | **hidden** | **bool** | Is Hidden | [optional] 12 | **refresh_interval** | **str** | Refresh Interval | [optional] 13 | **refresh_interval_to_i** | **int** | Refresh Interval as Integer | [optional] 14 | **space** | [**SpaceBase**](SpaceBase.md) | Space | [optional] 15 | **model** | **str** | Model | [optional] 16 | **scheduled_plan** | [**ScheduledPlan**](ScheduledPlan.md) | ScheduledPlan | [optional] 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/DashboardElement.md: -------------------------------------------------------------------------------- 1 | # DashboardElement 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **dashboard_id** | **str** | Id of Dashboard | [optional] 8 | **look_id** | **int** | Id Of Look | [optional] 9 | **type** | **str** | Type | [optional] 10 | **listen** | **str** | Listen | [optional] 11 | **refresh_interval** | **str** | Refresh Interval | [optional] 12 | **refresh_interval_to_i** | **int** | Refresh Interval as integer | [optional] 13 | **note_text** | **str** | Note Text | [optional] 14 | **note_text_as_html** | **str** | Note Text as Html | [optional] 15 | **note_display** | **str** | Note Display | [optional] 16 | **note_state** | **str** | Note State | [optional] 17 | 18 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 19 | 20 | 21 | -------------------------------------------------------------------------------- /docs/DashboardFilter.md: -------------------------------------------------------------------------------- 1 | # DashboardFilter 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **name** | **str** | Name of filter | [optional] 8 | **title** | **str** | Name of title | [optional] 9 | **type** | **str** | Type of filter: one of date, number, string, or field | [optional] 10 | **default_value** | **str** | Default value of filter | [optional] 11 | **model** | **str** | Model of filter (required if type = field) | [optional] 12 | **explore** | **str** | Explore of filter (required if type = field) | [optional] 13 | **dimension** | **str** | Dimension of filter (required if type = field) | [optional] 14 | **field** | **str** | Field information | [optional] 15 | **listens_to_filters** | **list[str]** | Array of listeners for faceted filters | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/DashboardLayout.md: -------------------------------------------------------------------------------- 1 | # DashboardLayout 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **dashboard_id** | **str** | Id of Dashboard | [optional] 8 | **type** | **str** | Type | [optional] 9 | **active** | **bool** | Is Active | [optional] 10 | **column_width** | **int** | Column Width | [optional] 11 | **width** | **int** | Width | [optional] 12 | **components** | [**list[DashboardLayoutComponent]**](DashboardLayoutComponent.md) | Components | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/DashboardLayoutComponent.md: -------------------------------------------------------------------------------- 1 | # DashboardLayoutComponent 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **dashboard_layout_id** | **int** | Id of Dashboard Layout | [optional] 8 | **dashboard_element_id** | **int** | Id Of Dashboard Element | [optional] 9 | **row** | **int** | Row | [optional] 10 | **column** | **int** | Column | [optional] 11 | **width** | **int** | Width | [optional] 12 | **height** | **int** | Height | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/Dialect.md: -------------------------------------------------------------------------------- 1 | # Dialect 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | The name of the dialect | [optional] 7 | **label** | **str** | The human-readable label of the connection | [optional] 8 | **supports_cost_estimate** | **bool** | Whether the dialect supports query cost estimates | [optional] 9 | **supports_upload_tables** | **bool** | Whether the dialect supports uploading tables | [optional] 10 | **persistent_table_indexes** | **str** | PDT index columns | [optional] 11 | **persistent_table_sortkeys** | **str** | PDT sortkey columns | [optional] 12 | **persistent_table_distkey** | **str** | PDT distkey column | [optional] 13 | **supports_streaming** | **bool** | Suports streaming results | [optional] 14 | **automatically_run_sql_runner_snippets** | **bool** | Should SQL Runner snippets automatically be run | [optional] 15 | **connection_tests** | **list[str]** | Array of names of the tests that can be run on a connection using this dialect | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/DialectInfo.md: -------------------------------------------------------------------------------- 1 | # DialectInfo 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | The name of the dialect | [optional] 7 | **label** | **str** | The human-readable label of the connection | [optional] 8 | **label_for_database_equivalent** | **str** | What the dialect calls the equivalent of a normal SQL table | [optional] 9 | **default_port** | **str** | Default port number | [optional] 10 | **default_max_connections** | **str** | Default number max connections | [optional] 11 | **supported_options** | [**DialectInfoOptions**](DialectInfoOptions.md) | Option support details | [optional] 12 | **installed** | **bool** | Is the supporting driver installed | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/DialectInfoOptions.md: -------------------------------------------------------------------------------- 1 | # DialectInfoOptions 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **timezone** | **bool** | Has timezone support | [optional] 7 | **schema** | **bool** | Has schema support | [optional] 8 | **ssl** | **bool** | Has SSL support | [optional] 9 | **auth** | **bool** | Has auth support | [optional] 10 | **host** | **bool** | Has host support | [optional] 11 | **tmp_table** | **bool** | Has tmp table support | [optional] 12 | **project_name** | **bool** | Has project name support | [optional] 13 | **oauth_credentials** | **bool** | Has OAuth support | [optional] 14 | **additional_params** | **bool** | Has additional params support | [optional] 15 | **username_required** | **bool** | Username is required | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/EmbedCheckDomainResult.md: -------------------------------------------------------------------------------- 1 | # EmbedCheckDomainResult 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **allowed** | **bool** | Is domain allowed | [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 | 11 | -------------------------------------------------------------------------------- /docs/EmbedConfig.md: -------------------------------------------------------------------------------- 1 | # EmbedConfig 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **sso_auth_enabled** | **bool** | Is SSO embedding enabled for this Looker | [optional] 7 | **secrets** | [**list[EmbedSecret]**](EmbedSecret.md) | Array of embed secrets | [optional] 8 | **domain_whitelist** | **list[str]** | List of domains to whitelist for embedding | [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 | 13 | -------------------------------------------------------------------------------- /docs/EmbedSecret.md: -------------------------------------------------------------------------------- 1 | # EmbedSecret 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **user_id** | **int** | Id of user who created this secret | [optional] 8 | **created_at** | **str** | When secret was created | [optional] 9 | **secret** | **str** | Secret for use with SSO embedding | [optional] 10 | **algorithm** | **str** | Signing algorithm to use with this secret | [optional] 11 | **enabled** | **bool** | Is this secret currently enabled | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/Error.md: -------------------------------------------------------------------------------- 1 | # Error 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | Error details | 7 | **documentation_url** | **str** | Documentation link | 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 | 12 | -------------------------------------------------------------------------------- /docs/LDAPConfigTestResult.md: -------------------------------------------------------------------------------- 1 | # LDAPConfigTestResult 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **status** | **str** | Test status code: always 'success' or 'error' | [optional] 7 | **message** | **str** | Short human readable test about the result | [optional] 8 | **details** | **str** | Additional details for error cases | [optional] 9 | **user** | [**LDAPUser**](LDAPUser.md) | User details from LDAP server for auth tests | [optional] 10 | **trace** | **str** | A more detailed trace incremental results during auth tests | [optional] 11 | **url** | **str** | Link to ldap config | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/LDAPGroupRead.md: -------------------------------------------------------------------------------- 1 | # LDAPGroupRead 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Name of group in LDAP | [optional] 7 | **roles** | [**list[Role]**](Role.md) | Looker Roles | [optional] 8 | **url** | **str** | Link to ldap config | [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 | 13 | -------------------------------------------------------------------------------- /docs/LDAPGroupWrite.md: -------------------------------------------------------------------------------- 1 | # LDAPGroupWrite 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Name of group in LDAP | [optional] 7 | **role_ids** | **list[int]** | Looker Role Ids | [optional] 8 | **url** | **str** | Link to ldap config | [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 | 13 | -------------------------------------------------------------------------------- /docs/LDAPUser.md: -------------------------------------------------------------------------------- 1 | # LDAPUser 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **email** | **str** | Primary email address | [optional] 7 | **first_name** | **str** | First name | [optional] 8 | **last_name** | **str** | Last Name | [optional] 9 | **ldap_id** | **str** | LDAP's Unique ID for the user | [optional] 10 | **all_emails** | **list[str]** | Array of user's email addresses and aliases for use in migration | [optional] 11 | **ldap_dn** | **str** | LDAP's distinguished name for the user record | [optional] 12 | **roles** | **list[str]** | Array of user's roles (role names only) | [optional] 13 | **url** | **str** | Link to ldap config | [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 | 18 | -------------------------------------------------------------------------------- /docs/LegacyFeature.md: -------------------------------------------------------------------------------- 1 | # LegacyFeature 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **name** | **str** | Name | [optional] 8 | **description** | **str** | Description | [optional] 9 | **enabled_locally** | **bool** | Whether this feature has been enabled by a user | [optional] 10 | **enabled** | **bool** | Whether this feature is currently enabled | [optional] 11 | **disallowed_as_of_version** | **str** | Looker version where this feature became a legacy feature | [optional] 12 | **end_of_life_version** | **str** | Future Looker version where this feature will be removed | [optional] 13 | **documentation_url** | **str** | URL for documentation about this feature | [optional] 14 | **url** | **str** | Link to get this item | [optional] 15 | 16 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 17 | 18 | 19 | -------------------------------------------------------------------------------- /docs/Look.md: -------------------------------------------------------------------------------- 1 | # Look 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **title** | **str** | Look Title | [optional] 8 | **user** | [**UserIdOnly**](UserIdOnly.md) | User | [optional] 9 | **query_id** | **int** | Query Id | [optional] 10 | **description** | **str** | Description | [optional] 11 | **short_url** | **str** | Short Url | [optional] 12 | **space** | [**SpaceBase**](SpaceBase.md) | Space of this Look | [optional] 13 | **public** | **bool** | Is Public | [optional] 14 | **public_slug** | **str** | Public Slug | [optional] 15 | **user_id** | **int** | (Write-only) User Id | [optional] 16 | **space_id** | **int** | (Write-only) Space Id | [optional] 17 | **model** | **str** | Model | [optional] 18 | **public_url** | **str** | Public Url | [optional] 19 | **embed_url** | **str** | Embed Url | [optional] 20 | **image_embed_url** | **str** | Image Embed Url | [optional] 21 | **google_spreadsheet_formula** | **str** | Google Spreadsheet Formula | [optional] 22 | **excel_file_url** | **str** | Excel File Url | [optional] 23 | 24 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/LookBasic.md: -------------------------------------------------------------------------------- 1 | # LookBasic 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **title** | **str** | Look Title | [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 | 12 | -------------------------------------------------------------------------------- /docs/LookMovePlan.md: -------------------------------------------------------------------------------- 1 | # LookMovePlan 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **looks_to_move** | [**list[LookBasic]**](LookBasic.md) | | [optional] 7 | **looks_to_copy** | [**list[LookBasic]**](LookBasic.md) | | [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 | 12 | -------------------------------------------------------------------------------- /docs/LookWithDashboards.md: -------------------------------------------------------------------------------- 1 | # LookWithDashboards 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **title** | **str** | Look Title | [optional] 8 | **user** | [**UserIdOnly**](UserIdOnly.md) | User | [optional] 9 | **query_id** | **int** | Query Id | [optional] 10 | **description** | **str** | Description | [optional] 11 | **short_url** | **str** | Short Url | [optional] 12 | **space** | [**SpaceBase**](SpaceBase.md) | Space of this Look | [optional] 13 | **public** | **bool** | Is Public | [optional] 14 | **public_slug** | **str** | Public Slug | [optional] 15 | **user_id** | **int** | (Write-only) User Id | [optional] 16 | **space_id** | **int** | (Write-only) Space Id | [optional] 17 | **model** | **str** | Model | [optional] 18 | **public_url** | **str** | Public Url | [optional] 19 | **embed_url** | **str** | Embed Url | [optional] 20 | **google_spreadsheet_formula** | **str** | Google Spreadsheet Formula | [optional] 21 | **excel_file_url** | **str** | Excel File Url | [optional] 22 | **dashboards** | [**list[DashboardBase]**](DashboardBase.md) | Dashboards | [optional] 23 | 24 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 25 | 26 | 27 | -------------------------------------------------------------------------------- /docs/LookWithQuery.md: -------------------------------------------------------------------------------- 1 | # LookWithQuery 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **title** | **str** | Look Title | [optional] 8 | **user** | [**UserIdOnly**](UserIdOnly.md) | User | [optional] 9 | **query_id** | **int** | Query Id | [optional] 10 | **description** | **str** | Description | [optional] 11 | **short_url** | **str** | Short Url | [optional] 12 | **space** | [**SpaceBase**](SpaceBase.md) | Space of this Look | [optional] 13 | **public** | **bool** | Is Public | [optional] 14 | **public_slug** | **str** | Public Slug | [optional] 15 | **user_id** | **int** | (Write-only) User Id | [optional] 16 | **space_id** | **int** | (Write-only) Space Id | [optional] 17 | **model** | **str** | Model | [optional] 18 | **public_url** | **str** | Public Url | [optional] 19 | **embed_url** | **str** | Embed Url | [optional] 20 | **google_spreadsheet_formula** | **str** | Google Spreadsheet Formula | [optional] 21 | **excel_file_url** | **str** | Excel File Url | [optional] 22 | **url** | **str** | Url | [optional] 23 | **query** | [**Query**](Query.md) | Query | [optional] 24 | 25 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 26 | 27 | 28 | -------------------------------------------------------------------------------- /docs/LookmlSpace.md: -------------------------------------------------------------------------------- 1 | # LookmlSpace 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **creator_id** | **int** | User Id of Creator | [optional] 8 | **name** | **str** | Unique Name | [optional] 9 | **is_personal** | **bool** | Space is a user's personal space | [optional] 10 | **dashboards** | [**list[DashboardBase]**](DashboardBase.md) | Dashboards | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/ModelSet.md: -------------------------------------------------------------------------------- 1 | # ModelSet 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **name** | **str** | Name of ModelSet | [optional] 8 | **models** | **list[str]** | | [optional] 9 | **built_in** | **bool** | | [optional] 10 | **all_access** | **bool** | | [optional] 11 | **url** | **str** | Link to get this item | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/Permission.md: -------------------------------------------------------------------------------- 1 | # Permission 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **permission** | **str** | Permission symbol | [optional] 7 | **parent** | **str** | Dependency parent symbol | [optional] 8 | **description** | **str** | Description | [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 | 13 | -------------------------------------------------------------------------------- /docs/PermissionSet.md: -------------------------------------------------------------------------------- 1 | # PermissionSet 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **name** | **str** | Name of PermissionSet | [optional] 8 | **permissions** | **list[str]** | | [optional] 9 | **built_in** | **bool** | | [optional] 10 | **all_access** | **bool** | | [optional] 11 | **url** | **str** | Link to get this item | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/PrefetchAccessFilterValue.md: -------------------------------------------------------------------------------- 1 | # PrefetchAccessFilterValue 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **model** | **str** | Access filter model name. | [optional] 7 | **field** | **str** | Access filter field name. | [optional] 8 | **value** | **str** | Access filter value | [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 | 13 | -------------------------------------------------------------------------------- /docs/PrefetchDashboardFilterValue.md: -------------------------------------------------------------------------------- 1 | # PrefetchDashboardFilterValue 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Dashboard filter name. | [optional] 7 | **value** | **str** | Dashboard filter value | [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 | 12 | -------------------------------------------------------------------------------- /docs/PrefetchDashboardRequestMapper.md: -------------------------------------------------------------------------------- 1 | # PrefetchDashboardRequestMapper 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **ttl** | **int** | Number of seconds prefetch will live for. | [optional] 7 | **access_filters** | [**list[PrefetchAccessFilterValue]**](PrefetchAccessFilterValue.md) | Access filters to apply when running queries for prefetch. | [optional] 8 | **dashboard_filters** | [**list[PrefetchDashboardFilterValue]**](PrefetchDashboardFilterValue.md) | Dashboard filters to apply when running queries for prefetch. | [optional] 9 | **created_at** | **datetime** | Time when prefetch was created. | [optional] 10 | **computation_time** | **float** | Number of seconds it took to compute results for prefetch. | [optional] 11 | **hit_count** | **int** | Number of times prefetch has been accessed. | [optional] 12 | **touched_at** | **datetime** | Time when prefetch was last accessed. | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/PrefetchLookRequestMapper.md: -------------------------------------------------------------------------------- 1 | # PrefetchLookRequestMapper 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **ttl** | **int** | Number of seconds prefetch will live for. | [optional] 7 | **access_filters** | [**list[PrefetchAccessFilterValue]**](PrefetchAccessFilterValue.md) | Access filters to apply when running queries for prefetch. | [optional] 8 | **created_at** | **datetime** | Time when prefetch was created. | [optional] 9 | **computation_time** | **float** | Number of seconds it took to compute results for prefetch. | [optional] 10 | **hit_count** | **int** | Number of times prefetch has been accessed. | [optional] 11 | **touched_at** | **datetime** | Time when prefetch was last accessed. | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/PrefetchMapper.md: -------------------------------------------------------------------------------- 1 | # PrefetchMapper 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **ttl** | **int** | Number of seconds prefetch will live for. | [optional] 7 | **created_at** | **datetime** | Time when prefetch was created. | [optional] 8 | **computation_time** | **float** | Number of seconds it took to compute results for prefetch. | [optional] 9 | **hit_count** | **int** | Number of times prefetch has been accessed. | [optional] 10 | **touched_at** | **datetime** | Time when prefetch was last accessed. | [optional] 11 | **value** | [**list[QueryResult]**](QueryResult.md) | data associated with the queries stored by prefetching the data | [optional] 12 | **url** | **str** | Link to get this item | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/ProjectApi.md: -------------------------------------------------------------------------------- 1 | # lookerpy.ProjectApi 2 | 3 | All URIs are relative to *https://looker.buffer.com:19999/api/3.0* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**reset_project_to_production**](ProjectApi.md#reset_project_to_production) | **POST** /projects/{project_id}/reset_to_production | Reset a project to the version that is in production. 8 | 9 | 10 | # **reset_project_to_production** 11 | > bool reset_project_to_production(project_id) 12 | 13 | Reset a project to the version that is in production. 14 | 15 | ### Reset a project with a specified ID to the version of the project that is in production. **DANGER** this will delete any changes that have not been pushed to a remote repository. 16 | 17 | ### Example 18 | ```python 19 | import time 20 | import lookerpy 21 | from lookerpy.rest import ApiException 22 | from pprint import pprint 23 | 24 | # create an instance of the API class 25 | api_instance = lookerpy.ProjectApi() 26 | project_id = 'project_id_example' # str | Id of project 27 | 28 | try: 29 | # Reset a project to the version that is in production. 30 | api_response = api_instance.reset_project_to_production(project_id) 31 | pprint(api_response) 32 | except ApiException as e: 33 | print "Exception when calling ProjectApi->reset_project_to_production: %s\n" % e 34 | ``` 35 | 36 | ### Parameters 37 | 38 | Name | Type | Description | Notes 39 | ------------- | ------------- | ------------- | ------------- 40 | **project_id** | **str**| Id of project | 41 | 42 | ### Return type 43 | 44 | **bool** 45 | 46 | ### Authorization 47 | 48 | No authorization required 49 | 50 | ### HTTP request headers 51 | 52 | - **Content-Type**: application/json 53 | - **Accept**: application/json 54 | 55 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 56 | 57 | -------------------------------------------------------------------------------- /docs/ProjectListItem.md: -------------------------------------------------------------------------------- 1 | # ProjectListItem 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **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 | 11 | -------------------------------------------------------------------------------- /docs/Query.md: -------------------------------------------------------------------------------- 1 | # Query 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **model** | **str** | Model | [optional] 8 | **view** | **str** | View | [optional] 9 | **fields** | **list[str]** | Fields | [optional] 10 | **pivots** | **list[str]** | Pivots | [optional] 11 | **filters** | **dict(str, str)** | Filters | [optional] 12 | **sorts** | **list[str]** | Sorts | [optional] 13 | **limit** | **str** | Limit | [optional] 14 | **column_limit** | **str** | Column Limit | [optional] 15 | **total** | **bool** | Total | [optional] 16 | **row_total** | **str** | Raw Total | [optional] 17 | **runtime** | **float** | Runtime | [optional] 18 | **vis_config** | **dict(str, str)** | Visualization Config | [optional] 19 | **filter_config** | **dict(str, str)** | Filter Config | [optional] 20 | **visible_ui_sections** | **str** | Visible UI Sections | [optional] 21 | **slug** | **str** | Slug | [optional] 22 | **dynamic_fields** | **list[str]** | Dynamic Fields | [optional] 23 | **client_id** | **str** | Client Id | [optional] 24 | **share_url** | **str** | Share Url | [optional] 25 | **expanded_share_url** | **str** | Expanded Share Url | [optional] 26 | **query_timezone** | **str** | Query Timezone | [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 | 31 | -------------------------------------------------------------------------------- /docs/Role.md: -------------------------------------------------------------------------------- 1 | # Role 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **name** | **str** | Name of Role | [optional] 8 | **permission_set** | [**PermissionSet**](PermissionSet.md) | | [optional] 9 | **model_set** | [**ModelSet**](ModelSet.md) | | [optional] 10 | **url** | **str** | Link to get this item | [optional] 11 | **users_url** | **str** | Link to get list of users with this role | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/RunningQueries.md: -------------------------------------------------------------------------------- 1 | # RunningQueries 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **user** | [**UserPublic**](UserPublic.md) | User who initiated the query | [optional] 8 | **created_at** | **str** | Date/Time Query was initiated | [optional] 9 | **completed_at** | **str** | Date/Time Query was completed | [optional] 10 | **query_id** | **str** | Query Id | [optional] 11 | **source** | **str** | Source (look, dashboard, queryrunner, explore, etc.) | [optional] 12 | **node_id** | **str** | Node Id | [optional] 13 | **slug** | **str** | Slug | [optional] 14 | **query_task_id** | **str** | ID of a Query Task | [optional] 15 | **cache_key** | **str** | Cache Key | [optional] 16 | **connection_name** | **str** | Connection | [optional] 17 | **dialect** | **str** | Dialect | [optional] 18 | **connection_id** | **str** | Connection ID | [optional] 19 | **message** | **str** | Additional Information(Error message or verbose status) | [optional] 20 | **status** | **str** | Status description | [optional] 21 | 22 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/RunningQueriesApi.md: -------------------------------------------------------------------------------- 1 | # lookerpy.RunningQueriesApi 2 | 3 | All URIs are relative to *https://looker.buffer.com:19999/api/3.0* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**all_running_queries**](RunningQueriesApi.md#all_running_queries) | **GET** /running_queries | get all running queries 8 | [**kill_query**](RunningQueriesApi.md#kill_query) | **DELETE** /running_queries/{query_slug} | Kill a running query 9 | 10 | 11 | # **all_running_queries** 12 | > list[RunningQueries] all_running_queries() 13 | 14 | get all running queries 15 | 16 | Get information about all running queries. 17 | 18 | ### Example 19 | ```python 20 | import time 21 | import lookerpy 22 | from lookerpy.rest import ApiException 23 | from pprint import pprint 24 | 25 | # create an instance of the API class 26 | api_instance = lookerpy.RunningQueriesApi() 27 | 28 | try: 29 | # get all running queries 30 | api_response = api_instance.all_running_queries() 31 | pprint(api_response) 32 | except ApiException as e: 33 | print "Exception when calling RunningQueriesApi->all_running_queries: %s\n" % e 34 | ``` 35 | 36 | ### Parameters 37 | This endpoint does not need any parameter. 38 | 39 | ### Return type 40 | 41 | [**list[RunningQueries]**](RunningQueries.md) 42 | 43 | ### Authorization 44 | 45 | No authorization required 46 | 47 | ### HTTP request headers 48 | 49 | - **Content-Type**: application/json 50 | - **Accept**: application/json 51 | 52 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 53 | 54 | # **kill_query** 55 | > kill_query(query_slug) 56 | 57 | Kill a running query 58 | 59 | Kill a query with a specific slug. 60 | 61 | ### Example 62 | ```python 63 | import time 64 | import lookerpy 65 | from lookerpy.rest import ApiException 66 | from pprint import pprint 67 | 68 | # create an instance of the API class 69 | api_instance = lookerpy.RunningQueriesApi() 70 | query_slug = 'query_slug_example' # str | query slug 71 | 72 | try: 73 | # Kill a running query 74 | api_instance.kill_query(query_slug) 75 | except ApiException as e: 76 | print "Exception when calling RunningQueriesApi->kill_query: %s\n" % e 77 | ``` 78 | 79 | ### Parameters 80 | 81 | Name | Type | Description | Notes 82 | ------------- | ------------- | ------------- | ------------- 83 | **query_slug** | **str**| query slug | 84 | 85 | ### Return type 86 | 87 | void (empty response body) 88 | 89 | ### Authorization 90 | 91 | No authorization required 92 | 93 | ### HTTP request headers 94 | 95 | - **Content-Type**: application/json 96 | - **Accept**: application/json 97 | 98 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 99 | 100 | -------------------------------------------------------------------------------- /docs/SamlGroupRead.md: -------------------------------------------------------------------------------- 1 | # SamlGroupRead 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Name of group in Saml | [optional] 7 | **roles** | [**list[Role]**](Role.md) | Looker Roles | [optional] 8 | **url** | **str** | Link to saml config | [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 | 13 | -------------------------------------------------------------------------------- /docs/SamlGroupWrite.md: -------------------------------------------------------------------------------- 1 | # SamlGroupWrite 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **name** | **str** | Name of group in Saml | [optional] 7 | **role_ids** | **list[int]** | Looker Role Ids | [optional] 8 | **url** | **str** | Link to saml config | [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 | 13 | -------------------------------------------------------------------------------- /docs/SamlMetadataParseResult.md: -------------------------------------------------------------------------------- 1 | # SamlMetadataParseResult 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **idp_issuer** | **str** | Identify Provider Issuer | [optional] 7 | **idp_url** | **str** | Identify Provider Url | [optional] 8 | **idp_cert** | **str** | Identify Provider Certificate | [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 | 13 | -------------------------------------------------------------------------------- /docs/ScheduledJob.md: -------------------------------------------------------------------------------- 1 | # ScheduledJob 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **status** | **str** | Status of the job | [optional] 8 | **status_detail** | **str** | Optional message describing status of the job | [optional] 9 | **scheduled_job_stage** | [**list[ScheduledJobStage]**](ScheduledJobStage.md) | Detailed information about the job stage | [optional] 10 | **row_limit_reached** | **str** | Whether the row limit was reached when running | [optional] 11 | **created_at** | **datetime** | When the ScheduledJob started | [optional] 12 | **finalized_at** | **datetime** | When the ScheduledJob finished | [optional] 13 | **user** | [**UserPublic**](UserPublic.md) | User who owns this ScheduledPlan | [optional] 14 | **look_id** | **int** | Id of a look | [optional] 15 | **dashboard_id** | **int** | Id of a dashboard | [optional] 16 | **lookml_dashboard_id** | **str** | Id of a LookML dashboard | [optional] 17 | **require_results** | **bool** | Delivery should occur if running the dashboard or look returns results | [optional] 18 | **require_no_results** | **bool** | Delivery should occur if the dashboard look does not return results | [optional] 19 | **require_change** | **bool** | Delivery should occur if data have changed since the last run | [optional] 20 | **crontab** | **str** | Vixie-Style crontab specification when to run | [optional] 21 | **timezone** | **str** | Timezone for interpreting the specified crontab (default is Looker instance timezone) | [optional] 22 | **data_slug** | **str** | Used for caching | [optional] 23 | **data_signature** | **str** | Used for caching | [optional] 24 | **name** | **str** | Name | [optional] 25 | **title** | **str** | Title | [optional] 26 | **scheduled_job_destination** | [**list[ScheduledJobDestination]**](ScheduledJobDestination.md) | Scheduled job destinations | [optional] 27 | **scheduled_plan** | [**ScheduledPlan**](ScheduledPlan.md) | ScheduledPlan that initiated the ScheduledJob | [optional] 28 | **runtime** | **int** | Runtime in seconds | [optional] 29 | **looker_url** | **str** | Url for the scheduled entity | [optional] 30 | 31 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 32 | 33 | 34 | -------------------------------------------------------------------------------- /docs/ScheduledJobDestination.md: -------------------------------------------------------------------------------- 1 | # ScheduledJobDestination 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **scheduled_job_id** | **int** | Id of scheduled job | [optional] 8 | **format** | **str** | Format requested by the given destination (i.e. PDF, etc.) | [optional] 9 | **address** | **str** | Address for recipient (only email addresses supported for now) | [optional] 10 | **type** | **str** | Type of the address (only 'email' is supported for now) | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/ScheduledJobStage.md: -------------------------------------------------------------------------------- 1 | # ScheduledJobStage 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **scheduled_job_id** | **int** | Job this stage describes | [optional] 8 | **node_id** | **int** | Node Id stage was run on | [optional] 9 | **stage** | **str** | Stage | [optional] 10 | **started_at** | **datetime** | Time when the stage was started | [optional] 11 | **completed_at** | **datetime** | Time whent the stage was completed | [optional] 12 | 13 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/ScheduledPlan.md: -------------------------------------------------------------------------------- 1 | # ScheduledPlan 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **name** | **str** | Name | [optional] 8 | **title** | **str** | Title | [optional] 9 | **user** | [**UserPublic**](UserPublic.md) | User who owns this ScheduledPlan | [optional] 10 | **enabled** | **bool** | Whether the ScheduledPlan is enabled | [optional] 11 | **last_run_at** | **datetime** | When the ScheduledPlan was last run | [optional] 12 | **next_run_at** | **datetime** | When the ScheduledPlan will next run | [optional] 13 | **look_id** | **int** | Id of a look | [optional] 14 | **dashboard_id** | **int** | Id of a dashboard | [optional] 15 | **lookml_dashboard_id** | **str** | Id of a LookML dashboard | [optional] 16 | **require_results** | **bool** | Delivery should occur if running the dashboard or look returns results | [optional] 17 | **require_no_results** | **bool** | Delivery should occur if the dashboard look does not return results | [optional] 18 | **require_change** | **bool** | Delivery should occur if data have changed since the last run | [optional] 19 | **crontab** | **str** | Vixie-Style crontab specification when to run | [optional] 20 | **timezone** | **str** | Timezone for interpreting the specified crontab (default is Looker instance timezone) | [optional] 21 | **scheduled_plan_destination** | [**list[ScheduledPlanDestination]**](ScheduledPlanDestination.md) | Scheduled plan destinations | [optional] 22 | 23 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 24 | 25 | 26 | -------------------------------------------------------------------------------- /docs/ScheduledPlanDestination.md: -------------------------------------------------------------------------------- 1 | # ScheduledPlanDestination 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **scheduled_plan_id** | **int** | Id of a scheduled plan you own | [optional] 8 | **format** | **str** | Format requested by the given destination (i.e. PDF, etc.) | [optional] 9 | **address** | **str** | Address for recipient (only email addresses supported for now) | [optional] 10 | **type** | **str** | Type of the address (only 'email' is supported for now) | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/Session.md: -------------------------------------------------------------------------------- 1 | # Session 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **ip_address** | **str** | IP address of user when this session was initiated | [optional] 8 | **browser** | **str** | User's browser type | [optional] 9 | **operating_system** | **str** | User's Operating System | [optional] 10 | **city** | **str** | City component of user location (derived from IP address) | [optional] 11 | **state** | **str** | State component of user location (derived from IP address) | [optional] 12 | **country** | **str** | Country component of user location (derived from IP address) | [optional] 13 | **credentials_type** | **str** | Type of credentials used for logging in this session | [optional] 14 | **extended_at** | **str** | Time when this session was last extended by the user | [optional] 15 | **extended_count** | **int** | Number of times this session was extended | [optional] 16 | **sudo_user_id** | **int** | Actual user in the case when this session represents one user sudo'ing as another | [optional] 17 | **created_at** | **str** | Time when this session was initiated | [optional] 18 | **expires_at** | **str** | Time when this session will expire | [optional] 19 | **url** | **str** | Link to get this item | [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 | 24 | -------------------------------------------------------------------------------- /docs/Space.md: -------------------------------------------------------------------------------- 1 | # Space 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | Unique Id | [optional] 7 | **creator_id** | **int** | User Id of Creator | [optional] 8 | **name** | **str** | Unique Name | [optional] 9 | **is_personal** | **bool** | Space is a user's personal space | [optional] 10 | **parent_id** | **int** | (Write-only) Id of Parent | [optional] 11 | **looks** | [**list[LookWithDashboards]**](LookWithDashboards.md) | Looks | [optional] 12 | **dashboards** | [**list[DashboardBase]**](DashboardBase.md) | Dashboards | [optional] 13 | 14 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/SpaceBase.md: -------------------------------------------------------------------------------- 1 | # SpaceBase 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | Unique Id | [optional] 7 | **creator_id** | **int** | User Id of Creator | [optional] 8 | **name** | **str** | Unique Name | [optional] 9 | **is_personal** | **bool** | Space is a user's personal space | [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 | 14 | -------------------------------------------------------------------------------- /docs/SqlQuery.md: -------------------------------------------------------------------------------- 1 | # SqlQuery 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **slug** | **str** | The identifier of the SQL query | [optional] 7 | **last_runtime** | **float** | Number of seconds this query took to run the most recent time it was run | [optional] 8 | **run_count** | **int** | Number of times this query has been run | [optional] 9 | **browser_limit** | **int** | Maximum number of rows this query will display on the SQL Runner page | [optional] 10 | **sql** | **str** | SQL query text | [optional] 11 | **last_run_at** | **str** | The most recent time this query was run | [optional] 12 | **connection** | [**DBConnectionBase**](DBConnectionBase.md) | Connection this query uses | [optional] 13 | **creator** | [**UserPublic**](UserPublic.md) | User who created this SQL query | [optional] 14 | **explore_url** | **str** | Explore page URL for this SQL query | [optional] 15 | **plaintext** | **bool** | Should this query be rendered as plain text | [optional] 16 | 17 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 18 | 19 | 20 | -------------------------------------------------------------------------------- /docs/SqlQueryApi.md: -------------------------------------------------------------------------------- 1 | # lookerpy.SqlQueryApi 2 | 3 | All URIs are relative to *https://looker.buffer.com:19999/api/3.0* 4 | 5 | Method | HTTP request | Description 6 | ------------- | ------------- | ------------- 7 | [**create_sql_query**](SqlQueryApi.md#create_sql_query) | **POST** /sql_queries | create SQL Runner query 8 | [**sql_query**](SqlQueryApi.md#sql_query) | **GET** /sql_queries/{slug} | get SQL Runner query 9 | 10 | 11 | # **create_sql_query** 12 | > SqlQuery create_sql_query(body=body) 13 | 14 | create SQL Runner query 15 | 16 | create a sql runner query 17 | 18 | ### Example 19 | ```python 20 | import time 21 | import lookerpy 22 | from lookerpy.rest import ApiException 23 | from pprint import pprint 24 | 25 | # create an instance of the API class 26 | api_instance = lookerpy.SqlQueryApi() 27 | body = lookerpy.SqlQuery() # SqlQuery | SQL Runner query (optional) 28 | 29 | try: 30 | # create SQL Runner query 31 | api_response = api_instance.create_sql_query(body=body) 32 | pprint(api_response) 33 | except ApiException as e: 34 | print "Exception when calling SqlQueryApi->create_sql_query: %s\n" % e 35 | ``` 36 | 37 | ### Parameters 38 | 39 | Name | Type | Description | Notes 40 | ------------- | ------------- | ------------- | ------------- 41 | **body** | [**SqlQuery**](SqlQuery.md)| SQL Runner query | [optional] 42 | 43 | ### Return type 44 | 45 | [**SqlQuery**](SqlQuery.md) 46 | 47 | ### Authorization 48 | 49 | No authorization required 50 | 51 | ### HTTP request headers 52 | 53 | - **Content-Type**: application/json 54 | - **Accept**: application/json 55 | 56 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 57 | 58 | # **sql_query** 59 | > SqlQuery sql_query(slug) 60 | 61 | get SQL Runner query 62 | 63 | get a sql runner query 64 | 65 | ### Example 66 | ```python 67 | import time 68 | import lookerpy 69 | from lookerpy.rest import ApiException 70 | from pprint import pprint 71 | 72 | # create an instance of the API class 73 | api_instance = lookerpy.SqlQueryApi() 74 | slug = 'slug_example' # str | slug of query 75 | 76 | try: 77 | # get SQL Runner query 78 | api_response = api_instance.sql_query(slug) 79 | pprint(api_response) 80 | except ApiException as e: 81 | print "Exception when calling SqlQueryApi->sql_query: %s\n" % e 82 | ``` 83 | 84 | ### Parameters 85 | 86 | Name | Type | Description | Notes 87 | ------------- | ------------- | ------------- | ------------- 88 | **slug** | **str**| slug of query | 89 | 90 | ### Return type 91 | 92 | [**SqlQuery**](SqlQuery.md) 93 | 94 | ### Authorization 95 | 96 | No authorization required 97 | 98 | ### HTTP request headers 99 | 100 | - **Content-Type**: application/json 101 | - **Accept**: application/json 102 | 103 | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 104 | 105 | -------------------------------------------------------------------------------- /docs/Story.md: -------------------------------------------------------------------------------- 1 | # Story 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | Unique Id | [optional] 7 | **title** | **str** | | [optional] 8 | **file_id** | **str** | | [optional] 9 | **project** | [**ProjectListItem**](ProjectListItem.md) | | [optional] 10 | **html** | **str** | | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/StoryAssets.md: -------------------------------------------------------------------------------- 1 | # StoryAssets 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **js** | **str** | | [optional] 7 | **css** | **str** | | [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 | 12 | -------------------------------------------------------------------------------- /docs/StoryListItem.md: -------------------------------------------------------------------------------- 1 | # StoryListItem 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **str** | Unique Id | [optional] 7 | **title** | **str** | | [optional] 8 | **file_id** | **str** | | [optional] 9 | **project** | [**ProjectListItem**](ProjectListItem.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 | 14 | -------------------------------------------------------------------------------- /docs/Timezone.md: -------------------------------------------------------------------------------- 1 | # Timezone 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **value** | **str** | Timezone | [optional] 7 | **label** | **str** | Description of timezone | [optional] 8 | **group** | **str** | Timezone group (e.g Common, Other, etc.) | [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 | 13 | -------------------------------------------------------------------------------- /docs/UploadTable.md: -------------------------------------------------------------------------------- 1 | # UploadTable 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **db_connection_id** | **int** | Id of the DB Connection | [optional] 8 | **db_connection_name** | **str** | Name of the DB Connection | [optional] 9 | **table_name** | **str** | What the table will be named | [optional] 10 | **view_name** | **str** | What to name the new table | [optional] 11 | **file_type** | **str** | Type of the uploaded file | [optional] 12 | **definition** | **dict(str, str)** | Definition of the table and uploaded file | [optional] 13 | **created_at** | **str** | Date/Time this record was created | [optional] 14 | **built_at** | **str** | Relative time in English the table was built for this upload | [optional] 15 | **created_at_relative** | **str** | Date/Time this record was created | [optional] 16 | **built_at_relative** | **str** | Relative time in English the table was built for this upload | [optional] 17 | **url** | **str** | Link to get this item | [optional] 18 | 19 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/User.md: -------------------------------------------------------------------------------- 1 | # User 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **first_name** | **str** | First name | [optional] 8 | **last_name** | **str** | Last name | [optional] 9 | **display_name** | **str** | Full name for display (available only if both first_name and last_name are set) | [optional] 10 | **email** | **str** | EMail address | [optional] 11 | **is_disabled** | **bool** | Account has been disabled | [optional] 12 | **avatar_url** | **str** | URL for the avatar image (may be generic) | [optional] 13 | **home_space_id** | **str** | ID string for user's home space | [optional] 14 | **access_filters** | [**list[AccessFilter]**](AccessFilter.md) | Model access filters. | [optional] 15 | **credentials_email** | [**CredentialsEmail**](CredentialsEmail.md) | Email/Password login credentials | [optional] 16 | **credentials_totp** | [**CredentialsTotp**](CredentialsTotp.md) | Two-factor credentials | [optional] 17 | **credentials_ldap** | [**CredentialsLDAP**](CredentialsLDAP.md) | LDAP credentials | [optional] 18 | **credentials_google** | [**CredentialsGoogle**](CredentialsGoogle.md) | Google auth credentials | [optional] 19 | **credentials_saml** | [**CredentialsSaml**](CredentialsSaml.md) | Saml auth credentials | [optional] 20 | **credentials_api** | [**CredentialsApi**](CredentialsApi.md) | API user credentials | [optional] 21 | **credentials_api3** | [**list[CredentialsApi3]**](CredentialsApi3.md) | API 3 credentials | [optional] 22 | **credentials_embed** | [**list[CredentialsEmbed]**](CredentialsEmbed.md) | Embed credentials | [optional] 23 | **credentials_looker_openid** | [**CredentialsLookerOpenid**](CredentialsLookerOpenid.md) | LookerOpenID credentials. Used for login by Looker Analysts | [optional] 24 | **sessions** | [**list[Session]**](Session.md) | Active sessions | [optional] 25 | **role_ids** | **list[int]** | Array of ids of the roles for this user | [optional] 26 | **presumed_looker_employee** | **bool** | User is identified as an employee of Looker | [optional] 27 | **verified_looker_employee** | **bool** | User is identified as an employee of Looker who has been verified via Looker corporate authentication | [optional] 28 | **url** | **str** | Link to get this item | [optional] 29 | 30 | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 31 | 32 | 33 | -------------------------------------------------------------------------------- /docs/UserIdOnly.md: -------------------------------------------------------------------------------- 1 | # UserIdOnly 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [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 | 11 | -------------------------------------------------------------------------------- /docs/UserPublic.md: -------------------------------------------------------------------------------- 1 | # UserPublic 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **id** | **int** | Unique Id | [optional] 7 | **first_name** | **str** | First Name | [optional] 8 | **last_name** | **str** | Last Name | [optional] 9 | **avatar_url** | **str** | URL for the avatar image (may be generic) | [optional] 10 | **url** | **str** | Link to get this item | [optional] 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 | 15 | -------------------------------------------------------------------------------- /docs/ValidationError.md: -------------------------------------------------------------------------------- 1 | # ValidationError 2 | 3 | ## Properties 4 | Name | Type | Description | Notes 5 | ------------ | ------------- | ------------- | ------------- 6 | **message** | **str** | | 7 | **errors** | **str** | | [optional] 8 | **documentation_url** | **str** | Documentation link | 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 | 13 | -------------------------------------------------------------------------------- /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 crediential 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 | -------------------------------------------------------------------------------- /lookerpy/apis/__init__.py: -------------------------------------------------------------------------------- 1 | from __future__ import absolute_import 2 | 3 | # import apis into api package 4 | from .api_auth_api import ApiAuthApi 5 | from .auth_api import AuthApi 6 | from .config_api import ConfigApi 7 | from .connection_api import ConnectionApi 8 | from .dashboard_api import DashboardApi 9 | from .look_api import LookApi 10 | from .project_api import ProjectApi 11 | from .query_api import QueryApi 12 | from .role_api import RoleApi 13 | from .running_queries_api import RunningQueriesApi 14 | from .scheduled_plan_api import ScheduledPlanApi 15 | from .space_api import SpaceApi 16 | from .sql_query_api import SqlQueryApi 17 | from .story_api import StoryApi 18 | from .upload_api import UploadApi 19 | from .user_api import UserApi 20 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | import sys 4 | from setuptools import setup, find_packages 5 | 6 | NAME = "lookerpy" 7 | VERSION = "1.0.0" 8 | 9 | 10 | 11 | # To install the library, run the following 12 | # 13 | # python setup.py install 14 | # 15 | # prerequisite: setuptools 16 | # http://pypi.python.org/pypi/setuptools 17 | 18 | REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] 19 | 20 | setup( 21 | name=NAME, 22 | version=VERSION, 23 | description="Looker API 3.0 Reference", 24 | author_email="", 25 | url="", 26 | keywords=["Swagger", "Looker API 3.0 Reference"], 27 | install_requires=REQUIRES, 28 | packages=find_packages(), 29 | include_package_data=True, 30 | long_description="""\ 31 | This document describes the Looker API. Please note that this is the 'new' Looker RESTful API. This API uses Looker 'API 3' keys. Those keys can be created for Looker users by Looker admins on the admin/user edit page. Such keys will allow a user to autheticate to the API as that user; having that user's permissions. Admins can create 'dummy' accounts specifically for API use, or add keys to real users' accounts. A Ruby SDK is available to integrate this API into applications. Standard RESTful practices are used by the API, so it should be callable by any RESTful client framework - or just using raw HTTP requests. Additionally, the 'api-docs' page served by the Looker instance includes 'Try it out!' buttons for each API method so that anyone logged in with an API3 key can call the API directly from the documentation page. Future releases of Looker will expand this API release-by-release to securely expose more and more of the core power of Looker to API client applications. This document does not cover the old Looker Query API. The methods in the 'Query' section below are intended to replace that old API. Nonetheless, information about the old API can be found at [Query API](http://www.looker.com/docs/reference/api-and-integration/looker-api-reference) and [Ruby SDK](http://www.looker.com/docs/reference/api-and-integration/looker-ruby-sdk). 32 | """ 33 | ) 34 | 35 | 36 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bufferapp/lookerpy/e81634f15bff006a0643320a41175861d9990e4c/test/__init__.py -------------------------------------------------------------------------------- /test/test_access_filter.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.access_filter import AccessFilter 30 | 31 | 32 | class TestAccessFilter(unittest.TestCase): 33 | """ AccessFilter unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testAccessFilter(self): 42 | """ 43 | Test AccessFilter 44 | """ 45 | model = swagger_client.models.access_filter.AccessFilter() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_access_token.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.access_token import AccessToken 30 | 31 | 32 | class TestAccessToken(unittest.TestCase): 33 | """ AccessToken unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testAccessToken(self): 42 | """ 43 | Test AccessToken 44 | """ 45 | model = swagger_client.models.access_token.AccessToken() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_api_auth_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.api_auth_api import ApiAuthApi 30 | 31 | 32 | class TestApiAuthApi(unittest.TestCase): 33 | """ ApiAuthApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.api_auth_api.ApiAuthApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_login(self): 42 | """ 43 | Test case for login 44 | 45 | login 46 | """ 47 | pass 48 | 49 | def test_logout(self): 50 | """ 51 | Test case for logout 52 | 53 | logout 54 | """ 55 | pass 56 | 57 | 58 | if __name__ == '__main__': 59 | unittest.main() -------------------------------------------------------------------------------- /test/test_async_query.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.async_query import AsyncQuery 30 | 31 | 32 | class TestAsyncQuery(unittest.TestCase): 33 | """ AsyncQuery unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testAsyncQuery(self): 42 | """ 43 | Test AsyncQuery 44 | """ 45 | model = swagger_client.models.async_query.AsyncQuery() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_backup_configuration.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.backup_configuration import BackupConfiguration 30 | 31 | 32 | class TestBackupConfiguration(unittest.TestCase): 33 | """ BackupConfiguration unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testBackupConfiguration(self): 42 | """ 43 | Test BackupConfiguration 44 | """ 45 | model = swagger_client.models.backup_configuration.BackupConfiguration() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_config_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.config_api import ConfigApi 30 | 31 | 32 | class TestConfigApi(unittest.TestCase): 33 | """ ConfigApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.config_api.ConfigApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_all_legacy_features(self): 42 | """ 43 | Test case for all_legacy_features 44 | 45 | get all legacy features 46 | """ 47 | pass 48 | 49 | def test_all_timezones(self): 50 | """ 51 | Test case for all_timezones 52 | 53 | get all timezones 54 | """ 55 | pass 56 | 57 | def test_backup_configuration(self): 58 | """ 59 | Test case for backup_configuration 60 | 61 | get backup configuration 62 | """ 63 | pass 64 | 65 | def test_legacy_feature(self): 66 | """ 67 | Test case for legacy_feature 68 | 69 | get legacy feature 70 | """ 71 | pass 72 | 73 | def test_update_backup_configuration(self): 74 | """ 75 | Test case for update_backup_configuration 76 | 77 | update backup configuration 78 | """ 79 | pass 80 | 81 | def test_update_legacy_feature(self): 82 | """ 83 | Test case for update_legacy_feature 84 | 85 | update legacy feature 86 | """ 87 | pass 88 | 89 | 90 | if __name__ == '__main__': 91 | unittest.main() -------------------------------------------------------------------------------- /test/test_connection_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.connection_api import ConnectionApi 30 | 31 | 32 | class TestConnectionApi(unittest.TestCase): 33 | """ ConnectionApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.connection_api.ConnectionApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_all_connections(self): 42 | """ 43 | Test case for all_connections 44 | 45 | get all connections 46 | """ 47 | pass 48 | 49 | def test_all_dialect_infos(self): 50 | """ 51 | Test case for all_dialect_infos 52 | 53 | get all dialect infos 54 | """ 55 | pass 56 | 57 | def test_connection(self): 58 | """ 59 | Test case for connection 60 | 61 | get connection 62 | """ 63 | pass 64 | 65 | def test_create_connection(self): 66 | """ 67 | Test case for create_connection 68 | 69 | create connection 70 | """ 71 | pass 72 | 73 | def test_delete_connection(self): 74 | """ 75 | Test case for delete_connection 76 | 77 | delete connection 78 | """ 79 | pass 80 | 81 | def test_test_connection(self): 82 | """ 83 | Test case for test_connection 84 | 85 | test existing connection 86 | """ 87 | pass 88 | 89 | def test_test_connection_config(self): 90 | """ 91 | Test case for test_connection_config 92 | 93 | test connection configuration 94 | """ 95 | pass 96 | 97 | def test_update_connection(self): 98 | """ 99 | Test case for update_connection 100 | 101 | update connection 102 | """ 103 | pass 104 | 105 | 106 | if __name__ == '__main__': 107 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_api import CredentialsApi 30 | 31 | 32 | class TestCredentialsApi(unittest.TestCase): 33 | """ CredentialsApi unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsApi(self): 42 | """ 43 | Test CredentialsApi 44 | """ 45 | model = swagger_client.models.credentials_api.CredentialsApi() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_api3.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_api3 import CredentialsApi3 30 | 31 | 32 | class TestCredentialsApi3(unittest.TestCase): 33 | """ CredentialsApi3 unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsApi3(self): 42 | """ 43 | Test CredentialsApi3 44 | """ 45 | model = swagger_client.models.credentials_api3.CredentialsApi3() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_email.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_email import CredentialsEmail 30 | 31 | 32 | class TestCredentialsEmail(unittest.TestCase): 33 | """ CredentialsEmail unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsEmail(self): 42 | """ 43 | Test CredentialsEmail 44 | """ 45 | model = swagger_client.models.credentials_email.CredentialsEmail() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_embed.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_embed import CredentialsEmbed 30 | 31 | 32 | class TestCredentialsEmbed(unittest.TestCase): 33 | """ CredentialsEmbed unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsEmbed(self): 42 | """ 43 | Test CredentialsEmbed 44 | """ 45 | model = swagger_client.models.credentials_embed.CredentialsEmbed() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_google.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_google import CredentialsGoogle 30 | 31 | 32 | class TestCredentialsGoogle(unittest.TestCase): 33 | """ CredentialsGoogle unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsGoogle(self): 42 | """ 43 | Test CredentialsGoogle 44 | """ 45 | model = swagger_client.models.credentials_google.CredentialsGoogle() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_ldap.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_ldap import CredentialsLDAP 30 | 31 | 32 | class TestCredentialsLDAP(unittest.TestCase): 33 | """ CredentialsLDAP unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsLDAP(self): 42 | """ 43 | Test CredentialsLDAP 44 | """ 45 | model = swagger_client.models.credentials_ldap.CredentialsLDAP() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_looker_openid.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_looker_openid import CredentialsLookerOpenid 30 | 31 | 32 | class TestCredentialsLookerOpenid(unittest.TestCase): 33 | """ CredentialsLookerOpenid unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsLookerOpenid(self): 42 | """ 43 | Test CredentialsLookerOpenid 44 | """ 45 | model = swagger_client.models.credentials_looker_openid.CredentialsLookerOpenid() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_saml.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_saml import CredentialsSaml 30 | 31 | 32 | class TestCredentialsSaml(unittest.TestCase): 33 | """ CredentialsSaml unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsSaml(self): 42 | """ 43 | Test CredentialsSaml 44 | """ 45 | model = swagger_client.models.credentials_saml.CredentialsSaml() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_credentials_totp.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.credentials_totp import CredentialsTotp 30 | 31 | 32 | class TestCredentialsTotp(unittest.TestCase): 33 | """ CredentialsTotp unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testCredentialsTotp(self): 42 | """ 43 | Test CredentialsTotp 44 | """ 45 | model = swagger_client.models.credentials_totp.CredentialsTotp() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dashboard.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dashboard import Dashboard 30 | 31 | 32 | class TestDashboard(unittest.TestCase): 33 | """ Dashboard unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDashboard(self): 42 | """ 43 | Test Dashboard 44 | """ 45 | model = swagger_client.models.dashboard.Dashboard() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dashboard_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dashboard_base import DashboardBase 30 | 31 | 32 | class TestDashboardBase(unittest.TestCase): 33 | """ DashboardBase unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDashboardBase(self): 42 | """ 43 | Test DashboardBase 44 | """ 45 | model = swagger_client.models.dashboard_base.DashboardBase() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dashboard_element.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dashboard_element import DashboardElement 30 | 31 | 32 | class TestDashboardElement(unittest.TestCase): 33 | """ DashboardElement unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDashboardElement(self): 42 | """ 43 | Test DashboardElement 44 | """ 45 | model = swagger_client.models.dashboard_element.DashboardElement() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dashboard_filter.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dashboard_filter import DashboardFilter 30 | 31 | 32 | class TestDashboardFilter(unittest.TestCase): 33 | """ DashboardFilter unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDashboardFilter(self): 42 | """ 43 | Test DashboardFilter 44 | """ 45 | model = swagger_client.models.dashboard_filter.DashboardFilter() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dashboard_layout.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dashboard_layout import DashboardLayout 30 | 31 | 32 | class TestDashboardLayout(unittest.TestCase): 33 | """ DashboardLayout unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDashboardLayout(self): 42 | """ 43 | Test DashboardLayout 44 | """ 45 | model = swagger_client.models.dashboard_layout.DashboardLayout() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dashboard_layout_component.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dashboard_layout_component import DashboardLayoutComponent 30 | 31 | 32 | class TestDashboardLayoutComponent(unittest.TestCase): 33 | """ DashboardLayoutComponent unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDashboardLayoutComponent(self): 42 | """ 43 | Test DashboardLayoutComponent 44 | """ 45 | model = swagger_client.models.dashboard_layout_component.DashboardLayoutComponent() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_db_connection.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.db_connection import DBConnection 30 | 31 | 32 | class TestDBConnection(unittest.TestCase): 33 | """ DBConnection unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDBConnection(self): 42 | """ 43 | Test DBConnection 44 | """ 45 | model = swagger_client.models.db_connection.DBConnection() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_db_connection_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.db_connection_base import DBConnectionBase 30 | 31 | 32 | class TestDBConnectionBase(unittest.TestCase): 33 | """ DBConnectionBase unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDBConnectionBase(self): 42 | """ 43 | Test DBConnectionBase 44 | """ 45 | model = swagger_client.models.db_connection_base.DBConnectionBase() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_db_connection_test_result.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.db_connection_test_result import DBConnectionTestResult 30 | 31 | 32 | class TestDBConnectionTestResult(unittest.TestCase): 33 | """ DBConnectionTestResult unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDBConnectionTestResult(self): 42 | """ 43 | Test DBConnectionTestResult 44 | """ 45 | model = swagger_client.models.db_connection_test_result.DBConnectionTestResult() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dialect.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dialect import Dialect 30 | 31 | 32 | class TestDialect(unittest.TestCase): 33 | """ Dialect unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDialect(self): 42 | """ 43 | Test Dialect 44 | """ 45 | model = swagger_client.models.dialect.Dialect() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dialect_info.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dialect_info import DialectInfo 30 | 31 | 32 | class TestDialectInfo(unittest.TestCase): 33 | """ DialectInfo unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDialectInfo(self): 42 | """ 43 | Test DialectInfo 44 | """ 45 | model = swagger_client.models.dialect_info.DialectInfo() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_dialect_info_options.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.dialect_info_options import DialectInfoOptions 30 | 31 | 32 | class TestDialectInfoOptions(unittest.TestCase): 33 | """ DialectInfoOptions unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testDialectInfoOptions(self): 42 | """ 43 | Test DialectInfoOptions 44 | """ 45 | model = swagger_client.models.dialect_info_options.DialectInfoOptions() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_embed_check_domain_result.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.embed_check_domain_result import EmbedCheckDomainResult 30 | 31 | 32 | class TestEmbedCheckDomainResult(unittest.TestCase): 33 | """ EmbedCheckDomainResult unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testEmbedCheckDomainResult(self): 42 | """ 43 | Test EmbedCheckDomainResult 44 | """ 45 | model = swagger_client.models.embed_check_domain_result.EmbedCheckDomainResult() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_embed_config.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.embed_config import EmbedConfig 30 | 31 | 32 | class TestEmbedConfig(unittest.TestCase): 33 | """ EmbedConfig unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testEmbedConfig(self): 42 | """ 43 | Test EmbedConfig 44 | """ 45 | model = swagger_client.models.embed_config.EmbedConfig() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_embed_secret.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.embed_secret import EmbedSecret 30 | 31 | 32 | class TestEmbedSecret(unittest.TestCase): 33 | """ EmbedSecret unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testEmbedSecret(self): 42 | """ 43 | Test EmbedSecret 44 | """ 45 | model = swagger_client.models.embed_secret.EmbedSecret() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_error.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.error import Error 30 | 31 | 32 | class TestError(unittest.TestCase): 33 | """ Error unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testError(self): 42 | """ 43 | Test Error 44 | """ 45 | model = swagger_client.models.error.Error() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_ldap_config.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.ldap_config import LDAPConfig 30 | 31 | 32 | class TestLDAPConfig(unittest.TestCase): 33 | """ LDAPConfig unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLDAPConfig(self): 42 | """ 43 | Test LDAPConfig 44 | """ 45 | model = swagger_client.models.ldap_config.LDAPConfig() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_ldap_config_test_result.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.ldap_config_test_result import LDAPConfigTestResult 30 | 31 | 32 | class TestLDAPConfigTestResult(unittest.TestCase): 33 | """ LDAPConfigTestResult unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLDAPConfigTestResult(self): 42 | """ 43 | Test LDAPConfigTestResult 44 | """ 45 | model = swagger_client.models.ldap_config_test_result.LDAPConfigTestResult() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_ldap_group_read.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.ldap_group_read import LDAPGroupRead 30 | 31 | 32 | class TestLDAPGroupRead(unittest.TestCase): 33 | """ LDAPGroupRead unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLDAPGroupRead(self): 42 | """ 43 | Test LDAPGroupRead 44 | """ 45 | model = swagger_client.models.ldap_group_read.LDAPGroupRead() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_ldap_group_write.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.ldap_group_write import LDAPGroupWrite 30 | 31 | 32 | class TestLDAPGroupWrite(unittest.TestCase): 33 | """ LDAPGroupWrite unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLDAPGroupWrite(self): 42 | """ 43 | Test LDAPGroupWrite 44 | """ 45 | model = swagger_client.models.ldap_group_write.LDAPGroupWrite() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_ldap_user.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.ldap_user import LDAPUser 30 | 31 | 32 | class TestLDAPUser(unittest.TestCase): 33 | """ LDAPUser unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLDAPUser(self): 42 | """ 43 | Test LDAPUser 44 | """ 45 | model = swagger_client.models.ldap_user.LDAPUser() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_legacy_feature.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.legacy_feature import LegacyFeature 30 | 31 | 32 | class TestLegacyFeature(unittest.TestCase): 33 | """ LegacyFeature unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLegacyFeature(self): 42 | """ 43 | Test LegacyFeature 44 | """ 45 | model = swagger_client.models.legacy_feature.LegacyFeature() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_look.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.look import Look 30 | 31 | 32 | class TestLook(unittest.TestCase): 33 | """ Look unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLook(self): 42 | """ 43 | Test Look 44 | """ 45 | model = swagger_client.models.look.Look() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_look_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.look_api import LookApi 30 | 31 | 32 | class TestLookApi(unittest.TestCase): 33 | """ LookApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.look_api.LookApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_all_looks(self): 42 | """ 43 | Test case for all_looks 44 | 45 | get all looks 46 | """ 47 | pass 48 | 49 | def test_create_look_prefetch(self): 50 | """ 51 | Test case for create_look_prefetch 52 | 53 | create a prefetch 54 | """ 55 | pass 56 | 57 | def test_look(self): 58 | """ 59 | Test case for look 60 | 61 | get look 62 | """ 63 | pass 64 | 65 | def test_look_prefetch(self): 66 | """ 67 | Test case for look_prefetch 68 | 69 | get a prefetch 70 | """ 71 | pass 72 | 73 | def test_run_look(self): 74 | """ 75 | Test case for run_look 76 | 77 | run look 78 | """ 79 | pass 80 | 81 | 82 | if __name__ == '__main__': 83 | unittest.main() -------------------------------------------------------------------------------- /test/test_look_basic.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.look_basic import LookBasic 30 | 31 | 32 | class TestLookBasic(unittest.TestCase): 33 | """ LookBasic unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLookBasic(self): 42 | """ 43 | Test LookBasic 44 | """ 45 | model = swagger_client.models.look_basic.LookBasic() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_look_move_plan.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.look_move_plan import LookMovePlan 30 | 31 | 32 | class TestLookMovePlan(unittest.TestCase): 33 | """ LookMovePlan unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLookMovePlan(self): 42 | """ 43 | Test LookMovePlan 44 | """ 45 | model = swagger_client.models.look_move_plan.LookMovePlan() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_look_with_dashboards.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.look_with_dashboards import LookWithDashboards 30 | 31 | 32 | class TestLookWithDashboards(unittest.TestCase): 33 | """ LookWithDashboards unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLookWithDashboards(self): 42 | """ 43 | Test LookWithDashboards 44 | """ 45 | model = swagger_client.models.look_with_dashboards.LookWithDashboards() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_look_with_query.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.look_with_query import LookWithQuery 30 | 31 | 32 | class TestLookWithQuery(unittest.TestCase): 33 | """ LookWithQuery unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLookWithQuery(self): 42 | """ 43 | Test LookWithQuery 44 | """ 45 | model = swagger_client.models.look_with_query.LookWithQuery() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_lookml_space.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.lookml_space import LookmlSpace 30 | 31 | 32 | class TestLookmlSpace(unittest.TestCase): 33 | """ LookmlSpace unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testLookmlSpace(self): 42 | """ 43 | Test LookmlSpace 44 | """ 45 | model = swagger_client.models.lookml_space.LookmlSpace() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_model_set.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.model_set import ModelSet 30 | 31 | 32 | class TestModelSet(unittest.TestCase): 33 | """ ModelSet unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testModelSet(self): 42 | """ 43 | Test ModelSet 44 | """ 45 | model = swagger_client.models.model_set.ModelSet() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_permission.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.permission import Permission 30 | 31 | 32 | class TestPermission(unittest.TestCase): 33 | """ Permission unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testPermission(self): 42 | """ 43 | Test Permission 44 | """ 45 | model = swagger_client.models.permission.Permission() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_permission_set.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.permission_set import PermissionSet 30 | 31 | 32 | class TestPermissionSet(unittest.TestCase): 33 | """ PermissionSet unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testPermissionSet(self): 42 | """ 43 | Test PermissionSet 44 | """ 45 | model = swagger_client.models.permission_set.PermissionSet() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_prefetch_access_filter_value.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.prefetch_access_filter_value import PrefetchAccessFilterValue 30 | 31 | 32 | class TestPrefetchAccessFilterValue(unittest.TestCase): 33 | """ PrefetchAccessFilterValue unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testPrefetchAccessFilterValue(self): 42 | """ 43 | Test PrefetchAccessFilterValue 44 | """ 45 | model = swagger_client.models.prefetch_access_filter_value.PrefetchAccessFilterValue() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_prefetch_dashboard_filter_value.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.prefetch_dashboard_filter_value import PrefetchDashboardFilterValue 30 | 31 | 32 | class TestPrefetchDashboardFilterValue(unittest.TestCase): 33 | """ PrefetchDashboardFilterValue unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testPrefetchDashboardFilterValue(self): 42 | """ 43 | Test PrefetchDashboardFilterValue 44 | """ 45 | model = swagger_client.models.prefetch_dashboard_filter_value.PrefetchDashboardFilterValue() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_prefetch_dashboard_request_mapper.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.prefetch_dashboard_request_mapper import PrefetchDashboardRequestMapper 30 | 31 | 32 | class TestPrefetchDashboardRequestMapper(unittest.TestCase): 33 | """ PrefetchDashboardRequestMapper unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testPrefetchDashboardRequestMapper(self): 42 | """ 43 | Test PrefetchDashboardRequestMapper 44 | """ 45 | model = swagger_client.models.prefetch_dashboard_request_mapper.PrefetchDashboardRequestMapper() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_prefetch_look_request_mapper.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.prefetch_look_request_mapper import PrefetchLookRequestMapper 30 | 31 | 32 | class TestPrefetchLookRequestMapper(unittest.TestCase): 33 | """ PrefetchLookRequestMapper unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testPrefetchLookRequestMapper(self): 42 | """ 43 | Test PrefetchLookRequestMapper 44 | """ 45 | model = swagger_client.models.prefetch_look_request_mapper.PrefetchLookRequestMapper() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_prefetch_mapper.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.prefetch_mapper import PrefetchMapper 30 | 31 | 32 | class TestPrefetchMapper(unittest.TestCase): 33 | """ PrefetchMapper unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testPrefetchMapper(self): 42 | """ 43 | Test PrefetchMapper 44 | """ 45 | model = swagger_client.models.prefetch_mapper.PrefetchMapper() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_project_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.project_api import ProjectApi 30 | 31 | 32 | class TestProjectApi(unittest.TestCase): 33 | """ ProjectApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.project_api.ProjectApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_reset_project_to_production(self): 42 | """ 43 | Test case for reset_project_to_production 44 | 45 | Reset a project to the version that is in production. 46 | """ 47 | pass 48 | 49 | 50 | if __name__ == '__main__': 51 | unittest.main() -------------------------------------------------------------------------------- /test/test_project_list_item.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.project_list_item import ProjectListItem 30 | 31 | 32 | class TestProjectListItem(unittest.TestCase): 33 | """ ProjectListItem unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testProjectListItem(self): 42 | """ 43 | Test ProjectListItem 44 | """ 45 | model = swagger_client.models.project_list_item.ProjectListItem() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_query.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.query import Query 30 | 31 | 32 | class TestQuery(unittest.TestCase): 33 | """ Query unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testQuery(self): 42 | """ 43 | Test Query 44 | """ 45 | model = swagger_client.models.query.Query() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_role.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.role import Role 30 | 31 | 32 | class TestRole(unittest.TestCase): 33 | """ Role unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testRole(self): 42 | """ 43 | Test Role 44 | """ 45 | model = swagger_client.models.role.Role() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_running_queries.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.running_queries import RunningQueries 30 | 31 | 32 | class TestRunningQueries(unittest.TestCase): 33 | """ RunningQueries unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testRunningQueries(self): 42 | """ 43 | Test RunningQueries 44 | """ 45 | model = swagger_client.models.running_queries.RunningQueries() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_running_queries_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.running_queries_api import RunningQueriesApi 30 | 31 | 32 | class TestRunningQueriesApi(unittest.TestCase): 33 | """ RunningQueriesApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.running_queries_api.RunningQueriesApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_all_running_queries(self): 42 | """ 43 | Test case for all_running_queries 44 | 45 | get all running queries 46 | """ 47 | pass 48 | 49 | def test_kill_query(self): 50 | """ 51 | Test case for kill_query 52 | 53 | Kill a running query 54 | """ 55 | pass 56 | 57 | 58 | if __name__ == '__main__': 59 | unittest.main() -------------------------------------------------------------------------------- /test/test_saml_config.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.saml_config import SamlConfig 30 | 31 | 32 | class TestSamlConfig(unittest.TestCase): 33 | """ SamlConfig unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSamlConfig(self): 42 | """ 43 | Test SamlConfig 44 | """ 45 | model = swagger_client.models.saml_config.SamlConfig() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_saml_group_read.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.saml_group_read import SamlGroupRead 30 | 31 | 32 | class TestSamlGroupRead(unittest.TestCase): 33 | """ SamlGroupRead unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSamlGroupRead(self): 42 | """ 43 | Test SamlGroupRead 44 | """ 45 | model = swagger_client.models.saml_group_read.SamlGroupRead() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_saml_group_write.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.saml_group_write import SamlGroupWrite 30 | 31 | 32 | class TestSamlGroupWrite(unittest.TestCase): 33 | """ SamlGroupWrite unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSamlGroupWrite(self): 42 | """ 43 | Test SamlGroupWrite 44 | """ 45 | model = swagger_client.models.saml_group_write.SamlGroupWrite() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_saml_metadata_parse_result.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.saml_metadata_parse_result import SamlMetadataParseResult 30 | 31 | 32 | class TestSamlMetadataParseResult(unittest.TestCase): 33 | """ SamlMetadataParseResult unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSamlMetadataParseResult(self): 42 | """ 43 | Test SamlMetadataParseResult 44 | """ 45 | model = swagger_client.models.saml_metadata_parse_result.SamlMetadataParseResult() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_scheduled_job.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.scheduled_job import ScheduledJob 30 | 31 | 32 | class TestScheduledJob(unittest.TestCase): 33 | """ ScheduledJob unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testScheduledJob(self): 42 | """ 43 | Test ScheduledJob 44 | """ 45 | model = swagger_client.models.scheduled_job.ScheduledJob() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_scheduled_job_destination.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.scheduled_job_destination import ScheduledJobDestination 30 | 31 | 32 | class TestScheduledJobDestination(unittest.TestCase): 33 | """ ScheduledJobDestination unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testScheduledJobDestination(self): 42 | """ 43 | Test ScheduledJobDestination 44 | """ 45 | model = swagger_client.models.scheduled_job_destination.ScheduledJobDestination() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_scheduled_job_stage.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.scheduled_job_stage import ScheduledJobStage 30 | 31 | 32 | class TestScheduledJobStage(unittest.TestCase): 33 | """ ScheduledJobStage unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testScheduledJobStage(self): 42 | """ 43 | Test ScheduledJobStage 44 | """ 45 | model = swagger_client.models.scheduled_job_stage.ScheduledJobStage() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_scheduled_plan.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.scheduled_plan import ScheduledPlan 30 | 31 | 32 | class TestScheduledPlan(unittest.TestCase): 33 | """ ScheduledPlan unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testScheduledPlan(self): 42 | """ 43 | Test ScheduledPlan 44 | """ 45 | model = swagger_client.models.scheduled_plan.ScheduledPlan() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_scheduled_plan_destination.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.scheduled_plan_destination import ScheduledPlanDestination 30 | 31 | 32 | class TestScheduledPlanDestination(unittest.TestCase): 33 | """ ScheduledPlanDestination unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testScheduledPlanDestination(self): 42 | """ 43 | Test ScheduledPlanDestination 44 | """ 45 | model = swagger_client.models.scheduled_plan_destination.ScheduledPlanDestination() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_session.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.session import Session 30 | 31 | 32 | class TestSession(unittest.TestCase): 33 | """ Session unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSession(self): 42 | """ 43 | Test Session 44 | """ 45 | model = swagger_client.models.session.Session() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_space.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.space import Space 30 | 31 | 32 | class TestSpace(unittest.TestCase): 33 | """ Space unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSpace(self): 42 | """ 43 | Test Space 44 | """ 45 | model = swagger_client.models.space.Space() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_space_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.space_api import SpaceApi 30 | 31 | 32 | class TestSpaceApi(unittest.TestCase): 33 | """ SpaceApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.space_api.SpaceApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_all_spaces(self): 42 | """ 43 | Test case for all_spaces 44 | 45 | get all spaces 46 | """ 47 | pass 48 | 49 | def test_create_space(self): 50 | """ 51 | Test case for create_space 52 | 53 | create space 54 | """ 55 | pass 56 | 57 | def test_delete_space(self): 58 | """ 59 | Test case for delete_space 60 | 61 | delete space 62 | """ 63 | pass 64 | 65 | def test_space(self): 66 | """ 67 | Test case for space 68 | 69 | get space 70 | """ 71 | pass 72 | 73 | def test_space_ancestors(self): 74 | """ 75 | Test case for space_ancestors 76 | 77 | get ancestors of space 78 | """ 79 | pass 80 | 81 | def test_space_children(self): 82 | """ 83 | Test case for space_children 84 | 85 | get children of space 86 | """ 87 | pass 88 | 89 | def test_space_children_search(self): 90 | """ 91 | Test case for space_children_search 92 | 93 | search children of space 94 | """ 95 | pass 96 | 97 | def test_space_parent(self): 98 | """ 99 | Test case for space_parent 100 | 101 | get parent of space 102 | """ 103 | pass 104 | 105 | def test_update_space(self): 106 | """ 107 | Test case for update_space 108 | 109 | update space 110 | """ 111 | pass 112 | 113 | 114 | if __name__ == '__main__': 115 | unittest.main() -------------------------------------------------------------------------------- /test/test_space_base.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.space_base import SpaceBase 30 | 31 | 32 | class TestSpaceBase(unittest.TestCase): 33 | """ SpaceBase unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSpaceBase(self): 42 | """ 43 | Test SpaceBase 44 | """ 45 | model = swagger_client.models.space_base.SpaceBase() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_sql_query.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.sql_query import SqlQuery 30 | 31 | 32 | class TestSqlQuery(unittest.TestCase): 33 | """ SqlQuery unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testSqlQuery(self): 42 | """ 43 | Test SqlQuery 44 | """ 45 | model = swagger_client.models.sql_query.SqlQuery() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_sql_query_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.sql_query_api import SqlQueryApi 30 | 31 | 32 | class TestSqlQueryApi(unittest.TestCase): 33 | """ SqlQueryApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.sql_query_api.SqlQueryApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_create_sql_query(self): 42 | """ 43 | Test case for create_sql_query 44 | 45 | create SQL Runner query 46 | """ 47 | pass 48 | 49 | def test_sql_query(self): 50 | """ 51 | Test case for sql_query 52 | 53 | get SQL Runner query 54 | """ 55 | pass 56 | 57 | 58 | if __name__ == '__main__': 59 | unittest.main() -------------------------------------------------------------------------------- /test/test_story.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.story import Story 30 | 31 | 32 | class TestStory(unittest.TestCase): 33 | """ Story unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testStory(self): 42 | """ 43 | Test Story 44 | """ 45 | model = swagger_client.models.story.Story() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_story_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.story_api import StoryApi 30 | 31 | 32 | class TestStoryApi(unittest.TestCase): 33 | """ StoryApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.story_api.StoryApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_all_stories(self): 42 | """ 43 | Test case for all_stories 44 | 45 | Get all stories 46 | """ 47 | pass 48 | 49 | def test_story(self): 50 | """ 51 | Test case for story 52 | 53 | Get a story 54 | """ 55 | pass 56 | 57 | def test_story_assets(self): 58 | """ 59 | Test case for story_assets 60 | 61 | Get assets used by stories 62 | """ 63 | pass 64 | 65 | 66 | if __name__ == '__main__': 67 | unittest.main() -------------------------------------------------------------------------------- /test/test_story_assets.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.story_assets import StoryAssets 30 | 31 | 32 | class TestStoryAssets(unittest.TestCase): 33 | """ StoryAssets unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testStoryAssets(self): 42 | """ 43 | Test StoryAssets 44 | """ 45 | model = swagger_client.models.story_assets.StoryAssets() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_story_list_item.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.story_list_item import StoryListItem 30 | 31 | 32 | class TestStoryListItem(unittest.TestCase): 33 | """ StoryListItem unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testStoryListItem(self): 42 | """ 43 | Test StoryListItem 44 | """ 45 | model = swagger_client.models.story_list_item.StoryListItem() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_timezone.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.timezone import Timezone 30 | 31 | 32 | class TestTimezone(unittest.TestCase): 33 | """ Timezone unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testTimezone(self): 42 | """ 43 | Test Timezone 44 | """ 45 | model = swagger_client.models.timezone.Timezone() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_upload_api.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.apis.upload_api import UploadApi 30 | 31 | 32 | class TestUploadApi(unittest.TestCase): 33 | """ UploadApi unit test stubs """ 34 | 35 | def setUp(self): 36 | self.api = swagger_client.apis.upload_api.UploadApi() 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def test_all_uploads(self): 42 | """ 43 | Test case for all_uploads 44 | 45 | get all uploads 46 | """ 47 | pass 48 | 49 | def test_create_upload(self): 50 | """ 51 | Test case for create_upload 52 | 53 | Upload a csv file and return the inferred table definition 54 | """ 55 | pass 56 | 57 | def test_delete_upload(self): 58 | """ 59 | Test case for delete_upload 60 | 61 | Delete UploadTable and drop upload created table if exists 62 | """ 63 | pass 64 | 65 | def test_get_upload(self): 66 | """ 67 | Test case for get_upload 68 | 69 | Get table definition for an upload 70 | """ 71 | pass 72 | 73 | def test_get_upload_lookml(self): 74 | """ 75 | Test case for get_upload_lookml 76 | 77 | Get the generated lookml for a table created via upload 78 | """ 79 | pass 80 | 81 | def test_load_upload(self): 82 | """ 83 | Test case for load_upload 84 | 85 | Upload contents of a file to create and load a table in the DB 86 | """ 87 | pass 88 | 89 | def test_update_upload(self): 90 | """ 91 | Test case for update_upload 92 | 93 | Update upload table definition and create/load the DB table 94 | """ 95 | pass 96 | 97 | 98 | if __name__ == '__main__': 99 | unittest.main() -------------------------------------------------------------------------------- /test/test_upload_table.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.upload_table import UploadTable 30 | 31 | 32 | class TestUploadTable(unittest.TestCase): 33 | """ UploadTable unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testUploadTable(self): 42 | """ 43 | Test UploadTable 44 | """ 45 | model = swagger_client.models.upload_table.UploadTable() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_user.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.user import User 30 | 31 | 32 | class TestUser(unittest.TestCase): 33 | """ User unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testUser(self): 42 | """ 43 | Test User 44 | """ 45 | model = swagger_client.models.user.User() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_user_id_only.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.user_id_only import UserIdOnly 30 | 31 | 32 | class TestUserIdOnly(unittest.TestCase): 33 | """ UserIdOnly unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testUserIdOnly(self): 42 | """ 43 | Test UserIdOnly 44 | """ 45 | model = swagger_client.models.user_id_only.UserIdOnly() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_user_public.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.user_public import UserPublic 30 | 31 | 32 | class TestUserPublic(unittest.TestCase): 33 | """ UserPublic unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testUserPublic(self): 42 | """ 43 | Test UserPublic 44 | """ 45 | model = swagger_client.models.user_public.UserPublic() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() -------------------------------------------------------------------------------- /test/test_validation_error.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | """ 4 | Copyright 2016 SmartBear Software 5 | 6 | Licensed under the Apache License, Version 2.0 (the "License"); 7 | you may not use this file except in compliance with the License. 8 | You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software 13 | distributed under the License is distributed on an "AS IS" BASIS, 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | See the License for the specific language governing permissions and 16 | limitations under the License. 17 | 18 | ref: https://github.com/swagger-api/swagger-codegen 19 | """ 20 | 21 | from __future__ import absolute_import 22 | 23 | import os 24 | import sys 25 | import unittest 26 | 27 | import swagger_client 28 | from swagger_client.rest import ApiException 29 | from swagger_client.models.validation_error import ValidationError 30 | 31 | 32 | class TestValidationError(unittest.TestCase): 33 | """ ValidationError unit test stubs """ 34 | 35 | def setUp(self): 36 | pass 37 | 38 | def tearDown(self): 39 | pass 40 | 41 | def testValidationError(self): 42 | """ 43 | Test ValidationError 44 | """ 45 | model = swagger_client.models.validation_error.ValidationError() 46 | 47 | 48 | if __name__ == '__main__': 49 | unittest.main() --------------------------------------------------------------------------------