Class: Latitude::API::Objects::Project

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

#bandwidth_alertBoolean (readonly)

Returns:

  • (Boolean)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#billingLatitude::API::Objects::Billing (readonly)



177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#billing_methodString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#billing_typeString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#descriptionString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#environmentString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#idString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#nameString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#provisioning_typeString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#slugString (readonly)

Returns:

  • (String)


177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end

#statsLatitude::API::Objects::Stats (readonly)



177
178
179
180
181
182
183
184
185
186
187
188
189
# File 'lib/latitude/api/objects.rb', line 177

class Project < APIObject
  attribute :id, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :name, :string, read_only: true
  attribute :description, :string, read_only: true
  attribute :provisioning_type, :string, read_only: true
  attribute :billing_type, :string, read_only: true
  attribute :billing_method, :string, read_only: true
  attribute :bandwidth_alert, :boolean, read_only: true
  attribute :environment, :string, read_only: true
  attribute :billing, Objects::Billing, read_only: true
  attribute :stats, Objects::Stats, read_only: true
end