groupdocs_viewer_cloud 24.8 → 24.12
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b67339567de8497ad95b20a26d8281fba5787042484786e9d7b79b044bfa7ebe
|
4
|
+
data.tar.gz: 86955d7649e7dda66ee45eebe2e3fc29e02930e2492f63f09c6aa9b5625497f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86084f9b6ddfe85e4edd239273ab36a330c38bc66bb5ed9b57ab8da05d75f3e4a9ca76dc19e5a9319230520ff55e549bbf66133ca981fb218168091d8095abd6
|
7
|
+
data.tar.gz: 4a1be5d5bc4cd2c92446e24aabc86a56f36c98580b960db289f2934afed81751131a4690d00b0de6f71937ddbd3eed2f8a74f3eb230572ce333ca57c21d0023e
|
@@ -37,15 +37,11 @@ module GroupDocsViewerCloud
|
|
37
37
|
# The filename to display in the header. By default the name of the source file is displayed.
|
38
38
|
attr_accessor :file_name
|
39
39
|
|
40
|
-
# Number of records per page (for rendering to HTML only)
|
41
|
-
attr_accessor :items_per_page
|
42
|
-
|
43
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
41
|
def self.attribute_map
|
45
42
|
{
|
46
43
|
:'folder' => :'Folder',
|
47
|
-
:'file_name' => :'FileName'
|
48
|
-
:'items_per_page' => :'ItemsPerPage'
|
44
|
+
:'file_name' => :'FileName'
|
49
45
|
}
|
50
46
|
end
|
51
47
|
|
@@ -53,8 +49,7 @@ module GroupDocsViewerCloud
|
|
53
49
|
def self.swagger_types
|
54
50
|
{
|
55
51
|
:'folder' => :'String',
|
56
|
-
:'file_name' => :'String'
|
57
|
-
:'items_per_page' => :'Integer'
|
52
|
+
:'file_name' => :'String'
|
58
53
|
}
|
59
54
|
end
|
60
55
|
|
@@ -74,27 +69,18 @@ module GroupDocsViewerCloud
|
|
74
69
|
self.file_name = attributes[:'FileName']
|
75
70
|
end
|
76
71
|
|
77
|
-
if attributes.key?(:'ItemsPerPage')
|
78
|
-
self.items_per_page = attributes[:'ItemsPerPage']
|
79
|
-
end
|
80
|
-
|
81
72
|
end
|
82
73
|
|
83
74
|
# Show invalid properties with the reasons. Usually used together with valid?
|
84
75
|
# @return Array for valid properies with the reasons
|
85
76
|
def list_invalid_properties
|
86
77
|
invalid_properties = []
|
87
|
-
if @items_per_page.nil?
|
88
|
-
invalid_properties.push("invalid value for 'items_per_page', items_per_page cannot be nil.")
|
89
|
-
end
|
90
|
-
|
91
78
|
return invalid_properties
|
92
79
|
end
|
93
80
|
|
94
81
|
# Check to see if the all the properties in the model are valid
|
95
82
|
# @return true if the model is valid
|
96
83
|
def valid?
|
97
|
-
return false if @items_per_page.nil?
|
98
84
|
return true
|
99
85
|
end
|
100
86
|
|
@@ -104,8 +90,7 @@ module GroupDocsViewerCloud
|
|
104
90
|
return true if self.equal?(other)
|
105
91
|
self.class == other.class &&
|
106
92
|
folder == other.folder &&
|
107
|
-
file_name == other.file_name
|
108
|
-
items_per_page == other.items_per_page
|
93
|
+
file_name == other.file_name
|
109
94
|
end
|
110
95
|
|
111
96
|
# @see the `==` method
|
@@ -117,7 +102,7 @@ module GroupDocsViewerCloud
|
|
117
102
|
# Calculates hash code according to all attributes.
|
118
103
|
# @return [Fixnum] Hash code
|
119
104
|
def hash
|
120
|
-
[folder, file_name
|
105
|
+
[folder, file_name].hash
|
121
106
|
end
|
122
107
|
|
123
108
|
# Downcases first letter.
|
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: '24.
|
4
|
+
version: '24.12'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GroupDocs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|