Class: Rafflesia::CorpuReleaseHistoryRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseHistoryRequest
- Defined in:
- lib/rafflesia/datasets/corpu_release_history_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ corpus: :corpus, include_audit_payload: :include_audit_payload, limit: :limit, object_store_root: :object_store_root }.freeze
Instance Attribute Summary collapse
-
#corpus ⇒ Object
Returns the value of attribute corpus.
-
#include_audit_payload ⇒ Object
Returns the value of attribute include_audit_payload.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseHistoryRequest
constructor
A new instance of CorpuReleaseHistoryRequest.
Constructor Details
#initialize(json) ⇒ CorpuReleaseHistoryRequest
Returns a new instance of CorpuReleaseHistoryRequest.
21 22 23 24 25 26 27 28 |
# File 'lib/rafflesia/datasets/corpu_release_history_request.rb', line 21 def initialize(json) super() hash = self.class.normalize(json) @corpus = hash[:corpus] @include_audit_payload = hash[:include_audit_payload] @limit = hash[:limit] @object_store_root = hash[:object_store_root] end |
Instance Attribute Details
#corpus ⇒ Object
Returns the value of attribute corpus.
15 16 17 |
# File 'lib/rafflesia/datasets/corpu_release_history_request.rb', line 15 def corpus @corpus end |
#include_audit_payload ⇒ Object
Returns the value of attribute include_audit_payload.
15 16 17 |
# File 'lib/rafflesia/datasets/corpu_release_history_request.rb', line 15 def include_audit_payload @include_audit_payload end |
#limit ⇒ Object
Returns the value of attribute limit.
15 16 17 |
# File 'lib/rafflesia/datasets/corpu_release_history_request.rb', line 15 def limit @limit end |
#object_store_root ⇒ Object
Returns the value of attribute object_store_root.
15 16 17 |
# File 'lib/rafflesia/datasets/corpu_release_history_request.rb', line 15 def object_store_root @object_store_root end |