Skip to content

Commit

Permalink
Updated sources
Browse files Browse the repository at this point in the history
  • Loading branch information
product-team committed Dec 24, 2024
1 parent 9c49132 commit ccfbcda
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
groupdocs_viewer_cloud (24.8)
groupdocs_viewer_cloud (24.12)
addressable (~> 2.8.0, >= 2.8.0)
faraday (~> 0.14.0)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gem install groupdocs_viewer_cloud
To add dependency to your app copy following into your Gemfile and run `bundle install`:

```
gem "groupdocs_viewer_cloud", "~> 24.8"
gem "groupdocs_viewer_cloud", "~> 24.12"
```

## Getting Started
Expand Down
23 changes: 4 additions & 19 deletions lib/groupdocs_viewer_cloud/models/archive_options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,19 @@ class ArchiveOptions
# The filename to display in the header. By default the name of the source file is displayed.
attr_accessor :file_name

# Number of records per page (for rendering to HTML only)
attr_accessor :items_per_page

# Attribute mapping from ruby-style variable name to JSON key.
def self.attribute_map
{
:'folder' => :'Folder',
:'file_name' => :'FileName',
:'items_per_page' => :'ItemsPerPage'
:'file_name' => :'FileName'
}
end

# Attribute type mapping.
def self.swagger_types
{
:'folder' => :'String',
:'file_name' => :'String',
:'items_per_page' => :'Integer'
:'file_name' => :'String'
}
end

Expand All @@ -74,27 +69,18 @@ def initialize(attributes = {})
self.file_name = attributes[:'FileName']
end

if attributes.key?(:'ItemsPerPage')
self.items_per_page = attributes[:'ItemsPerPage']
end

end

# Show invalid properties with the reasons. Usually used together with valid?
# @return Array for valid properies with the reasons
def list_invalid_properties
invalid_properties = []
if @items_per_page.nil?
invalid_properties.push("invalid value for 'items_per_page', items_per_page cannot be nil.")
end

return invalid_properties
end

# Check to see if the all the properties in the model are valid
# @return true if the model is valid
def valid?
return false if @items_per_page.nil?
return true
end

Expand All @@ -104,8 +90,7 @@ def ==(other)
return true if self.equal?(other)
self.class == other.class &&
folder == other.folder &&
file_name == other.file_name &&
items_per_page == other.items_per_page
file_name == other.file_name
end

# @see the `==` method
Expand All @@ -117,7 +102,7 @@ def eql?(other)
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
[folder, file_name, items_per_page].hash
[folder, file_name].hash
end

# Downcases first letter.
Expand Down
2 changes: 1 addition & 1 deletion lib/groupdocs_viewer_cloud/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
# --------------------------------------------------------------------------------------------------------------------
#
module GroupDocsViewerCloud
VERSION = "24.8".freeze
VERSION = "24.12".freeze
end

0 comments on commit ccfbcda

Please sign in to comment.