cloudmersive_convert_api_client/models/docx_template_operation.py
def action(self, action):
        """Sets the action of this DocxTemplateOperation.

        Operation action to take; possible values are \"Replace\"  # noqa: E501

        :param action: The action of this DocxTemplateOperation.  # noqa: E501
        :type: int
        """
        allowed_values = [1]  # noqa: E501
        if action not in allowed_values:
            raise ValueError(
                "Invalid value for `action` ({0}), must be one of {1}"  # noqa: E501
                .format(action, allowed_values)
            )

        self._action = action
Sets the action of this DocxTemplateOperation.

        Operation action to take; possible values are \"Replace\"  # noqa: E501

        :param action: The action of this DocxTemplateOperation.  # noqa: E501
        :type: int
        
Sets the action of this DocxTemplateOperation.
Operation action to take; possible values are \"Replace\"  # noqa: E501

:param action: The action of this DocxTemplateOperation.
Sets the action of this DocxTemplateOperation . Operation action to take ; possible values are \ " Replace \ " # noqa : E501 : param action : The action of this DocxTemplateOperation .
def action(self, action):
        allowed_values = [1]  
        if action not in allowed_values:
            raise ValueError(
                "Invalid value for `action` ({0}), must be one of {1}"  
                .format(action, allowed_values)
            )
        self._action = action
def action ( self , action ) : allowed_values = [ 1 ] if action not in allowed_values : raise ValueError ( "Invalid value for `action` ({0}), must be one of {1}" . format ( action , allowed_values ) ) self . _action = action
Sets the action of this DocxTemplateOperation.
Sets the action of this DocxTemplateOperation .
"""Sets the action of this DocxTemplateOperation.

        Operation action to take; possible values are \"Replace\"  # noqa: E501

        :param action: The action of this DocxTemplateOperation.  # noqa: E501
        :type: int
        """ # noqa: E501 # noqa: E501
self
action