Constructs a FactorContext

@param string $sid A string that uniquely identifies this Factor.
@return \Twilio\Rest\Authy\V1\Service\Entity\FactorContext
8172
public function getContext($sid) {
        return new FactorContext(
            $this->version,
            $this->solution['serviceSid'],
            $this->solution['identity'],
            $sid
        );
    }
1213356
public function getContext($sid) {
        return new UserBindingContext(
            $this->version,
            $this->solution['serviceSid'],
            $this->solution['userSid'],
            $sid
        );
    }
2673
protected function proxy() {
        if (!$this->context) {
            $this->context = new CompositionContext($this->version, $this->solution['sid']);
        }

        return $this->context;
    }
18343
def get(self, sid):
        
        return MemberContext(
            self._version,
            service_sid=self._solution['service_sid'],
            channel_sid=self._solution['channel_sid'],
            sid=sid,
        )
13391
public function getContext($sid) {
        return new MessageInteractionContext(
            $this->version,
            $this->solution['serviceSid'],
            $this->solution['sessionSid'],
            $this->solution['participantSid'],
            $sid
        );
    }
810891
protected function proxy() {
        if (!$this->context) {
            $this->context = new SimContext($this->version, $this->solution['sid']);
        }

        return $this->context;
    }
19710
def get(self, sid):
        
        return AlphaSenderContext(self._version, service_sid=self._solution['service_sid'], sid=sid, )
196472
def get(self, sid):
        
        return BindingContext(self._version, service_sid=self._solution['service_sid'], sid=sid, )
269604
private function createOrRetrieveSecurityIdentityId(SecurityIdentityInterface $sid)
    {
        if (false !== $id = $this->connection->executeQuery($this->getSelectSecurityIdentityIdSql($sid))->fetchColumn()) {
            return $id;
        }

        $this->connection->executeQuery($this->getInsertSecurityIdentitySql($sid));

        return $this->connection->executeQuery($this->getSelectSecurityIdentityIdSql($sid))->fetchColumn();
    }
388026
def get(self, sid):
        
        return UserContext(self._version, service_sid=self._solution['service_sid'], sid=sid, )
332295
public static function getNameById($sid)
    {
        $list = self::getList(true);
        $key = array_search($sid, $list);
        if ($key === false)
            throw new SidItemNotFound('Sid not exists');

        return $key;
    }
333981
public function getContext($sid) {
        return new PublishedTrackContext(
            $this->version,
            $this->solution['roomSid'],
            $this->solution['participantSid'],
            $sid
        );
    }
1323861
protected function proxy() {
        if (!$this->context) {
            $this->context = new StepContext(
                $this->version,
                $this->solution['flowSid'],
                $this->solution['engagementSid'],
                $this->solution['sid']
            );
        }

        return $this->context;
    }
47266
protected function proxy() {
        if (!$this->context) {
            $this->context = new PublicKeyContext($this->version, $this->solution['sid']);
        }

        return $this->context;
    }
327714
protected function _sign($sid)
    {
        $stamp = $this->_stamp() . $this->_secret;
        $signature = hash('sha256', $sid . $stamp);
            return $signature;
    }
717213
public function getContext($sid) {
        return new VariableContext(
            $this->version,
            $this->solution['serviceSid'],
            $this->solution['environmentSid'],
            $sid
        );
    }
758903
public function setId($sId = null)
    {
        $sId = parent::setId($sId);

        // TODO: in \OxidEsales\Eshop\Core\Model\BaseModel::setId make it to check if exists and update, not recreate, then delete this overload
        $this->oxarticles__oxnid = $this->oxarticles__oxid;

        return $sId;
    }