Class NodeInfoServices
java.lang.Object
build.cursed.genapi.forgejo.model.NodeInfoServices
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T10:48:29.723777+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class NodeInfoServices
extends Object
NodeInfoServices contains the third party sites this server can connect to via their application API
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInboundItem(String inboundItem) addOutboundItem(String outboundItem) booleanstatic NodeInfoServicesCreate an instance of NodeInfoServices given an JSON stringGet inboundGet outboundinthashCode()voidsetInbound(List<String> inbound) voidsetOutbound(List<String> outbound) toJson()Convert an instance of NodeInfoServices to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_INBOUND
- See Also:
-
SERIALIZED_NAME_OUTBOUND
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NodeInfoServices
public NodeInfoServices()
-
-
Method Details
-
inbound
-
addInboundItem
-
getInbound
Get inbound- Returns:
- inbound
-
setInbound
-
outbound
-
addOutboundItem
-
getOutbound
Get outbound- Returns:
- outbound
-
setOutbound
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to NodeInfoServices
-
fromJson
Create an instance of NodeInfoServices given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NodeInfoServices
- Throws:
IOException- if the JSON string is invalid with respect to NodeInfoServices
-
toJson
Convert an instance of NodeInfoServices to an JSON string- Returns:
- JSON string
-