<commit_before><?php
/**
 * This file is part of the PHP Rebilly API package.
 *
 * (c) 2015 Rebilly SRL
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

namespace Rebilly\Entities;

use DomainException;
use Rebilly\Rest\Entity;

/**
 * Class EmailCredential
 *
 * ```json
 * {
 *   "id"
 *   "senderName"
 *   "senderEmail"
 *   "username"
 *   "host"
 *   "port"
 *   "authenticationMethod"
 *   "encryptionMethod"
 * }
 * ```
 *
 * @author <NAME> <<EMAIL>>
 * @version 0.1
 */
final class EmailCredential extends Entity
{
    const AUTH_METHOD_NONE = 'none';
    const AUTH_METHOD_PLAIN = 'plain';
    const AUTH_METHOD_LOGIN = 'login';
    const AUTH_METHOD_CRAM_MD5 = 'cram-md5';

    const ENCRYPTION_METHOD_NONE = 'none';
    const ENCRYPTION_METHOD_TLS = 'tls';
    const ENCRYPTION_METHOD_SSL = 'ssl';

    const MSG_UNEXPECTED_AUTH_METHOD = 'Unexpected authentication method. Only %s methods support';
    const MSG_UNEXPECTED_ENCRYPTION_METHOD = 'Unexpected encryption method. Only %s methods support';

    /**
     * @return string
     */
    public function getCreatedTime()
    {
        return $this->getAttribute('createdTime');
    }

    /**
     * @return bool
     */
    public function getSenderName()
    {
        return $this->getAttribute('senderName');
    }

    /**
     * @param string $value
     *
     * @return $this
     */
    public function setSenderName($value)
    {
        return $this->setAttribute('senderName', $value);
    }

    /**
     * @return string
     */
    public function getSenderEmail()
    {
        return $this->getAttribute('senderEmail');
    }

    /**
     * @param string $value
     *
     * @return $this
     */
    public function setSenderEmail($value)
    {<commit_msg>PHPDoc fix<commit_after><?php
/**
 * This file is part of the PHP Rebilly API package.
 *
 * (c) 2015 Rebilly SRL
 *
 * For the full copyright and license information, please view the LICENSE.md
 * file that was distributed with this source code.
 */

namespace Rebilly\Entities;

use DomainException;
use Rebilly\Rest\Entity;

/**
 * Class EmailCredential
 *
 * ```json
 * {
 *   "id"
 *   "senderName"
 *   "senderEmail"
 *   "username"
 *   "host"
 *   "port"
 *   "authenticationMethod"
 *   "encryptionMethod"
 * }
 * ```
 *
 * @author <NAME> <<EMAIL>>
 * @version 0.1
 */
final class EmailCredential extends Entity
{
    const AUTH_METHOD_NONE = 'none';
    const AUTH_METHOD_PLAIN = 'plain';
    const AUTH_METHOD_LOGIN = 'login';
    const AUTH_METHOD_CRAM_MD5 = 'cram-md5';

    const ENCRYPTION_METHOD_NONE = 'none';
    const ENCRYPTION_METHOD_TLS = 'tls';
    const ENCRYPTION_METHOD_SSL = 'ssl';

    const MSG_UNEXPECTED_AUTH_METHOD = 'Unexpected authentication method. Only %s methods support';
    const MSG_UNEXPECTED_ENCRYPTION_METHOD = 'Unexpected encryption method. Only %s methods support';

    /**
     * @return string
     */
    public function getCreatedTime()
    {
        return $this->getAttribute('createdTime');
    }

    /**
     * @return string
     */
    public function getSenderName()
    {
        return $this->getAttribute('senderName');
    }

    /**
     * @param string $value
     *
     * @return $this
     */
    public function setSenderName($value)
    {
        return $this->setAttribute('senderName', $value);
    }

    /**
     * @return string
     */
    public function getSenderEmail()
    {
        return $this->getAttribute('senderEmail');
    }

    /**
     * @param string $value
     *
     * @return $this
     */
    public function setSenderEmail($value)
    {
{'fraction_non_alphanumeric': 0.12271611671666212, 'fraction_numerical': 0.00436323970548132, 'mean_word_length': 2.6606786427145708, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7227138', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1141, 'n_words': 281}