Class: Google::Apis::SpectrumV1explorer::VcardTelephone
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::VcardTelephone
- 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 a telephone number.
Instance Attribute Summary collapse
-
#uri ⇒ String
A nested telephone URI of the form: tel:+1-123-456-7890.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VcardTelephone
constructor
A new instance of VcardTelephone.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VcardTelephone
Returns a new instance of VcardTelephone
1581 1582 1583 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1581 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uri ⇒ String
A nested telephone URI of the form: tel:+1-123-456-7890.
Corresponds to the JSON property uri
1579 1580 1581 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1579 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1586 1587 1588 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1586 def update!(**args) @uri = args[:uri] if args.key?(:uri) end |