Method: SDM::SSHCert#initialize
- Defined in:
- lib/models/porcelain.rb
#initialize(id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, username: nil, port: nil, port_forwarding: nil, allow_deprecated_key_exchanges: nil) ⇒ SSHCert
Returns a new instance of SSHCert.
5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 |
# File 'lib/models/porcelain.rb', line 5466 def initialize( id: nil, name: nil, healthy: nil, tags: nil, secret_store_id: nil, egress_filter: nil, hostname: nil, username: nil, port: nil, port_forwarding: nil, allow_deprecated_key_exchanges: nil ) if id != nil @id = id end if name != nil @name = name end if healthy != nil @healthy = healthy end if != nil @tags = end if secret_store_id != nil @secret_store_id = secret_store_id end if egress_filter != nil @egress_filter = egress_filter end if hostname != nil @hostname = hostname end if username != nil @username = username end if port != nil @port = port end if port_forwarding != nil @port_forwarding = port_forwarding end if allow_deprecated_key_exchanges != nil @allow_deprecated_key_exchanges = allow_deprecated_key_exchanges end end |