Class: Google::Apis::CalendarV3::DisplayInfo

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

Returns a new instance of DisplayInfo



656
657
658
# File 'generated/google/apis/calendar_v3/classes.rb', line 656

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

Instance Attribute Details

#app_icon_urlString

Corresponds to the JSON property appIconUrl

Returns:

  • (String)


634
635
636
# File 'generated/google/apis/calendar_v3/classes.rb', line 634

def app_icon_url
  @app_icon_url
end

#app_short_titleString

Corresponds to the JSON property appShortTitle

Returns:

  • (String)


639
640
641
# File 'generated/google/apis/calendar_v3/classes.rb', line 639

def app_short_title
  @app_short_title
end

#app_titleString

Corresponds to the JSON property appTitle

Returns:

  • (String)


644
645
646
# File 'generated/google/apis/calendar_v3/classes.rb', line 644

def app_title
  @app_title
end

Corresponds to the JSON property linkShortTitle

Returns:

  • (String)


649
650
651
# File 'generated/google/apis/calendar_v3/classes.rb', line 649

def link_short_title
  @link_short_title
end

Corresponds to the JSON property linkTitle

Returns:

  • (String)


654
655
656
# File 'generated/google/apis/calendar_v3/classes.rb', line 654

def link_title
  @link_title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



661
662
663
664
665
666
667
# File 'generated/google/apis/calendar_v3/classes.rb', line 661

def update!(**args)
  @app_icon_url = args[:app_icon_url] if args.key?(:app_icon_url)
  @app_short_title = args[:app_short_title] if args.key?(:app_short_title)
  @app_title = args[:app_title] if args.key?(:app_title)
  @link_short_title = args[:link_short_title] if args.key?(:link_short_title)
  @link_title = args[:link_title] if args.key?(:link_title)
end