Method: Falcon::ProcessesapiProcessDetail#valid?

Defined in:
lib/crimson-falcon/models/processesapi_process_detail.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



191
192
193
194
195
196
197
198
199
200
201
202
# File 'lib/crimson-falcon/models/processesapi_process_detail.rb', line 191

def valid?
  return false if @command_line.nil?
  return false if @device_id.nil?
  return false if @file_name.nil?
  return false if @process_id.nil?
  return false if @process_id_local.nil?
  return false if @start_timestamp.nil?
  return false if @start_timestamp_raw.nil?
  return false if @stop_timestamp.nil?
  return false if @stop_timestamp_raw.nil?
  true
end