类 CreateVertexType
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.CreateVertexType
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class CreateVertexType extends Object
CreateVertexType
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCreateVertexType.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PRIMARY_KEYSstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_TYPE_NAMEstatic StringSERIALIZED_NAME_X_CSR_PARAMS
-
构造器概要
构造器 构造器 说明 CreateVertexType()
-
方法概要
-
-
-
方法详细资料
-
typeName
public CreateVertexType typeName(String typeName)
-
setTypeName
public void setTypeName(String typeName)
-
primaryKeys
public CreateVertexType primaryKeys(List<String> primaryKeys)
-
addPrimaryKeysItem
public CreateVertexType addPrimaryKeysItem(String primaryKeysItem)
-
xCsrParams
public CreateVertexType xCsrParams(BaseVertexTypeXCsrParams xCsrParams)
-
getxCsrParams
@Nullable public BaseVertexTypeXCsrParams getxCsrParams()
Get xCsrParams- 返回:
- xCsrParams
-
setxCsrParams
public void setxCsrParams(BaseVertexTypeXCsrParams xCsrParams)
-
properties
public CreateVertexType properties(List<CreatePropertyMeta> properties)
-
addPropertiesItem
public CreateVertexType addPropertiesItem(CreatePropertyMeta propertiesItem)
-
getProperties
@Nullable public List<CreatePropertyMeta> getProperties()
Get properties- 返回:
- properties
-
setProperties
public void setProperties(List<CreatePropertyMeta> properties)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to CreateVertexType
-
fromJson
public static CreateVertexType fromJson(String jsonString) throws IOException
Create an instance of CreateVertexType given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of CreateVertexType
- 抛出:
IOException- if the JSON string is invalid with respect to CreateVertexType
-
toJson
public String toJson()
Convert an instance of CreateVertexType to an JSON string- 返回:
- JSON string
-
-