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

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

Instance Method Summary collapse

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_idString

Corresponds to the JSON property itemId

Returns:

  • (String)


524
525
526
# File 'lib/google/apis/content_v2/classes.rb', line 524

def item_id
  @item_id
end

Corresponds to the JSON property link

Returns:

  • (String)


529
530
531
# File 'lib/google/apis/content_v2/classes.rb', line 529

def link
  @link
end

#submitted_valueString

Corresponds to the JSON property submittedValue

Returns:

  • (String)


534
535
536
# File 'lib/google/apis/content_v2/classes.rb', line 534

def 
  @submitted_value
end

#titleString

Corresponds to the JSON property title

Returns:

  • (String)


539
540
541
# File 'lib/google/apis/content_v2/classes.rb', line 539

def title
  @title
end

#value_on_landing_pageString

Corresponds to the JSON property valueOnLandingPage

Returns:

  • (String)


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