*** # VoiceParams * Full name: `\Seven\Api\Resource\Voice\VoiceParams` * This class implements: [`\Seven\Api\Library\ParamsInterface`](../../Library/ParamsInterface.md) ## Properties ### from ```php protected ?string $from ``` *** ### ringtime ```php protected ?int $ringtime ``` *** ### text ```php protected string $text ``` *** ### to ```php protected string $to ``` *** ## Methods ### __construct ```php public __construct(string $text, string $to): mixed ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$text` | **string** | | | `$to` | **string** | | *** ### toArray ```php public toArray(): array ``` *** ### getFrom ```php public getFrom(): ?string ``` *** ### setFrom ```php public setFrom(?string $from): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$from` | **?string** | | *** ### getRingtime ```php public getRingtime(): ?int ``` *** ### setRingtime ```php public setRingtime(?int $ringtime): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$ringtime` | **?int** | | *** ### getText ```php public getText(): string ``` *** ### setText ```php public setText(string $text): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$text` | **string** | | *** ### getTo ```php public getTo(): string ``` *** ### setTo ```php public setTo(string $to): self ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$to` | **string** | | *** *** > Automatically generated on 2025-02-06