Class: Google::Apis::ContentV2::AccountStatusExampleItem
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::AccountStatusExampleItem
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/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.
546 547 548 |
# File 'lib/google/apis/content_v2/classes.rb', line 546 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item_id ⇒ String
Corresponds to the JSON property itemId
524 525 526 |
# File 'lib/google/apis/content_v2/classes.rb', line 524 def item_id @item_id end |
#link ⇒ String
Corresponds to the JSON property link
529 530 531 |
# File 'lib/google/apis/content_v2/classes.rb', line 529 def link @link end |
#submitted_value ⇒ String
Corresponds to the JSON property submittedValue
534 535 536 |
# File 'lib/google/apis/content_v2/classes.rb', line 534 def submitted_value @submitted_value end |
#title ⇒ String
Corresponds to the JSON property title
539 540 541 |
# File 'lib/google/apis/content_v2/classes.rb', line 539 def title @title end |
#value_on_landing_page ⇒ String
Corresponds to the JSON property valueOnLandingPage
544 545 546 |
# File 'lib/google/apis/content_v2/classes.rb', line 544 def value_on_landing_page @value_on_landing_page end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
551 552 553 554 555 556 557 |
# File 'lib/google/apis/content_v2/classes.rb', line 551 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 |