Class: Files::SyncApiUsageSnapshot

Inherits:
Object
  • Object
show all
Defined in:
lib/files.com/models/sync_api_usage_snapshot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}, options = {}) ⇒ SyncApiUsageSnapshot

Returns a new instance of SyncApiUsageSnapshot.



7
8
9
10
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 7

def initialize(attributes = {}, options = {})
  @attributes = attributes || {}
  @options = options || {}
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



5
6
7
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 5

def attributes
  @attributes
end

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 5

def options
  @options
end

Instance Method Details

#api_readsObject

int64 - API Reads



18
19
20
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 18

def api_reads
  @attributes[:api_reads]
end

#api_writesObject

int64 - API Writes



23
24
25
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 23

def api_writes
  @attributes[:api_writes]
end

#ifnameObject

string - Interface Name



13
14
15
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 13

def ifname
  @attributes[:ifname]
end

#list_cache_hitsObject

int64 - List Cache Hits



28
29
30
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 28

def list_cache_hits
  @attributes[:list_cache_hits]
end

#list_cache_missesObject

int64 - List Cache Misses



33
34
35
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 33

def list_cache_misses
  @attributes[:list_cache_misses]
end

#stat_cache_hitsObject

int64 - Stat Cache Hits



38
39
40
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 38

def stat_cache_hits
  @attributes[:stat_cache_hits]
end

#stat_cache_missesObject

int64 - Stat Cache Misses



43
44
45
# File 'lib/files.com/models/sync_api_usage_snapshot.rb', line 43

def stat_cache_misses
  @attributes[:stat_cache_misses]
end