Package com.iizix.prop
Record Class PWAProps.FirebaseConfig
java.lang.Object
java.lang.Record
com.iizix.prop.PWAProps.FirebaseConfig
- Record Components:
- apiKey- The API key, e.g. "AIzaSyDTyQDYYzX-RFuz2v6GauPEb0N-gWYzDBw".
- authDomain- The authentication domain, e.g.: "my-app.firebaseapp.com".
- projectId- The project ID, e.g. "my-app".
- storageBucket- The storage bucket, e.g. "my-app.appspot.com".
- messagingSenderId- The messaging Sender ID, e.g. "123456789012".
- appId- The App ID, e.g. "1:123456789012:web:abcdef01234567890abcde".
- measurementId- A potential Measurement ID, e.g. "G-ABC123XYZ0".
- Enclosing class:
- PWAProps
public static record PWAProps.FirebaseConfig(String apiKey, String authDomain, String projectId, String storageBucket, String messagingSenderId, String appId, String measurementId) extends Record
The "firebaseConfig" object parsed from JSON.
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- apiKey()Returns the value of the- apiKeyrecord component.- appId()Returns the value of the- appIdrecord component.Returns the value of the- authDomainrecord component.- final booleanIndicates whether some other object is "equal to" this one.- final int- hashCode()Returns a hash code value for this object.Returns the value of the- measurementIdrecord component.Returns the value of the- messagingSenderIdrecord component.Returns the value of the- projectIdrecord component.Returns the value of the- storageBucketrecord component.- final String- toString()Returns a string representation of this record class.
- Constructor Details- FirebaseConfigpublic FirebaseConfig- (String apiKey, String authDomain, String projectId, String storageBucket, String messagingSenderId, String appId, String measurementId) Creates an instance of a- FirebaseConfigrecord class.- Parameters:
- apiKey- the value for the- apiKeyrecord component
- authDomain- the value for the- authDomainrecord component
- projectId- the value for the- projectIdrecord component
- storageBucket- the value for the- storageBucketrecord component
- messagingSenderId- the value for the- messagingSenderIdrecord component
- appId- the value for the- appIdrecord component
- measurementId- the value for the- measurementIdrecord component
 
 
- Method Details- toStringReturns 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.
- hashCodepublic 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.
- equalsIndicates 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 with- Objects::equals(Object,Object).
- apiKeyReturns the value of the- apiKeyrecord component.- Returns:
- the value of the apiKeyrecord component
 
- authDomainReturns the value of the- authDomainrecord component.- Returns:
- the value of the authDomainrecord component
 
- projectIdReturns the value of the- projectIdrecord component.- Returns:
- the value of the projectIdrecord component
 
- storageBucketReturns the value of the- storageBucketrecord component.- Returns:
- the value of the storageBucketrecord component
 
- messagingSenderIdReturns the value of the- messagingSenderIdrecord component.- Returns:
- the value of the messagingSenderIdrecord component
 
- appIdReturns the value of the- appIdrecord component.- Returns:
- the value of the appIdrecord component
 
- measurementIdReturns the value of the- measurementIdrecord component.- Returns:
- the value of the measurementIdrecord component