Class: Google::Apis::SpectrumV1explorer::VcardTelephone

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 a telephone number.

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) ⇒ 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

#uriString

A nested telephone URI of the form: tel:+1-123-456-7890. Corresponds to the JSON property uri

Returns:

  • (String)


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