Class AuthRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-06-18T21:51:17.428661900+02:00[Europe/Paris]")
    public class AuthRequest
    extends Object
    AuthRequest
    • Constructor Detail

      • AuthRequest

        public AuthRequest()
    • Method Detail

      • getUsername

        @Nullable
        public String getUsername()
        The username of the user, usually an email address.
        Returns:
        username
      • setUsername

        public void setUsername​(String username)
      • getPassword

        @Nullable
        public String getPassword()
        Password to use for authentication.
        Returns:
        password
      • setPassword

        public void setPassword​(String password)
      • getRefreshToken

        @Nullable
        public String getRefreshToken()
        A previously issued `refresh_token` value to provide for authentication.
        Returns:
        refreshToken
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
      • googleAccessToken

        public AuthRequest googleAccessToken​(String googleAccessToken)
      • getGoogleAccessToken

        @Nullable
        public String getGoogleAccessToken()
        Access token issued by Google to use for authentication.
        Returns:
        googleAccessToken
      • setGoogleAccessToken

        public void setGoogleAccessToken​(String googleAccessToken)
      • expireAfterSeconds

        public AuthRequest expireAfterSeconds​(Integer expireAfterSeconds)
      • getExpireAfterSeconds

        @Nullable
        public Integer getExpireAfterSeconds()
        Optional property specifying the number of seconds that the returned token should be valid for. minimum: 60 maximum: 1200
        Returns:
        expireAfterSeconds
      • setExpireAfterSeconds

        public void setExpireAfterSeconds​(Integer expireAfterSeconds)
      • addServiceGrantsItem

        public AuthRequest addServiceGrantsItem​(String serviceGrantsItem)
      • getServiceGrants

        @Nullable
        public List<String> getServiceGrants()
        An optional array of service names to grant access to. Use this to generate access tokens with limited capabilities.
        Returns:
        serviceGrants
      • setServiceGrants

        public void setServiceGrants​(List<String> serviceGrants)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object