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