Record Class BootstrapModels.BootstrapNotificationParams
java.lang.Object
java.lang.Record
app.ductape.sdk.api.services.model.BootstrapModels.BootstrapNotificationParams
- Enclosing class:
- BootstrapModels
-
Constructor Summary
ConstructorsConstructorDescriptionBootstrapNotificationParams(String product_tag, String env_slug, String notification_tag, String message_tag) Creates an instance of aBootstrapNotificationParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionenv_slug()Returns the value of theenv_slugrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themessage_tagrecord component.Returns the value of thenotification_tagrecord component.Returns the value of theproduct_tagrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BootstrapNotificationParams
public BootstrapNotificationParams(String product_tag, String env_slug, String notification_tag, String message_tag) Creates an instance of aBootstrapNotificationParamsrecord class.- Parameters:
product_tag- the value for theproduct_tagrecord componentenv_slug- the value for theenv_slugrecord componentnotification_tag- the value for thenotification_tagrecord componentmessage_tag- the value for themessage_tagrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
product_tag
Returns the value of theproduct_tagrecord component.- Returns:
- the value of the
product_tagrecord component
-
env_slug
Returns the value of theenv_slugrecord component.- Returns:
- the value of the
env_slugrecord component
-
notification_tag
Returns the value of thenotification_tagrecord component.- Returns:
- the value of the
notification_tagrecord component
-
message_tag
Returns the value of themessage_tagrecord component.- Returns:
- the value of the
message_tagrecord component
-