Method: PulpcoreClient::PatchedOpenPGPDistribution#valid?

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

#valid?Boolean

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

Returns:

  • (Boolean)

    true if the model is valid



145
146
147
148
149
150
# File 'lib/pulpcore_client/models/patched_open_pgp_distribution.rb', line 145

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