Class NoStrRelayInfo
java.lang.Object
love.distributedrebirth.nx01.no2all.nostr.model.NoStrRelayInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getTags()
void
setContact
(String contact) void
setDescription
(String description) void
void
setLimitation
(NoStrRelayInfoLimitation limitation) void
void
setPaymentUrl
(String paymentUrl) void
setPostingPolicy
(String postingPolicy) void
setPublicKey
(String publicKey) void
setSoftware
(String software) void
setVersion
(String version) jakarta.json.JsonValue
toBible()
-
Constructor Details
-
NoStrRelayInfo
public NoStrRelayInfo() -
NoStrRelayInfo
public NoStrRelayInfo(jakarta.json.JsonObject json)
-
-
Method Details
-
toBible
public jakarta.json.JsonValue toBible()- Specified by:
toBible
in interfaceNoStrGospel
-
getId
-
setId
-
getName
-
setName
-
getDescription
-
setDescription
-
getPublicKey
-
setPublicKey
-
getContact
-
setContact
-
getSoftware
-
setSoftware
-
getVersion
-
setVersion
-
getLimitation
-
setLimitation
-
getPostingPolicy
-
setPostingPolicy
-
getPaymentUrl
-
setPaymentUrl
-
getSupportedNips
-
getRetentions
-
getRelayCountries
-
getLanguageTags
-
getTags
-
getFeesAdmission
-
getFeesSubscription
-
getFeesPublication
-