Class UsersProfileSetRequest

java.lang.Object
com.slack.api.methods.request.users.profile.UsersProfileSetRequest
All Implemented Interfaces:
SlackApiRequest

public class UsersProfileSetRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  UsersProfileSetRequest.UsersProfileSetRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static UsersProfileSetRequest.UsersProfileSetRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getName()
    Name of a single key to set.
    User.Profile getProfile()
    Collection of key:value pairs presented as a URL-encoded JSON hash.
    java.lang.String getToken()
    Authentication token.
    java.lang.String getUser()
    ID of user to change.
    java.lang.String getValue()
    Value to set a single key to.
    int hashCode()  
    void setName​(java.lang.String name)
    Name of a single key to set.
    void setProfile​(User.Profile profile)
    Collection of key:value pairs presented as a URL-encoded JSON hash.
    void setToken​(java.lang.String token)
    Authentication token.
    void setUser​(java.lang.String user)
    ID of user to change.
    void setValue​(java.lang.String value)
    Value to set a single key to.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `users.profile:write`
      Specified by:
      getToken in interface SlackApiRequest
    • getUser

      public java.lang.String getUser()
      ID of user to change. This argument may only be specified by team admins on paid teams.
    • getProfile

      public User.Profile getProfile()
      Collection of key:value pairs presented as a URL-encoded JSON hash.
    • getName

      public java.lang.String getName()
      Name of a single key to set. Usable only if profile is not passed.
    • getValue

      public java.lang.String getValue()
      Value to set a single key to. Usable only if profile is not passed.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token. Requires scope: `users.profile:write`
    • setUser

      public void setUser​(java.lang.String user)
      ID of user to change. This argument may only be specified by team admins on paid teams.
    • setProfile

      public void setProfile​(User.Profile profile)
      Collection of key:value pairs presented as a URL-encoded JSON hash.
    • setName

      public void setName​(java.lang.String name)
      Name of a single key to set. Usable only if profile is not passed.
    • setValue

      public void setValue​(java.lang.String value)
      Value to set a single key to. Usable only if profile is not passed.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object