Method: PulpRpmClient::NestedRole#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



106
107
108
109
110
111
# File 'lib/pulp_rpm_client/models/nested_role.rb', line 106

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @role.nil?
  return false if @role.to_s.length < 1
  true
end