Method: PulpcoreClient::PatchedPulpExporter#valid?

Defined in:
lib/pulpcore_client/models/patched_pulp_exporter.rb

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



114
115
116
117
118
119
# File 'lib/pulpcore_client/models/patched_pulp_exporter.rb', line 114

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