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



7400
7401
7402
# File 'generated/google/apis/content_v2_1/classes.rb', line 7400

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

Instance Attribute Details

#destinationString

The name of the destination Corresponds to the JSON property destination

Returns:

  • (String)


7393
7394
7395
# File 'generated/google/apis/content_v2_1/classes.rb', line 7393

def destination
  @destination
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


7398
7399
7400
# File 'generated/google/apis/content_v2_1/classes.rb', line 7398

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7405
7406
7407
7408
# File 'generated/google/apis/content_v2_1/classes.rb', line 7405

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