public class UsersSetPhotoRequest extends Object implements SlackApiRequest
Modifier and Type | Class and Description |
---|---|
static class |
UsersSetPhotoRequest.UsersSetPhotoRequestBuilder |
Modifier and Type | Method and Description |
---|---|
static UsersSetPhotoRequest.UsersSetPhotoRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Integer |
getCropW()
Width/height of crop box (always square)
|
Integer |
getCropX()
X coordinate of top-left corner of crop box
|
Integer |
getCropY()
Y coordinate of top-left corner of crop box
|
File |
getImage()
File contents via `multipart/form-data`.
|
byte[] |
getImageData() |
String |
getToken()
Authentication token.
|
int |
hashCode() |
void |
setCropW(Integer cropW)
Width/height of crop box (always square)
|
void |
setCropX(Integer cropX)
X coordinate of top-left corner of crop box
|
void |
setCropY(Integer cropY)
Y coordinate of top-left corner of crop box
|
void |
setImage(File image)
File contents via `multipart/form-data`.
|
void |
setImageData(byte[] imageData) |
void |
setToken(String token)
Authentication token.
|
String |
toString() |
public static UsersSetPhotoRequest.UsersSetPhotoRequestBuilder builder()
public String getToken()
getToken
in interface SlackApiRequest
public File getImage()
public byte[] getImageData()
public Integer getCropX()
public Integer getCropY()
public Integer getCropW()
public void setToken(String token)
public void setImage(File image)
public void setImageData(byte[] imageData)
public void setCropX(Integer cropX)
public void setCropY(Integer cropY)
public void setCropW(Integer cropW)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.