Class: Rafflesia::RegistryRebuildDrillReceipt
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::RegistryRebuildDrillReceipt
- Defined in:
- lib/rafflesia/registry/registry_rebuild_drill_receipt.rb
Constant Summary collapse
- HASH_ATTRS =
{ compiled_snapshot_sha256: :compiled_snapshot_sha_256, completed_at: :completed_at, environment: :environment, immutable_snapshot_uri: :immutable_snapshot_uri, is_in_sync: :is_in_sync, runner_git_commit: :runner_git_commit, schema_version: :schema_version, source_commit: :source_commit, source_digest: :source_digest, started_at: :started_at, verified_gcs_artifact_count: :verified_gcs_artifact_count }.freeze
Instance Attribute Summary collapse
-
#compiled_snapshot_sha_256 ⇒ Object
Returns the value of attribute compiled_snapshot_sha_256.
-
#completed_at ⇒ Object
Returns the value of attribute completed_at.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#immutable_snapshot_uri ⇒ Object
Returns the value of attribute immutable_snapshot_uri.
-
#is_in_sync ⇒ Object
Returns the value of attribute is_in_sync.
-
#runner_git_commit ⇒ Object
Returns the value of attribute runner_git_commit.
-
#schema_version ⇒ Object
Returns the value of attribute schema_version.
-
#source_commit ⇒ Object
Returns the value of attribute source_commit.
-
#source_digest ⇒ Object
Returns the value of attribute source_digest.
-
#started_at ⇒ Object
Returns the value of attribute started_at.
-
#verified_gcs_artifact_count ⇒ Object
Returns the value of attribute verified_gcs_artifact_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ RegistryRebuildDrillReceipt
constructor
A new instance of RegistryRebuildDrillReceipt.
Constructor Details
#initialize(json) ⇒ RegistryRebuildDrillReceipt
Returns a new instance of RegistryRebuildDrillReceipt.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 35 def initialize(json) super() hash = self.class.normalize(json) @compiled_snapshot_sha_256 = hash[:compiled_snapshot_sha256] @completed_at = hash[:completed_at] @environment = hash[:environment] @immutable_snapshot_uri = hash[:immutable_snapshot_uri] @is_in_sync = hash[:is_in_sync] @runner_git_commit = hash[:runner_git_commit] @schema_version = hash[:schema_version] @source_commit = hash[:source_commit] @source_digest = hash[:source_digest] @started_at = hash[:started_at] @verified_gcs_artifact_count = hash[:verified_gcs_artifact_count] end |
Instance Attribute Details
#compiled_snapshot_sha_256 ⇒ Object
Returns the value of attribute compiled_snapshot_sha_256.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def compiled_snapshot_sha_256 @compiled_snapshot_sha_256 end |
#completed_at ⇒ Object
Returns the value of attribute completed_at.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def completed_at @completed_at end |
#environment ⇒ Object
Returns the value of attribute environment.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def environment @environment end |
#immutable_snapshot_uri ⇒ Object
Returns the value of attribute immutable_snapshot_uri.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def immutable_snapshot_uri @immutable_snapshot_uri end |
#is_in_sync ⇒ Object
Returns the value of attribute is_in_sync.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def is_in_sync @is_in_sync end |
#runner_git_commit ⇒ Object
Returns the value of attribute runner_git_commit.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def runner_git_commit @runner_git_commit end |
#schema_version ⇒ Object
Returns the value of attribute schema_version.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def schema_version @schema_version end |
#source_commit ⇒ Object
Returns the value of attribute source_commit.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def source_commit @source_commit end |
#source_digest ⇒ Object
Returns the value of attribute source_digest.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def source_digest @source_digest end |
#started_at ⇒ Object
Returns the value of attribute started_at.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def started_at @started_at end |
#verified_gcs_artifact_count ⇒ Object
Returns the value of attribute verified_gcs_artifact_count.
22 23 24 |
# File 'lib/rafflesia/registry/registry_rebuild_drill_receipt.rb', line 22 def verified_gcs_artifact_count @verified_gcs_artifact_count end |