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.



7794
7795
7796
# File 'generated/google/apis/content_v2_1/classes.rb', line 7794

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

Instance Attribute Details

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


7787
7788
7789
# File 'generated/google/apis/content_v2_1/classes.rb', line 7787

def destination
  @destination
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


7792
7793
7794
# File 'generated/google/apis/content_v2_1/classes.rb', line 7792

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7799
7800
7801
7802
# File 'generated/google/apis/content_v2_1/classes.rb', line 7799

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