Class: Google::Apis::ContentV2::AccountStatusExampleItem

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Corresponds to the JSON property itemId

Returns:

  • (String)


516
517
518
# File 'generated/google/apis/content_v2/classes.rb', line 516

def item_id
  @item_id
end

Corresponds to the JSON property link

Returns:

  • (String)


521
522
523
# File 'generated/google/apis/content_v2/classes.rb', line 521

def link
  @link
end

#submitted_valueString

Corresponds to the JSON property submittedValue

Returns:

  • (String)


526
527
528
# File 'generated/google/apis/content_v2/classes.rb', line 526

def 
  @submitted_value
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


531
532
533
# File 'generated/google/apis/content_v2/classes.rb', line 531

def title
  @title
end

#value_on_landing_pageString

Corresponds to the JSON property valueOnLandingPage

Returns:

  • (String)


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