Class: Rafflesia::QueryReleaseCheck
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::QueryReleaseCheck
- Defined in:
- lib/rafflesia/query/query_release_check.rb
Constant Summary collapse
- HASH_ATTRS =
{ byte_count: :byte_count, database: :database, is_integrity_verified: :is_integrity_verified, is_release_pinned: :is_release_pinned, is_schema_verified: :is_schema_verified, kind: :kind, relation: :relation, relation_digest: :relation_digest, release: :release, release_digest: :release_digest, row_count: :row_count, schema_hash: :schema_hash, schema_version: :schema_version, source: :source }.freeze
Instance Attribute Summary collapse
-
#byte_count ⇒ Object
Returns the value of attribute byte_count.
-
#database ⇒ Object
Returns the value of attribute database.
-
#is_integrity_verified ⇒ Object
Returns the value of attribute is_integrity_verified.
-
#is_release_pinned ⇒ Object
Returns the value of attribute is_release_pinned.
-
#is_schema_verified ⇒ Object
Returns the value of attribute is_schema_verified.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#relation_digest ⇒ Object
Returns the value of attribute relation_digest.
-
#release ⇒ Object
Returns the value of attribute release.
-
#release_digest ⇒ Object
Returns the value of attribute release_digest.
-
#row_count ⇒ Object
Returns the value of attribute row_count.
-
#schema_hash ⇒ Object
Returns the value of attribute schema_hash.
-
#schema_version ⇒ Object
Returns the value of attribute schema_version.
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(json) ⇒ QueryReleaseCheck
constructor
A new instance of QueryReleaseCheck.
Constructor Details
#initialize(json) ⇒ QueryReleaseCheck
Returns a new instance of QueryReleaseCheck.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/query/query_release_check.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @byte_count = hash[:byte_count] @database = hash[:database] @is_integrity_verified = hash[:is_integrity_verified] @is_release_pinned = hash[:is_release_pinned] @is_schema_verified = hash[:is_schema_verified] @kind = hash[:kind] @relation = hash[:relation] @relation_digest = hash[:relation_digest] @release = hash[:release] @release_digest = hash[:release_digest] @row_count = hash[:row_count] @schema_hash = hash[:schema_hash] @schema_version = hash[:schema_version] @source = hash[:source] end |
Instance Attribute Details
#byte_count ⇒ Object
Returns the value of attribute byte_count.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def byte_count @byte_count end |
#database ⇒ Object
Returns the value of attribute database.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def database @database end |
#is_integrity_verified ⇒ Object
Returns the value of attribute is_integrity_verified.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def is_integrity_verified @is_integrity_verified end |
#is_release_pinned ⇒ Object
Returns the value of attribute is_release_pinned.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def is_release_pinned @is_release_pinned end |
#is_schema_verified ⇒ Object
Returns the value of attribute is_schema_verified.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def is_schema_verified @is_schema_verified end |
#kind ⇒ Object
Returns the value of attribute kind.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def kind @kind end |
#relation ⇒ Object
Returns the value of attribute relation.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def relation @relation end |
#relation_digest ⇒ Object
Returns the value of attribute relation_digest.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def relation_digest @relation_digest end |
#release ⇒ Object
Returns the value of attribute release.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def release @release end |
#release_digest ⇒ Object
Returns the value of attribute release_digest.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def release_digest @release_digest end |
#row_count ⇒ Object
Returns the value of attribute row_count.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def row_count @row_count end |
#schema_hash ⇒ Object
Returns the value of attribute schema_hash.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def schema_hash @schema_hash end |
#schema_version ⇒ Object
Returns the value of attribute schema_version.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def schema_version @schema_version end |
#source ⇒ Object
Returns the value of attribute source.
25 26 27 |
# File 'lib/rafflesia/query/query_release_check.rb', line 25 def source @source end |