copyWithWrapped method

BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch copyWithWrapped({
  1. Wrapped? conversationConfig,
  2. Wrapped? platformSettings,
  3. Wrapped? name,
  4. Wrapped? tags,
})

Implementation

BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch copyWithWrapped(
    {Wrapped<dynamic>? conversationConfig,
    Wrapped<dynamic>? platformSettings,
    Wrapped<dynamic>? name,
    Wrapped<dynamic>? tags}) {
  return BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatch(
      conversationConfig: (conversationConfig != null
          ? conversationConfig.value
          : this.conversationConfig),
      platformSettings: (platformSettings != null
          ? platformSettings.value
          : this.platformSettings),
      name: (name != null ? name.value : this.name),
      tags: (tags != null ? tags.value : this.tags));
}