Class: Neuron::Client::S3File

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/neuron-client/model/s3_file.rb

Constant Summary collapse

PURPOSE_CHOICES =
[
  "REPORT_RESULT",
  "RAW_EVENT_LOG",
  "NORMALIZED_EVENT_LOG",
  "ENRICHED_EVENT_LOG"
]
ATTRIBUTES =
[
  :id,
  :bucket,     # string, at least 3 chars
  :filename,   # string
  :filesize,   # nil, or integer
  :purpose,    # string, one of PURPOSE_CHOICES
  :created_at, # string, datetime in UTC
  :updated_at, # string, datetime in UTC
]

Instance Method Summary collapse

Methods included from Base

#apply_attributes!, #destroy, #id=, included, #initialize, #new_record?, #save, #to_create_hash, #to_hash, #to_update_hash, #update_attributes, #valid?

Methods included from Base::ClassAndInstanceMethods

#all, #api=, #create, #create!, #find, #validate=

Instance Method Details

#attributesObject



25
26
27
# File 'lib/neuron-client/model/s3_file.rb', line 25

def attributes
  ATTRIBUTES
end