类 BaseVertexType


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.6.0")
    public class BaseVertexType
    extends Object
    BaseVertexType
    • 字段详细资料

      • SERIALIZED_NAME_TYPE_NAME

        public static final String SERIALIZED_NAME_TYPE_NAME
        另请参阅:
        常量字段值
      • SERIALIZED_NAME_PRIMARY_KEYS

        public static final String SERIALIZED_NAME_PRIMARY_KEYS
        另请参阅:
        常量字段值
      • SERIALIZED_NAME_X_CSR_PARAMS

        public static final String SERIALIZED_NAME_X_CSR_PARAMS
        另请参阅:
        常量字段值
      • openapiRequiredFields

        public static HashSet<String> openapiRequiredFields
    • 构造器详细资料

      • BaseVertexType

        public BaseVertexType()
    • 方法详细资料

      • getTypeName

        @Nullable
        public String getTypeName()
        Get typeName
        返回:
        typeName
      • setTypeName

        public void setTypeName​(String typeName)
      • getPrimaryKeys

        @Nullable
        public List<String> getPrimaryKeys()
        Get primaryKeys
        返回:
        primaryKeys
      • setPrimaryKeys

        public void setPrimaryKeys​(List<String> primaryKeys)
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        参数:
        jsonElement - JSON Element
        抛出:
        IOException - if the JSON Element is invalid with respect to BaseVertexType
      • fromJson

        public static BaseVertexType fromJson​(String jsonString)
                                       throws IOException
        Create an instance of BaseVertexType given an JSON string
        参数:
        jsonString - JSON string
        返回:
        An instance of BaseVertexType
        抛出:
        IOException - if the JSON string is invalid with respect to BaseVertexType
      • toJson

        public String toJson()
        Convert an instance of BaseVertexType to an JSON string
        返回:
        JSON string