Package org.a2aproject.sdk.grpc.mapper
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 -
Method Summary
Modifier and TypeMethodDescriptionConverts protobuf TaskPushNotificationConfig to domain TaskPushNotificationConfig.toProto(TaskPushNotificationConfig domain) Converts domain TaskPushNotificationConfig to protobuf TaskPushNotificationConfig.
-
Field Details
-
INSTANCE
-
-
Method Details
-
toProto
Converts domain TaskPushNotificationConfig to protobuf TaskPushNotificationConfig.- Parameters:
domain- the domain TaskPushNotificationConfig- Returns:
- protobuf TaskPushNotificationConfig
-
fromProto
Converts protobuf TaskPushNotificationConfig to domain TaskPushNotificationConfig.- Parameters:
proto- the protobuf TaskPushNotificationConfig- Returns:
- domain TaskPushNotificationConfig
-