Method: PulpCertguardClient::CertguardRHSMCertGuard#valid?
- Defined in:
- lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
120 121 122 123 124 125 126 127 128 |
# File 'lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb', line 120 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @name.nil? return false if @name.to_s.length < 1 return false if !@description.nil? && @description.to_s.length < 1 return false if @ca_certificate.nil? return false if @ca_certificate.to_s.length < 1 true end |