类 BasePropertyMeta
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.BasePropertyMeta
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class BasePropertyMeta extends Object
BasePropertyMeta
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classBasePropertyMeta.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_PROPERTY_NAMEstatic StringSERIALIZED_NAME_PROPERTY_TYPE
-
构造器概要
构造器 构造器 说明 BasePropertyMeta()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)static BasePropertyMetafromJson(String jsonString)Create an instance of BasePropertyMeta given an JSON stringStringgetPropertyName()Get propertyNameGSDataTypegetPropertyType()Get propertyTypeinthashCode()BasePropertyMetapropertyName(String propertyName)BasePropertyMetapropertyType(GSDataType propertyType)voidsetPropertyName(String propertyName)voidsetPropertyType(GSDataType propertyType)StringtoJson()Convert an instance of BasePropertyMeta to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
propertyName
public BasePropertyMeta propertyName(String propertyName)
-
setPropertyName
public void setPropertyName(String propertyName)
-
propertyType
public BasePropertyMeta propertyType(GSDataType propertyType)
-
getPropertyType
@Nullable public GSDataType getPropertyType()
Get propertyType- 返回:
- propertyType
-
setPropertyType
public void setPropertyType(GSDataType propertyType)
-
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 BasePropertyMeta
-
fromJson
public static BasePropertyMeta fromJson(String jsonString) throws IOException
Create an instance of BasePropertyMeta given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of BasePropertyMeta
- 抛出:
IOException- if the JSON string is invalid with respect to BasePropertyMeta
-
toJson
public String toJson()
Convert an instance of BasePropertyMeta to an JSON string- 返回:
- JSON string
-
-