<commit_before><?php namespace Ordercloud\Entities\Connections;

use Ordercloud\Entities\Organisations\Fees\OrganisationFee;

class Connection
{
    /** @var integer */
    private $id;
    /** @var \Ordercloud\Entities\Organisations\OrganisationShort */
    private $fromOrganisation;
    /** @var \Ordercloud\Entities\Organisations\OrganisationShort */
    private $toOrganisation;
    /** @var ConnectionType */
    private $type;
    /** @var string */
    private $ended;
    /** @var array|OrganisationFee[] */
    private $fees;
    /** @var boolean */
    private $enabled;
    /** @var string */
    private $status;
    /** @var string */
    private $settlementInterval;

    function __construct($id, $fromOrganisation, $toOrganisation, $type, $ended, array $fees, $enabled, $status, $settlementInterval)
    {
        $this->id = $id;
        $this->fromOrganisation = $fromOrganisation;
        $this->toOrganisation = $toOrganisation;
        $this->type = $type;
        $this->ended = $ended;
        $this->fees = $fees;
        $this->enabled = $enabled;
        $this->status = $status;
        $this->settlementInterval = $settlementInterval;
    }
}<commit_msg>Added accessors to Connection entity<commit_after><?php namespace Ordercloud\Entities\Connections;

use Ordercloud\Entities\Organisations\Fees\OrganisationFee;
use Ordercloud\Entities\Organisations\OrganisationShort;

class Connection
{
    /** @var integer */
    private $id;
    /** @var OrganisationShort */
    private $fromOrganisation;
    /** @var OrganisationShort */
    private $toOrganisation;
    /** @var ConnectionType */
    private $type;
    /** @var string */
    private $ended;
    /** @var array|OrganisationFee[] */
    private $fees;
    /** @var boolean */
    private $enabled;
    /** @var string */
    private $status;
    /** @var string */
    private $settlementInterval;

    function __construct($id, OrganisationShort $fromOrganisation, OrganisationShort $toOrganisation, ConnectionType $type, $ended, array $fees, $enabled, $status, $settlementInterval)
    {
        $this->id = $id;
        $this->fromOrganisation = $fromOrganisation;
        $this->toOrganisation = $toOrganisation;
        $this->type = $type;
        $this->ended = $ended;
        $this->fees = $fees;
        $this->enabled = $enabled;
        $this->status = $status;
        $this->settlementInterval = $settlementInterval;
    }

    /**
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @return OrganisationShort
     */
    public function getFromOrganisation()
    {
        return $this->fromOrganisation;
    }

    /**
     * @return OrganisationShort
     */
    public function getToOrganisation()
    {
        return $this->toOrganisation;
    }

    /**
     * @return ConnectionType
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * @return string
     */
    public function getEnded()
    {
        return $this->ended;
    }

    /**
     * @return array|OrganisationFee[]
     */
    public function getFees()
    {
        return $this->fees;
    }

    /**
     * @return boolean
     */
    public function isEnabled()
    {
        return $this->enabled;
    }

    /**
     * @return string
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * @return string
     */
    public function getSettlementInterval()
    {
        return $this->settlementInterval;
    }
}
{'fraction_non_alphanumeric': 0.13590033975084936, 'fraction_numerical': 0.0, 'mean_word_length': 2.336166194523135, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 30, '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': '354313', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1031, 'n_words': 216}