Skip to content

Commit 318baff

Browse files
committed
0.2.0 and spec update
1 parent e0acf0d commit 318baff

17 files changed

+84
-16
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
fastcomments (0.1.0)
4+
fastcomments (0.2.0)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM

client/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ script:
88
- bundle install --path vendor/bundle
99
- bundle exec rspec
1010
- gem build fastcomments-client.gemspec
11-
- gem install ./fastcomments-client-0.1.0.gem
11+
- gem install ./fastcomments-client-0.2.0.gem

client/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
77
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

99
- API version: 0.0.0
10-
- Package version: 0.1.0
10+
- Package version: 0.2.0
1111
- Generator version: 7.14.0
1212
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
1313

@@ -24,16 +24,16 @@ gem build fastcomments-client.gemspec
2424
Then either install the gem locally:
2525

2626
```shell
27-
gem install ./fastcomments-client-0.1.0.gem
27+
gem install ./fastcomments-client-0.2.0.gem
2828
```
2929

30-
(for development, run `gem install --dev ./fastcomments-client-0.1.0.gem` to install the development dependencies)
30+
(for development, run `gem install --dev ./fastcomments-client-0.2.0.gem` to install the development dependencies)
3131

3232
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
3333

3434
Finally add this to the Gemfile:
3535

36-
gem 'fastcomments-client', '~> 0.1.0'
36+
gem 'fastcomments-client', '~> 0.2.0'
3737

3838
### Install from Git
3939

client/docs/APICreateUserBadgeResponse.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| ---- | ---- | ----------- | ----- |
77
| **status** | [**APIStatus**](APIStatus.md) | | |
88
| **user_badge** | [**UserBadge**](UserBadge.md) | | |
9+
| **notes** | **Array<String>** | | [optional] |
910

1011
## Example
1112

@@ -14,7 +15,8 @@ require 'fastcomments-client'
1415

1516
instance = FastCommentsClient::APICreateUserBadgeResponse.new(
1617
status: null,
17-
user_badge: null
18+
user_badge: null,
19+
notes: null
1820
)
1921
```
2022

client/docs/CreateUserBadge200Response.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| ---- | ---- | ----------- | ----- |
77
| **status** | [**APIStatus**](APIStatus.md) | | |
88
| **user_badge** | [**UserBadge**](UserBadge.md) | | |
9+
| **notes** | **Array<String>** | | [optional] |
910
| **reason** | **String** | | |
1011
| **code** | **String** | | |
1112
| **secondary_code** | **String** | | [optional] |
@@ -22,6 +23,7 @@ require 'fastcomments-client'
2223
instance = FastCommentsClient::CreateUserBadge200Response.new(
2324
status: null,
2425
user_badge: null,
26+
notes: null,
2527
reason: null,
2628
code: null,
2729
secondary_code: null,

client/docs/CustomConfigParameters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
| **no_styles** | **Boolean** | | [optional] |
5757
| **page_size** | **Integer** | | [optional] |
5858
| **readonly** | **Boolean** | | [optional] |
59+
| **no_new_root_comments** | **Boolean** | | [optional] |
5960
| **require_sso** | **Boolean** | | [optional] |
6061
| **enable_resize_handle** | **Boolean** | | [optional] |
6162
| **restricted_link_domains** | **Array<String>** | | [optional] |
@@ -135,6 +136,7 @@ instance = FastCommentsClient::CustomConfigParameters.new(
135136
no_styles: null,
136137
page_size: null,
137138
readonly: null,
139+
no_new_root_comments: null,
138140
require_sso: null,
139141
enable_resize_handle: null,
140142
restricted_link_domains: null,

client/docs/PatchPageAPIResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
| ---- | ---- | ----------- | ----- |
77
| **reason** | **String** | | [optional] |
88
| **code** | **String** | | [optional] |
9+
| **comments_updated** | **Integer** | | [optional] |
910
| **page** | [**APIPage**](APIPage.md) | | [optional] |
1011
| **status** | **String** | | |
1112

@@ -17,6 +18,7 @@ require 'fastcomments-client'
1718
instance = FastCommentsClient::PatchPageAPIResponse.new(
1819
reason: null,
1920
code: null,
21+
comments_updated: null,
2022
page: null,
2123
status: null
2224
)

client/lib/fastcomments-client/models/api_create_user_badge_response.rb

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class APICreateUserBadgeResponse
1919

2020
attr_accessor :user_badge
2121

22+
attr_accessor :notes
23+
2224
class EnumAttributeValidator
2325
attr_reader :datatype
2426
attr_reader :allowable_values
@@ -45,7 +47,8 @@ def valid?(value)
4547
def self.attribute_map
4648
{
4749
:'status' => :'status',
48-
:'user_badge' => :'userBadge'
50+
:'user_badge' => :'userBadge',
51+
:'notes' => :'notes'
4952
}
5053
end
5154

@@ -63,7 +66,8 @@ def self.acceptable_attributes
6366
def self.openapi_types
6467
{
6568
:'status' => :'APIStatus',
66-
:'user_badge' => :'UserBadge'
69+
:'user_badge' => :'UserBadge',
70+
:'notes' => :'Array<String>'
6771
}
6872
end
6973

@@ -100,6 +104,12 @@ def initialize(attributes = {})
100104
else
101105
self.user_badge = nil
102106
end
107+
108+
if attributes.key?(:'notes')
109+
if (value = attributes[:'notes']).is_a?(Array)
110+
self.notes = value
111+
end
112+
end
103113
end
104114

105115
# Show invalid properties with the reasons. Usually used together with valid?
@@ -153,7 +163,8 @@ def ==(o)
153163
return true if self.equal?(o)
154164
self.class == o.class &&
155165
status == o.status &&
156-
user_badge == o.user_badge
166+
user_badge == o.user_badge &&
167+
notes == o.notes
157168
end
158169

159170
# @see the `==` method
@@ -165,7 +176,7 @@ def eql?(o)
165176
# Calculates hash code according to all attributes.
166177
# @return [Integer] Hash code
167178
def hash
168-
[status, user_badge].hash
179+
[status, user_badge, notes].hash
169180
end
170181

171182
# Builds the object from hash

client/lib/fastcomments-client/models/custom_config_parameters.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ class CustomConfigParameters
119119

120120
attr_accessor :readonly
121121

122+
attr_accessor :no_new_root_comments
123+
122124
attr_accessor :require_sso
123125

124126
attr_accessor :enable_resize_handle
@@ -237,6 +239,7 @@ def self.attribute_map
237239
:'no_styles' => :'noStyles',
238240
:'page_size' => :'pageSize',
239241
:'readonly' => :'readonly',
242+
:'no_new_root_comments' => :'noNewRootComments',
240243
:'require_sso' => :'requireSSO',
241244
:'enable_resize_handle' => :'enableResizeHandle',
242245
:'restricted_link_domains' => :'restrictedLinkDomains',
@@ -325,6 +328,7 @@ def self.openapi_types
325328
:'no_styles' => :'Boolean',
326329
:'page_size' => :'Integer',
327330
:'readonly' => :'Boolean',
331+
:'no_new_root_comments' => :'Boolean',
328332
:'require_sso' => :'Boolean',
329333
:'enable_resize_handle' => :'Boolean',
330334
:'restricted_link_domains' => :'Array<String>',
@@ -596,6 +600,10 @@ def initialize(attributes = {})
596600
self.readonly = attributes[:'readonly']
597601
end
598602

603+
if attributes.key?(:'no_new_root_comments')
604+
self.no_new_root_comments = attributes[:'no_new_root_comments']
605+
end
606+
599607
if attributes.key?(:'require_sso')
600608
self.require_sso = attributes[:'require_sso']
601609
end
@@ -755,6 +763,7 @@ def ==(o)
755763
no_styles == o.no_styles &&
756764
page_size == o.page_size &&
757765
readonly == o.readonly &&
766+
no_new_root_comments == o.no_new_root_comments &&
758767
require_sso == o.require_sso &&
759768
enable_resize_handle == o.enable_resize_handle &&
760769
restricted_link_domains == o.restricted_link_domains &&
@@ -786,7 +795,7 @@ def eql?(o)
786795
# Calculates hash code according to all attributes.
787796
# @return [Integer] Hash code
788797
def hash
789-
[absolute_and_relative_dates, absolute_dates, allow_anon, allow_anon_flag, allow_anon_votes, allowed_languages, collapse_replies, comment_count_format, comment_html_rendering_mode, comment_thread_delete_mode, commenter_name_format, count_above_toggle, custom_css, default_avatar_src, default_sort_direction, default_username, disable_auto_admin_migration, disable_auto_hash_tag_creation, disable_blocking, disable_commenter_comment_delete, disable_commenter_comment_edit, disable_email_inputs, disable_live_commenting, disable_notification_bell, disable_profiles, disable_success_message, disable_toolbar, disable_unverified_label, disable_voting, enable_commenter_links, enable_search, enable_spoilers, enable_third_party_cookie_bypass, enable_view_counts, enable_vote_list, enable_wysiwyg, gif_rating, has_dark_background, header_html, hide_avatars, hide_comments_under_count_text_format, image_content_profanity_level, input_after_comments, limit_comments_by_groups, locale, max_comment_character_length, max_comment_created_count_pupm, no_custom_config, no_image_uploads, no_styles, page_size, readonly, require_sso, enable_resize_handle, restricted_link_domains, show_badges_in_top_bar, show_comment_save_success, show_live_right_away, show_question, spam_rules, sso_sec_lvl, translations, use_show_comments_toggle, use_single_line_comment_input, vote_style, widget_question_id, widget_question_results_style, widget_question_style, widget_question_when_to_save, widget_questions_required, widget_sub_question_visibility, wrap].hash
798+
[absolute_and_relative_dates, absolute_dates, allow_anon, allow_anon_flag, allow_anon_votes, allowed_languages, collapse_replies, comment_count_format, comment_html_rendering_mode, comment_thread_delete_mode, commenter_name_format, count_above_toggle, custom_css, default_avatar_src, default_sort_direction, default_username, disable_auto_admin_migration, disable_auto_hash_tag_creation, disable_blocking, disable_commenter_comment_delete, disable_commenter_comment_edit, disable_email_inputs, disable_live_commenting, disable_notification_bell, disable_profiles, disable_success_message, disable_toolbar, disable_unverified_label, disable_voting, enable_commenter_links, enable_search, enable_spoilers, enable_third_party_cookie_bypass, enable_view_counts, enable_vote_list, enable_wysiwyg, gif_rating, has_dark_background, header_html, hide_avatars, hide_comments_under_count_text_format, image_content_profanity_level, input_after_comments, limit_comments_by_groups, locale, max_comment_character_length, max_comment_created_count_pupm, no_custom_config, no_image_uploads, no_styles, page_size, readonly, no_new_root_comments, require_sso, enable_resize_handle, restricted_link_domains, show_badges_in_top_bar, show_comment_save_success, show_live_right_away, show_question, spam_rules, sso_sec_lvl, translations, use_show_comments_toggle, use_single_line_comment_input, vote_style, widget_question_id, widget_question_results_style, widget_question_style, widget_question_when_to_save, widget_questions_required, widget_sub_question_visibility, wrap].hash
790799
end
791800

792801
# Builds the object from hash

client/lib/fastcomments-client/models/patch_page_api_response.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class PatchPageAPIResponse
1919

2020
attr_accessor :code
2121

22+
attr_accessor :comments_updated
23+
2224
attr_accessor :page
2325

2426
attr_accessor :status
@@ -28,6 +30,7 @@ def self.attribute_map
2830
{
2931
:'reason' => :'reason',
3032
:'code' => :'code',
33+
:'comments_updated' => :'commentsUpdated',
3134
:'page' => :'page',
3235
:'status' => :'status'
3336
}
@@ -48,6 +51,7 @@ def self.openapi_types
4851
{
4952
:'reason' => :'String',
5053
:'code' => :'String',
54+
:'comments_updated' => :'Integer',
5155
:'page' => :'APIPage',
5256
:'status' => :'String'
5357
}
@@ -83,6 +87,10 @@ def initialize(attributes = {})
8387
self.code = attributes[:'code']
8488
end
8589

90+
if attributes.key?(:'comments_updated')
91+
self.comments_updated = attributes[:'comments_updated']
92+
end
93+
8694
if attributes.key?(:'page')
8795
self.page = attributes[:'page']
8896
end
@@ -131,6 +139,7 @@ def ==(o)
131139
self.class == o.class &&
132140
reason == o.reason &&
133141
code == o.code &&
142+
comments_updated == o.comments_updated &&
134143
page == o.page &&
135144
status == o.status
136145
end
@@ -144,7 +153,7 @@ def eql?(o)
144153
# Calculates hash code according to all attributes.
145154
# @return [Integer] Hash code
146155
def hash
147-
[reason, code, page, status].hash
156+
[reason, code, comments_updated, page, status].hash
148157
end
149158

150159
# Builds the object from hash

0 commit comments

Comments
 (0)