groupdocs_viewer_cloud 25.3 → 25.4

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: 7e9ec3fb4f2945ad23cb83f16a645d44ee456259af19dcbdc6af18dbdeb54efd
4
- data.tar.gz: 77c67d4f79ad01d54c3dced787dd0df922079e627b3e688f8c2372bf76bd1981
3
+ metadata.gz: acde46f4aacd4723e66cc9971aa29633470ca1aa299cd5ba422323426186cd98
4
+ data.tar.gz: bd70233ddbf0b810deb4b349af1b5bb09bc5c5d32a4bf3c7d0824d4daeafcb61
5
5
  SHA512:
6
- metadata.gz: 95367f305a6ef484b0f160458bd76789f3f9a63cc6868d5e230e1a561a0eae8a55b6ccdcc2f4d9375667663130f961de715fa65f73e213ca40a2e52e7dc3da68
7
- data.tar.gz: cbc92ca65b07610f1cf646dbf731cea39de1df64dcd7831d543fc00c32d18d436b1f8aded20dc1238ed526a5766bc66de86d485c7350733876c671e7fef21544
6
+ metadata.gz: db8757a4389ed6f1b8a9891dad5008b9504f5a4a90f3837825fa27ac5589a762178a378ec1ada47ee9a44388ab9f4664af7b8ccd104d36da9388b5c0069e003d
7
+ data.tar.gz: 0222d351a8dcbbeb77a51d79550834cc8865924c8a5e863e4a35dc601c3f451813e27df99b6c76a6f8b7c2830489a3d00dcdfe2bfde533481f8786534878cf06
@@ -37,11 +37,15 @@ module GroupDocsViewerCloud
37
37
  # Amount of MBs processed
38
38
  attr_accessor :quantity
39
39
 
40
+ # Billed API calls number
41
+ attr_accessor :billed_api_calls
42
+
40
43
  # Attribute mapping from ruby-style variable name to JSON key.
41
44
  def self.attribute_map
42
45
  {
43
46
  :'credit' => :'Credit',
44
- :'quantity' => :'Quantity'
47
+ :'quantity' => :'Quantity',
48
+ :'billed_api_calls' => :'BilledApiCalls'
45
49
  }
46
50
  end
47
51
 
@@ -49,7 +53,8 @@ module GroupDocsViewerCloud
49
53
  def self.swagger_types
50
54
  {
51
55
  :'credit' => :'Float',
52
- :'quantity' => :'Float'
56
+ :'quantity' => :'Float',
57
+ :'billed_api_calls' => :'Float'
53
58
  }
54
59
  end
55
60
 
@@ -69,6 +74,10 @@ module GroupDocsViewerCloud
69
74
  self.quantity = attributes[:'Quantity']
70
75
  end
71
76
 
77
+ if attributes.key?(:'BilledApiCalls')
78
+ self.billed_api_calls = attributes[:'BilledApiCalls']
79
+ end
80
+
72
81
  end
73
82
 
74
83
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -83,6 +92,10 @@ module GroupDocsViewerCloud
83
92
  invalid_properties.push("invalid value for 'quantity', quantity cannot be nil.")
84
93
  end
85
94
 
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
+
86
99
  return invalid_properties
87
100
  end
88
101
 
@@ -91,6 +104,7 @@ module GroupDocsViewerCloud
91
104
  def valid?
92
105
  return false if @credit.nil?
93
106
  return false if @quantity.nil?
107
+ return false if @billed_api_calls.nil?
94
108
  return true
95
109
  end
96
110
 
@@ -100,7 +114,8 @@ module GroupDocsViewerCloud
100
114
  return true if self.equal?(other)
101
115
  self.class == other.class &&
102
116
  credit == other.credit &&
103
- quantity == other.quantity
117
+ quantity == other.quantity &&
118
+ billed_api_calls == other.billed_api_calls
104
119
  end
105
120
 
106
121
  # @see the `==` method
@@ -112,7 +127,7 @@ module GroupDocsViewerCloud
112
127
  # Calculates hash code according to all attributes.
113
128
  # @return [Fixnum] Hash code
114
129
  def hash
115
- [credit, quantity].hash
130
+ [credit, quantity, billed_api_calls].hash
116
131
  end
117
132
 
118
133
  # Downcases first letter.
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsViewerCloud
28
- VERSION = "25.3".freeze
28
+ VERSION = "25.4".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_viewer_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '25.3'
4
+ version: '25.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-21 00:00:00.000000000 Z
11
+ date: 2025-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday