Class: SDM::CyberarkPAMExperimentalStore
- Inherits:
-
Object
- Object
- SDM::CyberarkPAMExperimentalStore
- Defined in:
- lib/models/porcelain.rb
Overview
CyberarkPAMExperimentalStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
Instance Attribute Summary collapse
-
#appurl ⇒ Object
The URL of the Cyberark instance.
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(appurl: nil, id: nil, name: nil, tags: nil) ⇒ CyberarkPAMExperimentalStore
constructor
A new instance of CyberarkPAMExperimentalStore.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(appurl: nil, id: nil, name: nil, tags: nil) ⇒ CyberarkPAMExperimentalStore
Returns a new instance of CyberarkPAMExperimentalStore.
4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 |
# File 'lib/models/porcelain.rb', line 4395 def initialize( appurl: nil, id: nil, name: nil, tags: nil ) @appurl = appurl == nil ? "" : appurl @id = id == nil ? "" : id @name = name == nil ? "" : name @tags = == nil ? SDM::() : end |
Instance Attribute Details
#appurl ⇒ Object
The URL of the Cyberark instance
4387 4388 4389 |
# File 'lib/models/porcelain.rb', line 4387 def appurl @appurl end |
#id ⇒ Object
Unique identifier of the SecretStore.
4389 4390 4391 |
# File 'lib/models/porcelain.rb', line 4389 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
4391 4392 4393 |
# File 'lib/models/porcelain.rb', line 4391 def name @name end |
#tags ⇒ Object
Tags is a map of key, value pairs.
4393 4394 4395 |
# File 'lib/models/porcelain.rb', line 4393 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4407 4408 4409 4410 4411 4412 4413 |
# File 'lib/models/porcelain.rb', line 4407 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |