Class: Rafflesia::RegistryMount
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::RegistryMount
- Defined in:
- lib/rafflesia/registry/registry_mount.rb
Constant Summary collapse
- HASH_ATTRS =
{ access_policy_id: :access_policy_id, id: :id, mounted_at: :mounted_at, object: :object, organization_id: :organization_id, resource_group_id: :resource_group_id, schema_version: :schema_version, signature: :signature, signing_key_id: :signing_key_id, signing_public_key: :signing_public_key, snapshot_digest: :snapshot_digest, snapshot_uri: :snapshot_uri, status: :status, updated_at: :updated_at }.freeze
Instance Attribute Summary collapse
-
#access_policy_id ⇒ Object
Returns the value of attribute access_policy_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#mounted_at ⇒ Object
Returns the value of attribute mounted_at.
-
#object ⇒ Object
Returns the value of attribute object.
-
#organization_id ⇒ Object
Returns the value of attribute organization_id.
-
#resource_group_id ⇒ Object
Returns the value of attribute resource_group_id.
-
#schema_version ⇒ Object
Returns the value of attribute schema_version.
-
#signature ⇒ Object
Returns the value of attribute signature.
-
#signing_key_id ⇒ Object
Returns the value of attribute signing_key_id.
-
#signing_public_key ⇒ Object
Returns the value of attribute signing_public_key.
-
#snapshot_digest ⇒ Object
Returns the value of attribute snapshot_digest.
-
#snapshot_uri ⇒ Object
Returns the value of attribute snapshot_uri.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Instance Method Summary collapse
-
#initialize(json) ⇒ RegistryMount
constructor
A new instance of RegistryMount.
Constructor Details
#initialize(json) ⇒ RegistryMount
Returns a new instance of RegistryMount.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @access_policy_id = hash[:access_policy_id] @id = hash[:id] @mounted_at = hash[:mounted_at] @object = hash[:object] @organization_id = hash[:organization_id] @resource_group_id = hash[:resource_group_id] @schema_version = hash[:schema_version] @signature = hash[:signature] @signing_key_id = hash[:signing_key_id] @signing_public_key = hash[:signing_public_key] @snapshot_digest = hash[:snapshot_digest] @snapshot_uri = hash[:snapshot_uri] @status = hash[:status] @updated_at = hash[:updated_at] end |
Instance Attribute Details
#access_policy_id ⇒ Object
Returns the value of attribute access_policy_id.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def access_policy_id @access_policy_id end |
#id ⇒ Object
Returns the value of attribute id.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def id @id end |
#mounted_at ⇒ Object
Returns the value of attribute mounted_at.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def mounted_at @mounted_at end |
#object ⇒ Object
Returns the value of attribute object.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def object @object end |
#organization_id ⇒ Object
Returns the value of attribute organization_id.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def organization_id @organization_id end |
#resource_group_id ⇒ Object
Returns the value of attribute resource_group_id.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def resource_group_id @resource_group_id end |
#schema_version ⇒ Object
Returns the value of attribute schema_version.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def schema_version @schema_version end |
#signature ⇒ Object
Returns the value of attribute signature.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def signature @signature end |
#signing_key_id ⇒ Object
Returns the value of attribute signing_key_id.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def signing_key_id @signing_key_id end |
#signing_public_key ⇒ Object
Returns the value of attribute signing_public_key.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def signing_public_key @signing_public_key end |
#snapshot_digest ⇒ Object
Returns the value of attribute snapshot_digest.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def snapshot_digest @snapshot_digest end |
#snapshot_uri ⇒ Object
Returns the value of attribute snapshot_uri.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def snapshot_uri @snapshot_uri end |
#status ⇒ Object
Returns the value of attribute status.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
25 26 27 |
# File 'lib/rafflesia/registry/registry_mount.rb', line 25 def updated_at @updated_at end |