Record Class MessageGatewayConfigurationData
java.lang.Object
java.lang.Record
org.apache.fineract.infrastructure.campaigns.sms.data.MessageGatewayConfigurationData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectionNamerecord component.endPoint()Returns the value of theendPointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.hostName()Returns the value of thehostNamerecord component.id()Returns the value of theidrecord component.password()Returns the value of thepasswordrecord component.intReturns the value of theportNumberrecord component.booleanReturns the value of thesslEnabledrecord component.Returns the value of thetenantAppKeyrecord component.final StringtoString()Returns a string representation of this record class.userName()Returns the value of theuserNamerecord component.
-
Constructor Details
-
MessageGatewayConfigurationData
public MessageGatewayConfigurationData(Long id, String connectionName, String hostName, int portNumber, String endPoint, String userName, String password, boolean sslEnabled, String tenantAppKey) Creates an instance of aMessageGatewayConfigurationDatarecord class.- Parameters:
id- the value for theidrecord componentconnectionName- the value for theconnectionNamerecord componenthostName- the value for thehostNamerecord componentportNumber- the value for theportNumberrecord componentendPoint- the value for theendPointrecord componentuserName- the value for theuserNamerecord componentpassword- the value for thepasswordrecord componentsslEnabled- the value for thesslEnabledrecord componenttenantAppKey- the value for thetenantAppKeyrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
connectionName
Returns the value of theconnectionNamerecord component.- Returns:
- the value of the
connectionNamerecord component
-
hostName
Returns the value of thehostNamerecord component.- Returns:
- the value of the
hostNamerecord component
-
portNumber
public int portNumber()Returns the value of theportNumberrecord component.- Returns:
- the value of the
portNumberrecord component
-
endPoint
Returns the value of theendPointrecord component.- Returns:
- the value of the
endPointrecord component
-
userName
Returns the value of theuserNamerecord component.- Returns:
- the value of the
userNamerecord component
-
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-
sslEnabled
public boolean sslEnabled()Returns the value of thesslEnabledrecord component.- Returns:
- the value of the
sslEnabledrecord component
-
tenantAppKey
Returns the value of thetenantAppKeyrecord component.- Returns:
- the value of the
tenantAppKeyrecord component
-