groupdocs_annotation_cloud 23.4 → 25.7

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.
Files changed (44) hide show
  1. checksums.yaml +5 -5
  2. data/lib/groupdocs_annotation_cloud/api/annotate_api.rb +5 -5
  3. data/lib/groupdocs_annotation_cloud/api/file_api.rb +6 -6
  4. data/lib/groupdocs_annotation_cloud/api/folder_api.rb +6 -6
  5. data/lib/groupdocs_annotation_cloud/api/info_api.rb +2 -2
  6. data/lib/groupdocs_annotation_cloud/api/license_api.rb +1 -1
  7. data/lib/groupdocs_annotation_cloud/api/preview_api.rb +3 -3
  8. data/lib/groupdocs_annotation_cloud/api/storage_api.rb +5 -5
  9. data/lib/groupdocs_annotation_cloud/api_client.rb +4 -5
  10. data/lib/groupdocs_annotation_cloud/{api_error.rb → api_client_error.rb} +6 -6
  11. data/lib/groupdocs_annotation_cloud/configuration.rb +1 -1
  12. data/lib/groupdocs_annotation_cloud/models/annotate_options.rb +1 -1
  13. data/lib/groupdocs_annotation_cloud/models/annotation_api_link.rb +1 -1
  14. data/lib/groupdocs_annotation_cloud/models/annotation_info.rb +1 -1
  15. data/lib/groupdocs_annotation_cloud/models/annotation_reply_info.rb +1 -1
  16. data/lib/groupdocs_annotation_cloud/models/api_error.rb +244 -0
  17. data/lib/groupdocs_annotation_cloud/models/api_error_response.rb +220 -0
  18. data/lib/groupdocs_annotation_cloud/models/consumption_result.rb +20 -5
  19. data/lib/groupdocs_annotation_cloud/models/disc_usage.rb +1 -1
  20. data/lib/groupdocs_annotation_cloud/models/document_info.rb +1 -1
  21. data/lib/groupdocs_annotation_cloud/models/error.rb +1 -1
  22. data/lib/groupdocs_annotation_cloud/models/error_details.rb +1 -1
  23. data/lib/groupdocs_annotation_cloud/models/file_info.rb +1 -1
  24. data/lib/groupdocs_annotation_cloud/models/file_version.rb +1 -1
  25. data/lib/groupdocs_annotation_cloud/models/file_versions.rb +1 -1
  26. data/lib/groupdocs_annotation_cloud/models/files_list.rb +1 -1
  27. data/lib/groupdocs_annotation_cloud/models/files_upload_result.rb +1 -1
  28. data/lib/groupdocs_annotation_cloud/models/format.rb +1 -1
  29. data/lib/groupdocs_annotation_cloud/models/formats_result.rb +1 -1
  30. data/lib/groupdocs_annotation_cloud/models/link.rb +1 -1
  31. data/lib/groupdocs_annotation_cloud/models/link_element.rb +1 -1
  32. data/lib/groupdocs_annotation_cloud/models/object_exist.rb +1 -1
  33. data/lib/groupdocs_annotation_cloud/models/page_image.rb +1 -1
  34. data/lib/groupdocs_annotation_cloud/models/page_images.rb +1 -1
  35. data/lib/groupdocs_annotation_cloud/models/page_info.rb +1 -1
  36. data/lib/groupdocs_annotation_cloud/models/point.rb +1 -1
  37. data/lib/groupdocs_annotation_cloud/models/preview_options.rb +1 -1
  38. data/lib/groupdocs_annotation_cloud/models/rectangle.rb +1 -1
  39. data/lib/groupdocs_annotation_cloud/models/remove_options.rb +1 -1
  40. data/lib/groupdocs_annotation_cloud/models/storage_exist.rb +1 -1
  41. data/lib/groupdocs_annotation_cloud/models/storage_file.rb +1 -1
  42. data/lib/groupdocs_annotation_cloud/version.rb +2 -2
  43. data/lib/groupdocs_annotation_cloud.rb +4 -2
  44. metadata +13 -12
@@ -0,0 +1,220 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="api_error_response.rb">
4
+ # Copyright (c) Aspose Pty Ltd
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ require 'date'
29
+
30
+ module GroupDocsAnnotationCloud
31
+
32
+ class ApiErrorResponse
33
+ attr_accessor :request_id
34
+ attr_accessor :error
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ def self.attribute_map
38
+ {
39
+ :'request_id' => :'RequestId',
40
+ :'error' => :'Error'
41
+ }
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.swagger_types
46
+ {
47
+ :'request_id' => :'String',
48
+ :'error' => :'ApiError'
49
+ }
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ return unless attributes.is_a?(Hash)
56
+
57
+ # convert string to symbol for hash key
58
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
59
+
60
+ if attributes.key?(:'RequestId')
61
+ self.request_id = attributes[:'RequestId']
62
+ end
63
+
64
+ if attributes.key?(:'Error')
65
+ self.error = attributes[:'Error']
66
+ end
67
+
68
+ end
69
+
70
+ # Show invalid properties with the reasons. Usually used together with valid?
71
+ # @return Array for valid properies with the reasons
72
+ def list_invalid_properties
73
+ invalid_properties = []
74
+ return invalid_properties
75
+ end
76
+
77
+ # Check to see if the all the properties in the model are valid
78
+ # @return true if the model is valid
79
+ def valid?
80
+ return true
81
+ end
82
+
83
+ # Checks equality by comparing each attribute.
84
+ # @param [Object] Object to be compared
85
+ def ==(other)
86
+ return true if self.equal?(other)
87
+ self.class == other.class &&
88
+ request_id == other.request_id &&
89
+ error == other.error
90
+ end
91
+
92
+ # @see the `==` method
93
+ # @param [Object] Object to be compared
94
+ def eql?(other)
95
+ self == other
96
+ end
97
+
98
+ # Calculates hash code according to all attributes.
99
+ # @return [Fixnum] Hash code
100
+ def hash
101
+ [request_id, error].hash
102
+ end
103
+
104
+ # Downcases first letter.
105
+ # @return downcased string
106
+ def uncap(str)
107
+ str[0, 1].downcase + str[1..-1]
108
+ end
109
+
110
+ # Builds the object from hash
111
+ # @param [Hash] attributes Model attributes in the form of hash
112
+ # @return [Object] Returns the model itself
113
+ def build_from_hash(attributes)
114
+ return nil unless attributes.is_a?(Hash)
115
+ self.class.swagger_types.each_pair do |key, type|
116
+ pname = uncap(self.class.attribute_map[key]).intern
117
+ value = attributes[pname]
118
+ if type =~ /\AArray<(.*)>/i
119
+ # check to ensure the input is an array given that the the attribute
120
+ # is documented as an array but the input is not
121
+ if value.is_a?(Array)
122
+ self.send("#{key}=", value.map { |v| _deserialize($1, v) })
123
+ end
124
+ elsif !value.nil?
125
+ self.send("#{key}=", _deserialize(type, value))
126
+ end
127
+ # or else data not found in attributes(hash), not an issue as the data can be optional
128
+ end
129
+
130
+ self
131
+ end
132
+
133
+ # Deserializes the data based on type
134
+ # @param string type Data type
135
+ # @param string value Value to be deserialized
136
+ # @return [Object] Deserialized data
137
+ def _deserialize(type, value)
138
+ case type.to_sym
139
+ when :DateTime
140
+ Date.parse value
141
+ when :Date
142
+ Date.parse value
143
+ when :String
144
+ value.to_s
145
+ when :Integer
146
+ value.to_i
147
+ when :Float
148
+ value.to_f
149
+ when :BOOLEAN
150
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
151
+ true
152
+ else
153
+ false
154
+ end
155
+ when :Object
156
+ # generic object (usually a Hash), return directly
157
+ value
158
+ when /\AArray<(?<inner_type>.+)>\z/
159
+ inner_type = Regexp.last_match[:inner_type]
160
+ value.map { |v| _deserialize(inner_type, v) }
161
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
162
+ k_type = Regexp.last_match[:k_type]
163
+ v_type = Regexp.last_match[:v_type]
164
+ {}.tap do |hash|
165
+ value.each do |k, v|
166
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
167
+ end
168
+ end
169
+ else
170
+ # model
171
+ temp_model = GroupDocsAnnotationCloud.const_get(type).new
172
+ temp_model.build_from_hash(value)
173
+ end
174
+ end
175
+
176
+ # Returns the string representation of the object
177
+ # @return [String] String presentation of the object
178
+ def to_s
179
+ to_hash.to_s
180
+ end
181
+
182
+ # to_body is an alias to to_hash (backward compatibility)
183
+ # @return [Hash] Returns the object in the form of hash
184
+ def to_body
185
+ to_hash
186
+ end
187
+
188
+ # Returns the object in the form of hash
189
+ # @return [Hash] Returns the object in the form of hash
190
+ def to_hash
191
+ hash = {}
192
+ self.class.attribute_map.each_pair do |attr, param|
193
+ value = self.send(attr)
194
+ next if value.nil?
195
+ hash[param] = _to_hash(value)
196
+ end
197
+ hash
198
+ end
199
+
200
+ # Outputs non-array value in the form of hash
201
+ # For object, use to_hash. Otherwise, just return the value
202
+ # @param [Object] value Any valid value
203
+ # @return [Hash] Returns the value in the form of hash
204
+ def _to_hash(value)
205
+ if value.is_a?(Array)
206
+ value.compact.map { |v| _to_hash(v) }
207
+ elsif value.is_a?(Hash)
208
+ {}.tap do |hash|
209
+ value.each { |k, v| hash[k] = _to_hash(v) }
210
+ end
211
+ elsif value.respond_to? :to_hash
212
+ value.to_hash
213
+ else
214
+ value
215
+ end
216
+ end
217
+
218
+ end
219
+
220
+ end
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="consumption_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -37,11 +37,15 @@ module GroupDocsAnnotationCloud
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 GroupDocsAnnotationCloud
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 GroupDocsAnnotationCloud
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 GroupDocsAnnotationCloud
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 GroupDocsAnnotationCloud
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 GroupDocsAnnotationCloud
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 GroupDocsAnnotationCloud
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.
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="disc_usage.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="document_info.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="error.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="error_details.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_info.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_version.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="file_versions.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="files_list.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="files_upload_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="format.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="formats_result.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="link.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="link_element.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="object_exist.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="page_image.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="page_images.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="page_info.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="point.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="preview_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="rectangle.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="remove_options.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="storage_exist.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="storage_file.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,7 +1,7 @@
1
1
  #
2
2
  # --------------------------------------------------------------------------------------------------------------------
3
3
  # <copyright company="Aspose Pty Ltd" file="version.rb">
4
- # Copyright (c) 2003-2023 Aspose Pty Ltd
4
+ # Copyright (c) Aspose Pty Ltd
5
5
  # </copyright>
6
6
  # <summary>
7
7
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsAnnotationCloud
28
- VERSION = "23.4".freeze
28
+ VERSION = "25.7".freeze
29
29
  end
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose Pty Ltd" file="groupdocs_annotation_cloud.rb">
3
- # Copyright (c) 2003-2023 Aspose Pty Ltd
3
+ # Copyright (c) Aspose Pty Ltd
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -25,7 +25,7 @@
25
25
 
26
26
  # Common files
27
27
  require_relative 'groupdocs_annotation_cloud/api_client'
28
- require_relative 'groupdocs_annotation_cloud/api_error'
28
+ require_relative 'groupdocs_annotation_cloud/api_client_error'
29
29
  require_relative 'groupdocs_annotation_cloud/version'
30
30
  require_relative 'groupdocs_annotation_cloud/configuration'
31
31
 
@@ -33,6 +33,8 @@ require_relative 'groupdocs_annotation_cloud/configuration'
33
33
  require_relative 'groupdocs_annotation_cloud/models/annotate_options'
34
34
  require_relative 'groupdocs_annotation_cloud/models/annotation_info'
35
35
  require_relative 'groupdocs_annotation_cloud/models/annotation_reply_info'
36
+ require_relative 'groupdocs_annotation_cloud/models/api_error'
37
+ require_relative 'groupdocs_annotation_cloud/models/api_error_response'
36
38
  require_relative 'groupdocs_annotation_cloud/models/consumption_result'
37
39
  require_relative 'groupdocs_annotation_cloud/models/disc_usage'
38
40
  require_relative 'groupdocs_annotation_cloud/models/document_info'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_annotation_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '23.4'
4
+ version: '25.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-14 00:00:00.000000000 Z
11
+ date: 2025-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -30,20 +30,20 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.5.0
33
+ version: 2.8.4
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 2.5.0
36
+ version: 2.8.4
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: 2.5.0
43
+ version: 2.8.4
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 2.5.0
46
+ version: 2.8.4
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: minitest
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -79,12 +79,14 @@ files:
79
79
  - lib/groupdocs_annotation_cloud/api/preview_api.rb
80
80
  - lib/groupdocs_annotation_cloud/api/storage_api.rb
81
81
  - lib/groupdocs_annotation_cloud/api_client.rb
82
- - lib/groupdocs_annotation_cloud/api_error.rb
82
+ - lib/groupdocs_annotation_cloud/api_client_error.rb
83
83
  - lib/groupdocs_annotation_cloud/configuration.rb
84
84
  - lib/groupdocs_annotation_cloud/models/annotate_options.rb
85
85
  - lib/groupdocs_annotation_cloud/models/annotation_api_link.rb
86
86
  - lib/groupdocs_annotation_cloud/models/annotation_info.rb
87
87
  - lib/groupdocs_annotation_cloud/models/annotation_reply_info.rb
88
+ - lib/groupdocs_annotation_cloud/models/api_error.rb
89
+ - lib/groupdocs_annotation_cloud/models/api_error_response.rb
88
90
  - lib/groupdocs_annotation_cloud/models/consumption_result.rb
89
91
  - lib/groupdocs_annotation_cloud/models/disc_usage.rb
90
92
  - lib/groupdocs_annotation_cloud/models/document_info.rb
@@ -115,7 +117,7 @@ licenses:
115
117
  - MIT
116
118
  metadata:
117
119
  source_code_uri: https://github.com/groupdocs-annotation-cloud/groupdocs-annotation-cloud-ruby
118
- post_install_message:
120
+ post_install_message:
119
121
  rdoc_options: []
120
122
  require_paths:
121
123
  - lib
@@ -130,9 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
132
  - !ruby/object:Gem::Version
131
133
  version: '0'
132
134
  requirements: []
133
- rubyforge_project:
134
- rubygems_version: 2.6.14.1
135
- signing_key:
135
+ rubygems_version: 3.1.6
136
+ signing_key:
136
137
  specification_version: 4
137
138
  summary: GroupDocs.Annotation Cloud Ruby SDK
138
139
  test_files: []