Class: Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse

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

Constructor Details

#initialize(**args) ⇒ OrdersCreateTestReturnResponse

Returns a new instance of OrdersCreateTestReturnResponse.



7176
7177
7178
# File 'generated/google/apis/content_v2_1/classes.rb', line 7176

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)


7169
7170
7171
# File 'generated/google/apis/content_v2_1/classes.rb', line 7169

def kind
  @kind
end

#return_idString

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

Returns:

  • (String)


7174
7175
7176
# File 'generated/google/apis/content_v2_1/classes.rb', line 7174

def return_id
  @return_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7181
7182
7183
7184
# File 'generated/google/apis/content_v2_1/classes.rb', line 7181

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