Class Config
- java.lang.Object
-
- io.github.jeremylong.openvulnerability.client.nvd.Config
-
- All Implemented Interfaces:
java.io.Serializable
@NullMarked public class Config extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfig.Operator
-
Constructor Summary
Constructors Constructor Description Config(@Nullable Config.Operator operator, @Nullable java.lang.Boolean negate, java.util.List<Node> nodes)Config(java.util.List<Node> nodes)Constructor taking only the required set of JSON properties as the minimal constructor for a Config.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)@Nullable java.lang.BooleangetNegate()java.util.List<Node>getNodes()(Required)@Nullable Config.OperatorgetOperator()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Config
public Config(java.util.List<Node> nodes)
Constructor taking only the required set of JSON properties as the minimal constructor for a Config.- Parameters:
nodes- The nodes for the Config (required JSON property)
-
Config
public Config(@Nullable Config.Operator operator, @Nullable java.lang.Boolean negate, java.util.List<Node> nodes)
-
-
Method Detail
-
getOperator
public @Nullable Config.Operator getOperator()
- Returns:
- operator
-
getNegate
public @Nullable java.lang.Boolean getNegate()
- Returns:
- negate
-
getNodes
public java.util.List<Node> getNodes()
(Required)- Returns:
- nodes
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-