Package com.tnsai.mcp.composio
Record Class ComposioClient.ComposioApp
java.lang.Object
java.lang.Record
com.tnsai.mcp.composio.ComposioClient.ComposioApp
- Record Components:
name- the app namedescription- the app descriptionlogoUrl- the app logo URLconnected- whether the app is connected
- Enclosing class:
ComposioClient
public static record ComposioClient.ComposioApp(String name, String description, String logoUrl, boolean connected)
extends Record
Represents a Composio app (e.g., GitHub, Slack, Gmail).
-
Constructor Summary
ConstructorsConstructorDescriptionComposioApp(String name, String description, String logoUrl, boolean connected) Creates an instance of aComposioApprecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theconnectedrecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.logoUrl()Returns the value of thelogoUrlrecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ComposioApp
Creates an instance of aComposioApprecord class.- Parameters:
name- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentlogoUrl- the value for thelogoUrlrecord componentconnected- the value for theconnectedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
logoUrl
Returns the value of thelogoUrlrecord component.- Returns:
- the value of the
logoUrlrecord component
-
connected
public boolean connected()Returns the value of theconnectedrecord component.- Returns:
- the value of the
connectedrecord component
-