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.



3949
3950
3951
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3949

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)


3936
3937
3938
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3936

def short
  @short
end

#titleString

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

Returns:

  • (String)


3942
3943
3944
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3942

def title
  @title
end

#valueString

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

Returns:

  • (String)


3947
3948
3949
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3947

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3954
3955
3956
3957
3958
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3954

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