ragie_ruby_sdk 1.0.19 → 1.0.21

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5b85ce791aa2235a5bcc7872199cf969bd5255c647c84df260c6f431b8d8e07
4
- data.tar.gz: dff0dc4ca1b92f66e2cad34d83bc795e56aab3c014224d1d59fc116091a026c1
3
+ metadata.gz: eeec4a8f4f2fb5d7a4851f8b761d00be5a68332af84a138e9941a9739e409521
4
+ data.tar.gz: 1f175464710ba0ec6a76c20ef3ced39ac425bf7677338db75c292e49ec2c0e46
5
5
  SHA512:
6
- metadata.gz: 0fd4c1fb1606ca3e0dcf963de44ad2ce40b9a745402151e2268919e9e64637f5479de879485f73a149d27d17e046b473382f87ab4f2daa4273f076a4392e8478
7
- data.tar.gz: b7c222f21e02e5cea8aeafaea8fbd190d0d7959a7f07d40ea8195f4bbc680348515cce1f3fdee8df46b10c4491bb99e6e2656c7d268599b0631b4ddbe4dd13ec
6
+ metadata.gz: 3c8760fcf872afc5505efac3e273b42937acda7e4bed90876b93e5b7bbe5d849b9359813d81e764bbf3c95f52d0af2fde3f87ebd3045ab98cdc28a6282fe39ca
7
+ data.tar.gz: 39fb3d12ac43954f3c9a266a03a5108b28667d9fafc998d4c77a18e22d946a92bc8f3eef755c5d41f6ff6bdf4f85ef24f45eab05aad0565dd1de683cc91be209
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0.0
10
- - Package version: 1.0.18
10
+ - Package version: 1.0.20
11
11
  - Generator version: 7.17.0-SNAPSHOT
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
 
@@ -24,16 +24,16 @@ gem build ragie_ruby_sdk.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ragie_ruby_sdk-1.0.18.gem
27
+ gem install ./ragie_ruby_sdk-1.0.20.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ragie_ruby_sdk-1.0.18.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ragie_ruby_sdk-1.0.20.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ragie_ruby_sdk', '~> 1.0.18'
36
+ gem 'ragie_ruby_sdk', '~> 1.0.20'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | | |
8
+ | **description** | **String** | | [optional] |
8
9
  | **pages_hosted_limit_monthly** | **Integer** | | [optional] |
9
10
  | **pages_processed_limit_monthly** | **Integer** | | [optional] |
10
11
  | **pages_hosted_limit_max** | **Integer** | | [optional] |
@@ -26,6 +27,7 @@ require 'ragie_ruby_sdk'
26
27
 
27
28
  instance = RagieRubySdk::CreatePartitionParams.new(
28
29
  name: null,
30
+ description: null,
29
31
  pages_hosted_limit_monthly: null,
30
32
  pages_processed_limit_monthly: null,
31
33
  pages_hosted_limit_max: null,
data/docs/Partition.md CHANGED
@@ -7,6 +7,7 @@
7
7
  | **name** | **String** | | |
8
8
  | **is_default** | **Boolean** | | |
9
9
  | **limit_exceeded_at** | **Time** | | [optional] |
10
+ | **description** | **String** | | |
10
11
  | **limits** | [**PartitionLimits**](PartitionLimits.md) | | |
11
12
 
12
13
  ## Example
@@ -18,6 +19,7 @@ instance = RagieRubySdk::Partition.new(
18
19
  name: null,
19
20
  is_default: null,
20
21
  limit_exceeded_at: null,
22
+ description: null,
21
23
  limits: null
22
24
  )
23
25
  ```
@@ -7,6 +7,7 @@
7
7
  | **name** | **String** | | |
8
8
  | **is_default** | **Boolean** | | |
9
9
  | **limit_exceeded_at** | **Time** | | [optional] |
10
+ | **description** | **String** | | |
10
11
  | **limits** | [**PartitionLimits**](PartitionLimits.md) | | |
11
12
  | **stats** | [**PartitionStats**](PartitionStats.md) | | |
12
13
 
@@ -19,6 +20,7 @@ instance = RagieRubySdk::PartitionDetail.new(
19
20
  name: null,
20
21
  is_default: null,
21
22
  limit_exceeded_at: null,
23
+ description: null,
22
24
  limits: null,
23
25
  stats: null
24
26
  )
@@ -17,6 +17,8 @@ module RagieRubySdk
17
17
  class CreatePartitionParams
18
18
  attr_accessor :name
19
19
 
20
+ attr_accessor :description
21
+
20
22
  attr_accessor :pages_hosted_limit_monthly
21
23
 
22
24
  attr_accessor :pages_processed_limit_monthly
@@ -47,6 +49,7 @@ module RagieRubySdk
47
49
  def self.attribute_map
48
50
  {
49
51
  :'name' => :'name',
52
+ :'description' => :'description',
50
53
  :'pages_hosted_limit_monthly' => :'pages_hosted_limit_monthly',
51
54
  :'pages_processed_limit_monthly' => :'pages_processed_limit_monthly',
52
55
  :'pages_hosted_limit_max' => :'pages_hosted_limit_max',
@@ -77,6 +80,7 @@ module RagieRubySdk
77
80
  def self.openapi_types
78
81
  {
79
82
  :'name' => :'String',
83
+ :'description' => :'String',
80
84
  :'pages_hosted_limit_monthly' => :'Integer',
81
85
  :'pages_processed_limit_monthly' => :'Integer',
82
86
  :'pages_hosted_limit_max' => :'Integer',
@@ -96,6 +100,7 @@ module RagieRubySdk
96
100
  # List of attributes with nullable: true
97
101
  def self.openapi_nullable
98
102
  Set.new([
103
+ :'description',
99
104
  :'pages_hosted_limit_monthly',
100
105
  :'pages_processed_limit_monthly',
101
106
  :'pages_hosted_limit_max',
@@ -134,6 +139,10 @@ module RagieRubySdk
134
139
  self.name = nil
135
140
  end
136
141
 
142
+ if attributes.key?(:'description')
143
+ self.description = attributes[:'description']
144
+ end
145
+
137
146
  if attributes.key?(:'pages_hosted_limit_monthly')
138
147
  self.pages_hosted_limit_monthly = attributes[:'pages_hosted_limit_monthly']
139
148
  end
@@ -405,6 +414,7 @@ module RagieRubySdk
405
414
  return true if self.equal?(o)
406
415
  self.class == o.class &&
407
416
  name == o.name &&
417
+ description == o.description &&
408
418
  pages_hosted_limit_monthly == o.pages_hosted_limit_monthly &&
409
419
  pages_processed_limit_monthly == o.pages_processed_limit_monthly &&
410
420
  pages_hosted_limit_max == o.pages_hosted_limit_max &&
@@ -429,7 +439,7 @@ module RagieRubySdk
429
439
  # Calculates hash code according to all attributes.
430
440
  # @return [Integer] Hash code
431
441
  def hash
432
- [name, pages_hosted_limit_monthly, pages_processed_limit_monthly, pages_hosted_limit_max, pages_processed_limit_max, audio_processed_limit_monthly, audio_processed_limit_max, video_processed_limit_monthly, video_processed_limit_max, media_streamed_limit_monthly, media_streamed_limit_max, media_hosted_limit_monthly, media_hosted_limit_max, metadata_schema].hash
442
+ [name, description, pages_hosted_limit_monthly, pages_processed_limit_monthly, pages_hosted_limit_max, pages_processed_limit_max, audio_processed_limit_monthly, audio_processed_limit_max, video_processed_limit_monthly, video_processed_limit_max, media_streamed_limit_monthly, media_streamed_limit_max, media_hosted_limit_monthly, media_hosted_limit_max, metadata_schema].hash
433
443
  end
434
444
 
435
445
  # Builds the object from hash
@@ -21,6 +21,8 @@ module RagieRubySdk
21
21
 
22
22
  attr_accessor :limit_exceeded_at
23
23
 
24
+ attr_accessor :description
25
+
24
26
  attr_accessor :limits
25
27
 
26
28
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -29,6 +31,7 @@ module RagieRubySdk
29
31
  :'name' => :'name',
30
32
  :'is_default' => :'is_default',
31
33
  :'limit_exceeded_at' => :'limit_exceeded_at',
34
+ :'description' => :'description',
32
35
  :'limits' => :'limits'
33
36
  }
34
37
  end
@@ -49,6 +52,7 @@ module RagieRubySdk
49
52
  :'name' => :'String',
50
53
  :'is_default' => :'Boolean',
51
54
  :'limit_exceeded_at' => :'Time',
55
+ :'description' => :'String',
52
56
  :'limits' => :'PartitionLimits'
53
57
  }
54
58
  end
@@ -57,6 +61,7 @@ module RagieRubySdk
57
61
  def self.openapi_nullable
58
62
  Set.new([
59
63
  :'limit_exceeded_at',
64
+ :'description',
60
65
  ])
61
66
  end
62
67
 
@@ -92,6 +97,12 @@ module RagieRubySdk
92
97
  self.limit_exceeded_at = attributes[:'limit_exceeded_at']
93
98
  end
94
99
 
100
+ if attributes.key?(:'description')
101
+ self.description = attributes[:'description']
102
+ else
103
+ self.description = nil
104
+ end
105
+
95
106
  if attributes.key?(:'limits')
96
107
  self.limits = attributes[:'limits']
97
108
  else
@@ -167,6 +178,7 @@ module RagieRubySdk
167
178
  name == o.name &&
168
179
  is_default == o.is_default &&
169
180
  limit_exceeded_at == o.limit_exceeded_at &&
181
+ description == o.description &&
170
182
  limits == o.limits
171
183
  end
172
184
 
@@ -179,7 +191,7 @@ module RagieRubySdk
179
191
  # Calculates hash code according to all attributes.
180
192
  # @return [Integer] Hash code
181
193
  def hash
182
- [name, is_default, limit_exceeded_at, limits].hash
194
+ [name, is_default, limit_exceeded_at, description, limits].hash
183
195
  end
184
196
 
185
197
  # Builds the object from hash
@@ -21,6 +21,8 @@ module RagieRubySdk
21
21
 
22
22
  attr_accessor :limit_exceeded_at
23
23
 
24
+ attr_accessor :description
25
+
24
26
  attr_accessor :limits
25
27
 
26
28
  attr_accessor :stats
@@ -31,6 +33,7 @@ module RagieRubySdk
31
33
  :'name' => :'name',
32
34
  :'is_default' => :'is_default',
33
35
  :'limit_exceeded_at' => :'limit_exceeded_at',
36
+ :'description' => :'description',
34
37
  :'limits' => :'limits',
35
38
  :'stats' => :'stats'
36
39
  }
@@ -52,6 +55,7 @@ module RagieRubySdk
52
55
  :'name' => :'String',
53
56
  :'is_default' => :'Boolean',
54
57
  :'limit_exceeded_at' => :'Time',
58
+ :'description' => :'String',
55
59
  :'limits' => :'PartitionLimits',
56
60
  :'stats' => :'PartitionStats'
57
61
  }
@@ -61,6 +65,7 @@ module RagieRubySdk
61
65
  def self.openapi_nullable
62
66
  Set.new([
63
67
  :'limit_exceeded_at',
68
+ :'description',
64
69
  ])
65
70
  end
66
71
 
@@ -96,6 +101,12 @@ module RagieRubySdk
96
101
  self.limit_exceeded_at = attributes[:'limit_exceeded_at']
97
102
  end
98
103
 
104
+ if attributes.key?(:'description')
105
+ self.description = attributes[:'description']
106
+ else
107
+ self.description = nil
108
+ end
109
+
99
110
  if attributes.key?(:'limits')
100
111
  self.limits = attributes[:'limits']
101
112
  else
@@ -192,6 +203,7 @@ module RagieRubySdk
192
203
  name == o.name &&
193
204
  is_default == o.is_default &&
194
205
  limit_exceeded_at == o.limit_exceeded_at &&
206
+ description == o.description &&
195
207
  limits == o.limits &&
196
208
  stats == o.stats
197
209
  end
@@ -205,7 +217,7 @@ module RagieRubySdk
205
217
  # Calculates hash code according to all attributes.
206
218
  # @return [Integer] Hash code
207
219
  def hash
208
- [name, is_default, limit_exceeded_at, limits, stats].hash
220
+ [name, is_default, limit_exceeded_at, description, limits, stats].hash
209
221
  end
210
222
 
211
223
  # Builds the object from hash
@@ -351,7 +351,7 @@ module RagieRubySdk
351
351
  return false unless object_validator.valid?(@object)
352
352
  return false if @created_at.nil?
353
353
  return false if @status.nil?
354
- status_validator = EnumAttributeValidator.new('String', ["completed", "failed", "in_progress"])
354
+ status_validator = EnumAttributeValidator.new('String', ["completed", "failed", "in_progress", "cancelled"])
355
355
  return false unless status_validator.valid?(@status)
356
356
  model_validator = EnumAttributeValidator.new('String', ["deep-search"])
357
357
  return false unless model_validator.valid?(@model)
@@ -399,7 +399,7 @@ module RagieRubySdk
399
399
  # Custom attribute writer method checking allowed values (enum).
400
400
  # @param [Object] status Object to be assigned
401
401
  def status=(status)
402
- validator = EnumAttributeValidator.new('String', ["completed", "failed", "in_progress"])
402
+ validator = EnumAttributeValidator.new('String', ["completed", "failed", "in_progress", "cancelled"])
403
403
  unless validator.valid?(status)
404
404
  fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
405
405
  end
@@ -11,5 +11,5 @@ Generator version: 7.17.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module RagieRubySdk
14
- VERSION = '1.0.19'
14
+ VERSION = '1.0.21'
15
15
  end
@@ -33,6 +33,12 @@ describe RagieRubySdk::CreatePartitionParams do
33
33
  end
34
34
  end
35
35
 
36
+ describe 'test attribute "description"' 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
+
36
42
  describe 'test attribute "pages_hosted_limit_monthly"' do
37
43
  it 'should work' do
38
44
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -45,6 +45,12 @@ describe RagieRubySdk::PartitionDetail do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "description"' 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
+
48
54
  describe 'test attribute "limits"' do
49
55
  it 'should work' do
50
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -45,6 +45,12 @@ describe RagieRubySdk::Partition do
45
45
  end
46
46
  end
47
47
 
48
+ describe 'test attribute "description"' 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
+
48
54
  describe 'test attribute "limits"' do
49
55
  it 'should work' do
50
56
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -52,7 +52,7 @@ describe RagieRubySdk::Response do
52
52
  describe 'test attribute "status"' do
53
53
  it 'should work' do
54
54
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
55
- # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["completed", "failed", "in_progress"])
55
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["completed", "failed", "in_progress", "cancelled"])
56
56
  # validator.allowable_values.each do |value|
57
57
  # expect { instance.status = value }.not_to raise_error
58
58
  # end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ragie_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.19
4
+ version: 1.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator