def __init__(self, py_dict=None): """ Constructor to create SecurityGroupSchema object @param py_dict : python dictionary to construct this object """ super(SecurityGroupSchema, self).__init__() self.set_data_type('xml') self.objectId = None self.objectTypeName = None self.vsmUuid = None self.name = None self.description = None self.revision = None self.type = TypeSchema() self.scope = ScopeSchema() self.clientHandle = None self.extendedAttributes = None self.inheritanceAllowed = None self.member = [SecurityGroupMemberSchema()] self.excludeMember = [SecurityGroupExcludedMemberSchema()] self.dynamicMemberDefinition = SecurityGroupDynamicMemberDefinitionSchema( ) if py_dict is not None: self.get_object_from_py_dict(py_dict)
def __init__(self, py_dict=None): """ Constructor to create ClusterSchema object @param py_dict : python dictionary to construct this object """ super(ClusterSchema, self).__init__() self.objectId = None self.type = TypeSchema() self.name = None self.scope = ScopeSchema() if py_dict is not None: if 'objectId' in py_dict: self.objectId = py_dict['objectId']
def __init__(self, py_dict=None): """ Constructor to create HostSchema object @param py_dict : python dictionary to construct this object """ super(HostSchema, self).__init__() self.objectId = None self.objectTypeName = None self.vsmUuid = None self.revision = None self.type = TypeSchema() self.name = None self.scope = ScopeSchema() self.clientHandle = None self.extendedAttributes = None if py_dict is not None: self.get_object_from_py_dict(py_dict)
def __init__(self, py_dict=None): """ Constructor to create SecurityGroupDynamicCriteriaObjectSchema object @param py_dict : python dictionary to construct this object """ super(SecurityGroupDynamicCriteriaObjectSchema, self).__init__() self.set_data_type('xml') self.objectId = None self.objectTypeName = None self.vsmUuid = None self.name = None self.description = None self.revision = None self.type = TypeSchema() self.scope = ScopeSchema() self.clientHandle = None self.extendedAttributes = None if py_dict is not None: self.get_object_from_py_dict(py_dict)
def __init__(self, py_dict=None): """ Constructor to create SwitchSchema object @param schema_object instance of BaseSchema class @return status http response state """ super(SwitchSchema, self).__init__() self.set_data_type('xml') self.objectId = None self.objectTypeName = None self.vsmUuid = None self.revision = None self.type = TypeSchema() self.name = None self.extendedAttributes = None self.clientHandle = None self.scope = ScopeSchema() if py_dict is not None: self.get_object_from_py_dict(py_dict)
def __init__(self, py_dict=None): """ Constructor to create ApplicationGroupSchema object @param py_dict : python dictionary to construct this object """ super(ApplicationGroupSchema, self).__init__() self.set_data_type('xml') self.name = None self.description = None self.inheritanceAllowed = None self.revision = None self.objectId = None self.objectTypeName = None self.vsmUuid = None self.clientHandle = None self.extendedAttributes = [ExtendedAttributeSchema()] self.type = TypeSchema() self.scope = ScopeSchema() self.member = None if py_dict is not None: self.get_object_from_py_dict(py_dict)