Class: SDM::NodeCreateResponse
- Inherits:
-
Object
- Object
- SDM::NodeCreateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
NodeCreateResponse reports how the Nodes were created in the system.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#node ⇒ Object
The created Node.
-
#rate_limit ⇒ Object
Rate limit information.
-
#token ⇒ Object
The auth token generated for the Node.
Instance Method Summary collapse
-
#initialize(meta: nil, node: nil, token: nil, rate_limit: nil) ⇒ NodeCreateResponse
constructor
A new instance of NodeCreateResponse.
Constructor Details
#initialize(meta: nil, node: nil, token: nil, rate_limit: nil) ⇒ NodeCreateResponse
Returns a new instance of NodeCreateResponse.
3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 |
# File 'lib/models/porcelain.rb', line 3451 def initialize( meta:nil \ , node:nil \ , token:nil \ , rate_limit:nil \ ) if != nil @meta = end if node != nil @node = node end if token != nil @token = token end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
3443 3444 3445 |
# File 'lib/models/porcelain.rb', line 3443 def @meta end |
#node ⇒ Object
The created Node.
3445 3446 3447 |
# File 'lib/models/porcelain.rb', line 3445 def node @node end |
#rate_limit ⇒ Object
Rate limit information.
3450 3451 3452 |
# File 'lib/models/porcelain.rb', line 3450 def rate_limit @rate_limit end |
#token ⇒ Object
The auth token generated for the Node. The Node will use this token to authenticate with the strongDM API.
3448 3449 3450 |
# File 'lib/models/porcelain.rb', line 3448 def token @token end |