Method: PulpRpmClient::ImageResponse#valid?

Defined in:
lib/pulp_rpm_client/models/image_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



124
125
126
127
128
129
130
# File 'lib/pulp_rpm_client/models/image_response.rb', line 124

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @name.nil?
  return false if @path.nil?
  return false if @platforms.nil?
  true
end