<?php

namespace Planaday\Utility\Endpoints;

class RequestData {
	protected array $body = [];
	protected array $urlParams = [];
	protected array $headers = [];

	public function getBody(): array {
		return $this->body;
	}

	public function setBody( array $body ): static {
		$this->body = $body;

		return $this;
	}

	/**
	 * @return string[]
	 */
	public function getUrlParams(): array {
		return $this->urlParams;
	}

	/**
	 * @param string[] $urlParams
	 */
	public function setUrlParams( array $urlParams ): static {
		$this->urlParams = $urlParams;

		return $this;
	}

	public function getHeaders(): array {
		return $this->headers;
	}

	public function setHeaders( array $headers ): static {
		$this->headers = $headers;
		return $this;
	}
}