Class Security
- java.lang.Object
-
- com.styra.opa.openapi.models.shared.Security
-
public class Security extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Security.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
bearerAuth()
static Security.Builder
builder()
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
Security
withBearerAuth(java.lang.String bearerAuth)
Security
withBearerAuth(java.util.Optional<java.lang.String> bearerAuth)
-
-
-
Method Detail
-
bearerAuth
public java.util.Optional<java.lang.String> bearerAuth()
-
builder
public static final Security.Builder builder()
-
withBearerAuth
public Security withBearerAuth(java.lang.String bearerAuth)
-
withBearerAuth
public Security withBearerAuth(java.util.Optional<java.lang.String> bearerAuth)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-