Class: Google::Apis::PlusDomainsV1::Comment::InReplyTo

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

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

Returns a new instance of InReplyTo.


1510
1511
1512
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1510

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

Instance Attribute Details

#idString

The ID of the activity. Corresponds to the JSON property id

Returns:

  • (String)

1503
1504
1505
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1503

def id
  @id
end

#urlString

The URL of the activity. Corresponds to the JSON property url

Returns:

  • (String)

1508
1509
1510
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1508

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1515
1516
1517
1518
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1515

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