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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrdersCreateTestReturnResponse

Returns a new instance of OrdersCreateTestReturnResponse.



5901
5902
5903
# File 'lib/google/apis/content_v2/classes.rb', line 5901

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)


5894
5895
5896
# File 'lib/google/apis/content_v2/classes.rb', line 5894

def kind
  @kind
end

#return_idString

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

Returns:

  • (String)


5899
5900
5901
# File 'lib/google/apis/content_v2/classes.rb', line 5899

def return_id
  @return_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5906
5907
5908
5909
# File 'lib/google/apis/content_v2/classes.rb', line 5906

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