blob: 077238eab3b4b31ad32856c4d5d7ab4942b816d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?php
namespace SendGrid;
class Response
{
public
$code,
$headers,
$raw_body,
$body;
public function __construct($code, $headers, $raw_body, $body)
{
$this->code = $code;
$this->headers = $headers;
$this->raw_body = $raw_body;
$this->body = $body;
}
public function getCode()
{
return $this->code;
}
public function getHeaders()
{
return $this->headers;
}
public function getRawBody()
{
return $this->raw_body;
}
public function getBody()
{
return $this->body;
}
}
|