UpdateEngagementContextPayload
Represents the updated payload of an engagement context. The structure of this payload varies based on the context type being updated.
Inheritors
Types
The CustomerProjects structure in Engagements offers a flexible framework for managing customer-project relationships. It supports multiple customers per Engagement and multiple projects per customer, while also allowing for customers without projects and projects without specific customers.
Contains updated information about a lead when the context type is "Lead". This field is present only when updating a lead context within the engagement.
Functions
Casts this UpdateEngagementContextPayload as a CustomerProject and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.CustomerProjectsContext value. Throws an exception if the UpdateEngagementContextPayload is not a CustomerProject.
Casts this UpdateEngagementContextPayload as a CustomerProject and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.CustomerProjectsContext value. Returns null if the UpdateEngagementContextPayload is not a CustomerProject.
Casts this UpdateEngagementContextPayload as a Lead and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.UpdateLeadContext value. Throws an exception if the UpdateEngagementContextPayload is not a Lead.
Casts this UpdateEngagementContextPayload as a Lead and retrieves its aws.sdk.kotlin.services.partnercentralselling.model.UpdateLeadContext value. Returns null if the UpdateEngagementContextPayload is not a Lead.