Class: Latitude::API::Objects::Stats

Inherits:
APIObject
  • Object
show all
Defined in:
lib/latitude/api/objects.rb

Constant Summary

Constants inherited from APIObject

APIObject::RESERVED

Instance Attribute Summary collapse

Attributes inherited from APIObject

#raw

Method Summary

Methods inherited from APIObject

#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap

Methods included from Attributes::ClassMethods

#attribute, #attribute_specs

Methods included from Attributes::InstanceMethods

#attribute_spec, #read_attribute, #wrap_attribute

Constructor Details

This class inherits a constructor from Latitude::API::APIObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Latitude::API::APIObject

Instance Attribute Details

#databasesInteger (readonly)

Returns:

  • (Integer)


67
68
69
70
71
72
73
74
75
# File 'lib/latitude/api/objects.rb', line 67

class Stats < APIObject
  attribute :databases, :integer, read_only: true
  attribute :ip_addresses, :integer, read_only: true
  attribute :prefixes, :integer, read_only: true
  attribute :servers, :integer, read_only: true
  attribute :storages, :integer, read_only: true
  attribute :virtual_machines, :integer, read_only: true
  attribute :vlans, :integer, read_only: true
end

#ip_addressesInteger (readonly)

Returns:

  • (Integer)


67
68
69
70
71
72
73
74
75
# File 'lib/latitude/api/objects.rb', line 67

class Stats < APIObject
  attribute :databases, :integer, read_only: true
  attribute :ip_addresses, :integer, read_only: true
  attribute :prefixes, :integer, read_only: true
  attribute :servers, :integer, read_only: true
  attribute :storages, :integer, read_only: true
  attribute :virtual_machines, :integer, read_only: true
  attribute :vlans, :integer, read_only: true
end

#prefixesInteger (readonly)

Returns:

  • (Integer)


67
68
69
70
71
72
73
74
75
# File 'lib/latitude/api/objects.rb', line 67

class Stats < APIObject
  attribute :databases, :integer, read_only: true
  attribute :ip_addresses, :integer, read_only: true
  attribute :prefixes, :integer, read_only: true
  attribute :servers, :integer, read_only: true
  attribute :storages, :integer, read_only: true
  attribute :virtual_machines, :integer, read_only: true
  attribute :vlans, :integer, read_only: true
end

#serversInteger (readonly)

Returns:

  • (Integer)


67
68
69
70
71
72
73
74
75
# File 'lib/latitude/api/objects.rb', line 67

class Stats < APIObject
  attribute :databases, :integer, read_only: true
  attribute :ip_addresses, :integer, read_only: true
  attribute :prefixes, :integer, read_only: true
  attribute :servers, :integer, read_only: true
  attribute :storages, :integer, read_only: true
  attribute :virtual_machines, :integer, read_only: true
  attribute :vlans, :integer, read_only: true
end

#storagesInteger (readonly)

Returns:

  • (Integer)


67
68
69
70
71
72
73
74
75
# File 'lib/latitude/api/objects.rb', line 67

class Stats < APIObject
  attribute :databases, :integer, read_only: true
  attribute :ip_addresses, :integer, read_only: true
  attribute :prefixes, :integer, read_only: true
  attribute :servers, :integer, read_only: true
  attribute :storages, :integer, read_only: true
  attribute :virtual_machines, :integer, read_only: true
  attribute :vlans, :integer, read_only: true
end

#virtual_machinesInteger (readonly)

Returns:

  • (Integer)


67
68
69
70
71
72
73
74
75
# File 'lib/latitude/api/objects.rb', line 67

class Stats < APIObject
  attribute :databases, :integer, read_only: true
  attribute :ip_addresses, :integer, read_only: true
  attribute :prefixes, :integer, read_only: true
  attribute :servers, :integer, read_only: true
  attribute :storages, :integer, read_only: true
  attribute :virtual_machines, :integer, read_only: true
  attribute :vlans, :integer, read_only: true
end

#vlansInteger (readonly)

Returns:

  • (Integer)


67
68
69
70
71
72
73
74
75
# File 'lib/latitude/api/objects.rb', line 67

class Stats < APIObject
  attribute :databases, :integer, read_only: true
  attribute :ip_addresses, :integer, read_only: true
  attribute :prefixes, :integer, read_only: true
  attribute :servers, :integer, read_only: true
  attribute :storages, :integer, read_only: true
  attribute :virtual_machines, :integer, read_only: true
  attribute :vlans, :integer, read_only: true
end