@@ -37,24 +37,19 @@ class ArchiveOptions
3737 # The filename to display in the header. By default the name of the source file is displayed.
3838 attr_accessor :file_name
3939
40- # Number of records per page (for rendering to HTML only)
41- attr_accessor :items_per_page
42-
4340 # Attribute mapping from ruby-style variable name to JSON key.
4441 def self . attribute_map
4542 {
4643 :'folder' => :'Folder' ,
47- :'file_name' => :'FileName' ,
48- :'items_per_page' => :'ItemsPerPage'
44+ :'file_name' => :'FileName'
4945 }
5046 end
5147
5248 # Attribute type mapping.
5349 def self . swagger_types
5450 {
5551 :'folder' => :'String' ,
56- :'file_name' => :'String' ,
57- :'items_per_page' => :'Integer'
52+ :'file_name' => :'String'
5853 }
5954 end
6055
@@ -74,27 +69,18 @@ def initialize(attributes = {})
7469 self . file_name = attributes [ :'FileName' ]
7570 end
7671
77- if attributes . key? ( :'ItemsPerPage' )
78- self . items_per_page = attributes [ :'ItemsPerPage' ]
79- end
80-
8172 end
8273
8374 # Show invalid properties with the reasons. Usually used together with valid?
8475 # @return Array for valid properies with the reasons
8576 def list_invalid_properties
8677 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-
9178 return invalid_properties
9279 end
9380
9481 # Check to see if the all the properties in the model are valid
9582 # @return true if the model is valid
9683 def valid?
97- return false if @items_per_page . nil?
9884 return true
9985 end
10086
@@ -104,8 +90,7 @@ def ==(other)
10490 return true if self . equal? ( other )
10591 self . class == other . class &&
10692 folder == other . folder &&
107- file_name == other . file_name &&
108- items_per_page == other . items_per_page
93+ file_name == other . file_name
10994 end
11095
11196 # @see the `==` method
@@ -117,7 +102,7 @@ def eql?(other)
117102 # Calculates hash code according to all attributes.
118103 # @return [Fixnum] Hash code
119104 def hash
120- [ folder , file_name , items_per_page ] . hash
105+ [ folder , file_name ] . hash
121106 end
122107
123108 # Downcases first letter.
0 commit comments