Method: Harbor2Client::ScannerRegistrationSettings#to_hash
- Defined in:
- lib/harbor2_client/models/scanner_registration_settings.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
198 199 200 201 202 203 204 205 206 |
# File 'lib/harbor2_client/models/scanner_registration_settings.rb', line 198 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |