Skip to content

basejob

roblox.bases.basejob

This file contains the BaseJob object, which represents a Roblox job ID.

BaseJob (BaseItem)

Represents Roblox job ID.

Job IDs are UUIDs that represent a single game server instance. Learn more on the Developer Hub here.

Attributes:

Name Type Description
_shared ClientSharedObject

The ClientSharedObject.

id str

The job ID.

Source code in roblox/bases/basejob.py
class BaseJob(BaseItem):
    """
    Represents Roblox job ID.

    Job IDs are UUIDs that represent a single game server instance.
    Learn more on the Developer Hub [here](https://developer.roblox.com/en-us/api-reference/property/DataModel/JobId).

    Attributes:
        _shared: The ClientSharedObject.
        id: The job ID.
    """

    def __init__(self, shared: ClientSharedObject, job_id: str):
        """
        Arguments:
            shared: The ClientSharedObject.
            job_id: The job ID.
        """

        self._shared: ClientSharedObject = shared
        self.id: str = job_id

__init__(self, shared: ClientSharedObject, job_id: str) special

Parameters:

Name Type Description Default
shared ClientSharedObject

The ClientSharedObject.

required
job_id str

The job ID.

required
Source code in roblox/bases/basejob.py
def __init__(self, shared: ClientSharedObject, job_id: str):
    """
    Arguments:
        shared: The ClientSharedObject.
        job_id: The job ID.
    """

    self._shared: ClientSharedObject = shared
    self.id: str = job_id