Method: PulpcoreClient::GroupRole#valid?

Defined in:
lib/pulpcore_client/models/group_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



101
102
103
104
105
106
# File 'lib/pulpcore_client/models/group_role.rb', line 101

def valid?
  return false if @role.nil?
  return false if @role.to_s.length < 1
  return false if @content_object.to_s.length < 1
  true
end