Class: Rafflesia::CorpuReleaseHistoryRequest

Inherits:
Types::BaseModel
  • Object
show all
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

Instance Method Summary collapse

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

#corpusObject

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_payloadObject

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

#limitObject

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_rootObject

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