Class NoStrRelayInfoLimitation
java.lang.Object
love.distributedrebirth.nx01.no2all.nostr.model.NoStrRelayInfoLimitation
- All Implemented Interfaces:
NoStrGospel
The nostr relay information limitation message.
- Version:
- ©Δ∞ 仙上主天
- Author:
- للَّٰهِilLצسُو
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAuthRequired(Boolean authRequired) voidsetMaxContentLength(Integer maxContentLength) voidsetMaxEventTags(Integer maxEventTags) voidsetMaxFilters(Integer maxFilters) voidsetMaxLimit(Integer maxLimit) voidsetMaxMessageLength(Integer maxMessageLength) voidsetMaxSubIdLength(Integer maxSubIdLength) voidsetMaxSubscriptions(Integer maxSubscriptions) voidsetMinPowDifficulty(Integer minPowDifficulty) voidsetMinPrefix(Integer minPrefix) voidsetPaymentRequired(Boolean paymentRequired) jakarta.json.JsonValuetoBible()
-
Constructor Details
-
NoStrRelayInfoLimitation
public NoStrRelayInfoLimitation() -
NoStrRelayInfoLimitation
public NoStrRelayInfoLimitation(jakarta.json.JsonObject json)
-
-
Method Details
-
toBible
public jakarta.json.JsonValue toBible()- Specified by:
toBiblein interfaceNoStrGospel
-
getMaxMessageLength
-
setMaxMessageLength
-
getMaxSubscriptions
-
setMaxSubscriptions
-
getMaxFilters
-
setMaxFilters
-
getMaxLimit
-
setMaxLimit
-
getMaxSubIdLength
-
setMaxSubIdLength
-
getMinPrefix
-
setMinPrefix
-
getMaxEventTags
-
setMaxEventTags
-
getMaxContentLength
-
setMaxContentLength
-
getMinPowDifficulty
-
setMinPowDifficulty
-
getAuthRequired
-
setAuthRequired
-
getPaymentRequired
-
setPaymentRequired
-