public function create($uniqueName, $options = array()) {
        $options = new Values($options);

        $data = Values::of(array('UniqueName' => $uniqueName, 'FriendlyName' => $options['friendlyName'], ));

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

        return new FieldTypeInstance($this->version, $payload, $this->solution['assistantSid']);
    }
public function create($uniqueName, $options = array()) {
        $options = new Values($options);

        $data = Values::of(array('UniqueName' => $uniqueName, 'FriendlyName' => $options['friendlyName'], ));

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

        return new FieldTypeInstance($this->version, $payload, $this->solution['assistantSid']);
    }
public function create ( $ uniqueName , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'UniqueName' => $ uniqueName , 'FriendlyName' => $ options [ 'friendlyName' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new FieldTypeInstance ( $ this -> version , $ payload , $ this -> solution [ 'assistantSid' ] ) ; }
Create a new FieldTypeInstance

@param string $uniqueName An application-defined string that uniquely
identifies the new resource
@param array|Options $options Optional Arguments
@return FieldTypeInstance Newly created FieldTypeInstance
@throws TwilioException When an HTTP error occurs.
Create a new FieldTypeInstance