Method: Falcon::DomainFileDetailsV1#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



133
134
135
136
137
138
# File 'lib/crimson-falcon/models/domain_file_details_v1.rb', line 133

def valid?
  return false if @download_urls.nil?
  return false if @name.nil?
  return false if @size.nil?
  true
end