Class Namespace
java.lang.Object
io.github.alersrt.pod4j.openapi.model.Namespace
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Namespace
extends Object
implements Serializable
Namespace describes the namespace
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NamespaceCreate an instance of Namespace given an JSON stringGet nsmodegetValue()Get valueinthashCode()voidvoidtoJson()Convert an instance of Namespace to an JSON stringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NSMODE
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Namespace
public Namespace()
-
-
Method Details
-
nsmode
-
getNsmode
Get nsmode- Returns:
- nsmode
-
setNsmode
-
value
-
getValue
Get value- Returns:
- value
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to Namespace
-
fromJson
Create an instance of Namespace given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Namespace
- Throws:
IOException- if the JSON string is invalid with respect to Namespace
-
toJson
Convert an instance of Namespace to an JSON string- Returns:
- JSON string
-