public function update($notificationLevel) {
        $data = Values::of(array('NotificationLevel' => $notificationLevel, ));

        $payload = $this->version->update(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new UserChannelInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['userSid'],
            $this->solution['channelSid']
        );
    }
public function update($notificationLevel) {
        $data = Values::of(array('NotificationLevel' => $notificationLevel, ));

        $payload = $this->version->update(
            'POST',
            $this->uri,
            array(),
            $data
        );

        return new UserChannelInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['userSid'],
            $this->solution['channelSid']
        );
    }
public function update ( $ notificationLevel ) { $ data = Values :: of ( array ( 'NotificationLevel' => $ notificationLevel , ) ) ; $ payload = $ this -> version -> update ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new UserChannelInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'userSid' ] , $ this -> solution [ 'channelSid' ] ) ; }
Update the UserChannelInstance

@param string $notificationLevel The push notification level to assign to
the User Channel
@return UserChannelInstance Updated UserChannelInstance
@throws TwilioException When an HTTP error occurs.
Update the UserChannelInstance