oaClusterType
模块: oapy._oa._design
导入: from oapy._oa import _design
概览
oaClusterType 在 oapy 中可用,可通过 _design 模块访问。
本页汇总 oaClusterType 当前在 oapy 中可用的 Python 接口。
详细说明
The oaClusterType class is an enum wrapper class that indicates the inclusiveness of an oaCluster's region。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaClusterTypeEnum Enumeration values: oacClusterTypeInclusive "inclusive" Instances other than the instance in this cluster may be placed in its region oacClusterTypeExclusive "exclusive" Only instances in this cluster may be placed in its region oacClusterTypeSuggested "suggested" Instances in this cluster may be placed outside of its region。
构造函数
_design.oaClusterType(valueIn)
obj = _design.oaClusterType(valueIn)
_design.oaClusterType(name)
obj = _design.oaClusterType(name)
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getName() |
方法说明
obj.getName()
绑定状态: 已绑定
Python 调用: obj.getName()
This function returns the name string associated with the encapsulated oaClusterTypeEnum object。
Python 示例
from oapy._oa import _design
# assume obj is a oaClusterType
obj.getName()