java.lang.Object
io.smallrye.openapi.model.BaseModel<org.eclipse.microprofile.openapi.models.security.OAuthFlow>
io.smallrye.openapi.model.BaseExtensibleModel<org.eclipse.microprofile.openapi.models.security.OAuthFlow>
io.smallrye.openapi.internal.models.security.OAuthFlow
All Implemented Interfaces:
org.eclipse.microprofile.openapi.models.Constructible, org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.security.OAuthFlow>, org.eclipse.microprofile.openapi.models.security.OAuthFlow
Direct Known Subclasses:
OAuthFlowImpl

@Generated(value="io.smallrye.openapi.model.apt.SmallRyeModelProcessor", date="2026-01-25T12:11:29.545971909Z") public class OAuthFlow extends io.smallrye.openapi.model.BaseExtensibleModel<org.eclipse.microprofile.openapi.models.security.OAuthFlow> implements org.eclipse.microprofile.openapi.models.security.OAuthFlow
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class io.smallrye.openapi.model.BaseModel

    io.smallrye.openapi.model.BaseModel.MergeDirective
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.smallrye.openapi.model.PropertyMetadata
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    addScope(String newKey, String newValue)
    io.smallrye.openapi.model.PropertyMetadata
     
    void
    void
    void
    void
    void
    setTokenUrl(String newValue)

    Methods inherited from class io.smallrye.openapi.model.BaseExtensibleModel

    addExtension, addListPropertyEntry, equals, getAllExtensions, getAllProperties, getExtension, getExtensions, getListProperty, getMapProperty, getProperty, getProperty, hasExtension, hashCode, isExtension, merge, putMapPropertyEntry, removeExtension, removeListPropertyEntry, removeMapPropertyEntry, setAllProperties, setExtensions, setListProperty, setMapProperty, setProperty

    Methods inherited from class io.smallrye.openapi.model.BaseModel

    constructible, deepCopy, deepCopy, filter, filter, getDescription, getExternalDocs, getModCount, getName, getProperties, getRef, getSummary, incrementModCount, merge, mergeDirective, setDescription, setExternalDocs, setName, setRef, setSummary, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.microprofile.openapi.models.Extensible

    addExtension, extensions, getExtension, getExtensions, hasExtension, removeExtension, setExtensions

    Methods inherited from interface org.eclipse.microprofile.openapi.models.security.OAuthFlow

    authorizationUrl, refreshUrl, scopes, tokenUrl
  • Field Details

    • PROPERTIES

      public static final io.smallrye.openapi.model.PropertyMetadata PROPERTIES
  • Constructor Details

    • OAuthFlow

      public OAuthFlow()
  • Method Details

    • getPropertyMetadata

      public io.smallrye.openapi.model.PropertyMetadata getPropertyMetadata()
      Specified by:
      getPropertyMetadata in class io.smallrye.openapi.model.BaseModel<org.eclipse.microprofile.openapi.models.security.OAuthFlow>
    • getAuthorizationUrl

      public String getAuthorizationUrl()
      Specified by:
      getAuthorizationUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • setAuthorizationUrl

      public void setAuthorizationUrl(String newValue)
      Specified by:
      setAuthorizationUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • getTokenUrl

      public String getTokenUrl()
      Specified by:
      getTokenUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • setTokenUrl

      public void setTokenUrl(String newValue)
      Specified by:
      setTokenUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • getRefreshUrl

      public String getRefreshUrl()
      Specified by:
      getRefreshUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • setRefreshUrl

      public void setRefreshUrl(String newValue)
      Specified by:
      setRefreshUrl in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • getScopes

      public Map<String,String> getScopes()
      Specified by:
      getScopes in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • setScopes

      public void setScopes(Map<String,String> newValue)
      Specified by:
      setScopes in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • addScope

      public OAuthFlow addScope(String newKey, String newValue)
      Specified by:
      addScope in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow
    • removeScope

      public void removeScope(String key)
      Specified by:
      removeScope in interface org.eclipse.microprofile.openapi.models.security.OAuthFlow