Method: PulpRpmClient::RpmModulemdResponse#valid?

Defined in:
lib/pulp_rpm_client/models/rpm_modulemd_response.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



260
261
262
263
264
265
266
267
268
269
# File 'lib/pulp_rpm_client/models/rpm_modulemd_response.rb', line 260

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @name.nil?
  return false if @stream.nil?
  return false if @version.nil?
  return false if @context.nil?
  return false if @arch.nil?
  return false if @description.nil?
  true
end