Package io.getstream.chat.java.models
Class Blocklist
- java.lang.Object
-
- io.getstream.chat.java.models.Blocklist
-
public class Blocklist extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Blocklist.BlocklistCreateRequestData
static class
Blocklist.BlocklistDeleteRequest
static class
Blocklist.BlocklistGetRequest
static class
Blocklist.BlocklistGetResponse
static class
Blocklist.BlocklistListRequest
static class
Blocklist.BlocklistListResponse
static class
Blocklist.BlocklistUpdateRequestData
-
Constructor Summary
Constructors Constructor Description Blocklist()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
static @NotNull Blocklist.BlocklistCreateRequestData.BlocklistCreateRequest
create()
Creates a create requeststatic @NotNull Blocklist.BlocklistDeleteRequest
delete(@NotNull java.lang.String name)
Creates a delete requestboolean
equals(java.lang.Object o)
static @NotNull Blocklist.BlocklistGetRequest
get(@NotNull java.lang.String name)
Creates a get request@NotNull java.util.Date
getCreatedAt()
@NotNull java.lang.String
getName()
@NotNull java.util.Date
getUpdatedAt()
@NotNull java.util.List<java.lang.String>
getWords()
int
hashCode()
static @NotNull Blocklist.BlocklistListRequest
list()
Creates a list requestvoid
setCreatedAt(@NotNull java.util.Date createdAt)
void
setName(@NotNull java.lang.String name)
void
setUpdatedAt(@NotNull java.util.Date updatedAt)
void
setWords(@NotNull java.util.List<java.lang.String> words)
java.lang.String
toString()
static @NotNull Blocklist.BlocklistUpdateRequestData.BlocklistUpdateRequest
update(@NotNull java.lang.String name)
Creates an update request
-
-
-
Method Detail
-
create
@NotNull public static @NotNull Blocklist.BlocklistCreateRequestData.BlocklistCreateRequest create()
Creates a create request- Returns:
- the created request
-
get
@NotNull public static @NotNull Blocklist.BlocklistGetRequest get(@NotNull @NotNull java.lang.String name)
Creates a get request- Parameters:
name
- the blocklist name- Returns:
- the created request
-
update
@NotNull public static @NotNull Blocklist.BlocklistUpdateRequestData.BlocklistUpdateRequest update(@NotNull @NotNull java.lang.String name)
Creates an update request- Parameters:
name
- the blocklist name- Returns:
- the created request
-
delete
@NotNull public static @NotNull Blocklist.BlocklistDeleteRequest delete(@NotNull @NotNull java.lang.String name)
Creates a delete request- Parameters:
name
- the blocklist name- Returns:
- the created request
-
list
@NotNull public static @NotNull Blocklist.BlocklistListRequest list()
Creates a list request- Returns:
- the created request
-
getCreatedAt
@NotNull public @NotNull java.util.Date getCreatedAt()
-
getUpdatedAt
@NotNull public @NotNull java.util.Date getUpdatedAt()
-
getName
@NotNull public @NotNull java.lang.String getName()
-
getWords
@NotNull public @NotNull java.util.List<java.lang.String> getWords()
-
setCreatedAt
public void setCreatedAt(@NotNull @NotNull java.util.Date createdAt)
-
setUpdatedAt
public void setUpdatedAt(@NotNull @NotNull java.util.Date updatedAt)
-
setName
public void setName(@NotNull @NotNull java.lang.String name)
-
setWords
public void setWords(@NotNull @NotNull java.util.List<java.lang.String> words)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-