1# Copyright (c) 2019 Ultimaker B.V.
2# Cura is released under the terms of the LGPLv3 or higher.
3from ..BaseModel import BaseModel
4
5
6# Model that represents the request to upload a print job to the cloud
7class CloudPrintJobUploadRequest(BaseModel):
8
9    def __init__(self, job_name: str, file_size: int, content_type: str, **kwargs) -> None:
10        """Creates a new print job upload request.
11
12        :param job_name: The name of the print job.
13        :param file_size: The size of the file in bytes.
14        :param content_type: The content type of the print job (e.g. text/plain or application/gzip)
15        """
16
17        self.job_name = job_name
18        self.file_size = file_size
19        self.content_type = content_type
20        super().__init__(**kwargs)
21