Record Class PushNotificationConfig_v0_3
java.lang.Object
java.lang.Record
org.a2aproject.sdk.compat03.spec.PushNotificationConfig_v0_3
public record PushNotificationConfig_v0_3(String url, String token, PushNotificationAuthenticationInfo_v0_3 authentication, String id)
extends Record
Defines the configuration for setting up push notifications for task updates.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPushNotificationConfig_v0_3(String url, String token, PushNotificationAuthenticationInfo_v0_3 authentication, String id) Creates an instance of aPushNotificationConfig_v0_3record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthenticationrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.
-
Constructor Details
-
PushNotificationConfig_v0_3
public PushNotificationConfig_v0_3(String url, String token, PushNotificationAuthenticationInfo_v0_3 authentication, String id) Creates an instance of aPushNotificationConfig_v0_3record class.- Parameters:
url- the value for theurlrecord componenttoken- the value for thetokenrecord componentauthentication- the value for theauthenticationrecord componentid- the value for theidrecord 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). -
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
authentication
Returns the value of theauthenticationrecord component.- Returns:
- the value of the
authenticationrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-