Class: Aws::PartnerCentralSelling::Types::EngagementContextPayload

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb

Overview

Note:

EngagementContextPayload is a union - when making an API calls you must set exactly one of the members.

Note:

EngagementContextPayload is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of EngagementContextPayload corresponding to the set member.

Represents the payload of an Engagement context. The structure of this payload varies based on the context type specified in the EngagementContextDetails.

Direct Known Subclasses

CustomerProject, Lead, Unknown

Defined Under Namespace

Classes: CustomerProject, Lead, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customer_projectTypes::CustomerProjectsContext

Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".



1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 1669

class EngagementContextPayload < Struct.new(
  :customer_project,
  :lead,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CustomerProject < EngagementContextPayload; end
  class Lead < EngagementContextPayload; end
  class Unknown < EngagementContextPayload; end
end

#leadTypes::LeadContext

Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".

Returns:



1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 1669

class EngagementContextPayload < Struct.new(
  :customer_project,
  :lead,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class CustomerProject < EngagementContextPayload; end
  class Lead < EngagementContextPayload; end
  class Unknown < EngagementContextPayload; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1669
1670
1671
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 1669

def unknown
  @unknown
end