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.



8904
8905
8906
# File 'generated/google/apis/content_v2_1/classes.rb', line 8904

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

Instance Attribute Details

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


8897
8898
8899
# File 'generated/google/apis/content_v2_1/classes.rb', line 8897

def destination
  @destination
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


8902
8903
8904
# File 'generated/google/apis/content_v2_1/classes.rb', line 8902

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8909
8910
8911
8912
# File 'generated/google/apis/content_v2_1/classes.rb', line 8909

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