Klasse ServiceOutput

java.lang.Object
io.github.primelib.webmethodsapigateway4j.model.ServiceOutput

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class ServiceOutput extends Object
ServiceOutput
  • Felddetails

    • accessToken

      protected String accessToken
      generated access token
    • expiresIn

      protected Long expiresIn
      token expiry
    • scopes

      protected String scopes
      scopes for which the access token is issued
    • tokenType

      protected String tokenType
  • Konstruktordetails

    • ServiceOutput

      public ServiceOutput(Consumer<ServiceOutput> spec)
      Constructs a validated instance of ServiceOutput.
      Parameter:
      spec - the specification to process
    • ServiceOutput

      @Internal public ServiceOutput(String accessToken, Long expiresIn, String scopes, String tokenType)
      Constructs a validated instance of ServiceOutput.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using ServiceOutput(Consumer) instead.

      Parameter:
      accessToken - generated access token
      expiresIn - token expiry
      scopes - scopes for which the access token is issued
      tokenType - tokenType
    • ServiceOutput

      protected ServiceOutput()
  • Methodendetails

    • builder

      public static ServiceOutput.ServiceOutputBuilder builder()
    • accessToken

      public String accessToken()
      generated access token
    • expiresIn

      public Long expiresIn()
      token expiry
    • scopes

      public String scopes()
      scopes for which the access token is issued
    • tokenType

      public String tokenType()
    • accessToken

      public ServiceOutput accessToken(String accessToken)
      generated access token
      Gibt zurück:
      this.
    • expiresIn

      public ServiceOutput expiresIn(Long expiresIn)
      token expiry
      Gibt zurück:
      this.
    • scopes

      public ServiceOutput scopes(String scopes)
      scopes for which the access token is issued
      Gibt zurück:
      this.
    • tokenType

      public ServiceOutput tokenType(String tokenType)
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object