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 classBlocklist.BlocklistCreateRequestDatastatic classBlocklist.BlocklistDeleteRequeststatic classBlocklist.BlocklistGetRequeststatic classBlocklist.BlocklistGetResponsestatic classBlocklist.BlocklistListRequeststatic classBlocklist.BlocklistListResponsestatic classBlocklist.BlocklistUpdateRequestData
-
Constructor Summary
Constructors Constructor Description Blocklist()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)static @NotNull Blocklist.BlocklistCreateRequestData.BlocklistCreateRequestcreate()Creates a create requeststatic @NotNull Blocklist.BlocklistDeleteRequestdelete(@NotNull java.lang.String name)Creates a delete requestbooleanequals(java.lang.Object o)static @NotNull Blocklist.BlocklistGetRequestget(@NotNull java.lang.String name)Creates a get request@NotNull java.util.DategetCreatedAt()@NotNull java.lang.StringgetName()@NotNull java.util.DategetUpdatedAt()@NotNull java.util.List<java.lang.String>getWords()inthashCode()static @NotNull Blocklist.BlocklistListRequestlist()Creates a list requestvoidsetCreatedAt(@NotNull java.util.Date createdAt)voidsetName(@NotNull java.lang.String name)voidsetUpdatedAt(@NotNull java.util.Date updatedAt)voidsetWords(@NotNull java.util.List<java.lang.String> words)java.lang.StringtoString()static @NotNull Blocklist.BlocklistUpdateRequestData.BlocklistUpdateRequestupdate(@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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-