Class AgentProvider
java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.AgentProvider
Represents information about the provider or organization responsible for an agent.
This type captures details about the organization that created and operates the agent, including the organization name and an optional URL to their website or contact information.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a copy of this AgentProvider.booleanCompares this AgentProvider with another object for equality.Gets the name of the organization that provides this agent.getUrl()Gets the URL to the provider's website or contact information.inthashCode()Generates a hash code for this AgentProvider.voidsetOrganization(String organization) Sets the name of the organization that provides this agent.voidSets the URL to the provider's website or contact information.
-
Constructor Details
-
AgentProvider
public AgentProvider()
-
-
Method Details
-
copy
Creates a copy of this AgentProvider.- Returns:
- A new AgentProvider instance with the same values as this one
-
getOrganization
Gets the name of the organization that provides this agent.- Returns:
- The organization name
-
setOrganization
Sets the name of the organization that provides this agent.- Parameters:
organization- The organization name
-
getUrl
Gets the URL to the provider's website or contact information.- Returns:
- The provider's URL
-
setUrl
Sets the URL to the provider's website or contact information.- Parameters:
url- The provider's URL
-
equals
Compares this AgentProvider with another object for equality. -
hashCode
public int hashCode()Generates a hash code for this AgentProvider.
-