Skip to content

Commit 22c75a9

Browse files
committed
Updated sources
1 parent 336e161 commit 22c75a9

4 files changed

Lines changed: 22 additions & 7 deletions

File tree

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-
groupdocs_conversion_cloud (25.3)
4+
groupdocs_conversion_cloud (25.4)
55
addressable (~> 2.8.0, >= 2.8.0)
66
faraday (~> 0.14.0)
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ gem install groupdocs_conversion_cloud
1212
To add dependency to your app copy following into your Gemfile and run `bundle install`:
1313

1414
```
15-
gem "groupdocs_conversion_cloud", "~> 25.3"
15+
gem "groupdocs_conversion_cloud", "~> 25.4"
1616
```
1717

1818
## Getting Started

lib/groupdocs_conversion_cloud/models/consumption_result.rb

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,24 @@ class ConsumptionResult
3737
# Amount of MBs processed
3838
attr_accessor :quantity
3939

40+
# Billed API calls number
41+
attr_accessor :billed_api_calls
42+
4043
# Attribute mapping from ruby-style variable name to JSON key.
4144
def self.attribute_map
4245
{
4346
:'credit' => :'Credit',
44-
:'quantity' => :'Quantity'
47+
:'quantity' => :'Quantity',
48+
:'billed_api_calls' => :'BilledApiCalls'
4549
}
4650
end
4751

4852
# Attribute type mapping.
4953
def self.swagger_types
5054
{
5155
:'credit' => :'Float',
52-
:'quantity' => :'Float'
56+
:'quantity' => :'Float',
57+
:'billed_api_calls' => :'Float'
5358
}
5459
end
5560

@@ -69,6 +74,10 @@ def initialize(attributes = {})
6974
self.quantity = attributes[:'Quantity']
7075
end
7176

77+
if attributes.key?(:'BilledApiCalls')
78+
self.billed_api_calls = attributes[:'BilledApiCalls']
79+
end
80+
7281
end
7382

7483
# Show invalid properties with the reasons. Usually used together with valid?
@@ -83,6 +92,10 @@ def list_invalid_properties
8392
invalid_properties.push("invalid value for 'quantity', quantity cannot be nil.")
8493
end
8594

95+
if @billed_api_calls.nil?
96+
invalid_properties.push("invalid value for 'billed_api_calls', billed_api_calls cannot be nil.")
97+
end
98+
8699
return invalid_properties
87100
end
88101

@@ -91,6 +104,7 @@ def list_invalid_properties
91104
def valid?
92105
return false if @credit.nil?
93106
return false if @quantity.nil?
107+
return false if @billed_api_calls.nil?
94108
return true
95109
end
96110

@@ -100,7 +114,8 @@ def ==(other)
100114
return true if self.equal?(other)
101115
self.class == other.class &&
102116
credit == other.credit &&
103-
quantity == other.quantity
117+
quantity == other.quantity &&
118+
billed_api_calls == other.billed_api_calls
104119
end
105120

106121
# @see the `==` method
@@ -112,7 +127,7 @@ def eql?(other)
112127
# Calculates hash code according to all attributes.
113128
# @return [Fixnum] Hash code
114129
def hash
115-
[credit, quantity].hash
130+
[credit, quantity, billed_api_calls].hash
116131
end
117132

118133
# Downcases first letter.

lib/groupdocs_conversion_cloud/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
# --------------------------------------------------------------------------------------------------------------------
2626
#
2727
module GroupDocsConversionCloud
28-
VERSION = "25.3".freeze
28+
VERSION = "25.4".freeze
2929
end

0 commit comments

Comments
 (0)