groupdocs_parser_cloud 19.11 → 20.6

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
  SHA1:
3
- metadata.gz: 411ff34fc68e1dc5dcac9d551d02665c2c3d64b3
4
- data.tar.gz: f46434261ffe71cfcddc2fe2ea1c5006654cd041
3
+ metadata.gz: 4d8d9f561ec87361dbb68fff448449a8b7626aab
4
+ data.tar.gz: a4b95da86fb12d16fa2e9cf4a53762130fad3b1b
5
5
  SHA512:
6
- metadata.gz: 3f6e88cc6b36f5d42cb2f3b805c704c26097c6fb6ff5731e093cdf16735732b8f109f10e8a4c2f9ac1d274b21093e206a47ee396c343af78e782f1adf66b0e77
7
- data.tar.gz: 577f0f63d496b933e82909738106a0f72239666564b1235af11af8e211c00c5da7c987b1910173b6ef45d8fca1d1bdeaaac13b708a5082637070b50c97862152
6
+ metadata.gz: 98e22b1f96f518e0afd5fc6e3e02d7ecce08fb4197f3839df090395920a521d4538aab55458272147b07082c77783da090d9328d59aa8d94433eacbd2e0826ae
7
+ data.tar.gz: 68b3dfa3e67a285c24c163175abd27ae2f9debe73447c12120d13cf92a2278e2353ed4e5ecc0eae37e619d66e16960836d01e03d7b29fa6a64a3db2f9b3adc0c
@@ -37,11 +37,27 @@ module GroupDocsParserCloud
37
37
  # Gets or sets the image download URL.
38
38
  attr_accessor :download_url
39
39
 
40
+ # Gets or sets the index of the page.
41
+ attr_accessor :page_index
42
+
43
+ # Gets or sets the rotation of the image in degrees.
44
+ attr_accessor :rotation
45
+
46
+ # Gets or sets the image file format.
47
+ attr_accessor :file_format
48
+
49
+ # Gets or sets the rectangle area of the image.
50
+ attr_accessor :rectangle
51
+
40
52
  # Attribute mapping from ruby-style variable name to JSON key.
41
53
  def self.attribute_map
42
54
  {
43
55
  :'path' => :'Path',
44
- :'download_url' => :'DownloadUrl'
56
+ :'download_url' => :'DownloadUrl',
57
+ :'page_index' => :'PageIndex',
58
+ :'rotation' => :'Rotation',
59
+ :'file_format' => :'FileFormat',
60
+ :'rectangle' => :'Rectangle'
45
61
  }
46
62
  end
47
63
 
@@ -49,7 +65,11 @@ module GroupDocsParserCloud
49
65
  def self.swagger_types
50
66
  {
51
67
  :'path' => :'String',
52
- :'download_url' => :'String'
68
+ :'download_url' => :'String',
69
+ :'page_index' => :'Integer',
70
+ :'rotation' => :'Float',
71
+ :'file_format' => :'String',
72
+ :'rectangle' => :'Rectangle'
53
73
  }
54
74
  end
55
75
 
@@ -69,6 +89,22 @@ module GroupDocsParserCloud
69
89
  self.download_url = attributes[:'DownloadUrl']
70
90
  end
71
91
 
92
+ if attributes.key?(:'PageIndex')
93
+ self.page_index = attributes[:'PageIndex']
94
+ end
95
+
96
+ if attributes.key?(:'Rotation')
97
+ self.rotation = attributes[:'Rotation']
98
+ end
99
+
100
+ if attributes.key?(:'FileFormat')
101
+ self.file_format = attributes[:'FileFormat']
102
+ end
103
+
104
+ if attributes.key?(:'Rectangle')
105
+ self.rectangle = attributes[:'Rectangle']
106
+ end
107
+
72
108
  end
73
109
 
74
110
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -90,7 +126,11 @@ module GroupDocsParserCloud
90
126
  return true if self.equal?(other)
91
127
  self.class == other.class &&
92
128
  path == other.path &&
93
- download_url == other.download_url
129
+ download_url == other.download_url &&
130
+ page_index == other.page_index &&
131
+ rotation == other.rotation &&
132
+ file_format == other.file_format &&
133
+ rectangle == other.rectangle
94
134
  end
95
135
 
96
136
  # @see the `==` method
@@ -102,7 +142,7 @@ module GroupDocsParserCloud
102
142
  # Calculates hash code according to all attributes.
103
143
  # @return [Fixnum] Hash code
104
144
  def hash
105
- [path, download_url].hash
145
+ [path, download_url, page_index, rotation, file_format, rectangle].hash
106
146
  end
107
147
 
108
148
  # Downcases first letter.
@@ -40,12 +40,16 @@ module GroupDocsParserCloud
40
40
  # Gets or sets the total number of document pages.
41
41
  attr_accessor :page_count
42
42
 
43
+ # Gets or sets the encoding.
44
+ attr_accessor :encoding
45
+
43
46
  # Attribute mapping from ruby-style variable name to JSON key.
44
47
  def self.attribute_map
45
48
  {
46
49
  :'file_type' => :'FileType',
47
50
  :'size' => :'Size',
48
- :'page_count' => :'PageCount'
51
+ :'page_count' => :'PageCount',
52
+ :'encoding' => :'Encoding'
49
53
  }
50
54
  end
51
55
 
@@ -54,7 +58,8 @@ module GroupDocsParserCloud
54
58
  {
55
59
  :'file_type' => :'FileType',
56
60
  :'size' => :'Integer',
57
- :'page_count' => :'Integer'
61
+ :'page_count' => :'Integer',
62
+ :'encoding' => :'String'
58
63
  }
59
64
  end
60
65
 
@@ -78,6 +83,10 @@ module GroupDocsParserCloud
78
83
  self.page_count = attributes[:'PageCount']
79
84
  end
80
85
 
86
+ if attributes.key?(:'Encoding')
87
+ self.encoding = attributes[:'Encoding']
88
+ end
89
+
81
90
  end
82
91
 
83
92
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -110,7 +119,8 @@ module GroupDocsParserCloud
110
119
  self.class == other.class &&
111
120
  file_type == other.file_type &&
112
121
  size == other.size &&
113
- page_count == other.page_count
122
+ page_count == other.page_count &&
123
+ encoding == other.encoding
114
124
  end
115
125
 
116
126
  # @see the `==` method
@@ -122,7 +132,7 @@ module GroupDocsParserCloud
122
132
  # Calculates hash code according to all attributes.
123
133
  # @return [Fixnum] Hash code
124
134
  def hash
125
- [file_type, size, page_count].hash
135
+ [file_type, size, page_count, encoding].hash
126
136
  end
127
137
 
128
138
  # Downcases first letter.
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsParserCloud
28
- VERSION = "19.11".freeze
28
+ VERSION = "20.6".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_parser_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '19.11'
4
+ version: '20.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-19 00:00:00.000000000 Z
11
+ date: 2020-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday