Package io.getstream.chat.java.models
Class ChannelType.Policy
- java.lang.Object
-
- io.getstream.chat.java.models.ChannelType.Policy
-
- Enclosing class:
- ChannelType
public static class ChannelType.Policy extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Policy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)@NotNull ChannelType.ActiongetAction()@NotNull java.lang.StringgetName()@NotNull java.lang.BooleangetOwner()@NotNull java.lang.IntegergetPriority()@NotNull java.util.List<java.lang.String>getResources()@NotNull java.util.List<java.lang.String>getRoles()inthashCode()voidsetAction(@NotNull ChannelType.Action action)voidsetName(@NotNull java.lang.String name)voidsetOwner(@NotNull java.lang.Boolean owner)voidsetPriority(@NotNull java.lang.Integer priority)voidsetResources(@NotNull java.util.List<java.lang.String> resources)voidsetRoles(@NotNull java.util.List<java.lang.String> roles)java.lang.StringtoString()
-
-
-
Method Detail
-
getName
@NotNull public @NotNull java.lang.String getName()
-
getAction
@NotNull public @NotNull ChannelType.Action getAction()
-
getRoles
@NotNull public @NotNull java.util.List<java.lang.String> getRoles()
-
getOwner
@NotNull public @NotNull java.lang.Boolean getOwner()
-
getPriority
@NotNull public @NotNull java.lang.Integer getPriority()
-
getResources
@NotNull public @NotNull java.util.List<java.lang.String> getResources()
-
setName
public void setName(@NotNull @NotNull java.lang.String name)
-
setAction
public void setAction(@NotNull @NotNull ChannelType.Action action)
-
setRoles
public void setRoles(@NotNull @NotNull java.util.List<java.lang.String> roles)
-
setOwner
public void setOwner(@NotNull @NotNull java.lang.Boolean owner)
-
setPriority
public void setPriority(@NotNull @NotNull java.lang.Integer priority)
-
setResources
public void setResources(@NotNull @NotNull java.util.List<java.lang.String> resources)
-
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
-
-