类 CreateEdgeType
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.CreateEdgeType
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class CreateEdgeType extends Object
CreateEdgeType
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCreateEdgeType.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_TYPE_NAMEstatic StringSERIALIZED_NAME_VERTEX_TYPE_PAIR_RELATIONS
-
构造器概要
构造器 构造器 说明 CreateEdgeType()
-
方法概要
-
-
-
方法详细资料
-
typeName
public CreateEdgeType typeName(String typeName)
-
setTypeName
public void setTypeName(String typeName)
-
vertexTypePairRelations
public CreateEdgeType vertexTypePairRelations(List<BaseEdgeTypeVertexTypePairRelationsInner> vertexTypePairRelations)
-
addVertexTypePairRelationsItem
public CreateEdgeType addVertexTypePairRelationsItem(BaseEdgeTypeVertexTypePairRelationsInner vertexTypePairRelationsItem)
-
getVertexTypePairRelations
@Nullable public List<BaseEdgeTypeVertexTypePairRelationsInner> getVertexTypePairRelations()
Get vertexTypePairRelations- 返回:
- vertexTypePairRelations
-
setVertexTypePairRelations
public void setVertexTypePairRelations(List<BaseEdgeTypeVertexTypePairRelationsInner> vertexTypePairRelations)
-
properties
public CreateEdgeType properties(List<CreatePropertyMeta> properties)
-
addPropertiesItem
public CreateEdgeType 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 CreateEdgeType
-
fromJson
public static CreateEdgeType fromJson(String jsonString) throws IOException
Create an instance of CreateEdgeType given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of CreateEdgeType
- 抛出:
IOException- if the JSON string is invalid with respect to CreateEdgeType
-
toJson
public String toJson()
Convert an instance of CreateEdgeType to an JSON string- 返回:
- JSON string
-
-