Class: Google::Apis::CloudsearchV1::AppsDynamiteV1ApiCompatV1Field

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

Instance Method Summary collapse

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

#shortBoolean Also known as: short?

Whether the field can be shown side-by-side with another field. Corresponds to the JSON property short

Returns:

  • (Boolean)


4354
4355
4356
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4354

def short
  @short
end

#titleString

The heading text, shown in bold. Corresponds to the JSON property title

Returns:

  • (String)


4360
4361
4362
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4360

def title
  @title
end

#valueString

The text value of the field. Corresponds to the JSON property value

Returns:

  • (String)


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