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

        $data = Values::of(array(
            'Language' => $language,
            'Value' => $value,
            'SynonymOf' => $options['synonymOf'],
        ));

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

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

        $data = Values::of(array(
            'Language' => $language,
            'Value' => $value,
            'SynonymOf' => $options['synonymOf'],
        ));

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

        return new FieldValueInstance(
            $this->version,
            $payload,
            $this->solution['assistantSid'],
            $this->solution['fieldTypeSid']
        );
    }
public function create ( $ language , $ value , $ options = array ( ) ) { $ options = new Values ( $ options ) ; $ data = Values :: of ( array ( 'Language' => $ language , 'Value' => $ value , 'SynonymOf' => $ options [ 'synonymOf' ] , ) ) ; $ payload = $ this -> version -> create ( 'POST' , $ this -> uri , array ( ) , $ data ) ; return new FieldValueInstance ( $ this -> version , $ payload , $ this -> solution [ 'assistantSid' ] , $ this -> solution [ 'fieldTypeSid' ] ) ; }
Create a new FieldValueInstance

@param string $language The ISO language-country tag that identifies the
language of the value
@param string $value The Field Value data
@param array|Options $options Optional Arguments
@return FieldValueInstance Newly created FieldValueInstance
@throws TwilioException When an HTTP error occurs.
Create a new FieldValueInstance