Package com.telenordigital.nbiot
Class ImmutableOutputDataMessageListInternal
- java.lang.Object
-
- com.telenordigital.nbiot.ImmutableOutputDataMessageListInternal
-
- All Implemented Interfaces:
com.telenordigital.nbiot.OutputDataMessageInternal.OutputDataMessageListInternal
@ParametersAreNonnullByDefault @Generated("org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableOutputDataMessageListInternal extends Object implements com.telenordigital.nbiot.OutputDataMessageInternal.OutputDataMessageListInternal
Immutable implementation ofOutputDataMessageInternal.OutputDataMessageListInternal.Use the builder to create immutable instances:
new ImmutableOutputDataMessageListInternal.Builder().
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImmutableOutputDataMessageListInternal.BuilderBuilds instances of typeImmutableOutputDataMessageListInternal.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImmutableOutputDataMessageListInternalcopyOf(com.telenordigital.nbiot.OutputDataMessageInternal.OutputDataMessageListInternal instance)Creates an immutable copy of aOutputDataMessageInternal.OutputDataMessageListInternalvalue.booleanequals(Object another)This instance is equal to all instances ofImmutableOutputDataMessageListInternalthat have equal attribute values.inthashCode()Computes a hash code from attributes:messages.com.telenordigital.nbiot.OutputDataMessageInternal[]messages()StringtoString()Prints the immutable valueOutputDataMessageListInternalwith attribute values.ImmutableOutputDataMessageListInternalwithMessages(com.telenordigital.nbiot.OutputDataMessageInternal... elements)Copy the current immutable object with elements that replace the content ofmessages.
-
-
-
Method Detail
-
messages
public com.telenordigital.nbiot.OutputDataMessageInternal[] messages()
- Specified by:
messagesin interfacecom.telenordigital.nbiot.OutputDataMessageInternal.OutputDataMessageListInternal- Returns:
- A cloned
messagesarray
-
withMessages
public final ImmutableOutputDataMessageListInternal withMessages(com.telenordigital.nbiot.OutputDataMessageInternal... elements)
Copy the current immutable object with elements that replace the content ofmessages. The array is cloned before being saved as attribute values.- Parameters:
elements- The non-null elements for messages- Returns:
- A modified copy of
thisobject
-
equals
public boolean equals(@Nullable Object another)
This instance is equal to all instances ofImmutableOutputDataMessageListInternalthat have equal attribute values.
-
hashCode
public int hashCode()
Computes a hash code from attributes:messages.
-
toString
public String toString()
Prints the immutable valueOutputDataMessageListInternalwith attribute values.
-
copyOf
public static ImmutableOutputDataMessageListInternal copyOf(com.telenordigital.nbiot.OutputDataMessageInternal.OutputDataMessageListInternal instance)
Creates an immutable copy of aOutputDataMessageInternal.OutputDataMessageListInternalvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable OutputDataMessageListInternal instance
-
-