Class: Google::Apis::ContentV2::OrdersCreateTestReturnResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/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) ⇒ OrdersCreateTestReturnResponse

Returns a new instance of OrdersCreateTestReturnResponse



6052
6053
6054
# File 'generated/google/apis/content_v2/classes.rb', line 6052

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

Instance Attribute Details

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# ordersCreateTestReturnResponse". Corresponds to the JSON property kind

Returns:

  • (String)


6045
6046
6047
# File 'generated/google/apis/content_v2/classes.rb', line 6045

def kind
  @kind
end

#return_idString

The ID of the newly created test order return. Corresponds to the JSON property returnId

Returns:

  • (String)


6050
6051
6052
# File 'generated/google/apis/content_v2/classes.rb', line 6050

def return_id
  @return_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6057
6058
6059
6060
# File 'generated/google/apis/content_v2/classes.rb', line 6057

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