tca_client 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/docs/AddGroupAttachmentRequest.md +16 -4
  4. data/docs/AddGroupAttachmentResponse.md +14 -3
  5. data/docs/AggregateGroup.md +24 -8
  6. data/docs/AnnotationsSettings.md +18 -0
  7. data/docs/AuthorMetadataOverride.md +16 -4
  8. data/docs/EULAApi.md +166 -92
  9. data/docs/Error.md +16 -4
  10. data/docs/Eula.md +18 -5
  11. data/docs/EulaAcceptListItem.md +20 -6
  12. data/docs/EulaAcceptRequest.md +20 -6
  13. data/docs/EulaVersion.md +22 -7
  14. data/docs/FeaturesApi.md +41 -23
  15. data/docs/FeaturesEnabled.md +20 -6
  16. data/docs/FeaturesGenerationSettings.md +16 -4
  17. data/docs/FeaturesSimilarity.md +18 -5
  18. data/docs/FeaturesSimilarityViewSettings.md +38 -15
  19. data/docs/FeaturesTenant.md +14 -3
  20. data/docs/FeaturesViewerModes.md +16 -4
  21. data/docs/GenerateSimilarityPDF.md +18 -0
  22. data/docs/GetGroupAttachments200Response.md +18 -0
  23. data/docs/Group.md +18 -5
  24. data/docs/GroupAttachmentResponse.md +20 -6
  25. data/docs/GroupContext.md +18 -5
  26. data/docs/GroupsApi.md +321 -177
  27. data/docs/IndexApi.md +84 -44
  28. data/docs/IndexStateSettings.md +14 -3
  29. data/docs/IndexingSettings.md +14 -3
  30. data/docs/PDFStatusWebhookRequest.md +24 -0
  31. data/docs/PdfStatusResponse.md +14 -3
  32. data/docs/RateLimitError.md +16 -4
  33. data/docs/RequestPdfResponse.md +14 -3
  34. data/docs/Sidebar.md +14 -3
  35. data/docs/SimilarityApi.md +239 -129
  36. data/docs/SimilarityCompleteWebhookRequest.md +38 -0
  37. data/docs/SimilarityGenerationSettings.md +20 -6
  38. data/docs/SimilarityMetadata.md +32 -12
  39. data/docs/SimilarityMetadataAllOf.md +28 -0
  40. data/docs/SimilarityMetadataAllOfTopMatches.md +30 -0
  41. data/docs/SimilarityPutRequest.md +18 -5
  42. data/docs/SimilarityScoreData.md +20 -6
  43. data/docs/SimilaritySettings.md +18 -5
  44. data/docs/SimilaritySettingsModes.md +16 -4
  45. data/docs/SimilaritySettingsViewSettings.md +14 -3
  46. data/docs/SimilarityViewSettings.md +38 -15
  47. data/docs/SimilarityViewerUrlResponse.md +14 -3
  48. data/docs/SimilarityViewerUrlSettings.md +30 -10
  49. data/docs/SimpleSubmissionResponse.md +22 -2
  50. data/docs/SimpleSubmissionResponseAllOf.md +26 -0
  51. data/docs/Submission.md +34 -2
  52. data/docs/SubmissionAllOf.md +38 -0
  53. data/docs/SubmissionApi.md +203 -112
  54. data/docs/SubmissionBase.md +30 -11
  55. data/docs/SubmissionBaseMetadata.md +24 -8
  56. data/docs/SubmissionCompleteWebhookRequest.md +40 -0
  57. data/docs/SubmissionCompleteWebhookRequestAllOf.md +18 -0
  58. data/docs/SubmissionCompleteWebhookRequestAllOfMetadata.md +18 -0
  59. data/docs/SubmissionSizeError.md +16 -4
  60. data/docs/SuccessMessage.md +14 -3
  61. data/docs/Users.md +20 -6
  62. data/docs/ViewerPermissions.md +22 -7
  63. data/docs/Webhook.md +24 -6
  64. data/docs/WebhookAllOf.md +20 -0
  65. data/docs/WebhookApi.md +193 -103
  66. data/docs/WebhookBase.md +20 -6
  67. data/docs/WebhookPathRequest.md +16 -4
  68. data/docs/WebhookWithSecret.md +22 -6
  69. data/docs/WebhookWithSecretAllOf.md +18 -0
  70. data/lib/tca_client/api/eula_api.rb +96 -63
  71. data/lib/tca_client/api/features_api.rb +21 -12
  72. data/lib/tca_client/api/groups_api.rb +225 -155
  73. data/lib/tca_client/api/index_api.rb +46 -27
  74. data/lib/tca_client/api/similarity_api.rb +165 -104
  75. data/lib/tca_client/api/submission_api.rb +140 -97
  76. data/lib/tca_client/api/webhook_api.rb +120 -77
  77. data/lib/tca_client/api_client.rb +61 -57
  78. data/lib/tca_client/api_error.rb +4 -4
  79. data/lib/tca_client/configuration.rb +93 -13
  80. data/lib/tca_client/models/add_group_attachment_request.rb +50 -13
  81. data/lib/tca_client/models/add_group_attachment_response.rb +25 -12
  82. data/lib/tca_client/models/aggregate_group.rb +34 -21
  83. data/lib/tca_client/models/annotations_settings.rb +220 -0
  84. data/lib/tca_client/models/author_metadata_override.rb +26 -13
  85. data/lib/tca_client/models/error.rb +26 -13
  86. data/lib/tca_client/models/eula.rb +27 -14
  87. data/lib/tca_client/models/eula_accept_list_item.rb +28 -15
  88. data/lib/tca_client/models/eula_accept_request.rb +28 -15
  89. data/lib/tca_client/models/eula_version.rb +29 -16
  90. data/lib/tca_client/models/features_enabled.rb +28 -15
  91. data/lib/tca_client/models/features_generation_settings.rb +26 -13
  92. data/lib/tca_client/models/features_similarity.rb +27 -14
  93. data/lib/tca_client/models/features_similarity_view_settings.rb +37 -24
  94. data/lib/tca_client/models/features_tenant.rb +25 -12
  95. data/lib/tca_client/models/features_viewer_modes.rb +26 -13
  96. data/lib/tca_client/models/generate_similarity_pdf.rb +254 -0
  97. data/lib/tca_client/models/{inline_response_200.rb → get_group_attachments200_response.rb} +28 -15
  98. data/lib/tca_client/models/group.rb +29 -16
  99. data/lib/tca_client/models/group_attachment_response.rb +38 -17
  100. data/lib/tca_client/models/group_context.rb +27 -14
  101. data/lib/tca_client/models/index_state_settings.rb +25 -12
  102. data/lib/tca_client/models/indexing_settings.rb +25 -12
  103. data/lib/tca_client/models/pdf_status_response.rb +27 -14
  104. data/lib/tca_client/models/pdf_status_webhook_request.rb +283 -0
  105. data/lib/tca_client/models/rate_limit_error.rb +36 -20
  106. data/lib/tca_client/models/request_pdf_response.rb +25 -12
  107. data/lib/tca_client/models/sidebar.rb +27 -14
  108. data/lib/tca_client/models/similarity_complete_webhook_request.rb +366 -0
  109. data/lib/tca_client/models/similarity_generation_settings.rb +30 -17
  110. data/lib/tca_client/models/similarity_metadata.rb +45 -28
  111. data/lib/tca_client/models/similarity_metadata_all_of.rb +301 -0
  112. data/lib/tca_client/models/{similarity_metadata_top_matches.rb → similarity_metadata_all_of_top_matches.rb} +34 -21
  113. data/lib/tca_client/models/similarity_put_request.rb +27 -14
  114. data/lib/tca_client/models/similarity_score_data.rb +28 -15
  115. data/lib/tca_client/models/similarity_settings.rb +29 -16
  116. data/lib/tca_client/models/similarity_settings_modes.rb +26 -13
  117. data/lib/tca_client/models/similarity_settings_view_settings.rb +25 -12
  118. data/lib/tca_client/models/similarity_view_settings.rb +37 -24
  119. data/lib/tca_client/models/similarity_viewer_url_response.rb +25 -12
  120. data/lib/tca_client/models/similarity_viewer_url_settings.rb +46 -24
  121. data/lib/tca_client/models/simple_submission_response.rb +117 -13
  122. data/lib/tca_client/models/simple_submission_response_all_of.rb +294 -0
  123. data/lib/tca_client/models/submission.rb +191 -13
  124. data/lib/tca_client/models/submission_all_of.rb +368 -0
  125. data/lib/tca_client/models/submission_base.rb +82 -23
  126. data/lib/tca_client/models/submission_base_metadata.rb +30 -17
  127. data/lib/tca_client/models/submission_complete_webhook_request.rb +385 -0
  128. data/lib/tca_client/models/submission_complete_webhook_request_all_of.rb +219 -0
  129. data/lib/tca_client/models/submission_complete_webhook_request_all_of_metadata.rb +219 -0
  130. data/lib/tca_client/models/submission_size_error.rb +36 -20
  131. data/lib/tca_client/models/success_message.rb +25 -12
  132. data/lib/tca_client/models/users.rb +28 -15
  133. data/lib/tca_client/models/viewer_permissions.rb +29 -16
  134. data/lib/tca_client/models/webhook.rb +62 -16
  135. data/lib/tca_client/models/webhook_all_of.rb +235 -0
  136. data/lib/tca_client/models/webhook_base.rb +28 -15
  137. data/lib/tca_client/models/webhook_path_request.rb +26 -13
  138. data/lib/tca_client/models/webhook_with_secret.rb +52 -16
  139. data/lib/tca_client/models/webhook_with_secret_all_of.rb +225 -0
  140. data/lib/tca_client/version.rb +5 -4
  141. data/lib/tca_client.rb +18 -5
  142. data/spec/api/submission_api_spec.rb +2 -2
  143. data/tca_client-1.0.0.gem +0 -0
  144. data/tca_client-1.0.1.gem +0 -0
  145. data/tca_client.gemspec +7 -7
  146. metadata +44 -38
  147. data/docs/InlineResponse200.md +0 -7
  148. 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