code: public function setUpdated($updated)
      {
          if ($updated instanceof DateTime) {
              $this->updated = $updated;
          } else {
              try {
                  $this->updated = new DateTime($updated);
              } catch (\Exception $e) {
                  $this->updated = null;
              }
          }
  
          return $this;
      }
docs: Sets the "updated" of the MoodboardResponse.
  
  @param DateTime $updated
  
  @return MoodboardResponse