-
Notifications
You must be signed in to change notification settings - Fork 69
/
SmsTextContent.php
68 lines (55 loc) · 1.63 KB
/
SmsTextContent.php
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
declare(strict_types=1);
/**
* Infobip Client API Libraries OpenAPI Specification
*
* OpenAPI specification containing public endpoints supported in client API libraries.
*
* Contact: support@infobip.com
*
* This class is auto generated from the Infobip OpenAPI specification through the OpenAPI Specification Client API libraries (Re)Generator (OSCAR), powered by the OpenAPI Generator (https://openapi-generator.tech).
*
* Do not edit manually. To learn how to raise an issue, see the CONTRIBUTING guide or contact us @ support@infobip.com.
*/
namespace Infobip\Model;
use Symfony\Component\Validator\Constraints as Assert;
class SmsTextContent implements SmsMessageContent
{
/**
*/
public function __construct(
#[Assert\NotBlank]
protected string $text,
protected ?string $transliteration = null,
#[Assert\Valid]
protected ?\Infobip\Model\SmsLanguage $language = null,
) {
}
public function getText(): string
{
return $this->text;
}
public function setText(string $text): self
{
$this->text = $text;
return $this;
}
public function getTransliteration(): mixed
{
return $this->transliteration;
}
public function setTransliteration($transliteration): self
{
$this->transliteration = $transliteration;
return $this;
}
public function getLanguage(): \Infobip\Model\SmsLanguage|null
{
return $this->language;
}
public function setLanguage(?\Infobip\Model\SmsLanguage $language): self
{
$this->language = $language;
return $this;
}
}