Class: Aws::PartnerCentralSelling::Types::EngagementContextPayload
- Inherits:
-
Struct
- Object
- Struct
- Aws::PartnerCentralSelling::Types::EngagementContextPayload
- Defined in:
- gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb
Overview
EngagementContextPayload is a union - when making an API calls you must set exactly one of the members.
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
Defined Under Namespace
Classes: CustomerProject, Lead, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#customer_project ⇒ Types::CustomerProjectsContext
Contains detailed information about a customer project when the context type is "CustomerProject".
-
#lead ⇒ Types::LeadContext
Contains detailed information about a lead when the context type is "Lead".
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#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".
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 1575 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 |
#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".
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 1575 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 |
#unknown ⇒ Object
Returns the value of attribute unknown
1575 1576 1577 |
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/types.rb', line 1575 def unknown @unknown end |