Class: Google::Apis::CloudsearchV1::AppsDynamiteV1ApiCompatV1Field
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteV1ApiCompatV1Field
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
A column of text in an attachment. Documentation: - https://api.slack.com/docs/ message-attachments
Instance Attribute Summary collapse
-
#short ⇒ Boolean
(also: #short?)
Whether the field can be shown side-by-side with another field.
-
#title ⇒ String
The heading text, shown in bold.
-
#value ⇒ String
The text value of the field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteV1ApiCompatV1Field
constructor
A new instance of AppsDynamiteV1ApiCompatV1Field.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteV1ApiCompatV1Field
Returns a new instance of AppsDynamiteV1ApiCompatV1Field.
4425 4426 4427 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4425 def initialize(**args) update!(**args) end |
Instance Attribute Details
#short ⇒ Boolean Also known as: short?
Whether the field can be shown side-by-side with another field.
Corresponds to the JSON property short
4412 4413 4414 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4412 def short @short end |
#title ⇒ String
The heading text, shown in bold.
Corresponds to the JSON property title
4418 4419 4420 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4418 def title @title end |
#value ⇒ String
The text value of the field.
Corresponds to the JSON property value
4423 4424 4425 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4423 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4430 4431 4432 4433 4434 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4430 def update!(**args) @short = args[:short] if args.key?(:short) @title = args[:title] if args.key?(:title) @value = args[:value] if args.key?(:value) end |