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.



4040
4041
4042
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4040

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)


4027
4028
4029
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4027

def short
  @short
end

#titleString

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

Returns:

  • (String)


4033
4034
4035
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4033

def title
  @title
end

#valueString

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

Returns:

  • (String)


4038
4039
4040
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4038

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4045
4046
4047
4048
4049
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 4045

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