Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
 
3
namespace Aws\EndpointV2\Ruleset;
4
 
5
/**
6
 * Represents a fully resolved endpoint that a
7
 * rule returns if input parameters meet its requirements.
8
 */
9
class RulesetEndpoint
10
{
11
    /** @var string */
12
    private $url;
13
 
14
    /** @var array */
15
    private $properties;
16
 
17
    /** @var array */
18
    private $headers;
19
 
20
    public function __construct($url, $properties = null, $headers = null)
21
    {
22
        $this->url = $url;
23
        $this->properties = $properties;
24
        $this->headers = $headers;
25
    }
26
 
27
    /**
28
     * @return mixed
29
     */
30
    public function getUrl()
31
    {
32
        return $this->url;
33
    }
34
 
35
    /**
36
     * @return mixed
37
     */
38
    public function getProperties()
39
    {
40
        return $this->properties;
41
    }
42
 
43
    /**
44
     * @return mixed
45
     */
46
    public function getHeaders()
47
    {
48
        return $this->headers;
49
    }
50
}