fastcomments 1.2.0 → 1.2.1
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.
- checksums.yaml +4 -4
- data/client/README.md +27 -0
- data/client/docs/APIComment.md +1 -1
- data/client/docs/APICommentBase.md +1 -1
- data/client/docs/APICommentBaseMeta.md +20 -0
- data/client/docs/APITicket.md +34 -0
- data/client/docs/APITicketDetail.md +42 -0
- data/client/docs/APITicketFile.md +36 -0
- data/client/docs/APIUserSubscription.md +2 -0
- data/client/docs/ChangeTicketState200Response.md +34 -0
- data/client/docs/ChangeTicketStateBody.md +18 -0
- data/client/docs/ChangeTicketStateResponse.md +20 -0
- data/client/docs/CommentData.md +3 -1
- data/client/docs/CreateAPIUserSubscriptionData.md +2 -0
- data/client/docs/CreateCommentParams.md +2 -0
- data/client/docs/CreateTenantPackageBody.md +2 -0
- data/client/docs/CreateTicket200Response.md +34 -0
- data/client/docs/CreateTicketBody.md +18 -0
- data/client/docs/CreateTicketResponse.md +20 -0
- data/client/docs/CustomConfigParameters.md +21 -1
- data/client/docs/DefaultApi.md +384 -0
- data/client/docs/FComment.md +3 -1
- data/client/docs/FCommentMeta.md +2 -0
- data/client/docs/GetTicket200Response.md +36 -0
- data/client/docs/GetTicketResponse.md +22 -0
- data/client/docs/GetTickets200Response.md +34 -0
- data/client/docs/GetTicketsResponse.md +20 -0
- data/client/docs/HeaderAccountNotification.md +34 -0
- data/client/docs/HeaderState.md +3 -1
- data/client/docs/MentionAutoCompleteMode.md +15 -0
- data/client/docs/Moderator.md +3 -1
- data/client/docs/PublicApi.md +3 -1
- data/client/docs/ReplaceTenantPackageBody.md +2 -0
- data/client/docs/SearchUsers200Response.md +2 -0
- data/client/docs/SearchUsersSectionedResponse.md +20 -0
- data/client/docs/TOSConfig.md +22 -0
- data/client/docs/TenantPackage.md +4 -0
- data/client/docs/UpdatableCommentParams.md +1 -1
- data/client/docs/UpdateAPIUserSubscriptionData.md +18 -0
- data/client/docs/UpdateSubscriptionAPIResponse.md +24 -0
- data/client/docs/UpdateTenantPackageBody.md +2 -0
- data/client/docs/User.md +17 -1
- data/client/docs/UserBadge.md +3 -1
- data/client/docs/UserBadgeProgress.md +3 -1
- data/client/docs/UserSearchSection.md +15 -0
- data/client/docs/UserSearchSectionResult.md +20 -0
- data/client/docs/UserSessionInfo.md +2 -0
- data/client/lib/fastcomments-client/api/default_api.rb +383 -0
- data/client/lib/fastcomments-client/api/public_api.rb +7 -0
- data/client/lib/fastcomments-client/models/api_comment.rb +1 -1
- data/client/lib/fastcomments-client/models/api_comment_base.rb +1 -1
- data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +156 -0
- data/client/lib/fastcomments-client/models/api_ticket.rb +374 -0
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +432 -0
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +381 -0
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +10 -1
- data/client/lib/fastcomments-client/models/change_ticket_state200_response.rb +103 -0
- data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +164 -0
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +212 -0
- data/client/lib/fastcomments-client/models/comment_data.rb +13 -4
- data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +10 -1
- data/client/lib/fastcomments-client/models/create_comment_params.rb +10 -1
- data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +10 -1
- data/client/lib/fastcomments-client/models/create_ticket200_response.rb +103 -0
- data/client/lib/fastcomments-client/models/create_ticket_body.rb +164 -0
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +212 -0
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +97 -4
- data/client/lib/fastcomments-client/models/f_comment.rb +13 -4
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +10 -1
- data/client/lib/fastcomments-client/models/get_ticket200_response.rb +103 -0
- data/client/lib/fastcomments-client/models/get_ticket_response.rb +240 -0
- data/client/lib/fastcomments-client/models/get_tickets200_response.rb +103 -0
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +214 -0
- data/client/lib/fastcomments-client/models/header_account_notification.rb +322 -0
- data/client/lib/fastcomments-client/models/header_state.rb +32 -4
- data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +41 -0
- data/client/lib/fastcomments-client/models/moderator.rb +14 -5
- data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +10 -1
- data/client/lib/fastcomments-client/models/search_users200_response.rb +2 -1
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +214 -0
- data/client/lib/fastcomments-client/models/tenant_package.rb +36 -1
- data/client/lib/fastcomments-client/models/tos_config.rb +168 -0
- data/client/lib/fastcomments-client/models/updatable_comment_params.rb +1 -1
- data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +147 -0
- data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +191 -0
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +10 -1
- data/client/lib/fastcomments-client/models/user.rb +76 -4
- data/client/lib/fastcomments-client/models/user_badge.rb +14 -4
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +13 -4
- data/client/lib/fastcomments-client/models/user_search_section.rb +41 -0
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +214 -0
- data/client/lib/fastcomments-client/models/user_session_info.rb +10 -1
- data/client/lib/fastcomments-client.rb +22 -0
- data/client/spec/api/default_api_spec.rb +64 -0
- data/client/spec/api/public_api_spec.rb +1 -0
- data/client/spec/models/api_comment_base_meta_spec.rb +42 -0
- data/client/spec/models/api_ticket_detail_spec.rb +108 -0
- data/client/spec/models/api_ticket_file_spec.rb +90 -0
- data/client/spec/models/api_ticket_spec.rb +84 -0
- data/client/spec/models/api_user_subscription_spec.rb +6 -0
- data/client/spec/models/change_ticket_state200_response_spec.rb +21 -0
- data/client/spec/models/change_ticket_state_body_spec.rb +36 -0
- data/client/spec/models/change_ticket_state_response_spec.rb +42 -0
- data/client/spec/models/comment_data_spec.rb +6 -0
- data/client/spec/models/create_api_user_subscription_data_spec.rb +6 -0
- data/client/spec/models/create_comment_params_spec.rb +6 -0
- data/client/spec/models/create_tenant_package_body_spec.rb +6 -0
- data/client/spec/models/create_ticket200_response_spec.rb +21 -0
- data/client/spec/models/create_ticket_body_spec.rb +36 -0
- data/client/spec/models/create_ticket_response_spec.rb +42 -0
- data/client/spec/models/custom_config_parameters_spec.rb +60 -0
- data/client/spec/models/f_comment_meta_spec.rb +6 -0
- data/client/spec/models/f_comment_spec.rb +6 -0
- data/client/spec/models/get_ticket200_response_spec.rb +21 -0
- data/client/spec/models/get_ticket_response_spec.rb +48 -0
- data/client/spec/models/get_tickets200_response_spec.rb +21 -0
- data/client/spec/models/get_tickets_response_spec.rb +42 -0
- data/client/spec/models/header_account_notification_spec.rb +84 -0
- data/client/spec/models/header_state_spec.rb +6 -0
- data/client/spec/models/mention_auto_complete_mode_spec.rb +30 -0
- data/client/spec/models/moderator_spec.rb +6 -0
- data/client/spec/models/replace_tenant_package_body_spec.rb +6 -0
- data/client/spec/models/search_users_sectioned_response_spec.rb +42 -0
- data/client/spec/models/tenant_package_spec.rb +12 -0
- data/client/spec/models/tos_config_spec.rb +48 -0
- data/client/spec/models/update_api_user_subscription_data_spec.rb +36 -0
- data/client/spec/models/update_subscription_api_response_spec.rb +54 -0
- data/client/spec/models/update_tenant_package_body_spec.rb +6 -0
- data/client/spec/models/user_badge_progress_spec.rb +6 -0
- data/client/spec/models/user_badge_spec.rb +6 -0
- data/client/spec/models/user_search_section_result_spec.rb +42 -0
- data/client/spec/models/user_search_section_spec.rb +30 -0
- data/client/spec/models/user_session_info_spec.rb +6 -0
- data/client/spec/models/user_spec.rb +48 -0
- data/lib/fastcomments.rb +1 -1
- metadata +68 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::GetTicketsResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::GetTicketsResponse do
|
|
21
|
+
#let(:instance) { FastCommentsClient::GetTicketsResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetTicketsResponse' do
|
|
24
|
+
it 'should create an instance of GetTicketsResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::GetTicketsResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "tickets"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::HeaderAccountNotification
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::HeaderAccountNotification do
|
|
21
|
+
#let(:instance) { FastCommentsClient::HeaderAccountNotification.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of HeaderAccountNotification' do
|
|
24
|
+
it 'should create an instance of HeaderAccountNotification' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::HeaderAccountNotification)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "title"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "message"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "messages_by_locale"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "dates"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "severity"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "link_url"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "link_text"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "created_at"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
end
|
|
@@ -57,4 +57,10 @@ describe FastCommentsClient::HeaderState do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
describe 'test attribute "account_notifications"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
60
66
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::MentionAutoCompleteMode
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::MentionAutoCompleteMode do
|
|
21
|
+
#let(:instance) { FastCommentsClient::MentionAutoCompleteMode.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of MentionAutoCompleteMode' do
|
|
24
|
+
it 'should create an instance of MentionAutoCompleteMode' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::MentionAutoCompleteMode)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
end
|
|
@@ -135,4 +135,10 @@ describe FastCommentsClient::Moderator do
|
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
+
describe 'test attribute "is_email_suppressed"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
138
144
|
end
|
|
@@ -93,6 +93,12 @@ describe FastCommentsClient::ReplaceTenantPackageBody do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
describe 'test attribute "max_custom_collection_size"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
96
102
|
describe 'test attribute "has_debranding"' do
|
|
97
103
|
it 'should work' do
|
|
98
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::SearchUsersSectionedResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::SearchUsersSectionedResponse do
|
|
21
|
+
#let(:instance) { FastCommentsClient::SearchUsersSectionedResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchUsersSectionedResponse' do
|
|
24
|
+
it 'should create an instance of SearchUsersSectionedResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::SearchUsersSectionedResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "status"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "sections"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -141,6 +141,12 @@ describe FastCommentsClient::TenantPackage do
|
|
|
141
141
|
end
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
+
describe 'test attribute "max_custom_collection_size"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
144
150
|
describe 'test attribute "has_white_labeling"' do
|
|
145
151
|
it 'should work' do
|
|
146
152
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -189,6 +195,12 @@ describe FastCommentsClient::TenantPackage do
|
|
|
189
195
|
end
|
|
190
196
|
end
|
|
191
197
|
|
|
198
|
+
describe 'test attribute "enable_canvas_lti"' do
|
|
199
|
+
it 'should work' do
|
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
192
204
|
describe 'test attribute "flex_page_load_cost_cents"' do
|
|
193
205
|
it 'should work' do
|
|
194
206
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::TOSConfig
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::TOSConfig do
|
|
21
|
+
#let(:instance) { FastCommentsClient::TOSConfig.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of TOSConfig' do
|
|
24
|
+
it 'should create an instance of TOSConfig' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::TOSConfig)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "enabled"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "text_by_locale"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "last_updated"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::UpdateAPIUserSubscriptionData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::UpdateAPIUserSubscriptionData do
|
|
21
|
+
#let(:instance) { FastCommentsClient::UpdateAPIUserSubscriptionData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UpdateAPIUserSubscriptionData' do
|
|
24
|
+
it 'should create an instance of UpdateAPIUserSubscriptionData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::UpdateAPIUserSubscriptionData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "notification_frequency"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::UpdateSubscriptionAPIResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::UpdateSubscriptionAPIResponse do
|
|
21
|
+
#let(:instance) { FastCommentsClient::UpdateSubscriptionAPIResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UpdateSubscriptionAPIResponse' do
|
|
24
|
+
it 'should create an instance of UpdateSubscriptionAPIResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::UpdateSubscriptionAPIResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "reason"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "code"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "subscription"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "status"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -93,6 +93,12 @@ describe FastCommentsClient::UpdateTenantPackageBody do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
describe 'test attribute "max_custom_collection_size"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
96
102
|
describe 'test attribute "has_debranding"' do
|
|
97
103
|
it 'should work' do
|
|
98
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -75,4 +75,10 @@ describe FastCommentsClient::UserBadgeProgress do
|
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
describe 'test attribute "tos_accepted_at"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
78
84
|
end
|
|
@@ -135,4 +135,10 @@ describe FastCommentsClient::UserBadge do
|
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
+
describe 'test attribute "url_id"' do
|
|
139
|
+
it 'should work' do
|
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
138
144
|
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::UserSearchSectionResult
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::UserSearchSectionResult do
|
|
21
|
+
#let(:instance) { FastCommentsClient::UserSearchSectionResult.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UserSearchSectionResult' do
|
|
24
|
+
it 'should create an instance of UserSearchSectionResult' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::UserSearchSectionResult)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "section"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "users"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#fastcomments
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0-SNAPSHOT
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for FastCommentsClient::UserSearchSection
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe FastCommentsClient::UserSearchSection do
|
|
21
|
+
#let(:instance) { FastCommentsClient::UserSearchSection.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UserSearchSection' do
|
|
24
|
+
it 'should create an instance of UserSearchSection' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(FastCommentsClient::UserSearchSection)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
end
|
|
@@ -87,6 +87,12 @@ describe FastCommentsClient::UserSessionInfo do
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
describe 'test attribute "needs_tos"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
describe 'test attribute "session_id"' do
|
|
91
97
|
it 'should work' do
|
|
92
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -69,6 +69,18 @@ describe FastCommentsClient::User do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "backup_email"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "pending_backup_email"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
72
84
|
describe 'test attribute "sign_up_date"' do
|
|
73
85
|
it 'should work' do
|
|
74
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -201,6 +213,12 @@ describe FastCommentsClient::User do
|
|
|
201
213
|
end
|
|
202
214
|
end
|
|
203
215
|
|
|
216
|
+
describe 'test attribute "is_site_admin"' do
|
|
217
|
+
it 'should work' do
|
|
218
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
204
222
|
describe 'test attribute "moderator_ids"' do
|
|
205
223
|
it 'should work' do
|
|
206
224
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -231,6 +249,30 @@ describe FastCommentsClient::User do
|
|
|
231
249
|
end
|
|
232
250
|
end
|
|
233
251
|
|
|
252
|
+
describe 'test attribute "notification_frequency"' do
|
|
253
|
+
it 'should work' do
|
|
254
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
describe 'test attribute "admin_notification_frequency"' do
|
|
259
|
+
it 'should work' do
|
|
260
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
261
|
+
end
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
describe 'test attribute "last_tenant_notification_sent_date"' do
|
|
265
|
+
it 'should work' do
|
|
266
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
267
|
+
end
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
describe 'test attribute "last_reply_notification_sent_date"' do
|
|
271
|
+
it 'should work' do
|
|
272
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
273
|
+
end
|
|
274
|
+
end
|
|
275
|
+
|
|
234
276
|
describe 'test attribute "ignored_add_to_my_site_messages"' do
|
|
235
277
|
it 'should work' do
|
|
236
278
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -333,4 +375,10 @@ describe FastCommentsClient::User do
|
|
|
333
375
|
end
|
|
334
376
|
end
|
|
335
377
|
|
|
378
|
+
describe 'test attribute "is_email_suppressed"' do
|
|
379
|
+
it 'should work' do
|
|
380
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
381
|
+
end
|
|
382
|
+
end
|
|
383
|
+
|
|
336
384
|
end
|
data/lib/fastcomments.rb
CHANGED