Class AuthRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-04-14T23:27:48.571228600+02:00[Europe/Paris]")
    public class AuthRequest
    extends Object
    AuthRequest
    • Constructor Detail

      • AuthRequest

        public AuthRequest()
    • Method Detail

      • getUsername

        @Nullable
        public String getUsername()
        Get username
        Returns:
        username
      • setUsername

        public void setUsername​(String username)
      • getPassword

        @Nullable
        public String getPassword()
        Get password
        Returns:
        password
      • setPassword

        public void setPassword​(String password)
      • expireAfterSeconds

        public AuthRequest expireAfterSeconds​(Integer expireAfterSeconds)
      • getExpireAfterSeconds

        @Nullable
        public Integer getExpireAfterSeconds()
        Optional integer 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