Package app.ductape.sdk.sessions
Record Class SessionsTypes.CreateSessionOptions
java.lang.Object
java.lang.Record
app.ductape.sdk.sessions.SessionsTypes.CreateSessionOptions
- Enclosing class:
- SessionsTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncache()Returns the value of thecacherecord component.data()Returns the value of thedatarecord component.env()Returns the value of theenvrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.product()Returns the value of theproductrecord component.tag()Returns the value of thetagrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateSessionOptions
public CreateSessionOptions(String product, String env, String tag, Map<String, Object> data, String cache) Creates an instance of aCreateSessionOptionsrecord class.- Parameters:
product- the value for theproductrecord componentenv- the value for theenvrecord componenttag- the value for thetagrecord componentdata- the value for thedatarecord componentcache- the value for thecacherecord 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). -
product
Returns the value of theproductrecord component.- Returns:
- the value of the
productrecord component
-
env
Returns the value of theenvrecord component.- Returns:
- the value of the
envrecord component
-
tag
Returns the value of thetagrecord component.- Returns:
- the value of the
tagrecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
cache
Returns the value of thecacherecord component.- Returns:
- the value of the
cacherecord component
-