class SDM::NodeCreateResponse
NodeCreateResponse
reports how the Nodes
were created in the system.
Attributes
meta[RW]
Reserved for future use.
node[RW]
The created Node.
rate_limit[RW]
Rate limit information.
token[RW]
The auth token generated for the Node. The Node will use this token to authenticate with the strongDM API.
Public Class Methods
new( meta: nil, node: nil, token: nil, rate_limit: nil )
click to toggle source
# File lib/models/porcelain.rb, line 5934 def initialize( meta: nil, node: nil, token: nil, rate_limit: nil ) if meta != nil @meta = meta end if node != nil @node = node end if token != nil @token = token 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 5954 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