Class UsageRecord
In: lib/openshift-origin-controller/app/models/usage_record.rb
Parent: OpenShift::UserModel

Methods

Constants

EVENTS = { :begin => "begin", :end => "end", :continue => "continue" }
USAGE_TYPES = { :gear_usage => "GEAR_USAGE", :addtl_fs_gb => "ADDTL_FS_GB" }

Attributes

addtl_fs_gb  [RW] 
event  [RW] 
gear_size  [RW] 
gear_uuid  [RW] 
sync_time  [RW] 
time  [RW] 
usage_type  [RW] 
user  [RW] 
uuid  [RW] 

Public Class methods

Public Instance methods

Deletes the usage record from the datastore

Saves the usage record to the datastore

[Validate]