Class Oauth2Scope
java.lang.Object
com.mulesoft.connectors.a2a.api.model.card.security.Oauth2Scope
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a copy of this Oauth2Scope.booleanCompares this Oauth2Scope with another object for equality.getName()inthashCode()Generates a hash code for this Oauth2Scope.voidsetDescription(String description) void
-
Constructor Details
-
Oauth2Scope
public Oauth2Scope()
-
-
Method Details
-
copy
Creates a copy of this Oauth2Scope.- Returns:
- A new Oauth2Scope instance with the same values as this one
-
getName
-
setName
-
getDescription
-
setDescription
-
equals
Compares this Oauth2Scope with another object for equality. -
hashCode
public int hashCode()Generates a hash code for this Oauth2Scope.
-