tca_client 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AddGroupAttachmentRequest.md +16 -4
  3. data/docs/AddGroupAttachmentResponse.md +14 -3
  4. data/docs/AggregateGroup.md +24 -8
  5. data/docs/AnnotationsSettings.md +18 -0
  6. data/docs/AuthorMetadataOverride.md +16 -4
  7. data/docs/EULAApi.md +166 -92
  8. data/docs/Error.md +16 -4
  9. data/docs/Eula.md +18 -5
  10. data/docs/EulaAcceptListItem.md +20 -6
  11. data/docs/EulaAcceptRequest.md +20 -6
  12. data/docs/EulaVersion.md +22 -7
  13. data/docs/FeaturesApi.md +41 -23
  14. data/docs/FeaturesEnabled.md +20 -6
  15. data/docs/FeaturesGenerationSettings.md +16 -4
  16. data/docs/FeaturesSimilarity.md +18 -5
  17. data/docs/FeaturesSimilarityViewSettings.md +38 -15
  18. data/docs/FeaturesTenant.md +14 -3
  19. data/docs/FeaturesViewerModes.md +16 -4
  20. data/docs/GenerateSimilarityPDF.md +18 -0
  21. data/docs/GetGroupAttachments200Response.md +18 -0
  22. data/docs/Group.md +18 -5
  23. data/docs/GroupAttachmentResponse.md +20 -6
  24. data/docs/GroupContext.md +18 -5
  25. data/docs/GroupsApi.md +321 -177
  26. data/docs/IndexApi.md +84 -44
  27. data/docs/IndexStateSettings.md +14 -3
  28. data/docs/IndexingSettings.md +14 -3
  29. data/docs/PDFStatusWebhookRequest.md +24 -0
  30. data/docs/PdfStatusResponse.md +14 -3
  31. data/docs/RateLimitError.md +16 -4
  32. data/docs/RequestPdfResponse.md +14 -3
  33. data/docs/Sidebar.md +14 -3
  34. data/docs/SimilarityApi.md +239 -129
  35. data/docs/SimilarityCompleteWebhookRequest.md +38 -0
  36. data/docs/SimilarityGenerationSettings.md +20 -6
  37. data/docs/SimilarityMetadata.md +32 -12
  38. data/docs/SimilarityMetadataAllOf.md +28 -0
  39. data/docs/SimilarityMetadataAllOfTopMatches.md +30 -0
  40. data/docs/SimilarityPutRequest.md +18 -5
  41. data/docs/SimilarityScoreData.md +20 -6
  42. data/docs/SimilaritySettings.md +18 -5
  43. data/docs/SimilaritySettingsModes.md +16 -4
  44. data/docs/SimilaritySettingsViewSettings.md +14 -3
  45. data/docs/SimilarityViewSettings.md +38 -15
  46. data/docs/SimilarityViewerUrlResponse.md +14 -3
  47. data/docs/SimilarityViewerUrlSettings.md +30 -10
  48. data/docs/SimpleSubmissionResponse.md +22 -2
  49. data/docs/SimpleSubmissionResponseAllOf.md +26 -0
  50. data/docs/Submission.md +34 -2
  51. data/docs/SubmissionAllOf.md +38 -0
  52. data/docs/SubmissionApi.md +202 -111
  53. data/docs/SubmissionBase.md +30 -11
  54. data/docs/SubmissionBaseMetadata.md +24 -8
  55. data/docs/SubmissionCompleteWebhookRequest.md +40 -0
  56. data/docs/SubmissionCompleteWebhookRequestAllOf.md +18 -0
  57. data/docs/SubmissionCompleteWebhookRequestAllOfMetadata.md +18 -0
  58. data/docs/SubmissionSizeError.md +16 -4
  59. data/docs/SuccessMessage.md +14 -3
  60. data/docs/Users.md +20 -6
  61. data/docs/ViewerPermissions.md +22 -7
  62. data/docs/Webhook.md +24 -6
  63. data/docs/WebhookAllOf.md +20 -0
  64. data/docs/WebhookApi.md +193 -103
  65. data/docs/WebhookBase.md +20 -6
  66. data/docs/WebhookPathRequest.md +16 -4
  67. data/docs/WebhookWithSecret.md +22 -6
  68. data/docs/WebhookWithSecretAllOf.md +18 -0
  69. data/lib/tca_client/api/eula_api.rb +96 -63
  70. data/lib/tca_client/api/features_api.rb +21 -12
  71. data/lib/tca_client/api/groups_api.rb +225 -155
  72. data/lib/tca_client/api/index_api.rb +46 -27
  73. data/lib/tca_client/api/similarity_api.rb +165 -104
  74. data/lib/tca_client/api/submission_api.rb +132 -89
  75. data/lib/tca_client/api/webhook_api.rb +120 -77
  76. data/lib/tca_client/api_client.rb +61 -57
  77. data/lib/tca_client/api_error.rb +4 -4
  78. data/lib/tca_client/configuration.rb +93 -13
  79. data/lib/tca_client/models/add_group_attachment_request.rb +50 -13
  80. data/lib/tca_client/models/add_group_attachment_response.rb +25 -12
  81. data/lib/tca_client/models/aggregate_group.rb +34 -21
  82. data/lib/tca_client/models/annotations_settings.rb +220 -0
  83. data/lib/tca_client/models/author_metadata_override.rb +26 -13
  84. data/lib/tca_client/models/error.rb +26 -13
  85. data/lib/tca_client/models/eula.rb +27 -14
  86. data/lib/tca_client/models/eula_accept_list_item.rb +28 -15
  87. data/lib/tca_client/models/eula_accept_request.rb +28 -15
  88. data/lib/tca_client/models/eula_version.rb +29 -16
  89. data/lib/tca_client/models/features_enabled.rb +28 -15
  90. data/lib/tca_client/models/features_generation_settings.rb +26 -13
  91. data/lib/tca_client/models/features_similarity.rb +27 -14
  92. data/lib/tca_client/models/features_similarity_view_settings.rb +37 -24
  93. data/lib/tca_client/models/features_tenant.rb +25 -12
  94. data/lib/tca_client/models/features_viewer_modes.rb +26 -13
  95. data/lib/tca_client/models/generate_similarity_pdf.rb +254 -0
  96. data/lib/tca_client/models/{inline_response_200.rb → get_group_attachments200_response.rb} +28 -15
  97. data/lib/tca_client/models/group.rb +29 -16
  98. data/lib/tca_client/models/group_attachment_response.rb +30 -17
  99. data/lib/tca_client/models/group_context.rb +27 -14
  100. data/lib/tca_client/models/index_state_settings.rb +25 -12
  101. data/lib/tca_client/models/indexing_settings.rb +25 -12
  102. data/lib/tca_client/models/pdf_status_response.rb +27 -14
  103. data/lib/tca_client/models/pdf_status_webhook_request.rb +283 -0
  104. data/lib/tca_client/models/rate_limit_error.rb +36 -20
  105. data/lib/tca_client/models/request_pdf_response.rb +25 -12
  106. data/lib/tca_client/models/sidebar.rb +27 -14
  107. data/lib/tca_client/models/similarity_complete_webhook_request.rb +366 -0
  108. data/lib/tca_client/models/similarity_generation_settings.rb +30 -17
  109. data/lib/tca_client/models/similarity_metadata.rb +45 -28
  110. data/lib/tca_client/models/similarity_metadata_all_of.rb +301 -0
  111. data/lib/tca_client/models/{similarity_metadata_top_matches.rb → similarity_metadata_all_of_top_matches.rb} +34 -21
  112. data/lib/tca_client/models/similarity_put_request.rb +27 -14
  113. data/lib/tca_client/models/similarity_score_data.rb +28 -15
  114. data/lib/tca_client/models/similarity_settings.rb +29 -16
  115. data/lib/tca_client/models/similarity_settings_modes.rb +26 -13
  116. data/lib/tca_client/models/similarity_settings_view_settings.rb +25 -12
  117. data/lib/tca_client/models/similarity_view_settings.rb +37 -24
  118. data/lib/tca_client/models/similarity_viewer_url_response.rb +25 -12
  119. data/lib/tca_client/models/similarity_viewer_url_settings.rb +46 -24
  120. data/lib/tca_client/models/simple_submission_response.rb +117 -13
  121. data/lib/tca_client/models/simple_submission_response_all_of.rb +294 -0
  122. data/lib/tca_client/models/submission.rb +191 -13
  123. data/lib/tca_client/models/submission_all_of.rb +368 -0
  124. data/lib/tca_client/models/submission_base.rb +82 -23
  125. data/lib/tca_client/models/submission_base_metadata.rb +30 -17
  126. data/lib/tca_client/models/submission_complete_webhook_request.rb +385 -0
  127. data/lib/tca_client/models/submission_complete_webhook_request_all_of.rb +219 -0
  128. data/lib/tca_client/models/submission_complete_webhook_request_all_of_metadata.rb +219 -0
  129. data/lib/tca_client/models/submission_size_error.rb +36 -20
  130. data/lib/tca_client/models/success_message.rb +25 -12
  131. data/lib/tca_client/models/users.rb +28 -15
  132. data/lib/tca_client/models/viewer_permissions.rb +29 -16
  133. data/lib/tca_client/models/webhook.rb +62 -16
  134. data/lib/tca_client/models/webhook_all_of.rb +235 -0
  135. data/lib/tca_client/models/webhook_base.rb +28 -15
  136. data/lib/tca_client/models/webhook_path_request.rb +26 -13
  137. data/lib/tca_client/models/webhook_with_secret.rb +52 -16
  138. data/lib/tca_client/models/webhook_with_secret_all_of.rb +225 -0
  139. data/lib/tca_client/version.rb +5 -4
  140. data/lib/tca_client.rb +18 -5
  141. data/tca_client-1.0.0.gem +0 -0
  142. data/tca_client.gemspec +7 -7
  143. metadata +34 -29
  144. data/docs/InlineResponse200.md +0 -7
  145. data/docs/SimilarityMetadataTopMatches.md +0 -13
data/docs/IndexApi.md CHANGED
@@ -1,51 +1,71 @@
1
1
  # TCAClient::IndexApi
2
2
 
3
- All URIs are relative to *https://{tenantName}.{hostName}/api/v1*
3
+ All URIs are relative to *https://app-us.turnitin.com/api/v1*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get_index_status**](IndexApi.md#get_index_status) | **GET** /submissions/{id}/index | Return index state of submission
8
- [**index_submission**](IndexApi.md#index_submission) | **PUT** /submissions/{id}/index | Index and return index state of submission
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get_index_status**](IndexApi.md#get_index_status) | **GET** /submissions/{id}/index | Return index state of submission |
8
+ | [**index_submission**](IndexApi.md#index_submission) | **PUT** /submissions/{id}/index | Index and return index state of submission |
9
9
 
10
- # **get_index_status**
11
- > IndexStateSettings get_index_status(x_turnitin_integration_name, x_turnitin_integration_version, id)
10
+
11
+ ## get_index_status
12
+
13
+ > <IndexStateSettings> get_index_status(x_turnitin_integration_name, x_turnitin_integration_version, id)
12
14
 
13
15
  Return index state of submission
14
16
 
15
- ### Example
17
+ ### Examples
18
+
16
19
  ```ruby
17
- # load the gem
20
+ require 'time'
18
21
  require 'tca_client'
19
22
  # setup authorization
20
23
  TCAClient.configure do |config|
21
24
  # Configure API key authorization: api_key
22
- config.api_key['Authorization'] = 'YOUR API KEY'
25
+ config.api_key['api_key'] = 'YOUR API KEY'
23
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
24
- #config.api_key_prefix['Authorization'] = 'Bearer'
27
+ # config.api_key_prefix['api_key'] = 'Bearer'
25
28
  end
26
29
 
27
30
  api_instance = TCAClient::IndexApi.new
28
- x_turnitin_integration_name = 'x_turnitin_integration_name_example' # String | a human readable string representing the type of integration being used
29
- x_turnitin_integration_version = 'x_turnitin_integration_version_example' # String | the version of the integration platform being used
31
+ x_turnitin_integration_name = 'myintegration' # String | a human readable string representing the type of integration being used
32
+ x_turnitin_integration_version = 'v1.0.2' # String | the version of the integration platform being used
30
33
  id = 'id_example' # String | The Submission ID (returned upon a successful POST to /submissions)
31
34
 
32
-
33
35
  begin
34
- #Return index state of submission
36
+ # Return index state of submission
35
37
  result = api_instance.get_index_status(x_turnitin_integration_name, x_turnitin_integration_version, id)
36
38
  p result
37
39
  rescue TCAClient::ApiError => e
38
- puts "Exception when calling IndexApi->get_index_status: #{e}"
40
+ puts "Error when calling IndexApi->get_index_status: #{e}"
41
+ end
42
+ ```
43
+
44
+ #### Using the get_index_status_with_http_info variant
45
+
46
+ This returns an Array which contains the response data, status code and headers.
47
+
48
+ > <Array(<IndexStateSettings>, Integer, Hash)> get_index_status_with_http_info(x_turnitin_integration_name, x_turnitin_integration_version, id)
49
+
50
+ ```ruby
51
+ begin
52
+ # Return index state of submission
53
+ data, status_code, headers = api_instance.get_index_status_with_http_info(x_turnitin_integration_name, x_turnitin_integration_version, id)
54
+ p status_code # => 2xx
55
+ p headers # => { ... }
56
+ p data # => <IndexStateSettings>
57
+ rescue TCAClient::ApiError => e
58
+ puts "Error when calling IndexApi->get_index_status_with_http_info: #{e}"
39
59
  end
40
60
  ```
41
61
 
42
62
  ### Parameters
43
63
 
44
- Name | Type | Description | Notes
45
- ------------- | ------------- | ------------- | -------------
46
- **x_turnitin_integration_name** | **String**| a human readable string representing the type of integration being used |
47
- **x_turnitin_integration_version** | **String**| the version of the integration platform being used |
48
- **id** | **String**| The Submission ID (returned upon a successful POST to /submissions) |
64
+ | Name | Type | Description | Notes |
65
+ | ---- | ---- | ----------- | ----- |
66
+ | **x_turnitin_integration_name** | **String** | a human readable string representing the type of integration being used | |
67
+ | **x_turnitin_integration_version** | **String** | the version of the integration platform being used | |
68
+ | **id** | **String** | The Submission ID (returned upon a successful POST to /submissions) | |
49
69
 
50
70
  ### Return type
51
71
 
@@ -57,50 +77,72 @@ Name | Type | Description | Notes
57
77
 
58
78
  ### HTTP request headers
59
79
 
60
- - **Content-Type**: Not defined
61
- - **Accept**: application/json
80
+ - **Content-Type**: Not defined
81
+ - **Accept**: application/json
62
82
 
63
83
 
84
+ ## index_submission
64
85
 
65
- # **index_submission**
66
- > IndexStateSettings index_submission(x_turnitin_integration_name, x_turnitin_integration_version, id)
86
+ > <IndexStateSettings> index_submission(x_turnitin_integration_name, x_turnitin_integration_version, id, opts)
67
87
 
68
88
  Index and return index state of submission
69
89
 
70
- ### Example
90
+ ### Examples
91
+
71
92
  ```ruby
72
- # load the gem
93
+ require 'time'
73
94
  require 'tca_client'
74
95
  # setup authorization
75
96
  TCAClient.configure do |config|
76
97
  # Configure API key authorization: api_key
77
- config.api_key['Authorization'] = 'YOUR API KEY'
98
+ config.api_key['api_key'] = 'YOUR API KEY'
78
99
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
79
- #config.api_key_prefix['Authorization'] = 'Bearer'
100
+ # config.api_key_prefix['api_key'] = 'Bearer'
80
101
  end
81
102
 
82
103
  api_instance = TCAClient::IndexApi.new
83
- x_turnitin_integration_name = 'x_turnitin_integration_name_example' # String | a human readable string representing the type of integration being used
84
- x_turnitin_integration_version = 'x_turnitin_integration_version_example' # String | the version of the integration platform being used
104
+ x_turnitin_integration_name = 'myintegration' # String | a human readable string representing the type of integration being used
105
+ x_turnitin_integration_version = 'v1.0.2' # String | the version of the integration platform being used
85
106
  id = 'id_example' # String | The Submission ID (returned upon a successful POST to /submissions)
86
-
107
+ opts = {
108
+ asynchronous: true # Boolean | asynchronous request
109
+ }
87
110
 
88
111
  begin
89
- #Index and return index state of submission
90
- result = api_instance.index_submission(x_turnitin_integration_name, x_turnitin_integration_version, id)
112
+ # Index and return index state of submission
113
+ result = api_instance.index_submission(x_turnitin_integration_name, x_turnitin_integration_version, id, opts)
91
114
  p result
92
115
  rescue TCAClient::ApiError => e
93
- puts "Exception when calling IndexApi->index_submission: #{e}"
116
+ puts "Error when calling IndexApi->index_submission: #{e}"
117
+ end
118
+ ```
119
+
120
+ #### Using the index_submission_with_http_info variant
121
+
122
+ This returns an Array which contains the response data, status code and headers.
123
+
124
+ > <Array(<IndexStateSettings>, Integer, Hash)> index_submission_with_http_info(x_turnitin_integration_name, x_turnitin_integration_version, id, opts)
125
+
126
+ ```ruby
127
+ begin
128
+ # Index and return index state of submission
129
+ data, status_code, headers = api_instance.index_submission_with_http_info(x_turnitin_integration_name, x_turnitin_integration_version, id, opts)
130
+ p status_code # => 2xx
131
+ p headers # => { ... }
132
+ p data # => <IndexStateSettings>
133
+ rescue TCAClient::ApiError => e
134
+ puts "Error when calling IndexApi->index_submission_with_http_info: #{e}"
94
135
  end
95
136
  ```
96
137
 
97
138
  ### Parameters
98
139
 
99
- Name | Type | Description | Notes
100
- ------------- | ------------- | ------------- | -------------
101
- **x_turnitin_integration_name** | **String**| a human readable string representing the type of integration being used |
102
- **x_turnitin_integration_version** | **String**| the version of the integration platform being used |
103
- **id** | **String**| The Submission ID (returned upon a successful POST to /submissions) |
140
+ | Name | Type | Description | Notes |
141
+ | ---- | ---- | ----------- | ----- |
142
+ | **x_turnitin_integration_name** | **String** | a human readable string representing the type of integration being used | |
143
+ | **x_turnitin_integration_version** | **String** | the version of the integration platform being used | |
144
+ | **id** | **String** | The Submission ID (returned upon a successful POST to /submissions) | |
145
+ | **asynchronous** | **Boolean** | asynchronous request | [optional] |
104
146
 
105
147
  ### Return type
106
148
 
@@ -112,8 +154,6 @@ Name | Type | Description | Notes
112
154
 
113
155
  ### HTTP request headers
114
156
 
115
- - **Content-Type**: Not defined
116
- - **Accept**: application/json
117
-
118
-
157
+ - **Content-Type**: Not defined
158
+ - **Accept**: application/json
119
159
 
@@ -1,7 +1,18 @@
1
1
  # TCAClient::IndexStateSettings
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **is_indexed** | **BOOLEAN** | If true, is_indexed displays the index state of submission. | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **is_indexed** | **Boolean** | If true, is_indexed displays the index state of submission. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'tca_client'
13
+
14
+ instance = TCAClient::IndexStateSettings.new(
15
+ is_indexed: null
16
+ )
17
+ ```
7
18
 
@@ -1,7 +1,18 @@
1
1
  # TCAClient::IndexingSettings
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **add_to_index** | **BOOLEAN** | If set, the submission will be added to all valid node groups for future matching | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **add_to_index** | **Boolean** | If set, the submission will be added to all valid node groups for future matching | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'tca_client'
13
+
14
+ instance = TCAClient::IndexingSettings.new(
15
+ add_to_index: null
16
+ )
17
+ ```
7
18
 
@@ -0,0 +1,24 @@
1
+ # TCAClient::PDFStatusWebhookRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | The requesting Pdf status | [optional] |
8
+ | **id** | **String** | the PDF ID | [optional] |
9
+ | **submission_id** | **String** | the associated submission ID | [optional] |
10
+ | **metadata** | [**SubmissionCompleteWebhookRequestAllOfMetadata**](SubmissionCompleteWebhookRequestAllOfMetadata.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'tca_client'
16
+
17
+ instance = TCAClient::PDFStatusWebhookRequest.new(
18
+ status: null,
19
+ id: null,
20
+ submission_id: null,
21
+ metadata: null
22
+ )
23
+ ```
24
+
@@ -1,7 +1,18 @@
1
1
  # TCAClient::PdfStatusResponse
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **status** | **String** | The requesting Pdf status | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | The requesting Pdf status | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'tca_client'
13
+
14
+ instance = TCAClient::PdfStatusResponse.new(
15
+ status: null
16
+ )
17
+ ```
7
18
 
@@ -1,8 +1,20 @@
1
1
  # TCAClient::RateLimitError
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **status** | **String** | an HTTP Response JobStatus Code | [optional]
7
- **message** | **String** | A message explaining what happened | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | an HTTP Response JobStatus Code | [optional] |
8
+ | **message** | **String** | A message explaining what happened | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'tca_client'
14
+
15
+ instance = TCAClient::RateLimitError.new(
16
+ status: null,
17
+ message: null
18
+ )
19
+ ```
8
20
 
@@ -1,7 +1,18 @@
1
1
  # TCAClient::RequestPdfResponse
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **id** | **String** | The Pdf ID | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The Pdf ID | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'tca_client'
13
+
14
+ instance = TCAClient::RequestPdfResponse.new(
15
+ id: null
16
+ )
17
+ ```
7
18
 
data/docs/Sidebar.md CHANGED
@@ -1,7 +1,18 @@
1
1
  # TCAClient::Sidebar
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **default_mode** | **String** | The default mode shown in the sidebar panel. The selected mode must be enabled in the tenant&#x27;s license, request parameter, as well as the viewer&#x27;s permission. The default mode is similarity. | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **default_mode** | **String** | The default mode shown in the sidebar panel. The selected mode must be enabled in the tenant&#39;s license, request parameter, as well as the viewer&#39;s permission. The default mode is similarity. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'tca_client'
13
+
14
+ instance = TCAClient::Sidebar.new(
15
+ default_mode: null
16
+ )
17
+ ```
7
18