当前位置: 首页>>代码示例>>Python>>正文


Python AgilityModelBase.__init__方法代码示例

本文整理汇总了Python中AgilityModelBase.AgilityModelBase.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python AgilityModelBase.__init__方法的具体用法?Python AgilityModelBase.__init__怎么用?Python AgilityModelBase.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在AgilityModelBase.AgilityModelBase的用法示例。


在下文中一共展示了AgilityModelBase.__init__方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, variable=[], checkuse=False, plan=None):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'variable': {'maxOccurs': 'unbounded', 'type': 'AssetProperty', 'name': 'variable', 'minOccurs': '0', 'native': False}, 'checkUse': {'type': 'boolean', 'name': 'checkuse', 'native': True}, 'plan': {'type': 'DeploymentPlan', 'name': 'plan', 'native': False}})
     self.variable = variable
     self.checkuse = checkuse
     self.plan = plan 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:DeploymentRequest.py

示例2: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, item=[], eval=[], match=[]):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'item': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'item', 'minOccurs': '0', 'native': False}, 'match': {'maxOccurs': 'unbounded', 'type': 'AssetMatch', 'name': 'match', 'minOccurs': '0', 'native': False}, 'eval': {'maxOccurs': 'unbounded', 'type': 'Script', 'name': 'eval', 'minOccurs': '0', 'native': False}})
     self.item = item
     self.eval = eval
     self.match = match 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:AssetFilter.py

示例3: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, assettype=None, usedbyassets=[], importmode=None, uuid=None, detailedassetpath=None, tags=None, assetproperties=[], foreignassetproperties=[], top=False, importdirectives=None, name=None, lifecycleversion=None, assetlist=[], asset=[], removable=None, lifecyclelastcomment=None, assetpath=None, lifecyclestate=None, id=None, applicationtype=None, description=None):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'assetType': {'type': 'Link', 'name': 'assettype', 'minOccurs': '0', 'native': False}, 'usedByAssets': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'usedbyassets', 'minOccurs': '0', 'native': False}, 'importMode': {'type': 'ImportMode', 'name': 'importmode', 'minOccurs': '0', 'native': False}, 'uuid': {'type': 'string', 'name': 'uuid', 'minOccurs': '0', 'native': True}, 'tags': {'type': 'string', 'name': 'tags', 'minOccurs': '0', 'native': True}, 'assetProperties': {'maxOccurs': 'unbounded', 'type': 'AssetProperty', 'name': 'assetproperties', 'minOccurs': '0', 'native': False}, 'foreignAssetProperties': {'maxOccurs': 'unbounded', 'type': 'ForeignAssetProperty', 'name': 'foreignassetproperties', 'minOccurs': '0', 'native': False}, 'top': {'type': 'boolean', 'name': 'top', 'native': True}, 'description': {'type': 'string', 'name': 'description', 'minOccurs': '0', 'native': True}, 'importDirectives': {'type': 'ImportDirectives', 'name': 'importdirectives', 'minOccurs': '0', 'native': False}, 'lifecycleVersion': {'type': 'int', 'name': 'lifecycleversion', 'minOccurs': '0', 'native': True}, 'Assetlist': {'maxOccurs': 'unbounded', 'type': 'Assetlist', 'name': 'assetlist', 'minOccurs': '0', 'native': False}, 'lifecycleState': {'type': 'string', 'name': 'lifecyclestate', 'minOccurs': '0', 'native': True}, 'Asset': {'maxOccurs': 'unbounded', 'type': 'Asset', 'name': 'asset', 'minOccurs': '0', 'native': False}, 'removable': {'type': 'boolean', 'name': 'removable', 'minOccurs': '0', 'native': True}, 'lifecycleLastComment': {'type': 'string', 'name': 'lifecyclelastcomment', 'minOccurs': '0', 'native': True}, 'detailedAssetPath': {'type': 'string', 'name': 'detailedassetpath', 'minOccurs': '0', 'native': True}, 'assetPath': {'type': 'string', 'name': 'assetpath', 'minOccurs': '0', 'native': True}, 'id': {'type': 'int', 'name': 'id', 'minOccurs': '0', 'native': True}, 'applicationType': {'type': 'string', 'name': 'applicationtype', 'minOccurs': '0', 'native': True}, 'name': {'type': 'string', 'name': 'name', 'minOccurs': '0', 'native': True}})
     self.assettype = assettype
     self.usedbyassets = usedbyassets
     self.importmode = importmode
     self.uuid = uuid
     self.detailedassetpath = detailedassetpath
     self.tags = tags
     self.assetproperties = assetproperties
     self.foreignassetproperties = foreignassetproperties
     self.top = top
     self.importdirectives = importdirectives
     self.name = name
     self.lifecycleversion = lifecycleversion
     self.assetlist = assetlist
     self.asset = asset
     self.removable = removable
     self.lifecyclelastcomment = lifecyclelastcomment
     self.assetpath = assetpath
     self.lifecyclestate = lifecyclestate
     self.id = id
     self.applicationtype = applicationtype
     self.description = description 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:27,代码来源:Asset.py

示例4: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, property=[], type='', name=None):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'property': {'maxOccurs': 'unbounded', 'type': 'PropertyMatch', 'name': 'property', 'minOccurs': '0', 'native': False}, 'type': {'type': 'string', 'name': 'type', 'native': True}, 'name': {'type': 'string', 'name': 'name', 'minOccurs': '0', 'native': True}})
     self.property = property
     self.type = type
     self.name = name 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:AssetMatch.py

示例5: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, token=None, id=None, created=None):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'token': {'type': 'string', 'name': 'token', 'minOccurs': '0', 'native': True}, 'id': {'type': 'int', 'name': 'id', 'minOccurs': '0', 'native': True}, 'created': {'type': 'dateTime', 'name': 'created', 'minOccurs': '0', 'native': True}})
     self.token = token
     self.id = id
     self.created = created 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:AuthToken.py

示例6: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, mapid=None, ldapgroupname='', agilitygroupname=''):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'ldapGroupName': {'type': 'string', 'name': 'ldapgroupname', 'native': True}, 'mapId': {'type': 'int', 'name': 'mapid', 'minOccurs': '0', 'native': True}, 'agilityGroupName': {'type': 'string', 'name': 'agilitygroupname', 'native': True}})
     self.mapid = mapid
     self.ldapgroupname = ldapgroupname
     self.agilitygroupname = agilitygroupname 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:LdapGroup.py

示例7: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, id=None, value=None, name=''):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'id': {'type': 'int', 'name': 'id', 'minOccurs': '0', 'native': True}, 'value': {'type': 'string', 'name': 'value', 'minOccurs': '0', 'native': True}, 'name': {'type': 'string', 'name': 'name', 'native': True}})
     self.id = id
     self.value = value
     self.name = name 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:NameValuePair.py

示例8: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, loglevel=None, additionalpolicyid=[], ignorerequiredproperties=False):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'logLevel': {'type': 'int', 'name': 'loglevel', 'minOccurs': '0', 'native': True}, 'additionalPolicyId': {'maxOccurs': 'unbounded', 'type': 'int', 'name': 'additionalpolicyid', 'minOccurs': '0', 'native': True}, 'ignoreRequiredProperties': {'type': 'boolean', 'name': 'ignorerequiredproperties', 'native': True}})
     self.loglevel = loglevel
     self.additionalpolicyid = additionalpolicyid
     self.ignorerequiredproperties = ignorerequiredproperties 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:PlanEvalRequest.py

示例9: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, network=None, requestid=None, address=[]):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'address': {'maxOccurs': 'unbounded', 'type': 'Address', 'name': 'address', 'minOccurs': '0', 'native': False}, 'network': {'type': 'Link', 'name': 'network', 'native': False}, 'requestId': {'type': 'string', 'name': 'requestid', 'minOccurs': '0', 'native': True}})
     self.network = network
     self.requestid = requestid
     self.address = address 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:NetworkAddressList.py

示例10: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, matches='', name='', value=''):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'matches': {'type': 'string', 'name': 'matches', 'native': True}, 'name': {'use': 'required', 'type': 'string', 'name': 'name', 'native': True}, 'value': {'type': 'string', 'name': 'value', 'native': True}})
     self.matches = matches
     self.name = name
     self.value = value 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:PropertyMatch.py

示例11: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, variable=None, variablesource=None, valueset=[]):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'variable': {'type': 'PropertyDefinition', 'name': 'variable', 'native': False}, 'variableSource': {'type': 'Asset', 'name': 'variablesource', 'minOccurs': '0', 'native': False}, 'valueSet': {'maxOccurs': 'unbounded', 'type': 'VariableValueSet', 'name': 'valueset', 'minOccurs': '0', 'native': False}})
     self.variable = variable
     self.variablesource = variablesource
     self.valueset = valueset 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:InputVariable.py

示例12: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, capacity=None, type='', quantity=None):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'type': {'type': 'string', 'name': 'type', 'native': True}, 'capacity': {'type': 'double', 'name': 'capacity', 'native': True}, 'quantity': {'type': 'double', 'name': 'quantity', 'native': True}})
     self.capacity = capacity
     self.type = type
     self.quantity = quantity 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:ResourceMetric.py

示例13: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, url='', version='', build=''):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'url': {'type': 'string', 'name': 'url', 'native': True}, 'version': {'type': 'string', 'name': 'version', 'native': True}, 'build': {'type': 'string', 'name': 'build', 'native': True}})
     self.url = url
     self.version = version
     self.build = build 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:AgilityVersion.py

示例14: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, type='', name=None, weight=[]):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'type': {'type': 'string', 'name': 'type', 'native': True}, 'name': {'type': 'string', 'name': 'name', 'minOccurs': '0', 'native': True}, 'weight': {'maxOccurs': 'unbounded', 'type': 'ResourceWeight', 'name': 'weight', 'minOccurs': '0', 'native': False}})
     self.type = type
     self.name = name
     self.weight = weight 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:9,代码来源:ResourceRank.py

示例15: __init__

# 需要导入模块: from AgilityModelBase import AgilityModelBase [as 别名]
# 或者: from AgilityModelBase.AgilityModelBase import __init__ [as 别名]
 def __init__(self, applicableassignmenttype=[], supportedeventtype=[], displayname='', name=''):
     AgilityModelBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'applicableAssignmentType': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'applicableassignmenttype', 'minOccurs': '0', 'native': True}, 'displayName': {'type': 'string', 'name': 'displayname', 'native': True}, 'supportedEventType': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'supportedeventtype', 'minOccurs': '0', 'native': True}, 'name': {'type': 'string', 'name': 'name', 'native': True}})
     self.applicableassignmenttype = applicableassignmenttype
     self.supportedeventtype = supportedeventtype
     self.displayname = displayname
     self.name = name 
开发者ID:crgerber,项目名称:csc-agility-python-shell,代码行数:10,代码来源:AssetTypeMeta.py


注:本文中的AgilityModelBase.AgilityModelBase.__init__方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。