src/Queue/ClientJob.php
public function getResource()
    {
        if (!$this->resource_type || !$this->resource_id) {
            return null;
        }

        return $this->getApi()->getStore()->find(
            ResourceIdentifier::create($this->resource_type, (string) $this->resource_id)
        );
    }
public function getResource()
    {
        if (!$this->resource_type || !$this->resource_id) {
            return null;
        }

        return $this->getApi()->getStore()->find(
            ResourceIdentifier::create($this->resource_type, (string) $this->resource_id)
        );
    }
Get the resource that the process relates to.

@return mixed|null