Package app.ductape.sdk.sessions
Record Class SessionsTypes.SessionServiceConfig
java.lang.Object
java.lang.Record
app.ductape.sdk.sessions.SessionsTypes.SessionServiceConfig
- Enclosing class:
- SessionsTypes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccess_keyrecord component.env_type()Returns the value of theenv_typerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepublic_keyrecord component.Returns the value of theredis_clientrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.user_id()Returns the value of theuser_idrecord component.Returns the value of theworkspace_idrecord component.Returns the value of theworkspace_private_keyrecord component.
-
Constructor Details
-
SessionServiceConfig
public SessionServiceConfig(String workspace_id, String public_key, String user_id, String token, String env_type, Object redis_client, String access_key, String workspace_private_key) Creates an instance of aSessionServiceConfigrecord class.- Parameters:
workspace_id- the value for theworkspace_idrecord componentpublic_key- the value for thepublic_keyrecord componentuser_id- the value for theuser_idrecord componenttoken- the value for thetokenrecord componentenv_type- the value for theenv_typerecord componentredis_client- the value for theredis_clientrecord componentaccess_key- the value for theaccess_keyrecord componentworkspace_private_key- the value for theworkspace_private_keyrecord 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). -
workspace_id
Returns the value of theworkspace_idrecord component.- Returns:
- the value of the
workspace_idrecord component
-
public_key
Returns the value of thepublic_keyrecord component.- Returns:
- the value of the
public_keyrecord component
-
user_id
Returns the value of theuser_idrecord component.- Returns:
- the value of the
user_idrecord component
-
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
env_type
Returns the value of theenv_typerecord component.- Returns:
- the value of the
env_typerecord component
-
redis_client
Returns the value of theredis_clientrecord component.- Returns:
- the value of the
redis_clientrecord component
-
access_key
Returns the value of theaccess_keyrecord component.- Returns:
- the value of the
access_keyrecord component
-
workspace_private_key
Returns the value of theworkspace_private_keyrecord component.- Returns:
- the value of the
workspace_private_keyrecord component
-