Interface TaskPushNotificationConfigMapper

All Known Implementing Classes:
TaskPushNotificationConfigMapperImpl

public interface TaskPushNotificationConfigMapper
MapStruct mapper for TaskPushNotificationConfig.

Maps between domain TaskPushNotificationConfig and proto TaskPushNotificationConfig. The proto has direct id, task_id, url, token, authentication, and tenant fields.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.a2aproject.sdk.spec.TaskPushNotificationConfig
    Converts protobuf TaskPushNotificationConfig to domain TaskPushNotificationConfig.
    toProto(org.a2aproject.sdk.spec.TaskPushNotificationConfig domain)
    Converts domain TaskPushNotificationConfig to protobuf TaskPushNotificationConfig.
  • Field Details

  • Method Details

    • toProto

      TaskPushNotificationConfig toProto(org.a2aproject.sdk.spec.TaskPushNotificationConfig domain)
      Converts domain TaskPushNotificationConfig to protobuf TaskPushNotificationConfig.
      Parameters:
      domain - the domain TaskPushNotificationConfig
      Returns:
      protobuf TaskPushNotificationConfig
    • fromProto

      org.a2aproject.sdk.spec.TaskPushNotificationConfig fromProto(TaskPushNotificationConfig proto)
      Converts protobuf TaskPushNotificationConfig to domain TaskPushNotificationConfig.
      Parameters:
      proto - the protobuf TaskPushNotificationConfig
      Returns:
      domain TaskPushNotificationConfig