class SDM::ControlPanelGetSSHCAPublicKeyResponse
ControlPanelGetSSHCAPublicKeyResponse
represents a request for an organization's SSH
Certificate Authority public key.
Attributes
meta[RW]
Reserved for future use.
public_key[RW]
The public key of the SSH
Certificate Authority, in OpenSSH RSA public key format.
rate_limit[RW]
Rate limit information.
Public Class Methods
new( meta: nil, public_key: nil, rate_limit: nil )
click to toggle source
# File lib/models/porcelain.rb, line 661 def initialize( meta: nil, public_key: nil, rate_limit: nil ) if meta != nil @meta = meta end if public_key != nil @public_key = public_key end if rate_limit != nil @rate_limit = rate_limit end end
Public Instance Methods
to_json(options = {})
click to toggle source
# File lib/models/porcelain.rb, line 677 def to_json(options = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end