Class AgentProvider

java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.AgentProvider

public class AgentProvider extends Object
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 Details

    • AgentProvider

      public AgentProvider()
  • Method Details

    • copy

      public AgentProvider copy()
      Creates a copy of this AgentProvider.
      Returns:
      A new AgentProvider instance with the same values as this one
    • getOrganization

      public String getOrganization()
      Gets the name of the organization that provides this agent.
      Returns:
      The organization name
    • setOrganization

      public void setOrganization(String organization)
      Sets the name of the organization that provides this agent.
      Parameters:
      organization - The organization name
    • getUrl

      public String getUrl()
      Gets the URL to the provider's website or contact information.
      Returns:
      The provider's URL
    • setUrl

      public void setUrl(String url)
      Sets the URL to the provider's website or contact information.
      Parameters:
      url - The provider's URL
    • equals

      public boolean equals(Object object)
      Compares this AgentProvider with another object for equality.
      Overrides:
      equals in class Object
      Parameters:
      object - The object to compare with
      Returns:
      true if the objects are equal, false otherwise
    • hashCode

      public int hashCode()
      Generates a hash code for this AgentProvider.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this object