Record Class TaskPushNotificationConfig_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.TaskPushNotificationConfig_v0_3
public record TaskPushNotificationConfig_v0_3(String taskId, PushNotificationConfig_v0_3 pushNotificationConfig)
extends Record
A container associating a push notification configuration with a specific task.
-
Constructor Summary
ConstructorsConstructorDescriptionTaskPushNotificationConfig_v0_3(String taskId, PushNotificationConfig_v0_3 pushNotificationConfig) Creates an instance of aTaskPushNotificationConfig_v0_3record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepushNotificationConfigrecord component.taskId()Returns the value of thetaskIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TaskPushNotificationConfig_v0_3
public TaskPushNotificationConfig_v0_3(String taskId, PushNotificationConfig_v0_3 pushNotificationConfig) Creates an instance of aTaskPushNotificationConfig_v0_3record class.- Parameters:
taskId- the value for thetaskIdrecord componentpushNotificationConfig- the value for thepushNotificationConfigrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
taskId
Returns the value of thetaskIdrecord component.- Returns:
- the value of the
taskIdrecord component
-
pushNotificationConfig
Returns the value of thepushNotificationConfigrecord component.- Returns:
- the value of the
pushNotificationConfigrecord component
-