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.
4367 4368 4369 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4367 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
4354 4355 4356 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4354 def short @short end |
#title ⇒ String
The heading text, shown in bold.
Corresponds to the JSON property title
4360 4361 4362 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4360 def title @title end |
#value ⇒ String
The text value of the field.
Corresponds to the JSON property value
4365 4366 4367 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4365 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4372 4373 4374 4375 4376 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4372 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 |