def __init__(self, path=None, displayname=None, propertydefinition=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'path': {'type': 'string', 'name': 'path', 'minOccurs': '0', 'native': True}, 'displayName': {'type': 'string', 'name': 'displayname', 'minOccurs': '0', 'native': True}, 'propertyDefinition': {'type': 'Link', 'name': 'propertydefinition', 'minOccurs': '0', 'native': False}})
     self.path = path
     self.displayname = displayname
     self.propertydefinition = propertydefinition 
 def __init__(self, script=None, mgmtscripttype='', filesystem=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'fileSystem': {'type': 'Link', 'name': 'filesystem', 'minOccurs': '0', 'native': False}, 'mgmtScriptType': {'type': 'string', 'name': 'mgmtscripttype', 'native': True}, 'script': {'type': 'Link', 'name': 'script', 'native': False}})
     self.script = script
     self.mgmtscripttype = mgmtscripttype
     self.filesystem = filesystem 
 def __init__(self, addresses=[], lastupdate=None, instanceid=None, variables=[], snapshots=[], cloud=None, publicaddress=None, image=None, hostname=None, stack=None, environment=None, state=None, stoptime=None, location=None, template=None, scriptstatus=[], privateaddress=None, resources=[], volumestorage=[], credential=[], canonicalname=None, starttime=None, properties=[], createdon=None, model=None, onboarded=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'addresses': {'maxOccurs': 'unbounded', 'type': 'Address', 'name': 'addresses', 'minOccurs': '0', 'native': False}, 'credential': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'credential', 'minOccurs': '0', 'native': False}, 'instanceId': {'type': 'string', 'name': 'instanceid', 'minOccurs': '0', 'native': True}, 'variables': {'maxOccurs': 'unbounded', 'type': 'AssetProperty', 'name': 'variables', 'minOccurs': '0', 'native': False}, 'snapshots': {'maxOccurs': 'unbounded', 'type': 'Snapshot', 'name': 'snapshots', 'minOccurs': '0', 'native': False}, 'cloud': {'type': 'Link', 'name': 'cloud', 'minOccurs': '0', 'native': False}, 'publicAddress': {'type': 'string', 'name': 'publicaddress', 'minOccurs': '0', 'native': True}, 'image': {'type': 'Link', 'name': 'image', 'minOccurs': '0', 'native': False}, 'hostname': {'type': 'string', 'name': 'hostname', 'minOccurs': '0', 'native': True}, 'properties': {'maxOccurs': 'unbounded', 'type': 'Property', 'name': 'properties', 'minOccurs': '0', 'native': False}, 'environment': {'type': 'Link', 'name': 'environment', 'minOccurs': '0', 'native': False}, 'state': {'type': 'State', 'name': 'state', 'minOccurs': '0', 'native': False}, 'stopTime': {'type': 'date', 'name': 'stoptime', 'minOccurs': '0', 'native': True}, 'location': {'type': 'Link', 'name': 'location', 'minOccurs': '0', 'native': False}, 'template': {'type': 'Link', 'name': 'template', 'minOccurs': '0', 'native': False}, 'scriptstatus': {'maxOccurs': 'unbounded', 'type': 'ScriptStatus', 'name': 'scriptstatus', 'minOccurs': '0', 'native': False}, 'privateAddress': {'type': 'string', 'name': 'privateaddress', 'minOccurs': '0', 'native': True}, 'resources': {'maxOccurs': 'unbounded', 'type': 'Resource', 'name': 'resources', 'minOccurs': '0', 'native': False}, 'volumeStorage': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'volumestorage', 'minOccurs': '0', 'native': False}, 'lastUpdate': {'type': 'date', 'name': 'lastupdate', 'minOccurs': '0', 'native': True}, 'canonicalName': {'type': 'string', 'name': 'canonicalname', 'minOccurs': '0', 'native': True}, 'startTime': {'type': 'date', 'name': 'starttime', 'minOccurs': '0', 'native': True}, 'stack': {'type': 'Link', 'name': 'stack', 'minOccurs': '0', 'native': False}, 'createdOn': {'type': 'date', 'name': 'createdon', 'minOccurs': '0', 'native': True}, 'model': {'type': 'Link', 'name': 'model', 'minOccurs': '0', 'native': False}, 'onboarded': {'type': 'boolean', 'name': 'onboarded', 'minOccurs': '0', 'native': True}})
     self.addresses = addresses
     self.lastupdate = lastupdate
     self.instanceid = instanceid
     self.variables = variables
     self.snapshots = snapshots
     self.cloud = cloud
     self.publicaddress = publicaddress
     self.image = image
     self.hostname = hostname
     self.stack = stack
     self.environment = environment
     self.state = state
     self.stoptime = stoptime
     self.location = location
     self.template = template
     self.scriptstatus = scriptstatus
     self.privateaddress = privateaddress
     self.resources = resources
     self.volumestorage = volumestorage
     self.credential = credential
     self.canonicalname = canonicalname
     self.starttime = starttime
     self.properties = properties
     self.createdon = createdon
     self.model = model
     self.onboarded = onboarded 
 def __init__(self, rating=None, createdon=None, user=None, updatedon=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'rating': {
             'type': 'int',
             'name': 'rating',
             'native': True
         },
         'createdOn': {
             'type': 'date',
             'name': 'createdon',
             'minOccurs': '0',
             'native': True
         },
         'user': {
             'type': 'Link',
             'name': 'user',
             'minOccurs': '0',
             'native': False
         },
         'updatedOn': {
             'type': 'date',
             'name': 'updatedon',
             'minOccurs': '0',
             'native': True
         }
     })
     self.rating = rating
     self.createdon = createdon
     self.user = user
     self.updatedon = updatedon
示例#5
0
 def __init__(self, models=[], type=None, properties=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'models': {
             'maxOccurs': 'unbounded',
             'type': 'Link',
             'name': 'models',
             'minOccurs': '0',
             'native': False
         },
         'type': {
             'type': 'string',
             'name': 'type',
             'minOccurs': '0',
             'native': True
         },
         'properties': {
             'maxOccurs': 'unbounded',
             'type': 'Property',
             'name': 'properties',
             'minOccurs': '0',
             'native': False
         }
     })
     self.models = models
     self.type = type
     self.properties = properties
示例#6
0
 def __init__(self,
              displayname=None,
              open=False,
              rootvalue=[],
              owned=False,
              valueprovider=None,
              type=None,
              valueconstraint=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'displayName': {
             'type': 'string',
             'name': 'displayname',
             'minOccurs': '0',
             'native': True
         },
         'type': {
             'type': 'PrimitiveType',
             'name': 'type',
             'minOccurs': '0',
             'native': False
         },
         'rootValue': {
             'maxOccurs': 'unbounded',
             'type': 'PropertyTypeValue',
             'name': 'rootvalue',
             'minOccurs': '0',
             'native': False
         },
         'owned': {
             'type': 'boolean',
             'name': 'owned',
             'native': True
         },
         'valueProvider': {
             'type': 'Link',
             'name': 'valueprovider',
             'minOccurs': '0',
             'native': False
         },
         'open': {
             'type': 'boolean',
             'name': 'open',
             'native': True
         },
         'valueConstraint': {
             'type': 'ValueConstraintType',
             'name': 'valueconstraint',
             'minOccurs': '0',
             'native': False
         }
     })
     self.displayname = displayname
     self.open = open
     self.rootvalue = rootvalue
     self.owned = owned
     self.valueprovider = valueprovider
     self.type = type
     self.valueconstraint = valueconstraint
 def __init__(self, credentials=None, enabled=None, domainname=''):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'credentials': {'type': 'Credential', 'name': 'credentials', 'minOccurs': '0', 'native': False}, 'enabled': {'type': 'boolean', 'name': 'enabled', 'minOccurs': '0', 'native': True}, 'domainName': {'type': 'string', 'name': 'domainname', 'native': True}})
     self.credentials = credentials
     self.enabled = enabled
     self.domainname = domainname 
 def __init__(self, displayname=None, parent=None, value=None, child=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'displayName': {
             'type': 'string',
             'name': 'displayname',
             'minOccurs': '0',
             'native': True
         },
         'value': {
             'type': 'string',
             'name': 'value',
             'minOccurs': '0',
             'native': True
         },
         'parent': {
             'type': 'Link',
             'name': 'parent',
             'minOccurs': '0',
             'native': False
         },
         'child': {
             'maxOccurs': 'unbounded',
             'type': 'PropertyTypeValue',
             'name': 'child',
             'minOccurs': '0',
             'native': False
         }
     })
     self.displayname = displayname
     self.parent = parent
     self.value = value
     self.child = child
 def __init__(self, credentials=None, enabled=None, domainname=''):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'credentials': {
             'type': 'Credential',
             'name': 'credentials',
             'minOccurs': '0',
             'native': False
         },
         'enabled': {
             'type': 'boolean',
             'name': 'enabled',
             'minOccurs': '0',
             'native': True
         },
         'domainName': {
             'type': 'string',
             'name': 'domainname',
             'native': True
         }
     })
     self.credentials = credentials
     self.enabled = enabled
     self.domainname = domainname
 def __init__(self, content=None, attachmentlocation=[], size=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'content': {'type': 'base64Binary', 'name': 'content', 'minOccurs': '0', 'native': True}, 'attachmentLocation': {'maxOccurs': 'unbounded', 'type': 'AttachmentLocation', 'name': 'attachmentlocation', 'minOccurs': '0', 'native': False}, 'size': {'type': 'long', 'name': 'size', 'minOccurs': '0', 'native': True}})
     self.content = content
     self.attachmentlocation = attachmentlocation
     self.size = size 
 def __init__(self, path='', unerasable=False, domain=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'path': {'type': 'string', 'name': 'path', 'native': True}, 'unerasable': {'type': 'boolean', 'name': 'unerasable', 'native': True}, 'domain': {'type': 'Link', 'name': 'domain', 'minOccurs': '0', 'native': False}})
     self.path = path
     self.unerasable = unerasable
     self.domain = domain 
示例#12
0
 def __init__(self, rating=None, createdon=None, user=None, updatedon=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'rating': {'type': 'int', 'name': 'rating', 'native': True}, 'createdOn': {'type': 'date', 'name': 'createdon', 'minOccurs': '0', 'native': True}, 'user': {'type': 'Link', 'name': 'user', 'minOccurs': '0', 'native': False}, 'updatedOn': {'type': 'date', 'name': 'updatedon', 'minOccurs': '0', 'native': True}})
     self.rating = rating
     self.createdon = createdon
     self.user = user
     self.updatedon = updatedon 
 def __init__(self, displayname=None, parent=None, value=None, child=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'displayName': {'type': 'string', 'name': 'displayname', 'minOccurs': '0', 'native': True}, 'value': {'type': 'string', 'name': 'value', 'minOccurs': '0', 'native': True}, 'parent': {'type': 'Link', 'name': 'parent', 'minOccurs': '0', 'native': False}, 'child': {'maxOccurs': 'unbounded', 'type': 'PropertyTypeValue', 'name': 'child', 'minOccurs': '0', 'native': False}})
     self.displayname = displayname
     self.parent = parent
     self.value = value
     self.child = child 
示例#14
0
 def __init__(self, mgmtscriptgroup=None, displayname=None, effectivefilesystems=[], filesystems=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'displayName': {'type': 'string', 'name': 'displayname', 'minOccurs': '0', 'native': True}, 'mgmtScriptGroup': {'type': 'Link', 'name': 'mgmtscriptgroup', 'native': False}, 'effectiveFileSystems': {'maxOccurs': 'unbounded', 'type': 'FileSystem', 'name': 'effectivefilesystems', 'minOccurs': '0', 'native': False}, 'fileSystems': {'maxOccurs': 'unbounded', 'type': 'FileSystem', 'name': 'filesystems', 'minOccurs': '0', 'native': False}})
     self.mgmtscriptgroup = mgmtscriptgroup
     self.displayname = displayname
     self.effectivefilesystems = effectivefilesystems
     self.filesystems = filesystems 
 def __init__(self, derivedgroup=[], displayname=None, parent=None, propertydefinition=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'displayName': {'type': 'string', 'name': 'displayname', 'minOccurs': '0', 'native': True}, 'derivedGroup': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'derivedgroup', 'minOccurs': '0', 'native': False}, 'propertyDefinition': {'maxOccurs': 'unbounded', 'type': 'PropertyDefinition', 'name': 'propertydefinition', 'minOccurs': '0', 'native': False}, 'parent': {'type': 'Link', 'name': 'parent', 'minOccurs': '0', 'native': False}})
     self.derivedgroup = derivedgroup
     self.displayname = displayname
     self.parent = parent
     self.propertydefinition = propertydefinition 
 def __init__(self, artifacttypes=[], runtimeproperties=[], servicetypes=[], type='', properties=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'serviceTypes': {'maxOccurs': 'unbounded', 'type': 'ServiceBindingType', 'name': 'servicetypes', 'minOccurs': '0', 'native': False}, 'runtimeProperties': {'maxOccurs': 'unbounded', 'type': 'Property', 'name': 'runtimeproperties', 'minOccurs': '0', 'native': False}, 'artifactTypes': {'maxOccurs': 'unbounded', 'type': 'ArtifactType', 'name': 'artifacttypes', 'minOccurs': '0', 'native': False}, 'properties': {'maxOccurs': 'unbounded', 'type': 'Property', 'name': 'properties', 'minOccurs': '0', 'native': False}, 'type': {'type': 'string', 'name': 'type', 'native': True}})
     self.artifacttypes = artifacttypes
     self.runtimeproperties = runtimeproperties
     self.servicetypes = servicetypes
     self.type = type
     self.properties = properties 
 def __init__(self, prefixes=[], protocol=None, minport=None, maxport=None, allowed=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'prefixes': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'prefixes', 'minOccurs': '0', 'native': True}, 'maxPort': {'type': 'int', 'name': 'maxport', 'minOccurs': '0', 'native': True}, 'minPort': {'type': 'int', 'name': 'minport', 'minOccurs': '0', 'native': True}, 'protocol': {'type': 'string', 'name': 'protocol', 'minOccurs': '0', 'native': True}, 'allowed': {'type': 'boolean', 'name': 'allowed', 'minOccurs': '0', 'native': True}})
     self.prefixes = prefixes
     self.protocol = protocol
     self.minport = minport
     self.maxport = maxport
     self.allowed = allowed 
示例#18
0
 def __init__(self, proxytype=None, authtype=None, proxyusage=None, hostname=None, credentials=None, port=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'proxyType': {'type': 'ProxyType', 'name': 'proxytype', 'minOccurs': '0', 'native': False}, 'authType': {'type': 'AuthType', 'name': 'authtype', 'minOccurs': '0', 'native': False}, 'proxyUsage': {'type': 'ProxyUsage', 'name': 'proxyusage', 'minOccurs': '0', 'native': False}, 'hostname': {'type': 'string', 'name': 'hostname', 'minOccurs': '0', 'native': True}, 'credentials': {'type': 'Credential', 'name': 'credentials', 'minOccurs': '0', 'native': False}, 'port': {'type': 'int', 'name': 'port', 'minOccurs': '0', 'native': True}})
     self.proxytype = proxytype
     self.authtype = authtype
     self.proxyusage = proxyusage
     self.hostname = hostname
     self.credentials = credentials
     self.port = port 
 def __init__(self, resourcetype=None, editable=None, subtype=None, hostresource=None, units=None, quantity=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'resourceType': {'type': 'ResourceType', 'name': 'resourcetype', 'minOccurs': '0', 'native': False}, 'editable': {'type': 'boolean', 'name': 'editable', 'minOccurs': '0', 'native': True}, 'subType': {'type': 'string', 'name': 'subtype', 'minOccurs': '0', 'native': True}, 'hostResource': {'type': 'string', 'name': 'hostresource', 'minOccurs': '0', 'native': True}, 'units': {'type': 'string', 'name': 'units', 'minOccurs': '0', 'native': True}, 'quantity': {'type': 'float', 'name': 'quantity', 'native': True}})
     self.resourcetype = resourcetype
     self.editable = editable
     self.subtype = subtype
     self.hostresource = hostresource
     self.units = units
     self.quantity = quantity 
 def __init__(self, availableoptions=[], encrypted=False, overridable=False, value='', data=None, dataencrypted=False):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'dataEncrypted': {'type': 'boolean', 'name': 'dataencrypted', 'native': True}, 'encrypted': {'type': 'boolean', 'name': 'encrypted', 'native': True}, 'overridable': {'type': 'boolean', 'name': 'overridable', 'native': True}, 'value': {'type': 'string', 'name': 'value', 'native': True}, 'data': {'type': 'hexBinary', 'name': 'data', 'minOccurs': '0', 'native': True}, 'availableOptions': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'availableoptions', 'minOccurs': '0', 'native': True}})
     self.availableoptions = availableoptions
     self.encrypted = encrypted
     self.overridable = overridable
     self.value = value
     self.data = data
     self.dataencrypted = dataencrypted 
 def __init__(self, status=None, maxinstances=None, models=[], template=None, stack=None, cloud=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'status': {'type': 'string', 'name': 'status', 'minOccurs': '0', 'native': True}, 'maxInstances': {'type': 'int', 'name': 'maxinstances', 'minOccurs': '0', 'native': True}, 'models': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'models', 'minOccurs': '0', 'native': False}, 'template': {'type': 'Link', 'name': 'template', 'minOccurs': '0', 'native': False}, 'stack': {'type': 'Link', 'name': 'stack', 'minOccurs': '0', 'native': False}, 'cloud': {'type': 'Link', 'name': 'cloud', 'minOccurs': '0', 'native': False}})
     self.status = status
     self.maxinstances = maxinstances
     self.models = models
     self.template = template
     self.stack = stack
     self.cloud = cloud 
 def __init__(self, domain=None, variableregex=None, editormode=None, interpreter=None, type=None, operatingsystem=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'domain': {'type': 'Link', 'name': 'domain', 'minOccurs': '0', 'native': False}, 'editorMode': {'type': 'string', 'name': 'editormode', 'minOccurs': '0', 'native': True}, 'variableRegex': {'type': 'string', 'name': 'variableregex', 'minOccurs': '0', 'native': True}, 'interpreter': {'type': 'string', 'name': 'interpreter', 'minOccurs': '0', 'native': True}, 'type': {'type': 'ScriptType', 'name': 'type', 'minOccurs': '0', 'native': False}, 'operatingSystem': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'operatingsystem', 'minOccurs': '0', 'native': True}})
     self.domain = domain
     self.variableregex = variableregex
     self.editormode = editormode
     self.interpreter = interpreter
     self.type = type
     self.operatingsystem = operatingsystem 
 def __init__(self, securityroles=[], domain=None, users=[], enabled=False, accessrights=[], groups=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'securityRoles': {'maxOccurs': 'unbounded', 'type': 'SecurityRole', 'name': 'securityroles', 'minOccurs': '0', 'native': False}, 'domain': {'type': 'string', 'name': 'domain', 'minOccurs': '0', 'native': True}, 'users': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'users', 'minOccurs': '0', 'native': False}, 'enabled': {'type': 'boolean', 'name': 'enabled', 'native': True}, 'accessRights': {'maxOccurs': 'unbounded', 'type': 'AccessRight', 'name': 'accessrights', 'minOccurs': '0', 'native': False}, 'groups': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'groups', 'minOccurs': '0', 'native': False}})
     self.securityroles = securityroles
     self.domain = domain
     self.users = users
     self.enabled = enabled
     self.accessrights = accessrights
     self.groups = groups 
 def __init__(self, repositorytype=None, locations=[], usage=[], path=None, properties=[], cloud=None, size=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'repositoryType': {'type': 'string', 'name': 'repositorytype', 'minOccurs': '0', 'native': True}, 'locations': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'locations', 'minOccurs': '0', 'native': True}, 'usage': {'maxOccurs': 'unbounded', 'type': 'RepositoryUsage', 'name': 'usage', 'minOccurs': '0', 'native': False}, 'path': {'type': 'string', 'name': 'path', 'minOccurs': '0', 'native': True}, 'properties': {'maxOccurs': 'unbounded', 'type': 'Property', 'name': 'properties', 'minOccurs': '0', 'native': False}, 'cloud': {'type': 'Link', 'name': 'cloud', 'minOccurs': '0', 'native': False}, 'size': {'type': 'long', 'name': 'size', 'minOccurs': '0', 'native': True}})
     self.repositorytype = repositorytype
     self.locations = locations
     self.usage = usage
     self.path = path
     self.properties = properties
     self.cloud = cloud
     self.size = size 
示例#25
0
 def __init__(self, domain=None, parent=None, created=None, lastmodified=None, creator=None, policyassignment=[], locktype=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'domain': {'type': 'Link', 'name': 'domain', 'minOccurs': '0', 'native': False}, 'parent': {'type': 'Link', 'name': 'parent', 'minOccurs': '0', 'native': False}, 'creator': {'type': 'Link', 'name': 'creator', 'minOccurs': '0', 'native': False}, 'lastModified': {'type': 'date', 'name': 'lastmodified', 'minOccurs': '0', 'native': True}, 'created': {'type': 'date', 'name': 'created', 'minOccurs': '0', 'native': True}, 'policyAssignment': {'maxOccurs': 'unbounded', 'type': 'PolicyAssignment', 'name': 'policyassignment', 'minOccurs': '0', 'native': False}, 'lockType': {'type': 'int', 'name': 'locktype', 'minOccurs': '0', 'native': True}})
     self.domain = domain
     self.parent = parent
     self.created = created
     self.lastmodified = lastmodified
     self.creator = creator
     self.policyassignment = policyassignment
     self.locktype = locktype 
示例#26
0
 def __init__(self,
              domain=None,
              variableregex=None,
              editormode=None,
              interpreter=None,
              type=None,
              operatingsystem=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'domain': {
             'type': 'Link',
             'name': 'domain',
             'minOccurs': '0',
             'native': False
         },
         'editorMode': {
             'type': 'string',
             'name': 'editormode',
             'minOccurs': '0',
             'native': True
         },
         'variableRegex': {
             'type': 'string',
             'name': 'variableregex',
             'minOccurs': '0',
             'native': True
         },
         'interpreter': {
             'type': 'string',
             'name': 'interpreter',
             'minOccurs': '0',
             'native': True
         },
         'type': {
             'type': 'ScriptType',
             'name': 'type',
             'minOccurs': '0',
             'native': False
         },
         'operatingSystem': {
             'maxOccurs': 'unbounded',
             'type': 'string',
             'name': 'operatingsystem',
             'minOccurs': '0',
             'native': True
         }
     })
     self.domain = domain
     self.variableregex = variableregex
     self.editormode = editormode
     self.interpreter = interpreter
     self.type = type
     self.operatingsystem = operatingsystem
 def __init__(self,
              status=None,
              maxinstances=None,
              models=[],
              template=None,
              stack=None,
              cloud=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'status': {
             'type': 'string',
             'name': 'status',
             'minOccurs': '0',
             'native': True
         },
         'maxInstances': {
             'type': 'int',
             'name': 'maxinstances',
             'minOccurs': '0',
             'native': True
         },
         'models': {
             'maxOccurs': 'unbounded',
             'type': 'Link',
             'name': 'models',
             'minOccurs': '0',
             'native': False
         },
         'template': {
             'type': 'Link',
             'name': 'template',
             'minOccurs': '0',
             'native': False
         },
         'stack': {
             'type': 'Link',
             'name': 'stack',
             'minOccurs': '0',
             'native': False
         },
         'cloud': {
             'type': 'Link',
             'name': 'cloud',
             'minOccurs': '0',
             'native': False
         }
     })
     self.status = status
     self.maxinstances = maxinstances
     self.models = models
     self.template = template
     self.stack = stack
     self.cloud = cloud
 def __init__(self, displayname=None, open=False, rootvalue=[], owned=False, valueprovider=None, type=None, valueconstraint=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'displayName': {'type': 'string', 'name': 'displayname', 'minOccurs': '0', 'native': True}, 'type': {'type': 'PrimitiveType', 'name': 'type', 'minOccurs': '0', 'native': False}, 'rootValue': {'maxOccurs': 'unbounded', 'type': 'PropertyTypeValue', 'name': 'rootvalue', 'minOccurs': '0', 'native': False}, 'owned': {'type': 'boolean', 'name': 'owned', 'native': True}, 'valueProvider': {'type': 'Link', 'name': 'valueprovider', 'minOccurs': '0', 'native': False}, 'open': {'type': 'boolean', 'name': 'open', 'native': True}, 'valueConstraint': {'type': 'ValueConstraintType', 'name': 'valueconstraint', 'minOccurs': '0', 'native': False}})
     self.displayname = displayname
     self.open = open
     self.rootvalue = rootvalue
     self.owned = owned
     self.valueprovider = valueprovider
     self.type = type
     self.valueconstraint = valueconstraint 
示例#29
0
 def __init__(self, domain=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'domain': {
             'type': 'Link',
             'name': 'domain',
             'minOccurs': '0',
             'native': False
         }
     })
     self.domain = domain
示例#30
0
 def __init__(self, sshkey=None, enabled=None, accessrights=[], uselocalauth=None, groups=[], password=None, email=None, digest=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'sshKey': {'type': 'Credential', 'name': 'sshkey', 'minOccurs': '0', 'native': False}, 'enabled': {'type': 'boolean', 'name': 'enabled', 'minOccurs': '0', 'native': True}, 'accessRights': {'maxOccurs': 'unbounded', 'type': 'AccessRight', 'name': 'accessrights', 'minOccurs': '0', 'native': False}, 'useLocalAuth': {'type': 'boolean', 'name': 'uselocalauth', 'minOccurs': '0', 'native': True}, 'groups': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'groups', 'minOccurs': '0', 'native': False}, 'password': {'type': 'string', 'name': 'password', 'minOccurs': '0', 'native': True}, 'email': {'type': 'string', 'name': 'email', 'minOccurs': '0', 'native': True}, 'digest': {'type': 'string', 'name': 'digest', 'minOccurs': '0', 'native': True}})
     self.sshkey = sshkey
     self.enabled = enabled
     self.accessrights = accessrights
     self.uselocalauth = uselocalauth
     self.groups = groups
     self.password = password
     self.email = email
     self.digest = digest 
 def __init__(self, url=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'url': {
             'type': 'string',
             'name': 'url',
             'minOccurs': '0',
             'native': True
         }
     })
     self.url = url
 def __init__(self, nodetype=None, domainname=None, ntpservers=[], cloud=None, dsnservers=[], optionsid=None, properties=[], netbiosservers=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'nodeType': {'type': 'int', 'name': 'nodetype', 'minOccurs': '0', 'native': True}, 'domainName': {'type': 'string', 'name': 'domainname', 'minOccurs': '0', 'native': True}, 'ntpServers': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'ntpservers', 'minOccurs': '0', 'native': True}, 'netbiosServers': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'netbiosservers', 'minOccurs': '0', 'native': True}, 'dsnServers': {'maxOccurs': 'unbounded', 'type': 'string', 'name': 'dsnservers', 'minOccurs': '0', 'native': True}, 'optionsId': {'type': 'string', 'name': 'optionsid', 'minOccurs': '0', 'native': True}, 'properties': {'maxOccurs': 'unbounded', 'type': 'Property', 'name': 'properties', 'minOccurs': '0', 'native': False}, 'cloud': {'type': 'Link', 'name': 'cloud', 'minOccurs': '0', 'native': False}})
     self.nodetype = nodetype
     self.domainname = domainname
     self.ntpservers = ntpservers
     self.cloud = cloud
     self.dsnservers = dsnservers
     self.optionsid = optionsid
     self.properties = properties
     self.netbiosservers = netbiosservers 
 def __init__(self, username=None, rating=None, title=None, createdon=None, updatedon=None, userid=None, comment=None, productid=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'userName': {'type': 'string', 'name': 'username', 'minOccurs': '0', 'native': True}, 'rating': {'type': 'int', 'name': 'rating', 'minOccurs': '0', 'native': True}, 'updatedOn': {'type': 'date', 'name': 'updatedon', 'minOccurs': '0', 'native': True}, 'createdOn': {'type': 'date', 'name': 'createdon', 'minOccurs': '0', 'native': True}, 'title': {'type': 'string', 'name': 'title', 'minOccurs': '0', 'native': True}, 'userId': {'type': 'int', 'name': 'userid', 'minOccurs': '0', 'native': True}, 'comment': {'type': 'string', 'name': 'comment', 'minOccurs': '0', 'native': True}, 'productId': {'type': 'int', 'name': 'productid', 'minOccurs': '0', 'native': True}})
     self.username = username
     self.rating = rating
     self.title = title
     self.createdon = createdon
     self.updatedon = updatedon
     self.userid = userid
     self.comment = comment
     self.productid = productid 
 def __init__(self, displayname=None, minrequired=None, defaultvalue=[], readable=False, writable=False, validator=None, propertytype=None, propertytypevalue=None, maxallowed=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'displayName': {'type': 'string', 'name': 'displayname', 'minOccurs': '0', 'native': True}, 'maxAllowed': {'type': 'int', 'name': 'maxallowed', 'native': True}, 'defaultValue': {'maxOccurs': 'unbounded', 'type': 'AssetProperty', 'name': 'defaultvalue', 'minOccurs': '0', 'native': False}, 'readable': {'type': 'boolean', 'name': 'readable', 'native': True}, 'writable': {'type': 'boolean', 'name': 'writable', 'native': True}, 'validator': {'type': 'FieldValidators', 'name': 'validator', 'minOccurs': '0', 'native': False}, 'propertyType': {'type': 'Link', 'name': 'propertytype', 'minOccurs': '0', 'native': False}, 'propertyTypeValue': {'type': 'PropertyType', 'name': 'propertytypevalue', 'minOccurs': '0', 'native': False}, 'minRequired': {'type': 'int', 'name': 'minrequired', 'native': True}})
     self.displayname = displayname
     self.minrequired = minrequired
     self.defaultvalue = defaultvalue
     self.readable = readable
     self.writable = writable
     self.validator = validator
     self.propertytype = propertytype
     self.propertytypevalue = propertytypevalue
     self.maxallowed = maxallowed 
 def __init__(self, property=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'property': {
             'maxOccurs': 'unbounded',
             'type': 'Link',
             'name': 'property',
             'minOccurs': '0',
             'native': False
         }
     })
     self.property = property
示例#36
0
 def __init__(self, eula='', adminuser=False, title='', timestamp=None, company='', signature='', readonly=False, valid=False, agreedto=False):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'eula': {'type': 'string', 'name': 'eula', 'native': True}, 'adminUser': {'type': 'boolean', 'name': 'adminuser', 'native': True}, 'title': {'type': 'string', 'name': 'title', 'native': True}, 'timestamp': {'type': 'date', 'name': 'timestamp', 'minOccurs': '0', 'native': True}, 'company': {'type': 'string', 'name': 'company', 'native': True}, 'agreedTo': {'type': 'boolean', 'name': 'agreedto', 'native': True}, 'readOnly': {'type': 'boolean', 'name': 'readonly', 'native': True}, 'valid': {'type': 'boolean', 'name': 'valid', 'native': True}, 'signature': {'type': 'string', 'name': 'signature', 'native': True}})
     self.eula = eula
     self.adminuser = adminuser
     self.title = title
     self.timestamp = timestamp
     self.company = company
     self.signature = signature
     self.readonly = readonly
     self.valid = valid
     self.agreedto = agreedto 
 def __init__(self,
              availableoptions=[],
              encrypted=False,
              overridable=False,
              value='',
              data=None,
              dataencrypted=False):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'dataEncrypted': {
             'type': 'boolean',
             'name': 'dataencrypted',
             'native': True
         },
         'encrypted': {
             'type': 'boolean',
             'name': 'encrypted',
             'native': True
         },
         'overridable': {
             'type': 'boolean',
             'name': 'overridable',
             'native': True
         },
         'value': {
             'type': 'string',
             'name': 'value',
             'native': True
         },
         'data': {
             'type': 'hexBinary',
             'name': 'data',
             'minOccurs': '0',
             'native': True
         },
         'availableOptions': {
             'maxOccurs': 'unbounded',
             'type': 'string',
             'name': 'availableoptions',
             'minOccurs': '0',
             'native': True
         }
     })
     self.availableoptions = availableoptions
     self.encrypted = encrypted
     self.overridable = overridable
     self.value = value
     self.data = data
     self.dataencrypted = dataencrypted
 def __init__(self, bundleversion='', symbolicname=''):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'bundleVersion': {
             'type': 'string',
             'name': 'bundleversion',
             'native': True
         },
         'symbolicName': {
             'type': 'string',
             'name': 'symbolicname',
             'native': True
         }
     })
     self.bundleversion = bundleversion
     self.symbolicname = symbolicname
 def __init__(self, displayname=None, entitytablename='', propertydefinition=[], allowextensions=False, global_=False, propertydefinitiongroup=[], custom=False, propertydefinitionreference=[], hassubtypes=False, objectreference=[], entityclassname=None, usedtype=None, supertype=None, super=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'displayName': {'type': 'string', 'name': 'displayname', 'minOccurs': '0', 'native': True}, 'entityTableName': {'type': 'string', 'name': 'entitytablename', 'native': True}, 'propertyDefinition': {'maxOccurs': 'unbounded', 'type': 'PropertyDefinition', 'name': 'propertydefinition', 'minOccurs': '0', 'native': False}, 'allowExtensions': {'type': 'boolean', 'name': 'allowextensions', 'native': True}, 'global': {'type': 'boolean', 'name': 'global_', 'native': True}, 'hasSubTypes': {'type': 'boolean', 'name': 'hassubtypes', 'native': True}, 'custom': {'type': 'boolean', 'name': 'custom', 'native': True}, 'propertyDefinitionReference': {'maxOccurs': 'unbounded', 'type': 'PropertyDefinitionReference', 'name': 'propertydefinitionreference', 'minOccurs': '0', 'native': False}, 'propertyDefinitionGroup': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'propertydefinitiongroup', 'minOccurs': '0', 'native': False}, 'objectReference': {'maxOccurs': 'unbounded', 'type': 'ObjectReference', 'name': 'objectreference', 'minOccurs': '0', 'native': False}, 'entityClassName': {'type': 'string', 'name': 'entityclassname', 'minOccurs': '0', 'native': True}, 'useDtype': {'type': 'boolean', 'name': 'usedtype', 'minOccurs': '0', 'native': True}, 'superType': {'type': 'Link', 'name': 'supertype', 'minOccurs': '0', 'native': False}, 'super': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'super', 'minOccurs': '0', 'native': False}})
     self.displayname = displayname
     self.entitytablename = entitytablename
     self.propertydefinition = propertydefinition
     self.allowextensions = allowextensions
     self.global_ = global_
     self.propertydefinitiongroup = propertydefinitiongroup
     self.custom = custom
     self.propertydefinitionreference = propertydefinitionreference
     self.hassubtypes = hassubtypes
     self.objectreference = objectreference
     self.entityclassname = entityclassname
     self.usedtype = usedtype
     self.supertype = supertype
     self.super = super 
 def __init__(self, classname=None, displayname=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'classname': {
             'type': 'string',
             'name': 'classname',
             'minOccurs': '0',
             'native': True
         },
         'displayName': {
             'type': 'string',
             'name': 'displayname',
             'minOccurs': '0',
             'native': True
         }
     })
     self.classname = classname
     self.displayname = displayname
 def __init__(self, global_=None, displayname=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'global': {
             'type': 'boolean',
             'name': 'global_',
             'minOccurs': '0',
             'native': True
         },
         'displayName': {
             'type': 'string',
             'name': 'displayname',
             'minOccurs': '0',
             'native': True
         }
     })
     self.global_ = global_
     self.displayname = displayname
示例#42
0
 def __init__(self, credential=None, address=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'credential': {
             'type': 'Credential',
             'name': 'credential',
             'minOccurs': '0',
             'native': False
         },
         'address': {
             'type': 'string',
             'name': 'address',
             'minOccurs': '0',
             'native': True
         }
     })
     self.credential = credential
     self.address = address
示例#43
0
 def __init__(self, memoryaddsupported=False, resources=[], memoryremovesupported=False, locations=[], imageid=None, cpuremovesupported=False, location=None, mgmtport=None, mgmtprotocol=None, cpuaddsupported=False, credentials=None, cloudtype=None, type=None, properties=[], cloud=None, architecture=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'mgmtPort': {'type': 'int', 'name': 'mgmtport', 'minOccurs': '0', 'native': True}, 'memoryRemoveSupported': {'type': 'boolean', 'name': 'memoryremovesupported', 'native': True}, 'locations': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'locations', 'minOccurs': '0', 'native': False}, 'imageId': {'type': 'string', 'name': 'imageid', 'minOccurs': '0', 'native': True}, 'architecture': {'type': 'Architecture', 'name': 'architecture', 'minOccurs': '0', 'native': False}, 'cloud': {'type': 'Link', 'name': 'cloud', 'minOccurs': '0', 'native': False}, 'resources': {'maxOccurs': 'unbounded', 'type': 'Resource', 'name': 'resources', 'minOccurs': '0', 'native': False}, 'memoryAddSupported': {'type': 'boolean', 'name': 'memoryaddsupported', 'native': True}, 'mgmtProtocol': {'type': 'string', 'name': 'mgmtprotocol', 'minOccurs': '0', 'native': True}, 'cpuAddSupported': {'type': 'boolean', 'name': 'cpuaddsupported', 'native': True}, 'credentials': {'type': 'Credential', 'name': 'credentials', 'minOccurs': '0', 'native': False}, 'cloudType': {'type': 'Link', 'name': 'cloudtype', 'minOccurs': '0', 'native': False}, 'type': {'type': 'string', 'name': 'type', 'minOccurs': '0', 'native': True}, 'properties': {'maxOccurs': 'unbounded', 'type': 'Property', 'name': 'properties', 'minOccurs': '0', 'native': False}, 'cpuRemoveSupported': {'type': 'boolean', 'name': 'cpuremovesupported', 'native': True}, 'location': {'type': 'string', 'name': 'location', 'minOccurs': '0', 'native': True}})
     self.memoryaddsupported = memoryaddsupported
     self.resources = resources
     self.memoryremovesupported = memoryremovesupported
     self.locations = locations
     self.imageid = imageid
     self.cpuremovesupported = cpuremovesupported
     self.location = location
     self.mgmtport = mgmtport
     self.mgmtprotocol = mgmtprotocol
     self.cpuaddsupported = cpuaddsupported
     self.credentials = credentials
     self.cloudtype = cloudtype
     self.type = type
     self.properties = properties
     self.cloud = cloud
     self.architecture = architecture 
示例#44
0
 def __init__(self, operatingsystem=None, mgmtscripts=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'operatingSystem': {
             'type': 'string',
             'name': 'operatingsystem',
             'minOccurs': '0',
             'native': True
         },
         'mgmtScripts': {
             'maxOccurs': 'unbounded',
             'type': 'MgmtScript',
             'name': 'mgmtscripts',
             'minOccurs': '0',
             'native': False
         }
     })
     self.operatingsystem = operatingsystem
     self.mgmtscripts = mgmtscripts
 def __init__(self, platformservicetype=None, properties=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'platformServiceType': {
             'type': 'Link',
             'name': 'platformservicetype',
             'minOccurs': '0',
             'native': False
         },
         'properties': {
             'maxOccurs': 'unbounded',
             'type': 'Property',
             'name': 'properties',
             'minOccurs': '0',
             'native': False
         }
     })
     self.platformservicetype = platformservicetype
     self.properties = properties
示例#46
0
 def __init__(self,
              derivedgroup=[],
              displayname=None,
              parent=None,
              propertydefinition=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'displayName': {
             'type': 'string',
             'name': 'displayname',
             'minOccurs': '0',
             'native': True
         },
         'derivedGroup': {
             'maxOccurs': 'unbounded',
             'type': 'Link',
             'name': 'derivedgroup',
             'minOccurs': '0',
             'native': False
         },
         'propertyDefinition': {
             'maxOccurs': 'unbounded',
             'type': 'PropertyDefinition',
             'name': 'propertydefinition',
             'minOccurs': '0',
             'native': False
         },
         'parent': {
             'type': 'Link',
             'name': 'parent',
             'minOccurs': '0',
             'native': False
         }
     })
     self.derivedgroup = derivedgroup
     self.displayname = displayname
     self.parent = parent
     self.propertydefinition = propertydefinition
示例#47
0
 def __init__(self, path='', unerasable=False, domain=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'path': {
             'type': 'string',
             'name': 'path',
             'native': True
         },
         'unerasable': {
             'type': 'boolean',
             'name': 'unerasable',
             'native': True
         },
         'domain': {
             'type': 'Link',
             'name': 'domain',
             'minOccurs': '0',
             'native': False
         }
     })
     self.path = path
     self.unerasable = unerasable
     self.domain = domain
示例#48
0
 def __init__(self, script=None, mgmtscripttype='', filesystem=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({
         'fileSystem': {
             'type': 'Link',
             'name': 'filesystem',
             'minOccurs': '0',
             'native': False
         },
         'mgmtScriptType': {
             'type': 'string',
             'name': 'mgmtscripttype',
             'native': True
         },
         'script': {
             'type': 'Link',
             'name': 'script',
             'native': False
         }
     })
     self.script = script
     self.mgmtscripttype = mgmtscripttype
     self.filesystem = filesystem
 def __init__(self):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({})
示例#50
0
 def __init__(self):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({})
      
 def __init__(self, domain=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'domain': {'type': 'Link', 'name': 'domain', 'minOccurs': '0', 'native': False}})
     self.domain = domain 
示例#52
0
 def __init__(self, credential=None, address=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'credential': {'type': 'Credential', 'name': 'credential', 'minOccurs': '0', 'native': False}, 'address': {'type': 'string', 'name': 'address', 'minOccurs': '0', 'native': True}})
     self.credential = credential
     self.address = address 
 def __init__(self, operatingsystem=None, mgmtscripts=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'operatingSystem': {'type': 'string', 'name': 'operatingsystem', 'minOccurs': '0', 'native': True}, 'mgmtScripts': {'maxOccurs': 'unbounded', 'type': 'MgmtScript', 'name': 'mgmtscripts', 'minOccurs': '0', 'native': False}})
     self.operatingsystem = operatingsystem
     self.mgmtscripts = mgmtscripts 
示例#54
0
 def __init__(self, users=[], roles=[]):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'users': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'users', 'minOccurs': '0', 'native': False}, 'roles': {'maxOccurs': 'unbounded', 'type': 'Link', 'name': 'roles', 'minOccurs': '0', 'native': False}})
     self.users = users
     self.roles = roles 
 def __init__(self, url=None):
     AssetBase.__init__(self)
     self._attrSpecs = getattr(self, '_attrSpecs', {})
     self._attrSpecs.update({'url': {'type': 'string', 'name': 'url', 'minOccurs': '0', 'native': True}})
     self.url = url