def create_server_profile_template(
                                       self,
                                       name=None,
                                       description=None,
                                       serverProfileDescription=None,
                                       serverHardwareTypeUri=None,
                                       enclosureGroupUri=None,
                                       affinity=None,
                                       hideUnusedFlexNics=None,
                                       profileConnectionV4=None,
                                       firmwareSettingsV3=None,
                                       bootSettings=None,
                                       bootModeSetting=None,
                                       blocking=True,
                                       verbose=False):
        """
        Create a ServerProfileTemplateV1 dictionary for use with the V200 API
        Args:
            name:
                Unique name of the Server Profile Template
            description:
                Description of the Server Profile Template
            serverProfileDescription:
                The description of the server profiles created from this template.
            serverHardwareTypeUri:
                Identifies the server hardware type for which the Server Profile
                was designed. The serverHardwareTypeUri is determined when the
                profile is created.
            enclosureGroupUri:
                 Identifies the enclosure group for which the Server Profile Template
                 was designed. The enclosureGroupUri is determined when the profile
                 template is created and cannot be modified.
            affinity:
                This identifies the behavior of the server profile when the server
                hardware is removed or replaced. This can be set to 'Bay' or
                'BayAndServer'.
            hideUnusedFlexNics:
                This setting controls the enumeration of physical functions that do
                not correspond to connections in a profile.
            profileConnectionV4:
                An array of profileConnectionV4
            firmwareSettingsV3:
                FirmwareSettingsV3 dictionary that defines the firmware baseline
                and management.
            bootSettings:
                Dictionary that indicates that the server will attempt to boot from
                this connection. This object can only be specified if
                "boot.manageBoot" is set to 'true'
            bootModeSetting:
                Dictionary that describes the boot mode settings to be configured on
                Gen9 and newer servers.

        Returns: dict
        """
        profile_template = make_ServerProfileTemplateV1(name,
                                                        description,
                                                        serverProfileDescription,
                                                        serverHardwareTypeUri,
                                                        enclosureGroupUri,
                                                        affinity,
                                                        hideUnusedFlexNics,
                                                        profileConnectionV4,
                                                        firmwareSettingsV3,
                                                        bootSettings,
                                                        bootModeSetting)

        task, body = self._con.post(uri['profile-templates'], profile_template)
        tout = 600
        if blocking is True:
            task = self._activity.wait4task(task, tout, verbose=verbose)
            if task in 'type' and task['type'].startswith('Task'):
                entity = self._activity.get_task_associated_resource(task)
                profile_template = self._con.get(entity['resourceUri'])
                return profile_template
        return task
dataset/ETHPy150Open HewlettPackard/python-hpOneView/hpOneView/servers.py/servers.create_server_profile_template/swapped operands of `in`