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



7538
7539
7540
# File 'generated/google/apis/content_v2_1/classes.rb', line 7538

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

Instance Attribute Details

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


7531
7532
7533
# File 'generated/google/apis/content_v2_1/classes.rb', line 7531

def destination
  @destination
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


7536
7537
7538
# File 'generated/google/apis/content_v2_1/classes.rb', line 7536

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7543
7544
7545
7546
# File 'generated/google/apis/content_v2_1/classes.rb', line 7543

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