Skip to content

Commit

Permalink
Removed social distancing (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux authored Jul 10, 2023
1 parent 8365afc commit 1fe8c11
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 508 deletions.
5 changes: 0 additions & 5 deletions src/Charts/Chart.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,4 @@ class Chart
* @var array
*/
public $validation;

/**
* @var SocialDistancingRuleset[]
*/
public $socialDistancingRulesets;
}
7 changes: 0 additions & 7 deletions src/Charts/Charts.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,6 @@ public function removeTag(string $key, string $tag): void
$this->client->delete(UriTemplate::expand('/charts/{key}/tags/{tag}', array("key" => $key, "tag" => $tag)));
}

public function saveSocialDistancingRulesets(string $key, array $rulesets)
{
$request = new stdClass();
$request->socialDistancingRulesets = $rulesets;
$this->client->post(UriTemplate::expand('/charts/{key}/social-distancing-rulesets', array("key" => $key)), ['json' => $request]);
}

public function listAll(ChartListParams $chartListParams = null): ChartPagedIterator
{
return $this->iterator()->all($this->listParamsToArray($chartListParams));
Expand Down
283 changes: 0 additions & 283 deletions src/Charts/SocialDistancingRuleset.php

This file was deleted.

5 changes: 0 additions & 5 deletions src/Events/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ class Event
*/
public $channels;

/**
* @var string
*/
public $socialDistancingRulesetKey;

/**
* @var string
*/
Expand Down
4 changes: 0 additions & 4 deletions src/Events/EventObjectInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ class EventObjectInfo
* @var string
*/
public $availabilityReason;
/**
* @var boolean
*/
public $isDisabledBySocialDistancing;
/**
* @var string
*/
Expand Down
11 changes: 0 additions & 11 deletions src/Events/EventParams.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ abstract class EventParams
*/
public $tableBookingConfig;

/**
* @var string
*/
public $socialDistancingRulesetKey;

/**
* @var array
*/
Expand Down Expand Up @@ -76,10 +71,4 @@ public function setCategories($categories): self
$this->categories = $categories;
return $this;
}

public function setSocialDistancingRulesetKey(string $socialDistancingRulesetKey): self
{
$this->socialDistancingRulesetKey = $socialDistancingRulesetKey;
return $this;
}
}
Loading

0 comments on commit 1fe8c11

Please sign in to comment.