Method: ZoomUs::Models::GroupMemberList#initialize
- Defined in:
- lib/zoom_us/models/group_member_list.rb
#initialize(attributes = {}) ⇒ GroupMemberList
Initializes the object
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/zoom_us/models/group_member_list.rb', line 53 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'page_count') self.page_count = attributes[:'page_count'] end if attributes.has_key?(:'page_number') self.page_number = attributes[:'page_number'] end if attributes.has_key?(:'page_size') self.page_size = attributes[:'page_size'] end if attributes.has_key?(:'total_records') self.total_records = attributes[:'total_records'] end end |