Class: Google::Apis::ContentV2_1::ProductStatusDestinationStatus

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ProductStatusDestinationStatus

Returns a new instance of ProductStatusDestinationStatus



7514
7515
7516
# File 'generated/google/apis/content_v2_1/classes.rb', line 7514

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

Instance Attribute Details

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


7507
7508
7509
# File 'generated/google/apis/content_v2_1/classes.rb', line 7507

def destination
  @destination
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


7512
7513
7514
# File 'generated/google/apis/content_v2_1/classes.rb', line 7512

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7519
7520
7521
7522
# File 'generated/google/apis/content_v2_1/classes.rb', line 7519

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