Class Token

java.lang.Object
com.symphony.bdk.gen.api.model.Token

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-21T12:31:58.948396640Z[Etc/UTC]") public class Token extends Object
Token
  • Field Details

  • Constructor Details

    • Token

      public Token()
  • Method Details

    • name

      public Token name(String name)
    • getName

      @Nullable public String getName()
      The name of the header in which the token should be presented on subsequent API calls.
      Returns:
      name
    • setName

      public void setName(String name)
    • token

      public Token token(String token)
    • getToken

      @Nullable public String getToken()
      Authentication token that should be passed as header in each API rest calls. This should be considered opaque data by the client. It is not intended to contain any data interpretable by the client. The format is secret and subject to change without notice.
      Returns:
      token
    • setToken

      public void setToken(String token)
    • authorizationToken

      public Token authorizationToken(String authorizationToken)
    • getAuthorizationToken

      @Nullable public String getAuthorizationToken()
      (Beta) Short lived access token built from a user session. This field is still on Beta, please continue using the returned \"token\" instead.
      Returns:
      authorizationToken
    • setAuthorizationToken

      public void setAuthorizationToken(String authorizationToken)
    • equals

      public boolean equals(Object o)
      Return true if this Token object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object