Class: Appwrite::Models::LogList
- Inherits:
 - 
      Object
      
        
- Object
 - Appwrite::Models::LogList
 
 
- Defined in:
 - lib/appwrite/models/log_list.rb
 
Instance Attribute Summary collapse
- 
  
    
      #logs  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute logs.
 - 
  
    
      #total  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute total.
 
Class Method Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(total:, logs:)  ⇒ LogList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LogList.
 - #to_map ⇒ Object
 
Constructor Details
#initialize(total:, logs:) ⇒ LogList
Returns a new instance of LogList.
      9 10 11 12 13 14 15  | 
    
      # File 'lib/appwrite/models/log_list.rb', line 9 def initialize( total:, logs: ) @total = total @logs = logs end  | 
  
Instance Attribute Details
#logs ⇒ Object (readonly)
Returns the value of attribute logs.
      7 8 9  | 
    
      # File 'lib/appwrite/models/log_list.rb', line 7 def logs @logs end  | 
  
#total ⇒ Object (readonly)
Returns the value of attribute total.
      6 7 8  | 
    
      # File 'lib/appwrite/models/log_list.rb', line 6 def total @total end  | 
  
Class Method Details
Instance Method Details
#to_map ⇒ Object
      24 25 26 27 28 29  | 
    
      # File 'lib/appwrite/models/log_list.rb', line 24 def to_map { "total": @total, "logs": @logs.map { |it| it.to_map } } end  |