public function update($read, $write, $manage) {
        $data = Values::of(array(
            'Read' => Serialize::booleanToString($read),
            'Write' => Serialize::booleanToString($write),
            'Manage' => Serialize::booleanToString($manage),
        ));

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

        return new SyncListPermissionInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['listSid'],
            $this->solution['identity']
        );
    }
public function update($read, $write, $manage) {
        $data = Values::of(array(
            'Read' => Serialize::booleanToString($read),
            'Write' => Serialize::booleanToString($write),
            'Manage' => Serialize::booleanToString($manage),
        ));

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

        return new SyncListPermissionInstance(
            $this->version,
            $payload,
            $this->solution['serviceSid'],
            $this->solution['listSid'],
            $this->solution['identity']
        );
    }
public function update ( $ read , $ write , $ manage ) { $ data = Values :: of ( array ( 'Read' => Serialize :: booleanToString ( $ read ) , 'Write' => Serialize :: booleanToString ( $ write ) , 'Manage' => Serialize :: booleanToString ( $ manage ) , ) ) ; $ payload = $ this -> version -> update ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new SyncListPermissionInstance ( $ this -> version , $ payload , $ this -> solution [ 'serviceSid' ] , $ this -> solution [ 'listSid' ] , $ this -> solution [ 'identity' ] ) ; }
Update the SyncListPermissionInstance

@param boolean $read Read access.
@param boolean $write Write access.
@param boolean $manage Manage access.
@return SyncListPermissionInstance Updated SyncListPermissionInstance
@throws TwilioException When an HTTP error occurs.
Update the SyncListPermissionInstance