Class: Google::Apis::CalendarV3::Link

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Link

Returns a new instance of Link



1821
1822
1823
# File 'generated/google/apis/calendar_v3/classes.rb', line 1821

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

Instance Attribute Details

#applinking_sourceString

Corresponds to the JSON property applinkingSource

Returns:

  • (String)


1799
1800
1801
# File 'generated/google/apis/calendar_v3/classes.rb', line 1799

def applinking_source
  @applinking_source
end

#display_infoGoogle::Apis::CalendarV3::DisplayInfo

Corresponds to the JSON property displayInfo



1804
1805
1806
# File 'generated/google/apis/calendar_v3/classes.rb', line 1804

def display_info
  @display_info
end

#launch_infoGoogle::Apis::CalendarV3::LaunchInfo

Corresponds to the JSON property launchInfo



1809
1810
1811
# File 'generated/google/apis/calendar_v3/classes.rb', line 1809

def launch_info
  @launch_info
end

#platformString

Corresponds to the JSON property platform

Returns:

  • (String)


1814
1815
1816
# File 'generated/google/apis/calendar_v3/classes.rb', line 1814

def platform
  @platform
end

#urlString

Corresponds to the JSON property url

Returns:

  • (String)


1819
1820
1821
# File 'generated/google/apis/calendar_v3/classes.rb', line 1819

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1826
1827
1828
1829
1830
1831
1832
# File 'generated/google/apis/calendar_v3/classes.rb', line 1826

def update!(**args)
  @applinking_source = args[:applinking_source] if args.key?(:applinking_source)
  @display_info = args[:display_info] if args.key?(:display_info)
  @launch_info = args[:launch_info] if args.key?(:launch_info)
  @platform = args[:platform] if args.key?(:platform)
  @url = args[:url] if args.key?(:url)
end