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.
- checksums.yaml +4 -4
- data/docs/AddGroupAttachmentRequest.md +16 -4
- data/docs/AddGroupAttachmentResponse.md +14 -3
- data/docs/AggregateGroup.md +24 -8
- data/docs/AnnotationsSettings.md +18 -0
- data/docs/AuthorMetadataOverride.md +16 -4
- data/docs/EULAApi.md +166 -92
- data/docs/Error.md +16 -4
- data/docs/Eula.md +18 -5
- data/docs/EulaAcceptListItem.md +20 -6
- data/docs/EulaAcceptRequest.md +20 -6
- data/docs/EulaVersion.md +22 -7
- data/docs/FeaturesApi.md +41 -23
- data/docs/FeaturesEnabled.md +20 -6
- data/docs/FeaturesGenerationSettings.md +16 -4
- data/docs/FeaturesSimilarity.md +18 -5
- data/docs/FeaturesSimilarityViewSettings.md +38 -15
- data/docs/FeaturesTenant.md +14 -3
- data/docs/FeaturesViewerModes.md +16 -4
- data/docs/GenerateSimilarityPDF.md +18 -0
- data/docs/GetGroupAttachments200Response.md +18 -0
- data/docs/Group.md +18 -5
- data/docs/GroupAttachmentResponse.md +20 -6
- data/docs/GroupContext.md +18 -5
- data/docs/GroupsApi.md +321 -177
- data/docs/IndexApi.md +84 -44
- data/docs/IndexStateSettings.md +14 -3
- data/docs/IndexingSettings.md +14 -3
- data/docs/PDFStatusWebhookRequest.md +24 -0
- data/docs/PdfStatusResponse.md +14 -3
- data/docs/RateLimitError.md +16 -4
- data/docs/RequestPdfResponse.md +14 -3
- data/docs/Sidebar.md +14 -3
- data/docs/SimilarityApi.md +239 -129
- data/docs/SimilarityCompleteWebhookRequest.md +38 -0
- data/docs/SimilarityGenerationSettings.md +20 -6
- data/docs/SimilarityMetadata.md +32 -12
- data/docs/SimilarityMetadataAllOf.md +28 -0
- data/docs/SimilarityMetadataAllOfTopMatches.md +30 -0
- data/docs/SimilarityPutRequest.md +18 -5
- data/docs/SimilarityScoreData.md +20 -6
- data/docs/SimilaritySettings.md +18 -5
- data/docs/SimilaritySettingsModes.md +16 -4
- data/docs/SimilaritySettingsViewSettings.md +14 -3
- data/docs/SimilarityViewSettings.md +38 -15
- data/docs/SimilarityViewerUrlResponse.md +14 -3
- data/docs/SimilarityViewerUrlSettings.md +30 -10
- data/docs/SimpleSubmissionResponse.md +22 -2
- data/docs/SimpleSubmissionResponseAllOf.md +26 -0
- data/docs/Submission.md +34 -2
- data/docs/SubmissionAllOf.md +38 -0
- data/docs/SubmissionApi.md +202 -111
- data/docs/SubmissionBase.md +30 -11
- data/docs/SubmissionBaseMetadata.md +24 -8
- data/docs/SubmissionCompleteWebhookRequest.md +40 -0
- data/docs/SubmissionCompleteWebhookRequestAllOf.md +18 -0
- data/docs/SubmissionCompleteWebhookRequestAllOfMetadata.md +18 -0
- data/docs/SubmissionSizeError.md +16 -4
- data/docs/SuccessMessage.md +14 -3
- data/docs/Users.md +20 -6
- data/docs/ViewerPermissions.md +22 -7
- data/docs/Webhook.md +24 -6
- data/docs/WebhookAllOf.md +20 -0
- data/docs/WebhookApi.md +193 -103
- data/docs/WebhookBase.md +20 -6
- data/docs/WebhookPathRequest.md +16 -4
- data/docs/WebhookWithSecret.md +22 -6
- data/docs/WebhookWithSecretAllOf.md +18 -0
- data/lib/tca_client/api/eula_api.rb +96 -63
- data/lib/tca_client/api/features_api.rb +21 -12
- data/lib/tca_client/api/groups_api.rb +225 -155
- data/lib/tca_client/api/index_api.rb +46 -27
- data/lib/tca_client/api/similarity_api.rb +165 -104
- data/lib/tca_client/api/submission_api.rb +132 -89
- data/lib/tca_client/api/webhook_api.rb +120 -77
- data/lib/tca_client/api_client.rb +61 -57
- data/lib/tca_client/api_error.rb +4 -4
- data/lib/tca_client/configuration.rb +93 -13
- data/lib/tca_client/models/add_group_attachment_request.rb +50 -13
- data/lib/tca_client/models/add_group_attachment_response.rb +25 -12
- data/lib/tca_client/models/aggregate_group.rb +34 -21
- data/lib/tca_client/models/annotations_settings.rb +220 -0
- data/lib/tca_client/models/author_metadata_override.rb +26 -13
- data/lib/tca_client/models/error.rb +26 -13
- data/lib/tca_client/models/eula.rb +27 -14
- data/lib/tca_client/models/eula_accept_list_item.rb +28 -15
- data/lib/tca_client/models/eula_accept_request.rb +28 -15
- data/lib/tca_client/models/eula_version.rb +29 -16
- data/lib/tca_client/models/features_enabled.rb +28 -15
- data/lib/tca_client/models/features_generation_settings.rb +26 -13
- data/lib/tca_client/models/features_similarity.rb +27 -14
- data/lib/tca_client/models/features_similarity_view_settings.rb +37 -24
- data/lib/tca_client/models/features_tenant.rb +25 -12
- data/lib/tca_client/models/features_viewer_modes.rb +26 -13
- data/lib/tca_client/models/generate_similarity_pdf.rb +254 -0
- data/lib/tca_client/models/{inline_response_200.rb → get_group_attachments200_response.rb} +28 -15
- data/lib/tca_client/models/group.rb +29 -16
- data/lib/tca_client/models/group_attachment_response.rb +30 -17
- data/lib/tca_client/models/group_context.rb +27 -14
- data/lib/tca_client/models/index_state_settings.rb +25 -12
- data/lib/tca_client/models/indexing_settings.rb +25 -12
- data/lib/tca_client/models/pdf_status_response.rb +27 -14
- data/lib/tca_client/models/pdf_status_webhook_request.rb +283 -0
- data/lib/tca_client/models/rate_limit_error.rb +36 -20
- data/lib/tca_client/models/request_pdf_response.rb +25 -12
- data/lib/tca_client/models/sidebar.rb +27 -14
- data/lib/tca_client/models/similarity_complete_webhook_request.rb +366 -0
- data/lib/tca_client/models/similarity_generation_settings.rb +30 -17
- data/lib/tca_client/models/similarity_metadata.rb +45 -28
- data/lib/tca_client/models/similarity_metadata_all_of.rb +301 -0
- data/lib/tca_client/models/{similarity_metadata_top_matches.rb → similarity_metadata_all_of_top_matches.rb} +34 -21
- data/lib/tca_client/models/similarity_put_request.rb +27 -14
- data/lib/tca_client/models/similarity_score_data.rb +28 -15
- data/lib/tca_client/models/similarity_settings.rb +29 -16
- data/lib/tca_client/models/similarity_settings_modes.rb +26 -13
- data/lib/tca_client/models/similarity_settings_view_settings.rb +25 -12
- data/lib/tca_client/models/similarity_view_settings.rb +37 -24
- data/lib/tca_client/models/similarity_viewer_url_response.rb +25 -12
- data/lib/tca_client/models/similarity_viewer_url_settings.rb +46 -24
- data/lib/tca_client/models/simple_submission_response.rb +117 -13
- data/lib/tca_client/models/simple_submission_response_all_of.rb +294 -0
- data/lib/tca_client/models/submission.rb +191 -13
- data/lib/tca_client/models/submission_all_of.rb +368 -0
- data/lib/tca_client/models/submission_base.rb +82 -23
- data/lib/tca_client/models/submission_base_metadata.rb +30 -17
- data/lib/tca_client/models/submission_complete_webhook_request.rb +385 -0
- data/lib/tca_client/models/submission_complete_webhook_request_all_of.rb +219 -0
- data/lib/tca_client/models/submission_complete_webhook_request_all_of_metadata.rb +219 -0
- data/lib/tca_client/models/submission_size_error.rb +36 -20
- data/lib/tca_client/models/success_message.rb +25 -12
- data/lib/tca_client/models/users.rb +28 -15
- data/lib/tca_client/models/viewer_permissions.rb +29 -16
- data/lib/tca_client/models/webhook.rb +62 -16
- data/lib/tca_client/models/webhook_all_of.rb +235 -0
- data/lib/tca_client/models/webhook_base.rb +28 -15
- data/lib/tca_client/models/webhook_path_request.rb +26 -13
- data/lib/tca_client/models/webhook_with_secret.rb +52 -16
- data/lib/tca_client/models/webhook_with_secret_all_of.rb +225 -0
- data/lib/tca_client/version.rb +5 -4
- data/lib/tca_client.rb +18 -5
- data/tca_client-1.0.0.gem +0 -0
- data/tca_client.gemspec +7 -7
- metadata +34 -29
- data/docs/InlineResponse200.md +0 -7
- 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://
|
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
|
-
|
11
|
-
|
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
|
-
###
|
17
|
+
### Examples
|
18
|
+
|
16
19
|
```ruby
|
17
|
-
|
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['
|
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['
|
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 = '
|
29
|
-
x_turnitin_integration_version = '
|
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 "
|
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
|
45
|
-
|
46
|
-
**x_turnitin_integration_name** | **String
|
47
|
-
**x_turnitin_integration_version** | **String
|
48
|
-
**id** | **String
|
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
|
-
|
61
|
-
|
80
|
+
- **Content-Type**: Not defined
|
81
|
+
- **Accept**: application/json
|
62
82
|
|
63
83
|
|
84
|
+
## index_submission
|
64
85
|
|
65
|
-
|
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
|
-
###
|
90
|
+
### Examples
|
91
|
+
|
71
92
|
```ruby
|
72
|
-
|
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['
|
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['
|
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 = '
|
84
|
-
x_turnitin_integration_version = '
|
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 "
|
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
|
100
|
-
|
101
|
-
**x_turnitin_integration_name** | **String
|
102
|
-
**x_turnitin_integration_version** | **String
|
103
|
-
**id** | **String
|
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
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
157
|
+
- **Content-Type**: Not defined
|
158
|
+
- **Accept**: application/json
|
119
159
|
|
data/docs/IndexStateSettings.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
# TCAClient::IndexStateSettings
|
2
2
|
|
3
3
|
## Properties
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
|
data/docs/IndexingSettings.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
# TCAClient::IndexingSettings
|
2
2
|
|
3
3
|
## Properties
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
+
|
data/docs/PdfStatusResponse.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
# TCAClient::PdfStatusResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
|
data/docs/RateLimitError.md
CHANGED
@@ -1,8 +1,20 @@
|
|
1
1
|
# TCAClient::RateLimitError
|
2
2
|
|
3
3
|
## Properties
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
**
|
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
|
|
data/docs/RequestPdfResponse.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
1
|
# TCAClient::RequestPdfResponse
|
2
2
|
|
3
3
|
## Properties
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
5
|
-
|
6
|
-
|
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's license, request parameter, as well as the viewer'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
|
|