Record Class Repository.PutData
java.lang.Object
java.lang.Record
repository.Repository.PutData
- Enclosing class:
Repository
public static record Repository.PutData(Repository repository, IPFSClusterConnector clusterConnector, Encryption encryption, com.google.gson.Gson gson, String repoName)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPutData(Repository repository, IPFSClusterConnector clusterConnector, Encryption encryption, com.google.gson.Gson gson, String repoName) Creates an instance of aPutDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclusterConnectorrecord component.Returns the value of theencryptionrecord component.final booleanIndicates whether some other object is "equal to" this one.com.google.gson.Gsongson()Returns the value of thegsonrecord component.final inthashCode()Returns a hash code value for this object.repoName()Returns the value of therepoNamerecord component.Returns the value of therepositoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PutData
public PutData(Repository repository, IPFSClusterConnector clusterConnector, Encryption encryption, com.google.gson.Gson gson, String repoName) Creates an instance of aPutDatarecord class.- Parameters:
repository- the value for therepositoryrecord componentclusterConnector- the value for theclusterConnectorrecord componentencryption- the value for theencryptionrecord componentgson- the value for thegsonrecord componentrepoName- the value for therepoNamerecord 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). -
repository
Returns the value of therepositoryrecord component.- Returns:
- the value of the
repositoryrecord component
-
clusterConnector
Returns the value of theclusterConnectorrecord component.- Returns:
- the value of the
clusterConnectorrecord component
-
encryption
Returns the value of theencryptionrecord component.- Returns:
- the value of the
encryptionrecord component
-
gson
public com.google.gson.Gson gson()Returns the value of thegsonrecord component.- Returns:
- the value of the
gsonrecord component
-
repoName
Returns the value of therepoNamerecord component.- Returns:
- the value of the
repoNamerecord component
-