Class: SDM::DelineaStore
- Inherits:
-
Object
- Object
- SDM::DelineaStore
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
-
#tenant_name ⇒ Object
Returns the value of attribute tenant_name.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, server_url: nil, tags: nil, tenant_name: nil) ⇒ DelineaStore
constructor
A new instance of DelineaStore.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, server_url: nil, tags: nil, tenant_name: nil) ⇒ DelineaStore
Returns a new instance of DelineaStore.
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 |
# File 'lib/models/porcelain.rb', line 2953 def initialize( id: nil, name: nil, server_url: nil, tags: nil, tenant_name: nil ) @id = id == nil ? "" : id @name = name == nil ? "" : name @server_url = server_url == nil ? "" : server_url @tags = == nil ? SDM::() : @tenant_name = tenant_name == nil ? "" : tenant_name end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
2943 2944 2945 |
# File 'lib/models/porcelain.rb', line 2943 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
2945 2946 2947 |
# File 'lib/models/porcelain.rb', line 2945 def name @name end |
#server_url ⇒ Object
Returns the value of attribute server_url.
2947 2948 2949 |
# File 'lib/models/porcelain.rb', line 2947 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
2949 2950 2951 |
# File 'lib/models/porcelain.rb', line 2949 def @tags end |
#tenant_name ⇒ Object
Returns the value of attribute tenant_name.
2951 2952 2953 |
# File 'lib/models/porcelain.rb', line 2951 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2967 2968 2969 2970 2971 2972 2973 |
# File 'lib/models/porcelain.rb', line 2967 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 |