class Appwrite::Models::AttributeList
Attributes
attributes[R]
total[R]
Public Class Methods
from(map:)
click to toggle source
# File lib/appwrite/models/attribute_list.rb, line 17 def self.from(map:) AttributeList.new( total: map["total"], attributes: map["attributes"] ) end
new( total:, attributes: )
click to toggle source
# File lib/appwrite/models/attribute_list.rb, line 9 def initialize( total:, attributes: ) @total = total @attributes = attributes end
Public Instance Methods
to_map()
click to toggle source
# File lib/appwrite/models/attribute_list.rb, line 24 def to_map { "total": @total, "attributes": @attributes } end