Class: GetFullDocumentResponse
- Inherits:
-
Object
- Object
- GetFullDocumentResponse
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen-rb/relevanced_protocol_types.rb
Constant Summary collapse
- DOCUMENT =
1- FIELDS =
{ DOCUMENT => {:type => ::Thrift::Types::STRUCT, :name => 'document', :class => ::ProcessedDocumentDTO} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
204 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 204 def struct_fields; FIELDS; end |
#validate ⇒ Object
206 207 208 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 206 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field document is unset!') unless @document end |