java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.security.Oauth2Scope

public class Oauth2Scope extends Object
Represents an OAuth2 scope following OpenAPI 3.0 specification. This class defines a scope with a name and description for OAuth2 security schemes.
Since:
1.0.0
  • Constructor Details

    • Oauth2Scope

      public Oauth2Scope()
  • Method Details

    • copy

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

      public String getName()
    • setName

      public void setName(String name)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • equals

      public boolean equals(Object object)
      Compares this Oauth2Scope 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 Oauth2Scope.
      Overrides:
      hashCode in class Object
      Returns:
      A hash code value for this object