Package smartrics.iotics.space.grpc
Record Class FeedDataBag
java.lang.Object
java.lang.Record
smartrics.iotics.space.grpc.FeedDataBag
public record FeedDataBag(TwinDataBag twinData, SearchResponse.FeedDetails feedDetails, FetchInterestResponse fetchInterestResponse)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFeedDataBag(TwinDataBag twinData, SearchResponse.FeedDetails feedDetails, FetchInterestResponse fetchInterestResponse) Creates an instance of aFeedDataBagrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefeedDetailsrecord component.Returns the value of thefetchInterestResponserecord component.final inthashCode()Returns a hash code value for this object.toString()Returns a string representation of this record class.twinData()Returns the value of thetwinDatarecord component.
-
Constructor Details
-
FeedDataBag
public FeedDataBag(TwinDataBag twinData, SearchResponse.FeedDetails feedDetails, FetchInterestResponse fetchInterestResponse) Creates an instance of aFeedDataBagrecord class.- Parameters:
twinData- the value for thetwinDatarecord componentfeedDetails- the value for thefeedDetailsrecord componentfetchInterestResponse- the value for thefetchInterestResponserecord 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). -
twinData
Returns the value of thetwinDatarecord component.- Returns:
- the value of the
twinDatarecord component
-
feedDetails
Returns the value of thefeedDetailsrecord component.- Returns:
- the value of the
feedDetailsrecord component
-
fetchInterestResponse
Returns the value of thefetchInterestResponserecord component.- Returns:
- the value of the
fetchInterestResponserecord component
-