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.

Defined Under Namespace

Classes: CustomerAccount, CustomerProject, Lead, ProspectingResult, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customer_account ⇒ Types::CustomerAccountContext

The customer account context for account planning. This field appears only when the context type is CustomerAccount.



2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 2624

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

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

#customer_project ⇒ Types::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".



2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 2624

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

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

#lead ⇒ Types::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:



2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 2624

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

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

#prospecting_result ⇒ Types::ProspectingResult

Contains prospecting result data with enriched insights. The system generates these insights when a partner runs an autonomous prospecting job on leads. This field appears only when the context type is "ProspectingResult".



2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 2624

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

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

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



2624
2625
2626
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 2624

def unknown
  @unknown
end