Record Class PushKeyFiles.ServiceAccountFile
java.lang.Object
java.lang.Record
com.iizix.push.PushKeyFiles.ServiceAccountFile
- Record Components:
file- The file, absolute and normalized.json- The JSON text, exactly as Google downloaded it. Never printed.projectId- Itsproject_id, or null when absent.clientEmail- Itsclient_email.
- Enclosing class:
PushKeyFiles
Constructor Summary
ConstructorsConstructorDescriptionServiceAccountFile(Path file, String json, String projectId, String clientEmail) Creates an instance of aServiceAccountFilerecord class.Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientEmailrecord component.final booleanIndicates whether some other object is "equal to" this one.file()Returns the value of thefilerecord component.final inthashCode()Returns a hash code value for this object.json()Returns the value of thejsonrecord component.Returns the value of theprojectIdrecord component.toString()Never the JSON.
Constructor Details
ServiceAccountFile
Creates an instance of aServiceAccountFilerecord class.- Parameters:
file- the value for thefilerecord componentjson- the value for thejsonrecord componentprojectId- the value for theprojectIdrecord componentclientEmail- the value for theclientEmailrecord 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).file
json
projectId
clientEmail
Returns the value of theclientEmailrecord component.- Returns:
- the value of the
clientEmailrecord component