Class: Google::Apis::SpectrumV1explorer::VcardTypedText

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/spectrum_v1explorer/classes.rb,
generated/google/apis/spectrum_v1explorer/representations.rb,
generated/google/apis/spectrum_v1explorer/representations.rb

Overview

The structure used to represent an organization and an email address.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ VcardTypedText

Returns a new instance of VcardTypedText



1601
1602
1603
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1601

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#textString

The text string associated with this item. For example, for an org field: ACME, inc. For an email field: smith@example.com. Corresponds to the JSON property text

Returns:

  • (String)


1599
1600
1601
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1599

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1606
1607
1608
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1606

def update!(**args)
  @text = args[:text] if args.key?(:text)
end