class SDM::AWSStore

Attributes

id[RW]

Unique identifier of the SecretStore.

name[RW]

Unique human-readable name of the SecretStore.

region[RW]
tags[RW]

Tags is a map of key, value pairs.

Public Class Methods

new( id:nil \ , name:nil \ , region:nil \ , tags:nil \ ) click to toggle source
# File lib/models/porcelain.rb, line 7251
                def initialize(
                        id:nil \
,
                        name:nil \
,
                        region:nil \
,
                        tags:nil \
                )
                        if id != nil
                                @id = id
                        end
                        if name != nil
                                @name = name
                        end
                        if region != nil
                                @region = region
                        end
                        if tags != nil
                                @tags = tags
                        end
                end

Public Instance Methods

to_json(options={}) click to toggle source
# File lib/models/porcelain.rb, line 7273
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