Class: Google::Apis::ContentV2::AccountStatusExampleItem
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountStatusExampleItem
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#item_id ⇒ String
Corresponds to the JSON property
itemId
. -
#link ⇒ String
Corresponds to the JSON property
link
. -
#submitted_value ⇒ String
Corresponds to the JSON property
submittedValue
. -
#title ⇒ String
Corresponds to the JSON property
title
. -
#value_on_landing_page ⇒ String
Corresponds to the JSON property
valueOnLandingPage
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccountStatusExampleItem
constructor
A new instance of AccountStatusExampleItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccountStatusExampleItem
Returns a new instance of AccountStatusExampleItem.
538 539 540 |
# File 'generated/google/apis/content_v2/classes.rb', line 538 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item_id ⇒ String
Corresponds to the JSON property itemId
516 517 518 |
# File 'generated/google/apis/content_v2/classes.rb', line 516 def item_id @item_id end |
#link ⇒ String
Corresponds to the JSON property link
521 522 523 |
# File 'generated/google/apis/content_v2/classes.rb', line 521 def link @link end |
#submitted_value ⇒ String
Corresponds to the JSON property submittedValue
526 527 528 |
# File 'generated/google/apis/content_v2/classes.rb', line 526 def submitted_value @submitted_value end |
#title ⇒ String
Corresponds to the JSON property title
531 532 533 |
# File 'generated/google/apis/content_v2/classes.rb', line 531 def title @title end |
#value_on_landing_page ⇒ String
Corresponds to the JSON property valueOnLandingPage
536 537 538 |
# File 'generated/google/apis/content_v2/classes.rb', line 536 def value_on_landing_page @value_on_landing_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
543 544 545 546 547 548 549 |
# File 'generated/google/apis/content_v2/classes.rb', line 543 def update!(**args) @item_id = args[:item_id] if args.key?(:item_id) @link = args[:link] if args.key?(:link) @submitted_value = args[:submitted_value] if args.key?(:submitted_value) @title = args[:title] if args.key?(:title) @value_on_landing_page = args[:value_on_landing_page] if args.key?(:value_on_landing_page) end |