def create(swagger):
    @swagger.definition('form_param_x')
    class FormParamX:
        """
        Horizontal pixel position.
        ---
        name: x
        in: formData
        type: integer
        minimum: '0'
        default: '0'
        required: true
        """

    @swagger.definition('form_param_y')
    class FormParamY:
        """
        Vertical pixel position.
        ---
        name: y
        in: formData
        type: integer
        minimum: '0'
        default: '0'
        required: true
        """

    @swagger.definition('form_param_r')
    class FormParamR:
        """
        RGB - Red color value.
        ---
        name: r
        in: formData
        type: integer
        minimum: '0'
        maximum: 255
        default: 255
        required: true
        """

    @swagger.definition('form_param_g')
    class FormParamG:
        """
        RGB - Green color value.
        ---
        name: g
        in: formData
        type: integer
        minimum: '0'
        maximum: 255
        default: 255
        required: true
        """

    @swagger.definition('form_param_b')
    class FormParamB:
        """
        RGB - Blue color value.
        ---
        name: b
        in: formData
        type: integer
        minimum: '0'
        maximum: 255
        default: 255
        required: true
        """

    @swagger.definition('form_param_push_immediately')
    class FormParamPushImmediately:
        """
        Push draw buffer to the device immediately after this operation?
        ---
        name: push_immediately
        in: formData
        type: boolean
        default: true
        required: true
        """

def create(swagger):
    @swagger.definition('form_param_x')
    class FormParamX:
        """
        Horizontal pixel position.
        ---
        name: x
        in: formData
        type: integer
        minimum: '0'
        default: '0'
        required: true
        """

    @swagger.definition('form_param_y')
    class FormParamY:
        """
        Vertical pixel position.
        ---
        name: y
        in: formData
        type: integer
        minimum: '0'
        default: '0'
        required: true
        """

    @swagger.definition('form_param_r')
    class FormParamR:
        """
        RGB - Red color value.
        ---
        name: r
        in: formData
        type: integer
        minimum: '0'
        maximum: 255
        default: 255
        required: true
        """

    @swagger.definition('form_param_g')
    class FormParamG:
        """
        RGB - Green color value.
        ---
        name: g
        in: formData
        type: integer
        minimum: '0'
        maximum: 255
        default: 255
        required: true
        """

    @swagger.definition('form_param_b')
    class FormParamB:
        """
        RGB - Blue color value.
        ---
        name: b
        in: formData
        type: integer
        minimum: '0'
        maximum: 255
        default: 255
        required: true
        """

    @swagger.definition('form_param_push_immediately')
    class FormParamPushImmediately:
        """
        Push draw buffer to the device immediately after this operation?
        ---
        name: push_immediately
        in: formData
        type: boolean
        default: true
        required: true
        """

Horizontal pixel position.         ---         name: x         in: formData         type: integer         minimum: '0'         default: '0'         required: true Vertical pixel position.         ---         name: y         in: formData         type: integer         minimum: '0'         default: '0'         required: true RGB - Red color value.         ---         name: r         in: formData         type: integer         minimum: '0'         maximum: 255         default: 255         required: true RGB - Green color value.         ---         name: g         in: formData         type: integer         minimum: '0'         maximum: 255         default: 255         required: true RGB - Blue color value.         ---         name: b         in: formData         type: integer         minimum: '0'         maximum: 255         default: 255         required: true Push draw buffer to the device immediately after this operation?         ---         name: push_immediately         in: formData         type: boolean         default: true         required: true