Class: Google::Apis::CesV1::CitationsCitedChunk
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::CitationsCitedChunk
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Piece of cited information.
Instance Attribute Summary collapse
-
#text ⇒ String
Text used for citation.
-
#title ⇒ String
Title of the cited document.
-
#uri ⇒ String
URI used for citation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CitationsCitedChunk
constructor
A new instance of CitationsCitedChunk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CitationsCitedChunk
Returns a new instance of CitationsCitedChunk.
1540 1541 1542 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Text used for citation.
Corresponds to the JSON property text
1528 1529 1530 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1528 def text @text end |
#title ⇒ String
Title of the cited document.
Corresponds to the JSON property title
1533 1534 1535 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1533 def title @title end |
#uri ⇒ String
URI used for citation.
Corresponds to the JSON property uri
1538 1539 1540 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1538 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1545 1546 1547 1548 1549 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1545 def update!(**args) @text = args[:text] if args.key?(:text) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |